Closed
Bug 328558
Opened 19 years ago
Closed 15 years ago
"ASSERTION: we rather crash than hang" when using WSDLLoader
Categories
(Core Graveyard :: Web Services, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: jruderman, Unassigned)
Details
(Keywords: assertion, testcase)
Attachments
(2 files)
###!!! ASSERTION: we rather crash than hang: '!(mState & XML_HTTP_REQUEST_SYNCLOOPING)', file mozilla/extensions/xmlextras/base/src/nsXMLHttpRequest.cpp, line 282
What does "we rather crash than hang" mean, anyway? That string appears in Mozilla source several times.
Reporter | ||
Comment 1•19 years ago
|
||
Reporter | ||
Comment 2•19 years ago
|
||
The testcase has to be loaded from a file: URL to produce the assertion.
Hmm, so it didn't crash? It was supposed to...
I remember we put these things in the code in situations that should not happen, but if it ever did happen the app would crash and we might get a talkback report. With hang there is no talkback. So, crashing seemed the best course of action.
Reporter | ||
Comment 4•18 years ago
|
||
This still happens on trunk (with the testcase loaded from a file: URL).
Reporter | ||
Comment 5•17 years ago
|
||
SOAP is no longer built by default, so this doesn't affect Firefox any more. (SOAP support was dropped in bug 332174.)
Comment 6•17 years ago
|
||
I'm also seeing this assertion when xmlhttprequest is used on a non-existing file.
Comment 7•17 years ago
|
||
The assertion seems to be delayed, it comes up after 10 seconds or so.
Reporter | ||
Comment 8•17 years ago
|
||
I get a security exception when I load testcase2 as a local file.
Reporter | ||
Comment 9•17 years ago
|
||
Btw, I have never seen this crash *or* hang. But it's an NS_ABORT_IF_FALSE, which means it will abort soon if bug 429930 is fixed (in debug builds only).
Reporter | ||
Comment 10•15 years ago
|
||
I think this code is totally gone now.
http://mxr.mozilla.org/mozilla-central/search?string=WSDLLoader
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Updated•7 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•