Closed Bug 867100 Opened 12 years ago Closed 12 years ago

IonMonkey: Assertion failure: false (unexpected jsval type), at ../ion/IonTypes.h:121 or Assertion failure: l.asBits <= JSVAL_SHIFTED_TAG_MAX_DOUBLE, at ../dist/include/js/Value.h:593 with GC

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: decoder, Unassigned)

References

Details

(Keywords: assertion, sec-high, testcase, Whiteboard: [jsbugmon:reconfirm])

The following testcase asserts on mozilla-central revision 1eb382609c2d (run with --ion-eager): var addexp = 0; for ( addpow = 0; addpow < 33; addpow++ ) { addexp += Math.pow(2, addpow); ToInt32(addexp); } function ToInt32( n ) { var sign = ( n < 0 ) ? -1 : 1; n = (sign * Math.floor( Math.abs(n) )) % 5e-324; for ( p = 30; p >=0; p-- ) {} }
I get the second assertion if I replace the for-loop in ToInt32 with a gc: var addexp = 0; for ( addpow = 0; addpow < 33; addpow++ ) { addexp += Math.pow(2, addpow); ToInt32(addexp); } function ToInt32( n ) { var sign = ( n < 0 ) ? -1 : 1; n = (sign * Math.floor( Math.abs(n) )) % 5e-324; gc(); } Marking this s-s because it seems to involve GC.
Blocks: IonFuzz
Whiteboard: [jsbugmon:update,bisect]
Also note that the original assertion here was "Assertion failure: (ptrBits & 0x7) == 0" which usually indicates a security problem.
Whiteboard: [jsbugmon:update,bisect] → [jsbugmon:bisect]
JSBugMon: Cannot process bug: Unable to automatically reproduce, please track manually.
Whiteboard: [jsbugmon:bisect] → [jsbugmon:]
Keywords: sec-high
Does this still reproduce, decoder?
Flags: needinfo?(choller)
Retrying JSBugMon to see if this is still reproduceable.
Whiteboard: [jsbugmon:] → [jsbugmon:update,reconfirm]
Whiteboard: [jsbugmon:update,reconfirm] → [jsbugmon:reconfirm]
JSBugMon: Cannot process bug: Unable to automatically reproduce, please track manually.
Sorry for the delay. None of the tests above reproduce for me anymore. I'll mark this WFM :)
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: needinfo?(choller)
Resolution: --- → WORKSFORME
Group: core-security → core-security-release
Group: core-security-release
You need to log in before you can comment on or make changes to this bug.