Closed Bug 300584 Opened 19 years ago Closed 7 years ago

nsXPConnect::InitStatics is evil and causes bad behavior (infinite recursion)

Categories

(Core :: XPConnect, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: timeless, Unassigned)

References

Details

(Keywords: crash)

Attachments

(1 file)

afaik this was introduced by bsmedberg.

i'm filing now we can iron out the details later. in short xpconnect registers a
callback w/ spidermonkey. then when we're really registering stuff, we can get
really unlucky and have jsd register the callback, and then xpconnect for some
reason calls this function again which means that when we later create *another*
xpconnect (the original one is still floating around out there somewhere), we
have spidermonkey=>XPConnect#2=>JSD#1=>XPConnect#1=>JSD#1=>you don't exit this loop.

i've seen this a couple of times, but steps to reproduce pretty much require:
1. rm components/compreg.dat
2. run a gecko creature (i use mfcembed)
Assignee: dbradley → nobody
QA Contact: pschwartau → xpconnect
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: