Closed Bug 671027 Opened 14 years ago Closed 3 years ago

Assertion failure: !cx->outstandingRequests, at js/src/jsapi.cpp:6053 with reentering ctypes function callbacks

Categories

(Core :: js-ctypes, defect)

Other Branch
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jorendorff, Unassigned)

References

Details

Attachments

(1 file)

var fp_t = new ctypes.FunctionType(ctypes.default_abi, ctypes.void_t).ptr; var f = fp_t(function () { return 2; }); var g = fp_t(function () { return f() + 2; }); assertEq(g(), 4); Assertion failure: !cx->outstandingRequests, at js/src/jsapi.cpp:6053
Attached patch v1Splinter Review
Again, not asking for a code review yet, because bug 666963 causes the test to assert on exit.
Assignee: nobody → jorendorff
Depends on: 666963

The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.

Assignee: jorendorff → nobody

Not reproducible in latest m-c given there's no JSThreadData (bug 675078)

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: