Closed Bug 277841 Opened 20 years ago Closed 20 years ago

###!!! ASSERTION: Potential deadlock between nsComponentManagerImplMonitor@959108 and Monitor@22d1550: 'Error', file r:/cenzic/mozilla/xpcom/threads/nsAutoLock.cpp, line 302

Categories

(Core :: XPCOM, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: timeless, Assigned: timeless)

References

Details

(Keywords: assertion)

Attachments

(2 files)

###!!! ASSERTION: Potential deadlock between
nsComponentManagerImplMonitor@959108 and Monitor@22d1550: 'Error', file
r:/cenzic/mozilla/xpcom/threads/nsAutoLock.cpp, line 302

bug 252707 might benefit from this.

the component manager is holding onto its monitor while it calls out to qi. it
shouldn't do that :).
Attachment #170868 - Flags: review?(dougt)
Comment on attachment 170868 [details] [diff] [review]
store object and exit monitor before calling QI

Good fix, thanks. r=shaver
Attachment #170868 - Flags: review?(dougt) → review+
mozilla/xpcom/components/nsComponentManager.cpp 	1.258
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: