Closed Bug 530507 Opened 15 years ago Closed 15 years ago

Assertion failure: !SPROP_FETCH(spp) - js/src/jsscope.cpp:1231 - thread-safe shell

Categories

(Core :: JavaScript Engine, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla2.0

People

(Reporter: bc, Assigned: brendan)

References

Details

(Keywords: assertion, testcase, Whiteboard: fixed-in-tracemonkey)

Attachments

(2 files)

thread-safe shell, tracemonkey begin test: js1_8/extensions/regress-446169-01.js BUGNUMBER: 446169 STATUS: Do not assert: Thin_GetWait(tl->owner) in thread-safe build Assertion failure: !SPROP_FETCH(spp), at /work/mozilla/builds/1.9.3-tracemonkey/mozilla/js/src/jsscope.cpp:1231
Flags: in-testsuite+
ditto js1_8/extensions/regress-445818.js although randomly.
Probably mine, can you bisect to the regressing change? /be
Assignee: general → brendan
OS: Mac OS X → All
Hardware: x86 → All
The first bad revision is: changeset: 35131:c03ebf340688 user: Brendan Eich <brendan@mozilla.org> date: Fri Nov 20 16:14:42 2009 -0800 summary: Bye-bye middle-deletes and their O(n^2) worst case complexity; hello dictionary-mode scopes (473228, r=jorendorff). This may explain the flakiness of the jsreftests since then.
Blocks: 473228
Bob, I can't get the test to fail with xpcshell. I didn't configure a debug js shell with --enable-threadsafe (I can if that is necessary but wanted to ask if you could repro with xpcshell). Results: $ ./jsDriver.pl -t -e smdebug -s ../../../../tracemonkey.OBJ/dist/bin/xpcshell -l js1_8/extensions/regress-446169-01.js -*- ARGV is now: -e smdebug -s ../../../../tracemonkey.OBJ/dist/bin/xpcshell -l js1_8/extensions/regress-446169-01.js -*- opt: adding engine smdebug. -*- ARGV is now: -s ../../../../tracemonkey.OBJ/dist/bin/xpcshell -l js1_8/extensions/regress-446169-01.js -*- opt: setting shell path to '../../../../tracemonkey.OBJ/dist/bin/xpcshell'. -*- ARGV is now: -l js1_8/extensions/regress-446169-01.js -*- opt: adding test list 'js1_8/extensions/regress-446169-01.js'. -*- getting test list from user specified source. -*- Testing engine 'smdebug' -*- getting spidermonkey engine command. -*- got '../../../../tracemonkey.OBJ/dist/bin/xpcshell ' -#- Executing 1 test(s). -*- executing: ../../../../tracemonkey.OBJ/dist/bin/xpcshell -f ./shell.js -f ./js1_8/shell.js -f ./js1_8/extensions/shell.js -f ./js1_8/extensions/regress-446169-01.js -f ./js-test-driver-end.js -*- exit code 0, exit signal 0. -*- Writing output to results-2009-11-25-113309-smdebug.html. -#- Wrote results to 'results-2009-11-25-113309-smdebug.html'. -#- 0 test(s) failed /be
Thanks to bc for the irc-gdb'ing. /be
Attachment #414542 - Flags: review?(jorendorff)
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → mozilla1.9.3
Comment on attachment 414542 [details] [diff] [review] tolerate race condition You could trigger this without JS_THREADSAFE, if we had a badly behaved enough resolve hook.
Attachment #414542 - Flags: review?(jorendorff) → review+
Whiteboard: fixed-in-tracemonkey
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: mozilla1.9.3 → mozilla2.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: