Closed Bug 630875 Opened 15 years ago Closed 15 years ago

"Assertion failure: compartment mismatched,"

Categories

(Core :: XPConnect, defect)

x86_64
Linux
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 631409
Tracking Status
blocking2.0 --- final+

People

(Reporter: gkw, Assigned: gal)

References

Details

(Keywords: assertion, regression, testcase, Whiteboard: [hardblocker])

Attachments

(1 file)

Compile a TM browser build, then install Adblock Plus 1.3.3, then head to about:addons to trigger this assert. Tested on Ubuntu Linux 10.04 TM changeset 641a33d0932f. .mozconfig is: . $topsrcdir/browser/config/mozconfig mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-ff-dbg-64-tm mk_add_options MOZ_MAKE_FLAGS="-s -j4" ac_add_options --enable-debug ac_add_options --disable-optimize ac_add_options --enable-tests
Thanks go out to jorendorff for helping me out on IRC :)
blocking2.0: ? → final+
Whiteboard: [hardblocker]
QA Contact: xpconnect → gal
Assignee: nobody → gal
QA Contact: gal → xpconnect
Reproduced.
I updated to a fresh TM pull and the bug is gone, so this is WFM with TM tip. Please re-open if you still see this.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Actually ran into this again with a slightly different stack :(
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Some context info: Adblock Plus (in particular, RequestNotifier.jsm mentioned here) attaches its data (object created by chrome) to content nodes using node.setUserData(). From the line number in the stack trace it is unclear which call is triggering the assertion, setUserData() or getUserData(), the line number is exactly in between. I would assume setUserData() however, the data usually isn't being retrieved without explicit user action (pressing Ctrl-Shift-V or checking the tooltip on the ABP icon).
My guess is that this is related to bug 631135, etc.
If the native called by CallJSNative is XPC_WN_CallMethod or kin, could also be fixed by bug 627954.
Depends on: 627954
Status: REOPENED → RESOLVED
Closed: 15 years ago15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: