Closed
Bug 481275
Opened 16 years ago
Closed 16 years ago
Generated Wordcode incorrect after JIT errors
Categories
(Tamarin Graveyard :: Virtual Machine, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: rreitmai, Assigned: jodyer)
References
Details
Attachments
(1 file)
777 bytes,
patch
|
stejohns
:
review+
edwsmith
:
review+
|
Details | Diff | Splinter Review |
The JIT, during verification, mutates state, which renders the generated wordcode invalid. This is ok, as long as the JIT does not fail, but if it does and we need to fall back to the wordcode it may not be correct.
Reporter | ||
Comment 1•16 years ago
|
||
An example of this is if the last if () case of emitCallpropertySlot() is invoked ( i.e. jit && slotType && slotType->base == CLASS_TYPE && slotType->getCreateClassClosureProc() ) and the jit fails afterwords.
when 478115 is fixed the word code will always look like it did when the jit was enabled before that bug is fixed. this means that this bug should be reproducable in -Dinterp mode, and not just when the jit fails.
Depends on: 478115
Reporter | ||
Comment 4•16 years ago
|
||
cross listed as watson bug 2286872.
blocked by need for verbose output of the error, or better yet a tamarin only test case.
when calling an interface method using callpropvoid that verifier operand stack and the interpreter stack get out of sync (there is an extra pop of the interpreter stack introduced in e5a2c9cc1e53, mar-4). the interpreter eventually pops its way to insanity.
just to be clear, this defect was not in the code when this bug was created. so we need to apply this fix and try to repro the original problem, which occurred much later in execution of the program
Attachment #366151 -
Flags: review?(stejohns)
Attachment #366151 -
Flags: review?(edwsmith)
Updated•16 years ago
|
Attachment #366151 -
Flags: review?(edwsmith) → review+
Reporter | ||
Comment 8•16 years ago
|
||
should this be marked as Resolved?
Assignee | ||
Comment 11•16 years ago
|
||
No one has been able to repo it since the fix was merged into FR. So i guess that qualifies as Resolved.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
Status: RESOLVED → VERIFIED
Updated•15 years ago
|
Attachment #366151 -
Flags: review?(stejohns) → review+
You need to log in
before you can comment on or make changes to this bug.
Description
•