Closed Bug 704478 Opened 13 years ago Closed 13 years ago

JS Shell Workers broken (Assertion failure: rt->onOwnerThread(), at jsapi.cpp:6326)

Categories

(Core :: JavaScript Engine, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla11

People

(Reporter: decoder, Assigned: luke)

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

I just wanted to give the workers in JS shell a try (mozilla-central revision 5ebeef1eabcb) but I only get this:

js> new Worker()
Assertion failure: rt->onOwnerThread(), at mozilla-central/js/src/jsapi.cpp:6326


I've built this shell with --enable-threadsafe and system NSPR.
The first bad revision is:
changeset:   79916:31d13586087f
user:        Luke Wagner
date:        Fri Jul 01 14:11:31 2011 -0700
summary:     Bug 650411 - assert in debug/release builds that JSRuntime is only used in a single-threaded manner (r=jorendorff,sr=dmandelin)
Attached patch fixSplinter Review
Oops, I added a new JS_AbortIfWrongThread (under JS_SetContextThread) and forgot to run shell workers.
Assignee: jorendorff → luke
Status: NEW → ASSIGNED
Attachment #576167 - Flags: review?(jorendorff)
Attachment #576167 - Flags: review?(jorendorff) → review+
https://hg.mozilla.org/mozilla-central/rev/04f576b81e1a
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: