Closed Bug 31450 Opened 25 years ago Closed 24 years ago

more threadsafety assertions

Categories

(Core :: Networking, defect, P3)

x86
Linux
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: endico, Assigned: dougt)

Details

I got these assertions as the psm xpinstall download finished.


###!!! Break: at file nsDebug.cpp, line 372
###!!! ASSERTION: nsXULElement not thread-safe: 'owningThread ==
NS_CurrentThread()', file nsDebug.cpp, line 372
###!!! Break: at file nsDebug.cpp, line 372
###!!! ASSERTION: nsHTMLDivElement not thread-safe: 'owningThread ==
NS_CurrentThread()', file nsDebug.cpp, line 372
###!!! Break: at file nsDebug.cpp, line 372
###!!! ASSERTION: nsTextNode not thread-safe: 'owningThread ==
NS_CurrentThread()', file nsDebug.cpp, line 372
###!!! Break: at file nsDebug.cpp, line 372
###!!! ASSERTION: HTMLAttributesImpl not thread-safe: 'owningThread ==
NS_CurrentThread()', file nsDebug.cpp, line 372
###!!! Break: at file nsDebug.cpp, line 372
###!!! ASSERTION: ArenaImpl not thread-safe: 'owningThread ==
NS_CurrentThread()', file nsDebug.cpp, line 372
###!!! Break: at file nsDebug.cpp, line 372
###!!! ASSERTION: nsStringBundle not thread-safe: 'owningThread ==
NS_CurrentThread()', file nsDebug.cpp, line 372
###!!! Break: at file nsDebug.cpp, line 372
###!!! ASSERTION: nsPersistentProperties not thread-safe: 'owningThread ==
NS_CurrentThread()', file nsDebug.cpp, line 372
###!!! Break: at file nsDebug.cpp, line 372

These happened when I quit.
###!!! ASSERTION: nsPSMUIHandlerImpl not thread-safe: 'owningThread ==
NS_CurrentThread()', file nsDebug.cpp, line 372
###!!! Break: at file nsDebug.cpp, line 372
###!!! ASSERTION: nsSSLSocketProvider not thread-safe: 'owningThread ==
NS_CurrentThread()', file nsDebug.cpp, line 372
###!!! Break: at file nsDebug.cpp, line 372
###!!! ASSERTION: nsSocketProviderService not thread-safe: 'owningThread ==
NS_CurrentThread()', file nsDebug.cpp, line 372
###!!! Break: at file nsDebug.cpp, line 372

###!!! ASSERTION: nsPSMComponent not thread-safe: 'owningThread ==
NS_CurrentThread()', file nsDebug.cpp, line 372
###!!! Break: at file nsDebug.cpp, line 372
oops, i meant to say that I was installing psm.
Assigning to dougt.
Assignee: warren → dougt
Target Milestone: M15
I have another location. when I am bringing up phonebook I get the assertion 
from the callstack

nsSSLIOLayerConntect->nsPSMComponent::GetControlConnection(Line500 
NS_WITH_SERVICE).

This looked like a bug tracking these.
i get the same assertion as dawn when entering an ftp url with a user id 
like ftp://cbegle@cx

###!!! ASSERTION: nsWebShellWindow not thread-safe: 'owningThread == 
NS_CurrentThread()', file d:\mo
zsrc\mozilla\xpcom\base\nsDebug.cpp, line 372
--> m16
Target Milestone: M15 → M16
I just saw a ton of threadsafety assertions using today's NT build to visit 
E*Trade.  Notes and a stack trace are available on bug 33367
fixes ready to go.
Remember, fixing these is more than just adding _THREADSAFE to the isupports 
macros. We have to examine why these things are being used on separate threads, 
if that use is legitimate and whether the other methods (besides those from 
isupports) need to be thread-safe too.
fix checked in.  Marking fixed.  
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Ideas on how to verify this, please.
Keywords: qawanted
QA Contact: tever → benc
dawn: any chance you can verify this as the reporter?
Keywords: qawantedverifyme
mass remove verifyme requests greater than 4 months old
Keywords: verifyme
You need to log in before you can comment on or make changes to this bug.