Closed Bug 611175 Opened 14 years ago Closed 14 years ago

"ASSERTION: bad ptr!: '!IsWrapperExpired()'" with document.write, cycle collection

Categories

(Core :: XPConnect, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
blocking2.0 --- final+

People

(Reporter: jruderman, Assigned: mounir)

References

Details

(Keywords: assertion, testcase, Whiteboard: [hardblocker][fixed by bug 601803])

Attachments

(2 files)

1. Install 'DOM Fuzz Lite' from
    https://www.squarefree.com/extensions/domFuzzLite.xpi
2. Load the testcase.

###!!! ASSERTION: bad ptr!: '!IsWrapperExpired()', 
file js/src/xpconnect/src/xpcprivate.h, line 2521
Attached file stack trace
blocking2.0: --- → ?
Peter, care to have a look? I think we should at least understand this for Firefox 4.
Assignee: nobody → peterv
blocking2.0: ? → final+
Whiteboard: hardblocker
Whiteboard: hardblocker → [hardblocker]
Stealing this bug.
Assignee: peterv → mounir.lamouri
The assertion no longer happens. I will try to check which changeset fixed that.
Status: NEW → ASSIGNED
OS: Mac OS X → All
Hardware: x86 → All
Bug 601803 fixed this assert, rev: https://hg.mozilla.org/mozilla-central/rev/a4813c8be814

I guess Peter, Jst, Blake or Gal might have an idea of why.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [hardblocker] → [hardblocker][fixed by bug 601803]
Depends on: 601803
Ah, that does make sense, that fix ensures that wrapper's are properly moved from window to window and get properly dealt with during GC etc. Thanks for digging in Mounir!
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: