Closed Bug 869515 Opened 12 years ago Closed 12 years ago

Debugging output crash in SpewResumePoint

Categories

(Core :: JavaScript Engine, enhancement)

x86_64
All
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla23
Tracking Status
firefox23 --- fixed

People

(Reporter: sunfish, Unassigned)

References

Details

Attachments

(1 file, 1 obsolete file)

SpewResumePoint in js/src/ion/Lowering.cpp crashes when its resumePoint argument is NULL, which seems to be a valid possibility.
Handle the case where resumePoint is NULL, assuming that this is valid.
Is this in asm.js code? If that is the case, I probably introduced the regression. Can you confirm?
Yes, I can confirm that the crash only happens in asm.js code. I can reduce a testcase if you want one.
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
Attached patch PatchSplinter Review
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)
Attachment #747546 - Flags: review?(luke) → review+
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: