Closed
Bug 441352
Opened 17 years ago
Closed 15 years ago
Weave calls PSM/NSS late in shutdown, causing crash [@ PK11_GetInternalKeySlot]
Categories
(Cloud Services :: General, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
Future
People
(Reporter: bent.mozilla, Unassigned)
Details
(Keywords: crash)
Crash Data
Attachments
(1 file)
|
48.00 KB,
text/plain
|
Details |
I'm running a debug build with weave and crashed on shutdown here. Stack attached.
Assignee: nobody → kaie
Component: Weave → Security: UI
Keywords: crash
Product: Mozilla Labs → Core
QA Contact: weave → ui
Summary: Shutdown crash with Weave [@PR_CreateFileMap] → Shutdown crash with Weave [@ PR_CreateFileMap - PK11_GetInternalKeySlot]
Target Milestone: -- → ---
Version: unspecified → Trunk
Comment 1•16 years ago
|
||
Kai or Julien or Nelson, please determine whether this stack trace is useful, and mark the bug as incomplete if not.
Whiteboard: [needs NSS hackers to determine whether stack is useful]
Comment 2•16 years ago
|
||
Does Weave use code to ensure that Weave will stop using all NSS resources prior to the time when PSM shuts down NSS?
The list of active threads does not show the SSL thread. I conclude PSM has already shut down NSS.
Comment 3•16 years ago
|
||
The stack shown is incorrect, but it's trivial to determine the correct
stack. The NSPR function in question is not PR_CreateFileMap.
It's PR_Assert, called via the PORT_Assert macro at
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/security/nss/lib/pk11wrap/pk11slot.c&rev=1.93&mark=1658#1654
As Kai surmised in comment 2, this is precisely another case of calling
NSS code after NSS has been shut down.
Updated•16 years ago
|
Assignee: kaie → nobody
Component: Security: UI → Needs Triage
Product: Core → Weave
QA Contact: ui → needstriage
Summary: Shutdown crash with Weave [@ PR_CreateFileMap - PK11_GetInternalKeySlot] → Weave calls PSM/NSS late in shutdown, causing crash [@ PK11_GetInternalKeySlot]
Whiteboard: [needs NSS hackers to determine whether stack is useful]
Version: Trunk → unspecified
Updated•16 years ago
|
Target Milestone: --- → Future
Updated•15 years ago
|
Component: Needs Triage → General
QA Contact: needstriage → general
Comment 4•15 years ago
|
||
I haven't seen any reports of this since the switch to ctypes, resolving WFM.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
| Assignee | ||
Updated•14 years ago
|
Crash Signature: [@ PK11_GetInternalKeySlot]
You need to log in
before you can comment on or make changes to this bug.
Description
•