Closed Bug 711235 Opened 13 years ago Closed 11 years ago

nsXPConnect::BeginCycleCollection ignores JS_SetContextThread failures

Categories

(Core :: XPConnect, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mccr8, Unassigned)

References

Details

Attachments

(1 file)

timeless reported a crash in begin cycle collection: http://pastebin.mozilla.org/1406820 He said it looks like it is due to an OOM in JS_SetContextThread (JS reported OOM). The return of this call is not checked, so it crashes right after that. I'm not sure if there's any graceful way to recover, because it seems like we'd have to abort the entire cycle collection, and begin that downward spiral. This is kind of a secondary effect of the IRCcloud memory leak, I think.
Attached file crash information
CC thread is gone.
Status: NEW → RESOLVED
Closed: 11 years ago
Depends on: 901630
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: