Firefox will crash when visiting www.hp.com on sparc platform.

RESOLVED FIXED in mozilla1.9.2a1

Status

()

Core
JavaScript Engine
--
critical
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: Leon Sha, Assigned: Leon Sha)

Tracking

({crash, verified1.9.1.1})

Trunk
mozilla1.9.2a1
Sun
Solaris
crash, verified1.9.1.1
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Assignee)

Description

8 years ago
Firefox will crash when visiting www.hp.com on Sparc platform.
(Assignee)

Comment 1

8 years ago
Created attachment 386970 [details] [diff] [review]
patch

The following code was generated for www.hp.com
..........
sethi    %hi(0xec847000), %l0 
bset     0x00000088, %l0        ! 0xec847088
sethi    %hi(0x1400), %l0
bset     0x000001fc, %l0        ! 0x15fc
st       %l0, [%i0 + %l0]
..........
Register %l0 was recovered by itself.
The reason here is that register L0 is used as a temporary register in a lot of micros. So when these macros are used, L0 should not be used any more. We need other temporary registers. So use L2 to replace L0 in NativeSparc.cpp.
Attachment #386970 - Flags: review?(gal)

Updated

8 years ago
Attachment #386970 - Flags: review?(gal) → review+
(Assignee)

Comment 2

8 years ago
http://hg.mozilla.org/tamarin-redux/rev/3229dc849e9a
http://hg.mozilla.org/tracemonkey/rev/6c9d9a6fa977
http://hg.mozilla.org/mozilla-central/rev/2f6cb9dc1f13
Pushed into mozilla-1.9.1 as NPOTB code.
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/bf6e91d60563
Status: ASSIGNED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
(Assignee)

Updated

8 years ago
Keywords: fixed1.9.1
(Assignee)

Updated

8 years ago
Keywords: fixed1.9.1.1

Comment 3

8 years ago
Leon, or anyone with sparc, can you verify this fix on trunk and a 1.9.1 nightly? 
Please change the status to verified and keyword to verified1.9.1.1 also.   Thanks.
(Assignee)

Updated

8 years ago
Keywords: verified1.9.1, verified1.9.1.1
Severity: normal → critical
Keywords: crash
Target Milestone: --- → mozilla1.9.2a1
Version: unspecified → Trunk
Keywords: fixed1.9.1, fixed1.9.1.1, verified1.9.1
You need to log in before you can comment on or make changes to this bug.