Closed
Bug 908948
Opened 13 years ago
Closed 13 years ago
Crash [@ execute] or [@ js::RegExpShared::execute] or Assertion failure: m_value, at assembler/assembler/MacroAssemblerCodeRef.h
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 895660
People
(Reporter: gkw, Unassigned)
Details
(5 keywords, Whiteboard: [jsbugmon:update])
Crash Data
Attachments
(1 file)
|
10.24 KB,
text/plain
|
Details |
Object.defineProperty(this, "x", {
get: function() {
return new ParallelArray(19308, function() {
return /(?=)/gi
})
}
});
"".match(x)
asserts js 32-bit debug threadsafe deterministic shell on m-c changeset d58fc624899c without any CLI arguments at Assertion failure: m_value, at assembler/assembler/MacroAssemblerCodeRef.h and crashes js 32-bit opt threadsafe deterministic shell at execute with js::RegExpShared::execute on the stack.
Not sure if this is related to bug 895660, that bug does not have ParallelArrays, but the stacks here also seem to involve Yarr, so I'd leave it to someone more informed to dupe if necessary. s-s because that bug is s-s.
Flags: needinfo?(shu)
Comment 1•13 years ago
|
||
My guess would be that this is indeed the same as bug 895660 and the ParallelArray is just another way to cause OOM in Yarr in the right spot here.
Comment 3•13 years ago
|
||
Sean: Any idea, or similar bug in mind where YARR compiled regex might SEGV (see the attached stack)?
Flags: needinfo?(sstangl)
Comment 4•13 years ago
|
||
This bug is fixed by the patch in Bug 895660, and can likely be resolved DUPLICATE.
Flags: needinfo?(sstangl)
| Reporter | ||
Comment 5•13 years ago
|
||
Bug 895660 was opened up, so this can be, too.
Group: core-security
Status: NEW → RESOLVED
Closed: 13 years ago
Flags: in-testsuite?
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•