Closed
Bug 869515
Opened 12 years ago
Closed 12 years ago
Debugging output crash in SpewResumePoint
Categories
(Core :: JavaScript Engine, enhancement)
Tracking
()
RESOLVED
FIXED
mozilla23
Tracking | Status | |
---|---|---|
firefox23 | --- | fixed |
People
(Reporter: sunfish, Unassigned)
References
Details
Attachments
(1 file, 1 obsolete file)
831 bytes,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
SpewResumePoint in js/src/ion/Lowering.cpp crashes when its resumePoint argument is NULL, which seems to be a valid possibility.
Reporter | ||
Comment 1•12 years ago
|
||
Handle the case where resumePoint is NULL, assuming that this is valid.
Comment 2•12 years ago
|
||
Is this in asm.js code? If that is the case, I probably introduced the regression. Can you confirm?
Reporter | ||
Comment 3•12 years ago
|
||
Yes, I can confirm that the crash only happens in asm.js code. I can reduce a testcase if you want one.
Comment 4•12 years ago
|
||
No need for a testcase. Bug 862777 caused the regression. I've seen this one already come by.
I do think we need to test this a little bit higher. In Lowering.cpp:2743 we have function updateResumeState. One for MInstruction and one for MBasicBlock. In MBasicBlock we only run spewResumePoint when lastResumePoint is set. We need to do the same for MInstruction.
If you add this patch, you can add me as reviewer ;).
Blocks: 862777
Updated•12 years ago
|
status-firefox23:
--- → affected
Comment 5•12 years ago
|
||
When logging asm.js code we don't create/capture resumepoints. So we can't log them either.
Attachment #746470 -
Attachment is obsolete: true
Attachment #747546 -
Flags: review?(luke)
![]() |
||
Updated•12 years ago
|
Attachment #747546 -
Flags: review?(luke) → review+
Comment 6•12 years ago
|
||
Comment 7•12 years ago
|
||
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
Updated•12 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•