Closed Bug 466237 Opened 17 years ago Closed 17 years ago

Weave crashes consistently on startup.

Categories

(Cloud Services :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 465974

People

(Reporter: sdwilsh, Unassigned)

Details

Happening in 3.0.5pre. It's crashing because psm hasn't been initialized. I suspect this is a result of bug 462806 landing. A simple fix for this is to add this line in the factory constructor for the weave binary component: nsCOMPtr<nsISupports> psm(do_GetService("@mozilla.org/psm;1")); This will ensure that NSS is initialized, and that we don't end up initializing it twice.
Shawn and I verified this by creating a dummy nsICryptoHash at the top of Weave's sync.js, which fixed the crash.
Oops, dupe!
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
No longer depends on: 462806
Component: Weave → General
Product: Mozilla Labs → Weave
Target Milestone: -- → ---
Component: Weave → General
Product: Mozilla Labs → Weave
Target Milestone: -- → ---
QA Contact: weave → general
You need to log in before you can comment on or make changes to this bug.