Closed Bug 335638 Opened 19 years ago Closed 15 years ago

XPConnect / JS losing track of interfaces across SAX Callbacks

Categories

(Core :: XPConnect, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 307441

People

(Reporter: sayrer, Unassigned)

References

()

Details

Attachments

(1 file)

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.
Attached file trace from SAX
Assignee: dbradley → nobody
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.

Attachment

General

Creator:
Created:
Updated:
Size: