Closed
Bug 77277
Opened 23 years ago
Closed 23 years ago
Trunk crash [@ nsCookieService::SetCookieStringFromHttp ] reading a message
Categories
(Core :: Networking: Cookies, defect)
Tracking
()
VERIFIED
FIXED
mozilla0.9
People
(Reporter: scottputterman, Assigned: sspitzer)
References
Details
Attachments
(1 file)
1.32 KB,
text/plain
|
Details |
using the 4/23 build a number of us crash reading a message with the stack at the end of this comment. I can't put the message in this bug. bienvenu says the fix is to fix setCookie to check for a null aFirstUrl like you did for getCookie. See http://bugzilla.mozilla.org/show_bug.cgi?id=75948. nsCookieService::SetCookieStringFromHttp [d:\builds\seamonkey\mozilla\extensions\cookie\nsCookieService.cpp, line 170] nsCookieHTTPNotify::AsyncExamineResponse [d:\builds\seamonkey\mozilla\extensions\cookie\nsCookieHTTPNotify.cpp, line 261] XPTC_InvokeByIndex [d:\builds\seamonkey\mozilla\xpcom\reflect\xptcall\src\md\win32\xptcinvoke.cpp, line 139] EventHandler [d:\builds\seamonkey\mozilla\xpcom\proxy\src\nsProxyEvent.cpp, line 510] nsProxyObject::Post [d:\builds\seamonkey\mozilla\xpcom\proxy\src\nsProxyEvent.cpp, line 450] nsProxyEventObject::CallMethod [d:\builds\seamonkey\mozilla\xpcom\proxy\src\nsProxyEventObject.cpp, line 465] PrepareAndDispatch [d:\builds\seamonkey\mozilla\xpcom\reflect\xptcall\src\md\win32\xptcstubs.cpp, line 102] SharedStub [d:\builds\seamonkey\mozilla\xpcom\reflect\xptcall\src\md\win32\xptcstubs.cpp, line 124] nsHTTPChannel::OnHeadersAvailable [d:\builds\seamonkey\mozilla\netwerk\protocol\http\src\nsHTTPChannel.cpp, line 2465] nsHTTPChannel::FinishedResponseHeaders [d:\builds\seamonkey\mozilla\netwerk\protocol\http\src\nsHTTPChannel.cpp, line 2742] nsHTTPServerListener::FinishedResponseHeaders [d:\builds\seamonkey\mozilla\netwerk\protocol\http\src\nsHTTPResponseListener.c pp, line 1028] nsHTTPServerListener::OnDataAvailable [d:\builds\seamonkey\mozilla\netwerk\protocol\http\src\nsHTTPResponseListener.c pp, line 416] nsOnDataAvailableEvent::HandleEvent [d:\builds\seamonkey\mozilla\netwerk\base\src\nsStreamListenerProxy.cpp, line 183] PL_HandleEvent [d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, line 589] PL_ProcessPendingEvents [d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, line 522] _md_EventReceiverProc [d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, line 1070] nsAppShellService::Run [d:\builds\seamonkey\mozilla\xpfe\appshell\src\nsAppShellService.cpp, line 408] netscp6.exe + 0x16ec (0x004016ec) netscp6.exe + 0x11b8 (0x004011b8) netscp6.exe + 0x2b92 (0x00402b92) KERNEL32.DLL + 0x192a6 (0x77e992a6)
Reporter | ||
Comment 1•23 years ago
|
||
Nominating for beta1 and making a high severity since reading a message shouldn't crash.
Severity: normal → critical
Keywords: nsbeta1
Assignee | ||
Comment 2•23 years ago
|
||
I'm unable to reproduce outside the firewall, but I can inside. (outside, I timeout on the message) I can help debug / work up a fix for this tomorrow.
Updated•23 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.1
Jeremy sent me the original message and I saved (witn 4.7) the attached html that is in the crashing msg to my desktop. The html opened OK, but when I selected Edit Page I crashed (this is using 6.5).
Assignee | ||
Comment 5•23 years ago
|
||
here a fix. morse, please review or comment.
Assignee | ||
Comment 6•23 years ago
|
||
Assignee | ||
Comment 7•23 years ago
|
||
that patch fixes the crash, but there are still plenty of asserts (caused by the relative <img src> tags in the message). but those are known and covered in other bugs.
Comment 8•23 years ago
|
||
Patch looks fine to me. Thanks for taking this one. r=morse
Assignee | ||
Comment 9•23 years ago
|
||
thanks for the quick review. taking.
Assignee: morse → sspitzer
Status: ASSIGNED → NEW
Comment 10•23 years ago
|
||
sr=bienvenu
Assignee | ||
Comment 12•23 years ago
|
||
moving to 0.9, simple crasher fix. I'll go get some driver@mozilla.org approval.
Target Milestone: mozilla0.9.1 → mozilla0.9
Comment 13•23 years ago
|
||
a= asa@mozilla.org for checkin to 0.9
Assignee | ||
Comment 14•23 years ago
|
||
fixed.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 15•23 years ago
|
||
*** Bug 77434 has been marked as a duplicate of this bug. ***
Comment 16•23 years ago
|
||
Adding the stacksig in summary field for talkback tracking of the fixed bug in future builds.
Summary: crash reading a message → Trunk crash reading a message [@ nsCookieService::SetCookieStringFromHttp ]
Updated•23 years ago
|
Summary: Trunk crash reading a message [@ nsCookieService::SetCookieStringFromHttp ] → Trunk crash [@ nsCookieService::SetCookieStringFromHttp ] reading a message
You need to log in
before you can comment on or make changes to this bug.
Description
•