If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

InternetSearchContext is not thread safe.

VERIFIED FIXED

Status

SeaMonkey
Search
P3
normal
VERIFIED FIXED
18 years ago
9 years ago

People

(Reporter: (not reading, please use seth@sspitzer.org instead), Assigned: (not reading, please use seth@sspitzer.org instead))

Tracking

Firefox Tracking Flags

(Not tracked)

Details

this patch will fix the problem:

? diff.txt
Index: src/nsInternetSearchService.cpp
===================================================================
RCS file: 
/cvsroot/mozilla/xpfe/components/search/src/nsInternetSearchService.cpp,v
retrieving revision 1.87
diff -p -r1.87 nsInternetSearchService.cpp
*** nsInternetSearchService.cpp	2000/04/27 08:29:02	1.87
--- nsInternetSearchService.cpp	2000/04/30 09:57:46
*************** InternetSearchContext::Truncate()
*** 257,263 ****
  
  
  
! NS_IMPL_ISUPPORTS(InternetSearchContext, 
NS_GET_IID(nsIInternetSearchContext));
  
  
  
--- 257,263 ----
  
  
  
! NS_IMPL_THREADSAFE_ISUPPORTS(InternetSearchContext, 
NS_GET_IID(nsIInternetSearchContext));
  
  
  


NTDLL! 77f7629c()
nsDebug::Assertion(const char * 0x02a437e8, const char * 0x100b208c, const char 
* 0x100b2060, int 374) line 191 + 13 bytes
NS_CheckThreadSafe(void * 0x00c42eb0, const char * 0x02a437e8) line 374 + 34 
bytes
InternetSearchContext::AddRef(InternetSearchContext * const 0x045b0e70) line 260 
+ 58 bytes
ns_if_addref(nsISupports * 0x045b0e70) line 1090 + 18 bytes
nsStreamListenerEvent::nsStreamListenerEvent(nsAsyncStreamObserver * 0x045b2790, 
nsIChannel * 0x045b02f0, nsISupports * 0x045b0e70) line 72 + 21 bytes
nsOnStopRequestEvent::nsOnStopRequestEvent(nsAsyncStreamObserver * 0x045b2790, 
nsISupports * 0x045b0e70, nsIChannel * 0x045b02f0) line 262 + 27 bytes
nsAsyncStreamObserver::OnStopRequest(nsAsyncStreamObserver * const 0x045b2790, 
nsIChannel * 0x045b02f0, nsISupports * 0x045b0e70, unsigned int 0, const 
unsigned short * 0x00000000) line 321 + 39 bytes
nsAsyncStreamListener::OnStopRequest(nsAsyncStreamListener * const 0x045b2790, 
nsIChannel * 0x045b02f0, nsISupports * 0x045b0e70, unsigned int 0, const 
unsigned short * 0x00000000) line 80
nsFileTransport::Process() line 662 + 72 bytes
nsFileTransport::Run(nsFileTransport * const 0x045b02f4) line 484
nsThreadPoolRunnable::Run(nsThreadPoolRunnable * const 0x021b31b0) line 689 + 12 
bytes
nsThread::Main(void * 0x021b3160) line 84 + 26 bytes
_PR_NativeRunThread(void * 0x021b4eb0) line 399 + 13 bytes
_threadstartex(void * 0x021b4e10) line 212 + 13 bytes
KERNEL32! 77f04ee8()
I checked in the fix.
Assignee: rjc → sspitzer
fixed.
Status: NEW → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED

Comment 3

18 years ago
just marking VERIFIED
Status: RESOLVED → VERIFIED
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.