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)

x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 895660

People

(Reporter: gkw, Unassigned)

Details

(5 keywords, Whiteboard: [jsbugmon:update])

Crash Data

Attachments

(1 file)

Attached file debug and opt stacks —
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)
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.
This is very unlikely to be PJS-related.
Flags: needinfo?(shu)
Keywords: sec-high
Sean: Any idea, or similar bug in mind where YARR compiled regex might SEGV (see the attached stack)?
Flags: needinfo?(sstangl)
This bug is fixed by the patch in Bug 895660, and can likely be resolved DUPLICATE.
Flags: needinfo?(sstangl)
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.

Attachment

General

Created:
Updated:
Size: