Beginning on October 25th, 2016, Persona will no longer be an option for authentication on BMO. For more details see Persona Deprecated.
Last Comment Bug 600000 - Partial update for SeaMonkey nightly builds doesn't work
: Partial update for SeaMonkey nightly builds doesn't work
Product: SeaMonkey
Classification: Client Software
Component: Build Config (show other bugs)
: Trunk
: x86 All
: -- major (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
Depends on:
  Show dependency treegraph
Reported: 2010-09-27 13:44 PDT by Frank Wein [:mcsmurf]
Modified: 2011-10-17 14:04 PDT (History)
8 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---

600,000! (93.96 KB, image/png)
2010-09-27 13:55 PDT, Sean Martell
no flags Details
600,000? (568.01 KB, image/png)
2010-09-27 15:24 PDT, Jennifer Morrow [:Boriss] (UX)
no flags Details
600,000? (182.98 KB, image/jpeg)
2010-09-27 15:26 PDT, Jennifer Morrow [:Boriss] (UX)
no flags Details

Description Frank Wein [:mcsmurf] 2010-09-27 13:44:04 PDT
Currently the partial nightly updates for SeaMonkey do not work due to a failing CRC check, see Attachment 478670 [details] for an update log. The full update does work fine.
Comment 1 Sean Martell 2010-09-27 13:55:43 PDT
Created attachment 478853 [details]
Comment 2 Frédéric Buclin 2010-09-27 14:01:41 PDT
Congratulations! timeless didn't file the 600000th bug this time! ;)
Comment 3 Frank Wein [:mcsmurf] 2010-09-27 14:07:02 PDT
He can try Bug 7000000 then again, I estimate January 2014 :)
Comment 4 Frank Wein [:mcsmurf] 2010-09-27 14:07:22 PDT
Whoa, Bug 700000 even
Comment 5 Frank Wein [:mcsmurf] 2010-09-27 14:14:54 PDT
and actually I meant 2012 :o
Comment 6 Tyler Downer [:Tyler] 2010-09-27 14:50:40 PDT
Because the world ends when the bug count gets to high, in dec 2012 ;)
Comment 7 Jennifer Morrow [:Boriss] (UX) 2010-09-27 15:24:14 PDT
Created attachment 478887 [details]
Comment 8 Jennifer Morrow [:Boriss] (UX) 2010-09-27 15:26:49 PDT
Created attachment 478888 [details]
Comment 9 therube 2010-09-27 18:26:01 PDT
Cannot confirm on my end.

Today's partial .mar updated without incident.
Win 7 x86.
Update from 20100926 to 20100927.

Don't really know how .mar's work, but am I to take it that the sha512 hash (from updates.xml) of the .mar would have been valid (so it was not a download issue).

> That looks to be the case.

And that when scanning the files (existing files, I presume, not from within the .mar itself, as that would be kind of redundant if the sha512 hash verified?) that it then came up with an error in chatzilla.jar (from your log)?

> Ditto.

If cZ, would a Profile install of cZ (in addition to, or in place of a SeaMonkey installation directory install) have any bearing?

> No.

If you were to manually download the partial .mar (& manually verify the sha512 hash of same) will a manual update from same complete?

> Shouldn't have to.


1. download:
2. install
3. check for updates & apply.

You should get a partial .mar download & it should work.
(Appears you can only be one day old, or else you will get a full .mar instead of partial.  So if you were attempt this tomorrow you would need to start with an installer of the 27th.  ZIP should work just as well.)

Appears your error indicates just what it says:
> \SeaMonkey\extensions\{59c81df5-4b7a-477b-912d-4e0fdf64e5f2}\chrome\chatzilla.jar
(the existing version on disk) is either corrupt or was modified & that is all that is needed to generate the CRC error.

I can duplicate it, basically.

Follow steps 1 & 2 above.
Use a hex editor to modify chatzilla.jar, changing the first two bytes from "PK" to "XX".  (Do not change the file size.)
Continue with stop 3.

You should get the same CRC failure & subsequent .mar failure.
Comment 10 therube 2010-09-27 19:01:04 PDT
Compare your existing chatzilla.jar to (some other relatively recent) version.

(Note that while the jar itself may differ the contents within can still be the same.  That would be due to differences in the packing.  And then there are other times when the contents /did/ change, like when the change from "menu" to "menupopup" landed.  Even so, the version number did remain the same, 0.9.86.)
Comment 11 Bruno 'Aqualon' Escherl 2010-09-28 08:44:52 PDT
Just tried it with linux and it worked. Will try what therube wrote in the previous comments later.
Comment 12 Bruno 'Aqualon' Escherl 2010-09-28 13:49:54 PDT
Together with Frank I found out why it fails. The 20100927 .zip-build has a slightly different chatzilla.jar than the installer-build (different date of contents.rdf). For the installer-build the updated worked, for the .zip-build it failed.

So the update from a fresh .zip-build fails the first time. After the fallback installation of the full update we are back in a state where the next partial update applies again (it did so for the build 20100926 I've updated with the complete .mar to 20100927 yesterday).
Comment 13 Frank Wein [:mcsmurf] 2010-09-28 14:35:17 PDT
The problem is probably the .zip build gets packaged first and after that it repackages the extensions again (with the en_US locale) and so recreates all the extensions folders again. In that step it seems to recreate the contents.rdf inside the .jar file.
Comment 14 Bruno 'Aqualon' Escherl 2010-10-15 01:36:01 PDT
This also affects updates from 2.1a3 .zip builds to 2.1b1, I got the same CRC error for the partial update on betatest. Full update worked afterwards.
Comment 15 Florian Quèze [:florian] [:flo] 2010-12-03 04:03:20 PST
This seems related to bug 404340.
Comment 16 Frank Wein [:mcsmurf] 2011-10-17 14:04:28 PDT
Partial updates certainly work again :)

Note You need to log in before you can comment on or make changes to this bug.