Closed Bug 15046 Opened 26 years ago Closed 26 years ago

crash because of unloading dll's while they are used

Categories

(Core :: XPCOM, defect, P2)

x86
Linux
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: kipp, Assigned: dp)

Details

(Keywords: crash)

If a library, say rdf, uses the component manager to create a factory and that factory creation fails in the rdf library, then the component manager unloads the offending dll (!) which triggers a crash because it unloads a dll which is present on the call stack. In general, you can't unload the dll unless you know that it's safe, and to do that you have to ask it (it might be exporting multiple factories which have created objects, etc.)
Well the dll in question could have other factories that do work. That I think is the problem.
QA Contact: beppe → dp
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Code fix.
Adding crash keyword
Keywords: crash
You need to log in before you can comment on or make changes to this bug.