Closed Bug 765907 Opened 12 years ago Closed 12 years ago

eif-generator.js assertion error with gc zeal at 4

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla16

People

(Reporter: Benjamin, Assigned: luke)

Details

(Whiteboard: [js:t])

Attachments

(1 file)

$ JS_GC_ZEAL=4 jit-test/jit_test.py _DBJ.OBJ/js eif-generator -o
Assertion failure: addr % Cell::CellSize == 0, at ../gc/Heap.h:825
Attached patch fixSplinter Review
Ah, so the problem is that it is totally bogus to copy a generator frame's slot values into the call object when the generator is about to finalized (duh).  Rather than trying to dance around to make this work, I'd rather just remove the copy since it only helps preserve debugger values in a presumably rare corner case.
Assignee: general → luke
Status: NEW → ASSIGNED
Attachment #634271 - Flags: review?(jimb)
Whiteboard: [js:t]
Attachment #634271 - Flags: review?(jimb) → review?(wmccloskey)
Comment on attachment 634271 [details] [diff] [review]
fix

This looks fine to me. Jim, I just want to make sure you're okay losing this debugger feature.
Attachment #634271 - Flags: review?(wmccloskey) → review+
The code removal here is definitely a necessary fix, since the values are potentially garbage, so "not losing the debugger feature" is really "adding a debugger feature" which would imply a new bug.
https://hg.mozilla.org/integration/mozilla-inbound/rev/0d94dbf7ae1e
and filed bug 768220 as followup.
Target Milestone: --- → mozilla16
https://hg.mozilla.org/mozilla-central/rev/0d94dbf7ae1e
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: