Closed Bug 442257 Opened 16 years ago Closed 16 years ago

Weave 1.32: WeaveCrypto doesn't work under Linux

Categories

(Cloud Services :: General, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: onestone, Unassigned)

References

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008061015 Firefox/3.0
Build Identifier: 1.32

The newly released Weave 0.1.32 (developer build) doesn't work under Linux. Almost all operations fail with a WeaveCrypto-related error. This includes account-creation, signing in, syncing, and possibly others. The same operations work fine under Windows.


Reproducible: Always

Steps to Reproduce:
1. Create an account online at https://sm-labs01.mozilla.org:81/client/

2. (optional) Initialize the account by doing an initial sync under Windows, which works fine

3. Try to sign-in using Weave 1.32 under Linux

Actual Results:  
All attempted operations fail with WeaveCrypto-related errors. Here is the Verbose Log:

2008-06-27 17:01:55	Service.DAV	DEBUG	LOCK request for lock
2008-06-27 17:01:56	Service.DAV	DEBUG	GET request for meta/version
2008-06-27 17:01:57	Service.Main	TRACE	Retrieving keypair from server
2008-06-27 17:01:57	Service.DAV	DEBUG	GET request for private/privkey
2008-06-27 17:01:58	Service.DAV	DEBUG	GET request for public/pubkey
2008-06-27 17:01:58	Service.BmkEngine	INFO	Beginning sync
2008-06-27 17:01:58	Service.DAV	DEBUG	GET request for user-data/
2008-06-27 17:01:59	Service.DAV	DEBUG	GET request for user-data/bookmarks/
2008-06-27 17:02:00	Service.DAV	DEBUG	GET request for user-data/bookmarks/deltas/
2008-06-27 17:02:01	Service.RemoteStore	DEBUG	Downloading status file
2008-06-27 17:02:01	Service.DAV	DEBUG	GET request for user-data/bookmarks/status.json
2008-06-27 17:02:01	Service.Resource	DEBUG	GET request successful
2008-06-27 17:02:01	Service.JsonFilter	DEBUG	Decoding JSON data
2008-06-27 17:02:01	Service.RemoteStore	DEBUG	Downloading status file... done
2008-06-27 17:02:01	Service.BmkEngine	INFO	Local snapshot version: -1
2008-06-27 17:02:01	Service.BmkEngine	INFO	Server maxVersion: 0
2008-06-27 17:02:01	Service.DAV	DEBUG	GET request for user-data/bookmarks/keys.json
2008-06-27 17:02:02	Service.Resource	DEBUG	GET request successful
2008-06-27 17:02:02	Service.JsonFilter	DEBUG	Decoding JSON data
2008-06-27 17:02:03	Service.Main	ERROR	Cc['@labs.mozilla.com/Weave/Crypto;1'] is undefined (file 'file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/crypto.js', line 72)
2008-06-27 17:02:03	Service.Main	ERROR	()@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/crypto.js:72
Crypto_unwrapKey("LkbXapaU83oWGYBCjXBAezz/BuqWaV5o75JJXYnPRvIwNed5woZ3BRtJZZkkud50fZSLr6Qrevfrht6TfJ7lioLITY+nDudC0pk8wz9f2m6N714kkuCZe2AtQ7LRpDkCgYx82Os9mfBanKVhgou14hnU7VkipxkNFyiYb+i2GoJ9/bueCEbPDtdzK6ZXU8bBjJ3Nx3lCsr3wWJE1uyNwnorKLlmJ6ofM2FO63dU4rHZRm0TaESLaJFz8o47X1BvMZrK/CDBNawwmS9pqbDreKk3m/KBoaaNAAo1q7Rx9v991tyQdZXOd7xn0MC8IXGereUGehzUKf4psfJHJp8if5Q==",[object Object])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/crypto.js:225
AsyncGen_run()@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:223
Async_run([object Object],Crypto_unwrapKey,(function (data) {self._log.trace(self.name + ": cb-" + cbId + " called.");self._cont(data);}),"LkbXapaU83oWGYBCjXBAezz/BuqWaV5o75JJXYnPRvIwNed5woZ3BRtJZZkkud50fZSLr6Qrevfrht6TfJ7lioLITY+nDudC0pk8wz9f2m6N714kkuCZe2AtQ7LRpDkCgYx82Os9mfBanKVhgou14hnU7VkipxkNFyiYb+i2GoJ9/bueCEbPDtdzK6ZXU8bBjJ3Nx3lCsr3wWJE1uyNwnorKLlmJ6ofM2FO63dU4rHZRm0TaESLaJFz8o47X1BvMZrK/CDBNawwmS9pqbDreKk3m/KBoaaNAAo1q7Rx9v991tyQdZXOd7xn0MC8IXGereUGehzUKf4psfJHJp8if5Q==",[object Object])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:342
Async_sugar([object Object],(function (data) {self._log.trace(self.name + ": cb-" + cbId + " called.");self._cont(data);}),"LkbXapaU83oWGYBCjXBAezz/BuqWaV5o75JJXYnPRvIwNed5woZ3BRtJZZkkud50fZSLr6Qrevfrht6TfJ7lioLITY+nDudC0pk8wz9f2m6N714kkuCZe2AtQ7LRpDkCgYx82Os9mfBanKVhgou14hnU7VkipxkNFyiYb+i2GoJ9/bueCEbPDtdzK6ZXU8bBjJ3Nx3lCsr3wWJE1uyNwnorKLlmJ6ofM2FO63dU4rHZRm0TaESLaJFz8o47X1BvMZrK/CDBNawwmS9pqbDreKk3m/KBoaaNAAo1q7Rx9v991tyQdZXOd7xn0MC8IXGereUGehzUKf4psfJHJp8if5Q==",[object Object])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:362
Keychain__getKeyAndIV([object Object])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/remote.js:365
AsyncGen__cont([object Object])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:236
([object Object])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:136
AsyncGen__done([object Object])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:289
([object XPCWrappedNative_NoHelper])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:264
EL_notify([object XPCWrappedNative_NoHelper])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/util.js:439
This exception was raised by an asynchronous coroutine.
Initial async stack trace:
unknown (async) :: BmkEngine__sync-174
module:engines.js:431 :: Engine_sync
module:service.js:688 :: WeaveSvc__syncEngine
module:wrap.js:91 :: WeaveNotifyWrapper
module:service.js:621 :: WeaveSync__sync
module:async.js:136 :: anonymous
module:async.js:264 :: anonymous
module:util.js:439 :: EL_notify
2008-06-27 17:02:03	Service.HistEngine	INFO	Beginning sync
2008-06-27 17:02:03	Service.DAV	DEBUG	GET request for user-data/
2008-06-27 17:02:03	Service.DAV	DEBUG	GET request for user-data/history/
2008-06-27 17:02:04	Service.DAV	DEBUG	GET request for user-data/history/deltas/
2008-06-27 17:02:05	Service.RemoteStore	DEBUG	Downloading status file
2008-06-27 17:02:05	Service.DAV	DEBUG	GET request for user-data/history/status.json
2008-06-27 17:02:05	Service.Resource	DEBUG	GET request successful
2008-06-27 17:02:05	Service.JsonFilter	DEBUG	Decoding JSON data
2008-06-27 17:02:05	Service.RemoteStore	DEBUG	Downloading status file... done
2008-06-27 17:02:05	Service.HistEngine	INFO	Local snapshot version: -1
2008-06-27 17:02:05	Service.HistEngine	INFO	Server maxVersion: 0
2008-06-27 17:02:05	Service.DAV	DEBUG	GET request for user-data/history/keys.json
2008-06-27 17:02:06	Service.Resource	DEBUG	GET request successful
2008-06-27 17:02:06	Service.JsonFilter	DEBUG	Decoding JSON data
2008-06-27 17:02:06	Service.Main	ERROR	Cc['@labs.mozilla.com/Weave/Crypto;1'] is undefined (file 'file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/crypto.js', line 72)
2008-06-27 17:02:06	Service.Main	ERROR	()@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/crypto.js:72
Crypto_unwrapKey("KW228ncCr6WH3jdV9lYXg5yuB6HSGUnlbKNcLAKxkYIXYh8EIEXDcYpmKvq2OB05n9fCaYtxlAZ9WgxPJUjZQ1D3h/pPXEDWBQWbMtMs3FmJyAIZclMbNyTUV1yFgs9USZRQZAT8BOyUbdg7jYxJ0i8sJwFwFhMliPFS7xQXbFSb/crUCIl7QiTQhTtVkb8gnc+84p3KCjo/Z24kZSENWjjgGu2o+ZtN0qVxMUt3DXCFUYhtLNxyac0NBQKvoK1Vwb4nKPMSK3ftc+3wv0D6drjCIRZqBB+RQEdsD2QzPs0vrziFjsFYj1ZzQIHcl3SmQBtd9RPeK2RDq9IH3cdxvQ==",[object Object])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/crypto.js:225
AsyncGen_run()@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:223
Async_run([object Object],Crypto_unwrapKey,(function (data) {self._log.trace(self.name + ": cb-" + cbId + " called.");self._cont(data);}),"KW228ncCr6WH3jdV9lYXg5yuB6HSGUnlbKNcLAKxkYIXYh8EIEXDcYpmKvq2OB05n9fCaYtxlAZ9WgxPJUjZQ1D3h/pPXEDWBQWbMtMs3FmJyAIZclMbNyTUV1yFgs9USZRQZAT8BOyUbdg7jYxJ0i8sJwFwFhMliPFS7xQXbFSb/crUCIl7QiTQhTtVkb8gnc+84p3KCjo/Z24kZSENWjjgGu2o+ZtN0qVxMUt3DXCFUYhtLNxyac0NBQKvoK1Vwb4nKPMSK3ftc+3wv0D6drjCIRZqBB+RQEdsD2QzPs0vrziFjsFYj1ZzQIHcl3SmQBtd9RPeK2RDq9IH3cdxvQ==",[object Object])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:342
Async_sugar([object Object],(function (data) {self._log.trace(self.name + ": cb-" + cbId + " called.");self._cont(data);}),"KW228ncCr6WH3jdV9lYXg5yuB6HSGUnlbKNcLAKxkYIXYh8EIEXDcYpmKvq2OB05n9fCaYtxlAZ9WgxPJUjZQ1D3h/pPXEDWBQWbMtMs3FmJyAIZclMbNyTUV1yFgs9USZRQZAT8BOyUbdg7jYxJ0i8sJwFwFhMliPFS7xQXbFSb/crUCIl7QiTQhTtVkb8gnc+84p3KCjo/Z24kZSENWjjgGu2o+ZtN0qVxMUt3DXCFUYhtLNxyac0NBQKvoK1Vwb4nKPMSK3ftc+3wv0D6drjCIRZqBB+RQEdsD2QzPs0vrziFjsFYj1ZzQIHcl3SmQBtd9RPeK2RDq9IH3cdxvQ==",[object Object])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:362
Keychain__getKeyAndIV([object Object])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/remote.js:365
AsyncGen__cont([object Object])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:236
([object Object])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:136
AsyncGen__done([object Object])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:289
([object XPCWrappedNative_NoHelper])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:264
EL_notify([object XPCWrappedNative_NoHelper])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/util.js:439
This exception was raised by an asynchronous coroutine.
Initial async stack trace:
unknown (async) :: Engine__sync-191
module:engines.js:431 :: Engine_sync
module:service.js:688 :: WeaveSvc__syncEngine
module:wrap.js:91 :: WeaveNotifyWrapper
module:service.js:621 :: WeaveSync__sync
module:async.js:136 :: anonymous
module:async.js:264 :: anonymous
module:util.js:439 :: EL_notify
2008-06-27 17:02:06	Service.PasswordEngine	INFO	Beginning sync
2008-06-27 17:02:06	Service.DAV	DEBUG	GET request for user-data/
2008-06-27 17:02:07	Service.DAV	DEBUG	GET request for user-data/passwords/
2008-06-27 17:02:08	Service.DAV	DEBUG	GET request for user-data/passwords/deltas/
2008-06-27 17:02:08	Service.RemoteStore	DEBUG	Downloading status file
2008-06-27 17:02:08	Service.DAV	DEBUG	GET request for user-data/passwords/status.json
2008-06-27 17:02:10	Service.Resource	DEBUG	GET request successful
2008-06-27 17:02:10	Service.JsonFilter	DEBUG	Decoding JSON data
2008-06-27 17:02:10	Service.RemoteStore	DEBUG	Downloading status file... done
2008-06-27 17:02:10	Service.PasswordEngine	INFO	Local snapshot version: -1
2008-06-27 17:02:10	Service.PasswordEngine	INFO	Server maxVersion: 0
2008-06-27 17:02:10	Service.DAV	DEBUG	GET request for user-data/passwords/keys.json
2008-06-27 17:02:10	Service.Resource	DEBUG	GET request successful
2008-06-27 17:02:10	Service.JsonFilter	DEBUG	Decoding JSON data
2008-06-27 17:02:10	Service.Main	ERROR	Cc['@labs.mozilla.com/Weave/Crypto;1'] is undefined (file 'file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/crypto.js', line 72)
2008-06-27 17:02:10	Service.Main	ERROR	()@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/crypto.js:72
Crypto_unwrapKey("AH4dNipNmvlN7s56eeFBdk7WOMpRMQISpPZI9z7Q7IJIgcBAb7O4ftToUfZQ4Sf5652GVMxDcQagYdLrazZrVoaDlm8POs95ErHu4R26mhC0/vr5bIKX0O4J1XvLQWtI+RJYVDImZWbV2/poxBxLJRgxlHQt3jaz/6rWIGC8LL/aOcPRHKHZidvqNZlIs2l27E/M14TZeC0eIVbtUwgWpgVZFpuyBgJYgCWSrHw0im0bYLYTpMs1Aef8BWn13HemMSIvxh7P2j8ijgn+vxz/3wTxTAuN0VduRUXXwWg+TCmTawYYzThVWGO7xKsSL7TOgaCgLew/4XZBoXsLiomDhA==",[object Object])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/crypto.js:225
AsyncGen_run()@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:223
Async_run([object Object],Crypto_unwrapKey,(function (data) {self._log.trace(self.name + ": cb-" + cbId + " called.");self._cont(data);}),"AH4dNipNmvlN7s56eeFBdk7WOMpRMQISpPZI9z7Q7IJIgcBAb7O4ftToUfZQ4Sf5652GVMxDcQagYdLrazZrVoaDlm8POs95ErHu4R26mhC0/vr5bIKX0O4J1XvLQWtI+RJYVDImZWbV2/poxBxLJRgxlHQt3jaz/6rWIGC8LL/aOcPRHKHZidvqNZlIs2l27E/M14TZeC0eIVbtUwgWpgVZFpuyBgJYgCWSrHw0im0bYLYTpMs1Aef8BWn13HemMSIvxh7P2j8ijgn+vxz/3wTxTAuN0VduRUXXwWg+TCmTawYYzThVWGO7xKsSL7TOgaCgLew/4XZBoXsLiomDhA==",[object Object])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:342
Async_sugar([object Object],(function (data) {self._log.trace(self.name + ": cb-" + cbId + " called.");self._cont(data);}),"AH4dNipNmvlN7s56eeFBdk7WOMpRMQISpPZI9z7Q7IJIgcBAb7O4ftToUfZQ4Sf5652GVMxDcQagYdLrazZrVoaDlm8POs95ErHu4R26mhC0/vr5bIKX0O4J1XvLQWtI+RJYVDImZWbV2/poxBxLJRgxlHQt3jaz/6rWIGC8LL/aOcPRHKHZidvqNZlIs2l27E/M14TZeC0eIVbtUwgWpgVZFpuyBgJYgCWSrHw0im0bYLYTpMs1Aef8BWn13HemMSIvxh7P2j8ijgn+vxz/3wTxTAuN0VduRUXXwWg+TCmTawYYzThVWGO7xKsSL7TOgaCgLew/4XZBoXsLiomDhA==",[object Object])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:362
Keychain__getKeyAndIV([object Object])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/remote.js:365
AsyncGen__cont([object Object])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:236
([object Object])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:136
AsyncGen__done([object Object])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:289
([object XPCWrappedNative_NoHelper])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:264
EL_notify([object XPCWrappedNative_NoHelper])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/util.js:439
This exception was raised by an asynchronous coroutine.
Initial async stack trace:
unknown (async) :: Engine__sync-207
module:engines.js:431 :: Engine_sync
module:service.js:688 :: WeaveSvc__syncEngine
module:wrap.js:91 :: WeaveNotifyWrapper
module:service.js:621 :: WeaveSync__sync
module:async.js:136 :: anonymous
module:async.js:264 :: anonymous
module:util.js:439 :: EL_notify
2008-06-27 17:02:10	Service.FormEngine	INFO	Beginning sync
2008-06-27 17:02:10	Service.DAV	DEBUG	GET request for user-data/
2008-06-27 17:02:11	Service.DAV	DEBUG	GET request for user-data/forms/
2008-06-27 17:02:12	Service.DAV	DEBUG	GET request for user-data/forms/deltas/
2008-06-27 17:02:13	Service.RemoteStore	DEBUG	Downloading status file
2008-06-27 17:02:13	Service.DAV	DEBUG	GET request for user-data/forms/status.json
2008-06-27 17:02:13	Service.Resource	DEBUG	GET request successful
2008-06-27 17:02:13	Service.JsonFilter	DEBUG	Decoding JSON data
2008-06-27 17:02:13	Service.RemoteStore	DEBUG	Downloading status file... done
2008-06-27 17:02:13	Service.FormEngine	INFO	Local snapshot version: -1
2008-06-27 17:02:13	Service.FormEngine	INFO	Server maxVersion: 1
2008-06-27 17:02:13	Service.DAV	DEBUG	GET request for user-data/forms/keys.json
2008-06-27 17:02:14	Service.Resource	DEBUG	GET request successful
2008-06-27 17:02:14	Service.JsonFilter	DEBUG	Decoding JSON data
2008-06-27 17:02:14	Service.Main	ERROR	Cc['@labs.mozilla.com/Weave/Crypto;1'] is undefined (file 'file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/crypto.js', line 72)
2008-06-27 17:02:14	Service.Main	ERROR	()@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/crypto.js:72
Crypto_unwrapKey("TSTXleOX94b8+TqBlHsF2Hl2x9knZ2gqXqgECj7CKksS3VflE1Rcgjs6CJs71g/C0QvDXjy+e+xkPWmrqKmFcEmJwT7nyZqdUsYGZlBopMCHrDjpc2kN9EcOXsqRmf9vBwd1VDJS9o5ZD9zZY42sFqjiv3WoOfLh2bgc6JGaplP4JxPIZTfq6EFK2BTtUlyX8JhuxlIbGn/t9sBhFyw63cHYSTn2/S4K/OIgXS4oy2VjnsEfAl+LUuvSzCMkrFs+M+tDIKAyS+b0SdRb/60tDcaUqxd2YEq7Lxnhc70dp397Br1oJuAnMkc2V+panHlAO/Gmzv3ScnxUNpW27WTMqQ==",[object Object])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/crypto.js:225
AsyncGen_run()@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:223
Async_run([object Object],Crypto_unwrapKey,(function (data) {self._log.trace(self.name + ": cb-" + cbId + " called.");self._cont(data);}),"TSTXleOX94b8+TqBlHsF2Hl2x9knZ2gqXqgECj7CKksS3VflE1Rcgjs6CJs71g/C0QvDXjy+e+xkPWmrqKmFcEmJwT7nyZqdUsYGZlBopMCHrDjpc2kN9EcOXsqRmf9vBwd1VDJS9o5ZD9zZY42sFqjiv3WoOfLh2bgc6JGaplP4JxPIZTfq6EFK2BTtUlyX8JhuxlIbGn/t9sBhFyw63cHYSTn2/S4K/OIgXS4oy2VjnsEfAl+LUuvSzCMkrFs+M+tDIKAyS+b0SdRb/60tDcaUqxd2YEq7Lxnhc70dp397Br1oJuAnMkc2V+panHlAO/Gmzv3ScnxUNpW27WTMqQ==",[object Object])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:342
Async_sugar([object Object],(function (data) {self._log.trace(self.name + ": cb-" + cbId + " called.");self._cont(data);}),"TSTXleOX94b8+TqBlHsF2Hl2x9knZ2gqXqgECj7CKksS3VflE1Rcgjs6CJs71g/C0QvDXjy+e+xkPWmrqKmFcEmJwT7nyZqdUsYGZlBopMCHrDjpc2kN9EcOXsqRmf9vBwd1VDJS9o5ZD9zZY42sFqjiv3WoOfLh2bgc6JGaplP4JxPIZTfq6EFK2BTtUlyX8JhuxlIbGn/t9sBhFyw63cHYSTn2/S4K/OIgXS4oy2VjnsEfAl+LUuvSzCMkrFs+M+tDIKAyS+b0SdRb/60tDcaUqxd2YEq7Lxnhc70dp397Br1oJuAnMkc2V+panHlAO/Gmzv3ScnxUNpW27WTMqQ==",[object Object])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:362
Keychain__getKeyAndIV([object Object])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/remote.js:365
AsyncGen__cont([object Object])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:236
([object Object])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:136
AsyncGen__done([object Object])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:289
([object XPCWrappedNative_NoHelper])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:264
EL_notify([object XPCWrappedNative_NoHelper])@file:///home/pesho/.mozilla/firefox/vjka8nht.Default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/util.js:439
This exception was raised by an asynchronous coroutine.
Initial async stack trace:
unknown (async) :: Engine__sync-223
module:engines.js:431 :: Engine_sync
module:service.js:688 :: WeaveSvc__syncEngine
module:wrap.js:91 :: WeaveNotifyWrapper
module:service.js:621 :: WeaveSync__sync
module:async.js:136 :: anonymous
module:async.js:264 :: anonymous
module:util.js:439 :: EL_notify
2008-06-27 17:02:14	Service.DAV	DEBUG	UNLOCK request for lock


Expected Results:  
Weave should work under Linux.


I have posted additional logs related to the same problem in the Labs Forum: https://labs.mozilla.com/forum/index.php/topic,886.msg3555.html#msg3555
I think this should block 0.2, setting it so.
Blocks: 433992
Target Milestone: -- → 0.2
Blocks: 433903
No longer blocks: 433992
I am seeing this bug too on Ubuntu x86_64 8.04 Hardy Heron.
uname -a = Linux pollux 2.6.24-19-generic #1 SMP Wed Jun 18 14:15:37 UTC 2008 x86_64 GNU/Linux

I have posted this on the forums too, but here is my log:

2008-06-28 02:13:57	Chrome.Wizard	INFO	Preferences set.
2008-06-28 02:13:57	Chrome.Window	INFO	Logging in...
2008-06-28 02:13:57	Chrome.Window	INFO	User string: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9) Gecko/2008061017 Firefox/3.0
2008-06-28 02:13:57	Chrome.Window	INFO	Weave version: 0.1.32
2008-06-28 02:13:57	Service.Main	DEBUG	Logging in user TrinitronX
2008-06-28 02:13:57	Service.Main	INFO	Using server URL: https://services.mozilla.com/0.2/user/TrinitronX/
2008-06-28 02:13:57	Service.DAV	DEBUG	GET request for meta/version
2008-06-28 02:13:57	Chrome.Wizard	INFO	Preferences set.
2008-06-28 02:13:57	Async.Generator	ERROR	Exception: Could not acquire lock
2008-06-28 02:13:57	Async.Generator	DEBUG	Stack trace:
No traceback available.

2008-06-28 02:13:57	Service.Main	TRACE	Retrieving keypair from server
2008-06-28 02:13:57	Service.DAV	DEBUG	GET request for private/privkey
2008-06-28 02:13:57	Chrome.Wizard	INFO	Preferences set.
2008-06-28 02:13:57	Async.Generator	ERROR	Exception: Could not acquire lock
2008-06-28 02:13:57	Async.Generator	DEBUG	Stack trace:
No traceback available.

2008-06-28 02:13:57	Service.DAV	WARN	_makeRequest: got status 404
2008-06-28 02:13:57	Service.DAV	DEBUG	GET request for public/pubkey
2008-06-28 02:13:57	Service.DAV	WARN	_makeRequest: got status 404
2008-06-28 02:13:57	Service.Main	DEBUG	Generating new RSA key
2008-06-28 02:13:57	Chrome.Wizard	INFO	Initial login failed
2008-06-28 02:13:57	Async.Generator	ERROR	Exception: Cc['@labs.mozilla.com/Weave/Crypto;1'] is undefined (file 'file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/crypto.js', line 72)
2008-06-28 02:13:57	Async.Generator	DEBUG	Stack trace:
()@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/crypto.js:72
Crypto_RSAkeygen([object Object])@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/crypto.js:198
AsyncGen_run()@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:223
Async_run([object Object],Crypto_RSAkeygen,(function (data) {self._log.trace(self.name + ": cb-" + cbId + " called.");self._cont(data);}),[object Object])@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:342
Async_sugar([object Object],(function (data) {self._log.trace(self.name + ": cb-" + cbId + " called.");self._cont(data);}),[object Object])@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:362
WeaveSync__generateKeys()@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/service.js:427
AsyncGen_run()@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:223
Async_run([object Object],WeaveSync__generateKeys,(function (data) {self._log.trace(self.name + ": cb-" + cbId + " called.");self._cont(data);}))@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:342
Async_sugar([object Object],(function (data) {self._log.trace(self.name + ": cb-" + cbId + " called.");self._cont(data);}))@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:362
WeaveSync__getKeypair()@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/service.js:392
AsyncGen__cont([object XMLHttpRequest])@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:236
([object XMLHttpRequest])@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:136
AsyncGen__done([object XMLHttpRequest])@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:289
([object XPCWrappedNative_NoHelper])@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:264
EL_notify([object XPCWrappedNative_NoHelper])@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/util.js:439
This exception was raised by an asynchronous coroutine.
Initial async stack trace:
unknown (async) :: WeaveNotifyWrapper-133
module:wrap.js:157 :: WeaveLocalLockWrapper
module:service.js:529 :: WeaveSync_login
chrome://weave/content/wizard.js:972 :: SyncWizard_completeInstallation
chrome://global/content/bindings/wizard.xml:410 :: anonymous
chrome://global/content/bindings/wizard.xml:411 :: _fireEvent
chrome://global/content/bindings/wizard.xml:257 :: advance
chrome://global/content/bindings/wizard.xml:149 :: anonymous
2008-06-28 02:13:58	Chrome.Wizard	INFO	Preferences set.
2008-06-28 02:13:58	Chrome.Window	INFO	Logging in...
2008-06-28 02:13:58	Chrome.Window	INFO	User string: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9) Gecko/2008061017 Firefox/3.0
2008-06-28 02:13:58	Chrome.Window	INFO	Weave version: 0.1.32
2008-06-28 02:13:58	Service.Main	DEBUG	Logging in user TrinitronX
2008-06-28 02:13:58	Service.Main	INFO	Using server URL: https://services.mozilla.com/0.2/user/TrinitronX/
2008-06-28 02:13:58	Service.DAV	DEBUG	GET request for meta/version
2008-06-28 02:13:58	Chrome.Wizard	INFO	Preferences set.
2008-06-28 02:13:58	Async.Generator	ERROR	Exception: Could not acquire lock
2008-06-28 02:13:58	Async.Generator	DEBUG	Stack trace:
No traceback available.

2008-06-28 02:13:58	Chrome.Wizard	INFO	Preferences set.
2008-06-28 02:13:58	Async.Generator	ERROR	Exception: Could not acquire lock
2008-06-28 02:13:58	Async.Generator	DEBUG	Stack trace:
No traceback available.

2008-06-28 02:13:58	Service.Main	TRACE	Retrieving keypair from server
2008-06-28 02:13:58	Service.DAV	DEBUG	GET request for private/privkey
2008-06-28 02:13:58	Chrome.Wizard	INFO	Preferences set.
2008-06-28 02:13:58	Async.Generator	ERROR	Exception: Could not acquire lock
2008-06-28 02:13:58	Async.Generator	DEBUG	Stack trace:
No traceback available.

2008-06-28 02:13:58	Chrome.Wizard	INFO	Preferences set.
2008-06-28 02:13:58	Async.Generator	ERROR	Exception: Could not acquire lock
2008-06-28 02:13:58	Async.Generator	DEBUG	Stack trace:
No traceback available.

2008-06-28 02:13:58	Service.DAV	WARN	_makeRequest: got status 404
2008-06-28 02:13:58	Service.DAV	DEBUG	GET request for public/pubkey
2008-06-28 02:13:59	Chrome.Wizard	INFO	Preferences set.
2008-06-28 02:13:59	Async.Generator	ERROR	Exception: Could not acquire lock
2008-06-28 02:13:59	Async.Generator	DEBUG	Stack trace:
No traceback available.

2008-06-28 02:13:59	Chrome.Wizard	INFO	Preferences set.
2008-06-28 02:13:59	Async.Generator	ERROR	Exception: Could not acquire lock
2008-06-28 02:13:59	Async.Generator	DEBUG	Stack trace:
No traceback available.

2008-06-28 02:13:59	Service.DAV	WARN	_makeRequest: got status 404
2008-06-28 02:13:59	Service.Main	DEBUG	Generating new RSA key
2008-06-28 02:13:59	Chrome.Wizard	INFO	Initial login failed
2008-06-28 02:13:59	Async.Generator	ERROR	Exception: Cc['@labs.mozilla.com/Weave/Crypto;1'] is undefined (file 'file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/crypto.js', line 72)
2008-06-28 02:13:59	Async.Generator	DEBUG	Stack trace:
()@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/crypto.js:72
Crypto_RSAkeygen([object Object])@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/crypto.js:198
AsyncGen_run()@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:223
Async_run([object Object],Crypto_RSAkeygen,(function (data) {self._log.trace(self.name + ": cb-" + cbId + " called.");self._cont(data);}),[object Object])@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:342
Async_sugar([object Object],(function (data) {self._log.trace(self.name + ": cb-" + cbId + " called.");self._cont(data);}),[object Object])@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:362
WeaveSync__generateKeys()@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/service.js:427
AsyncGen_run()@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:223
Async_run([object Object],WeaveSync__generateKeys,(function (data) {self._log.trace(self.name + ": cb-" + cbId + " called.");self._cont(data);}))@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:342
Async_sugar([object Object],(function (data) {self._log.trace(self.name + ": cb-" + cbId + " called.");self._cont(data);}))@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:362
WeaveSync__getKeypair()@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/service.js:392
AsyncGen__cont([object XMLHttpRequest])@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:236
([object XMLHttpRequest])@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:136
AsyncGen__done([object XMLHttpRequest])@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:289
([object XPCWrappedNative_NoHelper])@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:264
EL_notify([object XPCWrappedNative_NoHelper])@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/util.js:439
This exception was raised by an asynchronous coroutine.
Initial async stack trace:
unknown (async) :: WeaveNotifyWrapper-145
module:wrap.js:157 :: WeaveLocalLockWrapper
module:service.js:529 :: WeaveSync_login
chrome://weave/content/wizard.js:972 :: SyncWizard_completeInstallation
chrome://global/content/bindings/wizard.xml:410 :: anonymous
chrome://global/content/bindings/wizard.xml:411 :: _fireEvent
chrome://global/content/bindings/wizard.xml:257 :: advance
chrome://global/content/bindings/wizard.xml:149 :: anonymous
2008-06-28 02:13:59	Chrome.Wizard	INFO	Preferences set.
2008-06-28 02:13:59	Chrome.Window	INFO	Logging in...
2008-06-28 02:13:59	Chrome.Window	INFO	User string: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9) Gecko/2008061017 Firefox/3.0
2008-06-28 02:13:59	Chrome.Window	INFO	Weave version: 0.1.32
2008-06-28 02:13:59	Service.Main	DEBUG	Logging in user TrinitronX
2008-06-28 02:13:59	Service.Main	INFO	Using server URL: https://services.mozilla.com/0.2/user/TrinitronX/
2008-06-28 02:13:59	Service.DAV	DEBUG	GET request for meta/version
2008-06-28 02:13:59	Chrome.Wizard	INFO	Preferences set.
2008-06-28 02:13:59	Async.Generator	ERROR	Exception: Could not acquire lock
2008-06-28 02:13:59	Async.Generator	DEBUG	Stack trace:
No traceback available.

2008-06-28 02:13:59	Chrome.Wizard	INFO	Preferences set.
2008-06-28 02:13:59	Async.Generator	ERROR	Exception: Could not acquire lock
2008-06-28 02:13:59	Async.Generator	DEBUG	Stack trace:
No traceback available.

2008-06-28 02:13:59	Service.Main	TRACE	Retrieving keypair from server
2008-06-28 02:13:59	Service.DAV	DEBUG	GET request for private/privkey
2008-06-28 02:13:59	Chrome.Wizard	INFO	Preferences set.
2008-06-28 02:13:59	Async.Generator	ERROR	Exception: Could not acquire lock
2008-06-28 02:13:59	Async.Generator	DEBUG	Stack trace:
No traceback available.

2008-06-28 02:13:59	Service.DAV	WARN	_makeRequest: got status 404
2008-06-28 02:13:59	Service.DAV	DEBUG	GET request for public/pubkey
2008-06-28 02:13:59	Service.DAV	WARN	_makeRequest: got status 404
2008-06-28 02:13:59	Service.Main	DEBUG	Generating new RSA key
2008-06-28 02:13:59	Chrome.Wizard	INFO	Initial login failed
2008-06-28 02:13:59	Async.Generator	ERROR	Exception: Cc['@labs.mozilla.com/Weave/Crypto;1'] is undefined (file 'file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/crypto.js', line 72)
2008-06-28 02:13:59	Async.Generator	DEBUG	Stack trace:
()@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/crypto.js:72
Crypto_RSAkeygen([object Object])@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/crypto.js:198
AsyncGen_run()@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:223
Async_run([object Object],Crypto_RSAkeygen,(function (data) {self._log.trace(self.name + ": cb-" + cbId + " called.");self._cont(data);}),[object Object])@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:342
Async_sugar([object Object],(function (data) {self._log.trace(self.name + ": cb-" + cbId + " called.");self._cont(data);}),[object Object])@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:362
WeaveSync__generateKeys()@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/service.js:427
AsyncGen_run()@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:223
Async_run([object Object],WeaveSync__generateKeys,(function (data) {self._log.trace(self.name + ": cb-" + cbId + " called.");self._cont(data);}))@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:342
Async_sugar([object Object],(function (data) {self._log.trace(self.name + ": cb-" + cbId + " called.");self._cont(data);}))@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:362
WeaveSync__getKeypair()@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/service.js:392
AsyncGen__cont([object XMLHttpRequest])@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:236
([object XMLHttpRequest])@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:136
AsyncGen__done([object XMLHttpRequest])@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:289
([object XPCWrappedNative_NoHelper])@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:264
EL_notify([object XPCWrappedNative_NoHelper])@file:///home/trinitronx/.mozilla/firefox/a2c5b4ix.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/util.js:439
This exception was raised by an asynchronous coroutine.
Initial async stack trace:
unknown (async) :: WeaveNotifyWrapper-161
module:wrap.js:157 :: WeaveLocalLockWrapper
module:service.js:529 :: WeaveSync_login
chrome://weave/content/wizard.js:972 :: SyncWizard_completeInstallation
chrome://global/content/bindings/wizard.xml:410 :: anonymous
chrome://global/content/bindings/wizard.xml:411 :: _fireEvent
chrome://global/content/bindings/wizard.xml:257 :: advance
chrome://global/content/bindings/wizard.xml:149 :: anonymous
2008-06-28 02:14:00	Chrome.Wizard	INFO	Shutting down setup wizard
2008-06-28 02:14:43	Service.DAV	DEBUG	Forcibly releasing any server locks
2008-06-28 02:14:43	Service.DAV	DEBUG	Getting active lock token
2008-06-28 02:14:43	Service.DAV	DEBUG	PROPFIND request for lock
2008-06-28 02:14:43	Service.DAV	WARN	_makeRequest: got status 404
2008-06-28 02:14:43	Async.Generator	WARN	Async method 'DC__getActiveLock-176' may have yielded without an outstanding callback.
2008-06-28 02:14:43	Service.DAV	DEBUG	No server lock found
2008-06-28 02:14:43	Async.Generator	WARN	Async method 'DC_forceUnlock-175' may have yielded without an outstanding callback.
2008-06-28 02:14:47	Service.DAV	DEBUG	LOCK request for lock
2008-06-28 02:14:47	Service.DAV	DEBUG	PROPFIND request for root folder
2008-06-28 02:14:47	Service.DAV	DEBUG	DELETE request for meta/
2008-06-28 02:14:47	Service.Main	DEBUG	204
2008-06-28 02:14:47	Service.DAV	DEBUG	DELETE request for lock
2008-06-28 02:14:47	Service.DAV	WARN	_makeRequest: got status 404
2008-06-28 02:14:47	Service.Main	DEBUG	404
2008-06-28 02:14:47	Service.Main	INFO	Logging out
2008-06-28 02:14:47	Service.Main	INFO	Weave scheduler disabled
2008-06-28 02:14:47	Service.DAV	DEBUG	UNLOCK request for lock
Hmmm, in my case it's also Ubuntu 8.04 Hardy Heron, but 32-bit (i386). It seems that these errors are somehow related to the Firefox build in Ubuntu (currently 3.0 final is in the repositories). I just tried with an original Firefox 3.0 build from Mozilla, and the errors are gone. I even managed to do an initial sync of the same Firefox profile. 
Can anyone else confirm that this is not an issue with official builds available from getfirefox.com?

If that's the case the resolution here is likely a release note that Ubuntu users should upgrade to the official final builds of Firefox 3.0 and for us to work with Ubuntu to push an update. 

I also remember hearing about one or two other issues with Linux distributions based upon differences in libraries they link to (?), so perhaps this is also related. 

Of course, it could still be bug in the Weave client code...
cc'ing blizzard as he may have some insight here as well, in terms of known differences in the Ubuntu distribution.
I get the same errors with a manual build of firefox as well.

While building the linux 0.1.32 release, I used a trunk version of the Gecko SDK, instead of Gecko 1.9, which I think might be the root of the problem (even though the unit tests passed). We identified that the linux build was broken shortly after the 0.1.32 was pushed.

Dan is going to try a fresh rebuild with Gecko 1.9 proper, at which point we'll see if the problem re-occurs. If it does, then we'll know for sure that it's a problem with the official firefox builds and not our build process / client code.
I just tried my own Weave build (rev 37633658b125 from Mercurial) using Gecko SDK 1.9. The same errors still occur. 

Could it be a C++ ABI incompatibility instead? I see that the WeaveCrypto component is always built using GCC 3, while Ubuntu's Firefox is probably built using GCC 4.2.3. 
My last statement was incorrect. WeaveCrypto is built using the default GCC on the system, which in Ubuntu Hardy is 4.2.3. But the Makefile misleadingly places the resulting .so in a directory called 'Linux_x86-gcc3'.
> ERROR   Exception:
Cc['@labs.mozilla.com/Weave/Crypto;1'] is undefined

This is the key error. It indicates that the WeaveCrypto module never got registered, so we're unable to call into it.

It almost sounds like a variation of what I ran into in bug 441767, but nsIXULRuntime.XPCOMABI on my Hardy's Firefox is x86-gcc3, and strace shows that Firefox is successfully opening WeaveCrypto.so.

But the next thing in the strace indicates that it's looking for libsoftokn3.so and unable to find it. We might just need a little build magic to hook it up to /usr/lib/nss... Solaris uses -R to add runtime link paths, we just might need to use -L /usr/lib/nss explicitly.

Setting LD_LIBRARY_PATH to /usr/lib/nss before launching Firefox fixes the problem for me. At least, I'm able to call generateRandomBytes() from the Error Console.
Status: UNCONFIRMED → NEW
Ever confirmed: true
./run-mozilla.sh firefox-bin should be setting LD_LIBRARY_PATH correctly, and that is probably the recommended way to start Firefox on Linux. Maybe Ubuntu isn't doing that?
So, trivial fix. We just don't need to link against libsoftokn3.so in the first place. We shouldn't be doing that directly anyway, NSS figures out what modules to load on its own.

Pushed http://hg.mozilla.org/labs/weave/index.cgi/rev/a4d9f8d651ca
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
(In reply to comment #11)
> So, trivial fix. We just don't need to link against libsoftokn3.so in the first
> place. We shouldn't be doing that directly anyway, NSS figures out what modules
> to load on its own.
> 
> Pushed http://hg.mozilla.org/labs/weave/index.cgi/rev/a4d9f8d651ca
> 

is there anything left to do here - from ubuntu side?
(In reply to comment #12)
>
> is there anything left to do here - from ubuntu side?
> 

@asac: I can't say about this particular bug, but could you take a look also at this one:

https://bugzilla.mozilla.org/show_bug.cgi?id=436998

(it's another problem which is specific to the Ubuntu build of Firefox)
This is still not working correctly, at least with stock ubuntu builds.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
I submitted a duplicate so I am reposting my debug message here for the reopened bug

2008-06-30 09:33:39     Service.DAV     DEBUG   LOCK request for lock
2008-06-30 09:33:40     Service.DAV     WARN    _makeRequest: got status 423
2008-06-30 09:33:40     Async.Generator ERROR   Exception: [object Object]
2008-06-30 09:33:40     Async.Generator DEBUG   Stack trace:
No traceback available.
This exception was raised by an asynchronous coroutine.
Initial async stack trace:
unknown (async) :: WeaveLockWrapper-17
module:wrap.js:91 :: WeaveNotifyWrapper
module:service.js:601 :: WeaveSync_sync
chrome://weave/content/sync.js:366 :: Sync_doSync
chrome://browser/content/browser.xul:1 :: oncommand
2008-06-30 09:34:09     Service.DAV     DEBUG   LOCK request for lock
2008-06-30 09:34:10     Service.DAV     DEBUG   GET request for meta/version
2008-06-30 09:34:11     Service.Main    TRACE   Retrieving keypair from server
2008-06-30 09:34:11     Service.DAV     DEBUG   GET request for private/privkey
2008-06-30 09:34:11     Service.DAV     DEBUG   GET request for public/pubkey
2008-06-30 09:34:11     Service.BmkEngine       INFO    Beginning sync
2008-06-30 09:34:11     Service.DAV     DEBUG   GET request for user-data/
2008-06-30 09:34:12     Service.DAV     DEBUG   GET request for
user-data/bookmarks/
2008-06-30 09:34:12     Service.DAV     DEBUG   GET request for
user-data/bookmarks/deltas/
2008-06-30 09:34:13     Service.RemoteStore     DEBUG   Downloading status file
2008-06-30 09:34:13     Service.DAV     DEBUG   GET request for
user-data/bookmarks/status.json
2008-06-30 09:34:13     Service.Resource        DEBUG   GET request successful
2008-06-30 09:34:13     Service.JsonFilter      DEBUG   Decoding JSON data
2008-06-30 09:34:13     Service.RemoteStore     DEBUG   Downloading status
file... done
2008-06-30 09:34:13     Service.BmkEngine       DEBUG   Remote/local sync GUIDs
do not match.  Forcing initial sync.
2008-06-30 09:34:13     Service.BmkEngine       INFO    Local snapshot version:
-1
2008-06-30 09:34:13     Service.BmkEngine       INFO    Server maxVersion: 3
2008-06-30 09:34:13     Service.DAV     DEBUG   GET request for
user-data/bookmarks/keys.json
2008-06-30 09:34:13     Service.Resource        DEBUG   GET request successful
2008-06-30 09:34:13     Service.JsonFilter      DEBUG   Decoding JSON data
2008-06-30 09:34:13     Service.Main    ERROR  
Cc['@labs.mozilla.com/Weave/Crypto;1'] is undefined (file
'file:///home/donny/.mozilla/firefox/23w0iaku.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/crypto.js',
line 72)
2008-06-30 09:34:13     Service.Main    ERROR  
()@file:///home/donny/.mozilla/firefox/23w0iaku.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/crypto.js:72
Crypto_unwrapKey("Q+NETwaqtqXK2+GhdE51FySGmwOhl3/VjklI4rYfxnriIsUZWcyQxYHxNeOHmqlY8naOallVQ75LYgIZ5Ut2Unoho+Q4j2toskxdghEhPeTnlvLLoxvwo8O7bmWosP9rx0TcSb1OuHklcVF4cF5PpOE/q30ndE/1xmZwkcDOPj6YtLijvXRpMHK1plGcSjHbbPJWa7CO8ElK/D3tJF655JmlZqKZuij+ZE7lyrhxfT+caQDjkmh9R7X6ELbkEbJre2TTL8ejyEO0OAy8movF/T77rkDOgmgrPQkbL5ZqvG2fRso0QgNkgTFQjbO/CBRwBnkkb9iNpzit6nGIGUOPPw==",[object
Object])@file:///home/donny/.mozilla/firefox/23w0iaku.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/crypto.js:225
AsyncGen_run()@file:///home/donny/.mozilla/firefox/23w0iaku.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:223
Async_run([object Object],Crypto_unwrapKey,(function (data)
{self._log.trace(self.name + ": cb-" + cbId + "
called.");self._cont(data);}),"Q+NETwaqtqXK2+GhdE51FySGmwOhl3/VjklI4rYfxnriIsUZWcyQxYHxNeOHmqlY8naOallVQ75LYgIZ5Ut2Unoho+Q4j2toskxdghEhPeTnlvLLoxvwo8O7bmWosP9rx0TcSb1OuHklcVF4cF5PpOE/q30ndE/1xmZwkcDOPj6YtLijvXRpMHK1plGcSjHbbPJWa7CO8ElK/D3tJF655JmlZqKZuij+ZE7lyrhxfT+caQDjkmh9R7X6ELbkEbJre2TTL8ejyEO0OAy8movF/T77rkDOgmgrPQkbL5ZqvG2fRso0QgNkgTFQjbO/CBRwBnkkb9iNpzit6nGIGUOPPw==",[object
Object])@file:///home/donny/.mozilla/firefox/23w0iaku.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:342
Async_sugar([object Object],(function (data) {self._log.trace(self.name + ":
cb-" + cbId + "
called.");self._cont(data);}),"Q+NETwaqtqXK2+GhdE51FySGmwOhl3/VjklI4rYfxnriIsUZWcyQxYHxNeOHmqlY8naOallVQ75LYgIZ5Ut2Unoho+Q4j2toskxdghEhPeTnlvLLoxvwo8O7bmWosP9rx0TcSb1OuHklcVF4cF5PpOE/q30ndE/1xmZwkcDOPj6YtLijvXRpMHK1plGcSjHbbPJWa7CO8ElK/D3tJF655JmlZqKZuij+ZE7lyrhxfT+caQDjkmh9R7X6ELbkEbJre2TTL8ejyEO0OAy8movF/T77rkDOgmgrPQkbL5ZqvG2fRso0QgNkgTFQjbO/CBRwBnkkb9iNpzit6nGIGUOPPw==",[object
Object])@file:///home/donny/.mozilla/firefox/23w0iaku.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:362
Keychain__getKeyAndIV([object
Object])@file:///home/donny/.mozilla/firefox/23w0iaku.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/remote.js:365
AsyncGen__cont([object
Object])@file:///home/donny/.mozilla/firefox/23w0iaku.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:236
([object
Object])@file:///home/donny/.mozilla/firefox/23w0iaku.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:136
AsyncGen__done([object
Object])@file:///home/donny/.mozilla/firefox/23w0iaku.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:289
([object
XPCWrappedNative_NoHelper])@file:///home/donny/.mozilla/firefox/23w0iaku.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:264
EL_notify([object
XPCWrappedNative_NoHelper])@file:///home/donny/.mozilla/firefox/23w0iaku.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/util.js:439
This exception was raised by an asynchronous coroutine.
Initial async stack trace:
unknown (async) :: BmkEngine__sync-32
module:engines.js:432 :: Engine_sync
module:service.js:684 :: WeaveSvc__syncEngine
module:wrap.js:91 :: WeaveNotifyWrapper
module:service.js:618 :: WeaveSync__sync
module:async.js:136 :: anonymous
module:async.js:264 :: anonymous
module:util.js:439 :: EL_notify


(In reply to comment #14)
> This is still not working correctly, at least with stock ubuntu builds.
> 


Mine works with a stock Ubuntu build (3.0 final) after Justin's fix. Could it be some additional library that I have installed, but others don't?
I have now tried this on 2 different computers w/ Ubuntu 8.04 fully updated and with ff-3.0-final, same results.

Details of installed relevant packages:
firefox version 3.0+nobinonly-0ubuntu0.8.04.1
firefox-3.0 v. (same)
firefox-3.0-gnome-support v. (same)
firefox-gnome-support v. (same)
ubufox v. 0.5-0ubuntu1

I will try again without the ubufox package after this comment.

Please feel free to ask me for any more details, I would like to contribute in any way possible; also feel free to point out that I am an idiot if I am missing something obvious ;)

Okay, tried without the ubufox package (ubuntu-supplied mods for firefox) and it spat up the same error.  Will try with a downloaded package from mozilla next.
Final update until I hear back about something:

Downloaded tarball from getfirefox.com and it worked perfectly right out of the box (so to speak).  So, the logical conclusion is that there is a discrepancy between the official mozilla verion and the ubuntu version.  Unfortunately that is the limit of my useful information.  Please let me know if I can help.
Reclosing, as I reopened bug 442679 for Donny's issue (Weave doesn't support 64 bit systems yet).
Status: REOPENED → RESOLVED
Closed: 16 years ago16 years ago
Resolution: --- → FIXED
Justin, just to be sure: does it work without libnss3-dev package installed in stock ubuntu builds?
Alexander, yes it works, on Hardy i386 (also without libnspr4-dev and xulrunner-1.9-dev).
Duping bug to copy over Cc list.
Resolution: FIXED → DUPLICATE
Wow, massive fail.  Unduping anyway.

Folks, please visit bug 442788.
Resolution: DUPLICATE → FIXED
Opened https://launchpad.net/bugs/244439 to track this issue.
Component: Weave → General
Product: Mozilla Labs → Weave
QA Contact: weave → general
You need to log in before you can comment on or make changes to this bug.