If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

"ASSERTION: bad call" in SystemOnlyWrapper::MakeSOW

RESOLVED FIXED

Status

()

Core
XPConnect
RESOLVED FIXED
7 years ago
7 years ago

People

(Reporter: Jesse Ruderman, Assigned: mrbkap)

Tracking

(Blocks: 2 bugs, {assertion, testcase})

Trunk
x86
Mac OS X
assertion, testcase
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(3 attachments)

(Reporter)

Description

7 years ago
Created attachment 448173 [details]
testcase

###!!! ASSERTION: bad call: 'clasp != &SystemOnlyWrapper::SOWClass.base && clasp != &XPCCrossOriginWrapper::XOWClass.base && strcmp(clasp->name, "XPCNativeWrapper")', file /Users/jruderman/mozilla-central/js/src/xpconnect/src/XPCSystemOnlyWrapper.cpp, line 161
(Reporter)

Comment 1

7 years ago
Created attachment 448174 [details]
stack trace

The third part of the assertion is the one that's failing: clasp->name is "XPCNativeWrapper" and strcmp returns 0.
(Assignee)

Updated

7 years ago
Assignee: nobody → mrbkap
(Assignee)

Comment 2

7 years ago
Created attachment 450481 [details] [diff] [review]
Fix

Bogus assertion.
Attachment #450481 - Flags: review?(jst)

Updated

7 years ago
Attachment #450481 - Flags: review?(jst) → review+
(Assignee)

Comment 3

7 years ago
http://hg.mozilla.org/tracemonkey/rev/55ade68ed524
Whiteboard: fixed-in-tracemonkey

Comment 4

7 years ago
http://hg.mozilla.org/mozilla-central/rev/55ade68ed524
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.