Closed Bug 1193213 Opened 9 years ago Closed 9 years ago

Assertion failure: this->is<T>(), at jsobj.h

Categories

(Core :: JavaScript Engine, defect)

x86_64
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla43
Tracking Status
firefox43 --- fixed

People

(Reporter: gkw, Assigned: bhackett1024)

References

Details

(Keywords: assertion, regression, testcase, Whiteboard: [jsbugmon:update])

Attachments

(2 files)

x = ['']; x = ['']; x = ['']; x = ['']; x = ['']; x = ['']; x = ['']; x = ['']; x = ['']; x = ['']; x = ['']; x = ['']; x = ['']; x = ['']; x = ['']; x = ['']; x = ['']; x = ['']; x = ['']; p``; asserts js debug shell on m-c changeset 8cba870a352c with --fuzzing-safe --no-threads --ion-eager --unboxed-arrays at Assertion failure: this->is<T>(), at jsobj.h Configure options: CC="clang -Qunused-arguments" CXX="clang++ -Qunused-arguments" AR=ar AUTOCONF=/usr/local/Cellar/autoconf213/2.13/bin/autoconf213 sh /Users/skywalker/trees/mozilla-central/js/src/configure --target=x86_64-apple-darwin12.5.0 --enable-debug --enable-nspr-build --enable-more-deterministic --with-ccache --enable-gczeal --enable-debug-symbols --disable-tests python -u ~/funfuzz/js/compileShell.py -b "--enable-debug --enable-more-deterministic --enable-nspr-build" -r 8cba870a352c autoBisect is running, but guessing that this is related to --unboxed-arrays so setting needinfo? from Brian.
Flags: needinfo?(bhackett1024)
Attached file stack
(lldb) bt 5 * thread #1: tid = 0xc2257, 0x00000001001bfde7 js-dbg-64-dm-nsprBuild-darwin-8cba870a352c`js::frontend::BytecodeEmitter::emitCallSiteObject(js::frontend::ParseNode*) + 52 at jsobj.h:547, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0) * frame #0: 0x00000001001bfde7 js-dbg-64-dm-nsprBuild-darwin-8cba870a352c`js::frontend::BytecodeEmitter::emitCallSiteObject(js::frontend::ParseNode*) + 52 at jsobj.h:547 frame #1: 0x00000001001bfdb3 js-dbg-64-dm-nsprBuild-darwin-8cba870a352c`js::frontend::BytecodeEmitter::emitCallSiteObject(this=<unavailable>, pn=<unavailable>) + 467 at BytecodeEmitter.cpp:4731 frame #2: 0x00000001001aab81 js-dbg-64-dm-nsprBuild-darwin-8cba870a352c`js::frontend::BytecodeEmitter::emitTree(this=0x00007fff5fbfec78, pn=0x00000001028ae6d8) + 1633 at BytecodeEmitter.cpp:7900 frame #3: 0x00000001001c7484 js-dbg-64-dm-nsprBuild-darwin-8cba870a352c`js::frontend::BytecodeEmitter::emitCallOrNew(this=0x00007fff5fbfec78, pn=0x00000001028ae688) + 1236 at BytecodeEmitter.cpp:6737 frame #4: 0x00000001001aa7c5 js-dbg-64-dm-nsprBuild-darwin-8cba870a352c`js::frontend::BytecodeEmitter::emitTree(this=0x00007fff5fbfec78, pn=0x00000001028ae688) + 677 at BytecodeEmitter.cpp:7859 (lldb)
Also happens with "--fuzzing-safe --no-threads --no-ion --unboxed-arrays".
autoBisect shows this is probably related to the following changeset: The first bad revision is: changeset: https://hg.mozilla.org/mozilla-central/rev/3a994e364343 user: Brian Hackett date: Sat Jun 13 07:54:06 2015 -0700 summary: Bug 1172943 - Use unboxed arrays for JSON and script literal arrays, r=jandem. Brian, is bug 1172943 a likely regressor?
Blocks: 1172943
Whiteboard: [jsbugmon:update] → [jsbugmon:]
JSBugMon: Cannot process bug: Unable to automatically reproduce, please track manually.
Whiteboard: [jsbugmon:] → [jsbugmon:update]
$ ~/shell-cache/js-dbg-64-dm-nsprBuild-darwin-29b2df16e961/js-dbg-64-dm-nsprBuild-darwin-29b2df16e961 --fuzzing-safe --no-threads --ion-eager --unboxed-arrays 1193213.js Assertion failure: this->is<T>(), at /Users/skywalker/trees/mozilla-central/js/src/jsobj.h:547 Segmentation fault: 11 Just reproduced on m-c rev 29b2df16e961. Note that there are backticks in the testcase in comment 0.
Attached patch patchSplinter Review
These NativeObject casts are unnecessary.
Assignee: nobody → bhackett1024
Flags: needinfo?(bhackett1024)
Attachment #8651093 - Flags: review?(jorendorff)
Comment on attachment 8651093 [details] [diff] [review] patch Review of attachment 8651093 [details] [diff] [review]: ----------------------------------------------------------------- r=me.
Attachment #8651093 - Flags: review?(jorendorff) → review+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: