Note: There are a few cases of duplicates in user autocompletion which are being worked on.

"Assertion failure: !maybeShared()" with regexp.compile

RESOLVED FIXED in mozilla13

Status

()

Core
JavaScript Engine
--
critical
RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: Jesse Ruderman, Assigned: luke)

Tracking

(Blocks: 1 bug, {crash, regression, testcase})

Trunk
mozilla13
x86_64
Mac OS X
crash, regression, testcase
Points:
---
Dependency tree / graph
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
var r = /a/;
r.compile(r);

Assertion failure: !maybeShared(), at js/src/vm/RegExpObject.cpp:472

Regression from bug 724748.
(Assignee)

Comment 1

6 years ago
Created attachment 598986 [details] [diff] [review]
patch

Overzealous assert needs weakening.
Assignee: general → luke
Status: NEW → ASSIGNED
Attachment #598986 - Flags: review?(christopher.leary)
Attachment #598986 - Flags: review?(christopher.leary) → review+
(Assignee)

Comment 2

6 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/a7f0048a58d3
Target Milestone: --- → mozilla13
https://hg.mozilla.org/mozilla-central/rev/a7f0048a58d3
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
A testcase for this bug was automatically identified at js/src/jit-test/tests/basic/testBug726380.js.
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.