Closed
Bug 335638
Opened 19 years ago
Closed 15 years ago
XPConnect / JS losing track of interfaces across SAX Callbacks
Categories
(Core :: XPConnect, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 307441
People
(Reporter: sayrer, Unassigned)
References
()
Details
Attachments
(1 file)
1.88 KB,
text/plain
|
Details |
In the feed parser, I keep some nsIMutableArrays in a stack (JS Array) across SAX callbacks. All works fine in XPCShell and smaller files in the browser.
When I hit a bigger file with more callbacks, the interface is randomly lost and I have QI again. I say randomly because this happens to the array of feed entries. If refresh, sometimes the interface is lost on the sixth entry, sometimes the tenth, and sometimes not at all.
I've attached a log from the feed parser, which I don't expect will be much help. I'll try to come up with a more minimal test case. The parser log does show the same native address reverting back to an nsISupports, though.
I have a workaround: I QI when I shouldn't have to.
Reporter | ||
Comment 1•19 years ago
|
||
Updated•18 years ago
|
Assignee: dbradley → nobody
Reporter | ||
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•