Closed
Bug 491084
Opened 16 years ago
Closed 15 years ago
assertion when jitting null % (modulo) null
Categories
(Tamarin Graveyard :: Baseline JIT (CodegenLIR), defect, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
flash10.1
People
(Reporter: cpeyer, Assigned: tharwood)
References
Details
Attachments
(1 file)
1.20 KB,
patch
|
brbaker
:
review+
|
Details | Diff | Splinter Review |
as:
null % null;
or with abcasm:
pushnull
pushnull
modulo
Run with -Ojit.
Result:
Assertion failed: (_allocator.active[FST0] && _fpuStkDepth == -1) || (!_allocator.active[FST0] && _fpuStkDepth == 0) (/Users/build/buildbot/tamarin-redux/mac-intel-10_5/tamarin-redux/nanojit/Assembler.cpp:436)
Abort trap
Flags: in-testsuite?
Flags: flashplayer-triage+
Flags: flashplayer-qrb?
Component: Tracing Virtual Machine → JIT Compiler (NanoJIT)
QA Contact: tracing-vm → nanojit
Assignee: nobody → tharwood
Flags: flashplayer-qrb? → flashplayer-qrb+
Priority: -- → P3
Target Milestone: --- → flash10.x
Assignee | ||
Comment 1•15 years ago
|
||
Cannot repro on Win32, Linux/IA32 or Beagleboard Linux/ARM. Chris, are you still seeing this? If so, xfer back to me, I will have a Mac in a week or so.
Assignee: tharwood → cpeyer
Chris, Please confirm.
Flags: flashplayer-triage+ → flashplayer-triage?
Reporter | ||
Comment 3•15 years ago
|
||
Repro'd with TR 2622 on OSX 10.5 intel - slightly different line number:
$ avmshell_sd -Ojit t.abc
Assertion failed: (_allocator.active[FST0] && _fpuStkDepth == -1) || (!_allocator.active[FST0] && _fpuStkDepth == 0) (/Users/build/buildbot/tamarin-redux/mac-intel-10_5/tamarin-redux/nanojit/Assembler.cpp:271)
Abort trap
Assignee: cpeyer → tharwood
Status: NEW → ASSIGNED
Updated•15 years ago
|
Flags: flashplayer-triage? → flashplayer-triage+
Updated•15 years ago
|
Priority: P3 → P1
Comment 4•15 years ago
|
||
i'm 90% certian i've seen the fix for this in tracemonkey's nanojit, it was originally found by jsfunfuz and i think the bug is in asm_call when pushing the same FPU value twice as an argument to fmod(), when the value is in x87 FPU register st(0). (we try to pop the value twice).
see also: bug 506146, bug 465484
OS: Mac OS X → All
Updated•15 years ago
|
Comment 7•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 8•15 years ago
|
||
Add testcases for null to test/acceptance/ecma3/Expressions/e11_5_3.as
Attachment #409340 -
Flags: review?(brbaker)
Updated•15 years ago
|
Attachment #409340 -
Flags: review?(brbaker) → review+
Reporter | ||
Comment 10•15 years ago
|
||
Testcase pushed redux changeset 2957 e0ea1d43a025
Flags: in-testsuite? → in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•