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)

PowerPC
macOS
defect
Not set
normal

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.
Attached file testcase
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.
This still happens on trunk (with the testcase loaded from a file: URL).
SOAP is no longer built by default, so this doesn't affect Firefox any more. (SOAP support was dropped in bug 332174.)
Attached file testcase2
I'm also seeing this assertion when xmlhttprequest is used on a non-existing file.
The assertion seems to be delayed, it comes up after 10 seconds or so.
I get a security exception when I load testcase2 as a local file.
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).
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: