Closed Bug 455758 Opened 16 years ago Closed 16 years ago

TM: "Assertion failure: (m != JSVAL_INT) || isInt32(*vp)" with %(-0)

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: jruderman, Assigned: dvander)

Details

(Keywords: assertion, crash, testcase)

Attachments

(1 file)

~/tracemonkey/js/src/Darwin_DBG.OBJ/js -j
js> (function() { for (var j = 0; j < 5; ++j) { var t = 3 % (-0); } })()

Assertion failure: (m != JSVAL_INT) || isInt32(*vp), at jstracer.cpp:1571

~/tracemonkey/js/src/Darwin_DBG.OBJ/js -j
js> (function() { for (var j = 0; j < 5; ++j) { 3 % (-0); } })()

Floating point exception: divide by zero [@ js_imod]
Fixes both problems.
Assignee: general → danderson
Status: NEW → ASSIGNED
Attachment #339318 - Flags: review?(gal)
Attachment #339318 - Flags: review?(gal) → review+
http://hg.mozilla.org/tracemonkey/rev/034e02267810
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
/cvsroot/mozilla/js/tests/js1_5/Regress/regress-455758-01.js,v  <--  regress-455758-01.js
initial revision: 1.1

/cvsroot/mozilla/js/tests/js1_5/Regress/regress-455758-02.js,v  <--  regress-455758-02.js
initial revision: 1.1

http://hg.mozilla.org/mozilla-central/rev/6d9b6a1e6cd9
Flags: in-testsuite+
Flags: in-litmus-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: