Crash [@ xpc::WrapperFactory::Rewrap] invoking callback

RESOLVED FIXED in mozilla22

Status

()

Core
js-ctypes
--
critical
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: neil@parkwaycc.co.uk, Unassigned)

Tracking

({assertion, crash})

unspecified
mozilla22
x86_64
Linux
assertion, crash
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

(crash signature)

Attachments

(2 attachments)

(Reporter)

Description

5 years ago
Created attachment 721875 [details]
Stack backtrace

FireTray appears to register a callback using ctypes. However this assertion fires when ctypes attempts to invoke the callback:

MOZ_ASSERT(XPCJSRuntime::Get()->GetJSContextStack()->Peek() == cx);
Created attachment 721934 [details] [diff] [review]
Push a cx before calling into ctypes callbacks. v1
Attachment #721934 - Flags: review?(jorendorff)

Updated

5 years ago
Severity: normal → critical
Crash Signature: [@ xpc::WrapperFactory::Rewrap(JSContext*, JSObject*, JSObject*, JSObject*, JSObject*, unsigned int) ]
Jorendorff - ping? This should be a pretty quick patch to review, and it's a startup crash for people with certain addons like Neil.
Attachment #721934 - Flags: review?(jorendorff) → review+
https://hg.mozilla.org/mozilla-central/rev/f1fd4792d0bc
https://hg.mozilla.org/mozilla-central/rev/ef711d90e7b7
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
You need to log in before you can comment on or make changes to this bug.