Closed
Bug 455035
Opened 16 years ago
Closed 16 years ago
Crash shutting down in cookie code
Categories
(Core :: Networking: Cookies, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: bzbarsky, Assigned: timeless)
References
Details
Attachments
(1 file)
1018 bytes,
patch
|
dwitte
:
review+
Biesinger
:
superreview+
|
Details | Diff | Splinter Review |
###!!! ASSERTION: You can't dereference a NULL nsCOMPtr with operator->().: 'mRawPtr != 0', file ../../../dist/include/xpcom/nsCOMPtr.h, line 811 Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00000000 0x00d27b0c in nsCookieService::Observe (this=0xc8b1f10, aSubject=0xc678360, aTopic=0x12e50b "profile-before-change", aData=0x13fb40) at /Users/bzbarsky/mozilla/debug/mozilla/netwerk/cookie/src/nsCookieService.cpp:629 629 mDBConn->Close(); For some reason we failed to open the database during startup, but we're blindly trying to close it anyway. This should have a null-check, methinks.
Comment 1•16 years ago
|
||
see https://bugzilla.mozilla.org/show_bug.cgi?id=449986
Comment 2•16 years ago
|
||
i don't have a tree to patch this atm, but if someone can do the honors i'll r+.
Reporter | ||
Comment 3•16 years ago
|
||
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Attachment #338416 -
Flags: superreview?(cbiesinger)
Attachment #338416 -
Flags: review?(dwitte)
Comment 4•16 years ago
|
||
Comment on attachment 338416 [details] [diff] [review] Bah maybe you should move the if for shutdown-cleanse into this one
Attachment #338416 -
Flags: superreview?(cbiesinger) → superreview+
Comment 5•16 years ago
|
||
Comment on attachment 338416 [details] [diff] [review] Bah thanks bz, sorry you had to do this. i owe you one :( r=dwitte
Attachment #338416 -
Flags: review?(dwitte) → review+
fixed in changeset 0e9b30800119
Assignee: bzbarsky → timeless
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 7•16 years ago
|
||
Thanks for checking it in, but please use -u next time? ;)
You need to log in
before you can comment on or make changes to this bug.
Description
•