Closed
Bug 625757
Opened 15 years ago
Closed 15 years ago
Crash in methodjit generated code on 64-bit
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| blocking2.0 | --- | betaN+ |
People
(Reporter: jandem, Assigned: dvander)
References
Details
(Keywords: regression, testcase, Whiteboard: [hardblocker][fixed-in-tracemonkey])
Attachments
(1 file, 1 obsolete file)
|
13.66 KB,
patch
|
cdleary
:
review+
|
Details | Diff | Splinter Review |
This crashes with -m (64-bit OS X):
--
for(var i=0; i<20; i++) {
var x = 5e-324;
}
--
| Reporter | ||
Comment 1•15 years ago
|
||
I can also reproduce this with revision http://hg.mozilla.org/tracemonkey/rev/b824cec25ece, before the PIC-patches landed.
Unfortunately cdleary was unable to reproduce this on Linux/X64, but I can reproduce on OS X in release and debug builds. Will bisect this now.
No longer blocks: 588021
blocking2.0: --- → ?
| Reporter | ||
Comment 2•15 years ago
|
||
The first bad revision is:
changeset: 60013:f497fca35415
user: David Anderson <danderson@mozilla.com>
date: Sat Jan 08 16:27:48 2011 -0800
summary: Remove unsound global optimizations (bug 618007, r=brendan).
| Reporter | ||
Updated•15 years ago
|
Severity: normal → critical
Keywords: regression,
testcase
| Assignee | ||
Comment 3•15 years ago
|
||
Whoops, PunboxAssembler wasn't using the macro assembler interface to give back patchable addresses. The problem is some instructions look like:
PREFIX MOV_BYTE MODRM ADDRESS_OFFSET IMM32
^
Here, patching from the end of the instruction won't get you the address.
| Assignee | ||
Comment 4•15 years ago
|
||
Blame is a red herring, bug 618007 didn't touch this code but it did increase the occurrence of this IC.
No longer blocks: 618007
Updated•15 years ago
|
blocking2.0: ? → betaN+
Whiteboard: hardblocker
Comment 5•15 years ago
|
||
Comment on attachment 503932 [details] [diff] [review]
fix
Makes perfect sense. Should have realized this could happen.
Attachment #503932 -
Flags: review?(cdleary) → review+
Comment 6•15 years ago
|
||
Comment on attachment 503932 [details] [diff] [review]
fix
Oh, and we should add the test case in there as well for the push.
| Assignee | ||
Comment 7•15 years ago
|
||
This one fixes NunboxAssembler too.
Attachment #503932 -
Attachment is obsolete: true
Attachment #503974 -
Flags: review?(cdleary)
Updated•15 years ago
|
Attachment #503974 -
Flags: review?(cdleary) → review+
| Assignee | ||
Comment 8•15 years ago
|
||
Whiteboard: hardblocker → [hardblocker][fixed-in-tracemonkey]
Comment 9•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 10•15 years ago
|
||
cdleary-bot mozilla-central merge info:
http://hg.mozilla.org/mozilla-central/rev/b034f8e72b2f
Updated•11 years ago
|
Group: core-security
You need to log in
before you can comment on or make changes to this bug.
Description
•