Closed Bug 78852 Opened 23 years ago Closed 23 years ago

nsDiskCacheEntry needs to be made threadsafe

Categories

(Core :: Networking: Cache, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla0.9.1

People

(Reporter: pavlov, Assigned: gordon)

References

Details

nsDebug::Assertion(const char * 0x03034b54, const char * 0x100db120, const char 
* 0x100db0fc, int 528) line 290 + 13 bytes
NS_CheckThreadSafe(void * 0x00355030, const char * 0x03034b54) line 528 + 34 
bytes
nsDiskCacheEntry::AddRef(nsDiskCacheEntry * const 0x03b14f90) line 28 + 55 bytes
ns_if_addref(nsISupports * 0x03b14f90) line 1129 + 18 bytes
nsCacheEntry::GetData(nsISupports * * 0x0300fd14) line 78 + 51 bytes
ensureDiskCacheEntry(nsCacheEntry * 0x044c8df8) line 261 + 32 bytes
nsDiskCacheDevice::DeactivateEntry(nsCacheEntry * 0x044c8df8) line 741 + 9 bytes
nsCacheService::DeactivateEntry(nsCacheEntry * 0x044c8df8) line 956 + 15 bytes
nsCacheService::CloseDescriptor(nsCacheEntryDescriptor * 0x044c8e80) line 918
nsCacheEntryDescriptor::Close(nsCacheEntryDescriptor * const 0x044c8e80) line 
353
nsCacheEntryDescriptor::~nsCacheEntryDescriptor() line 49
nsCacheEntryDescriptor::`scalar deleting destructor'(unsigned int 1) + 15 bytes
nsCacheEntryDescriptor::Release(nsCacheEntryDescriptor * const 0x044c8e80) line 
32 + 151 bytes
nsCacheEntryDescriptor::nsOutputStreamWrapper::~nsOutputStreamWrapper() line 
141 + 18 bytes
nsCacheEntryDescriptor::nsOutputStreamWrapper::`scalar deleting 
destructor'(unsigned int 1) + 15 bytes
nsCacheEntryDescriptor::nsOutputStreamWrapper::Release
(nsCacheEntryDescriptor::nsOutputStreamWrapper * const 0x03b149e8) line 588 + 
154 bytes
nsCOMPtr<nsIOutputStream>::~nsCOMPtr<nsIOutputStream>() line 493
nsInputStreamTee::~nsInputStreamTee() line 59 + 11 bytes
nsInputStreamTee::`scalar deleting destructor'(unsigned int 1) + 15 bytes
nsInputStreamTee::Release(nsInputStreamTee * const 0x043e5678) line 93 + 149 
bytes
nsProxyObjectCallInfo::RefCountInInterfacePointers(int 0) line 126
nsProxyObjectCallInfo::~nsProxyObjectCallInfo() line 90
nsProxyObjectCallInfo::`vector deleting destructor'(unsigned int 1) + 81 bytes
DestroyHandler(PLEvent * 0x03be4ba0) line 487 + 30 bytes
PL_DestroyEvent(PLEvent * 0x03be4ba0) line 625 + 10 bytes
PL_HandleEvent(PLEvent * 0x03be4ba0) line 599 + 9 bytes
nsEventQueueImpl::HandleEvent(nsEventQueueImpl * const 0x028b3418, PLEvent * 
0x03be4ba0) line 431 + 9 bytes
imgThread::Run(imgThread * const 0x028879d0) line 114 + 30 bytes
nsThread::Main(void * 0x02887c80) line 106 + 26 bytes
_PR_NativeRunThread(void * 0x028930b8) line 399 + 13 bytes
_threadstartex(void * 0x02893230) line 212 + 13 bytes
KERNEL32! 77e837cd()
Blocks: 78300
Target Milestone: --- → mozilla0.9.1
Index: mozilla/netwerk/cache/src/nsDiskCacheEntry.cpp
===================================================================
RCS file: /cvsroot/mozilla/netwerk/cache/src/nsDiskCacheEntry.cpp,v
retrieving revision 1.6
diff -u -2 -r1.6 nsDiskCacheEntry.cpp
--- nsDiskCacheEntry.cpp	2001/03/29 05:54:57	1.6
+++ nsDiskCacheEntry.cpp	2001/05/07 23:51:36
@@ -26,5 +26,5 @@
 #include "nsDiskCacheEntry.h"
 
-NS_IMPL_ISUPPORTS0(nsDiskCacheEntry);
+NS_IMPL_THREADSAFE_ISUPPORTS0(nsDiskCacheEntry);
 
 PLDHashNumber
sr=darin
Fix checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
VERIFIED/fixed.
Status: RESOLVED → VERIFIED
QA Contact: tever → cacheqa
You need to log in before you can comment on or make changes to this bug.