Closed
Bug 1153498
Opened 10 years ago
Closed 10 years ago
Assertion failure: CurrentThreadIsGCSweeping(), at gc/Barrier.h involving oomAfterAllocations
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla40
Tracking | Status | |
---|---|---|
firefox40 | --- | fixed |
People
(Reporter: gkw, Assigned: jonco)
References
Details
(Keywords: assertion, regression, testcase, Whiteboard: [jsbugmon:update])
Attachments
(2 files)
5.89 KB,
text/plain
|
Details | |
1.47 KB,
patch
|
terrence
:
review+
|
Details | Diff | Splinter Review |
"".search(function() {})
r = /x/
x = [/y/]
oomAfterAllocations(5)
x.v = function() {}
a = /z/
asserts js debug shell on m-c changeset eb3a1c0262e4 with --fuzzing-safe --no-threads --no-baseline --ion-eager at Assertion failure: CurrentThreadIsGCSweeping(), at gc/Barrier.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 ~/fuzzing/js/compileShell.py -b "--enable-debug --enable-more-deterministic --enable-nspr-build" -r eb3a1c0262e4
=== Treeherder Build Bisection Results by autoBisect ===
The "good" changeset has the timestamp "20150409100834" and the hash "e1fc8574a62e".
The "bad" changeset has the timestamp "20150409101534" and the hash "909e17a7edb7".
Likely regression window: https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=e1fc8574a62e&tochange=909e17a7edb7
Jon, is bug 1149526 a likely regressor?
Flags: needinfo?(jcoppeard)
![]() |
Reporter | |
Comment 1•10 years ago
|
||
(lldb) bt 5
* thread #1: tid = 0x1d735b, 0x0000000100281ccf js-dbg-64-dm-nsprBuild-darwin-eb3a1c0262e4`js::RegExpShared::~RegExpShared() + 52 at Barrier.h:519, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
* frame #0: 0x0000000100281ccf js-dbg-64-dm-nsprBuild-darwin-eb3a1c0262e4`js::RegExpShared::~RegExpShared() + 52 at Barrier.h:519
frame #1: 0x0000000100281c9b js-dbg-64-dm-nsprBuild-darwin-eb3a1c0262e4`js::RegExpShared::~RegExpShared() [inlined] js::HeapPtr<js::jit::JitCode*>::~HeapPtr() at Barrier.h:518
frame #2: 0x0000000100281c9b js-dbg-64-dm-nsprBuild-darwin-eb3a1c0262e4`js::RegExpShared::~RegExpShared() at RegExpObject.h:126
frame #3: 0x0000000100281c9b js-dbg-64-dm-nsprBuild-darwin-eb3a1c0262e4`js::RegExpShared::~RegExpShared() [inlined] js::RegExpShared::RegExpCompilation::~RegExpCompilation() at RegExpObject.h:126
frame #4: 0x0000000100281c9b js-dbg-64-dm-nsprBuild-darwin-eb3a1c0262e4`js::RegExpShared::~RegExpShared(this=<unavailable>) + 171 at RegExpObject.cpp:575
(lldb)
Assignee | ||
Comment 2•10 years ago
|
||
The fuzzers found that RegExpShared can get destroyed outside of GC too.
Assignee: nobody → jcoppeard
Flags: needinfo?(jcoppeard)
Attachment #8591519 -
Flags: review?(terrence)
Comment 3•10 years ago
|
||
Comment on attachment 8591519 [details] [diff] [review]
bug1153498-reg-exp-fuzz-bug
Review of attachment 8591519 [details] [diff] [review]:
-----------------------------------------------------------------
By the name, I guess RegexpShared would probably be better off as a GC thing in the long run.
Attachment #8591519 -
Flags: review?(terrence) → review+
Assignee | ||
Comment 4•10 years ago
|
||
Comment 5•10 years ago
|
||
Backed out for making WinXP debug jit-tests perma-timeout.
https://hg.mozilla.org/integration/mozilla-inbound/rev/6e139783c7cf
https://treeherder.mozilla.org/logviewer.html#?job_id=8812061&repo=mozilla-inbound
Assignee | ||
Comment 6•10 years ago
|
||
Comment 7•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in
before you can comment on or make changes to this bug.
Description
•