Closed Bug 916511 Opened 12 years ago Closed 12 years ago

Assertion failure: i < mLength, at dist/include/mozilla/Vector.h

Categories

(Core :: JavaScript Engine, defect)

x86_64
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla27

People

(Reporter: gkw, Assigned: sstangl)

References

Details

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

Attachments

(2 files)

Attached file stack
/.?(?:).*/.exec() asserts js debug shell on m-c changeset 9366ee039645 without any CLI arguments at Assertion failure: i < mLength, at dist/include/mozilla/Vector.h My configure flags are: CC="clang -Qunused-arguments" AR=ar CXX="clang++ -Qunused-arguments" sh ./configure --target=x86_64-apple-darwin11.4.0 --enable-optimize --enable-debug --enable-profiling --enable-gczeal --enable-debug-symbols --enable-methodjit --enable-type-inference --disable-tests --with-ccache
Whiteboard: [jsbugmon:update,bisect] → [jsbugmon:update]
JSBugMon: Bisection requested, result: autoBisect shows this is probably related to the following changeset: The first bad revision is: changeset: http://hg.mozilla.org/mozilla-central/rev/8bf2f8cb5e73 user: David Anderson date: Thu Nov 01 21:35:25 2012 -0700 summary: Update Yarr to WebKit rev 130234 (bug 740015, r=dmandelin). This iteration took 95.862 seconds to run.
Sean, is this likely related to bug 895660 as well?
Flags: needinfo?(sstangl)
This issue is separate: an underflow caused by a careless subtraction attempted to index quite a bit into a vector. This patch detects the case of an empty alternative and avoids the underflow.
Attachment #813316 - Flags: review?(nicolas.b.pierron)
Flags: needinfo?(sstangl)
Attachment #813316 - Flags: review?(nicolas.b.pierron) → review+
nbp mentioned to me in-person that sstangl is going to be busy for a few days, so setting checkin-needed (inbound is closed), or probably later I could land this if the tree opens up.
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
Assignee: general → sstangl
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: