Closed Bug 180157 Opened 23 years ago Closed 10 years ago

ASSERTION: nsCacheSession not thread-safe

Categories

(Core :: Networking: Cache, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: timeless, Unassigned)

References

Details

(Keywords: assertion)

NTDLL! 77f9f9df() nsDebug::Assertion(const char * 0x014c0af8, const char * 0x101326c0, const char * 0x10132698, int 533) line 280 + 13 bytes NS_CheckThreadSafe(void * 0x002825a0, const char * 0x014c0af8) line 533 + 34 bytes nsCacheSession::Release(nsCacheSession * const 0x03232d50) line 30 + 76 bytes nsCOMPtr<nsICacheSession>::~nsCOMPtr<nsICacheSession>() line 491 $E7() + 13 bytes _CRT_INIT(void * 0x02350000, unsigned long 0, void * 0x00000001) line 236 _DllMainCRTStartup(void * 0x02350000, unsigned long 0, void * 0x00000001) line 289 + 17 bytes NTDLL! 77f83c48() NTDLL! 77f8c4d4() KERNEL32! 77e9b110() MSVCRTD! 1020b0c6() MSVCRTD! 1020afc0() MSVCRTD! 10214ed0() MSVCRTD! 10211714() PR_Assert(const char * 0x3002f098 `string', const char * 0x3002f060 `string', int 295) line 518 SocketConnectContinue(PRFileDesc * 0x0359faf0, short 1) line 295 + 30 bytes pl_DefConnectcontinue(PRFileDesc * 0x03582fc8, short 1) line 200 + 23 bytes PR_ConnectContinue(PRFileDesc * 0x03582fc8, short 1) line 188 + 17 bytes nsSocketTransport::doConnection(short 1) line 1006 + 21 bytes nsSocketTransport::Process(short 1) line 542 + 13 bytes nsSocketTransportService::Run(nsSocketTransportService * const 0x010988d4) line 532 + 13 bytes nsThread::Main(void * 0x01098348) line 123 + 26 bytes _PR_NativeRunThread(void * 0x0154cbc0) line 433 + 13 bytes MSVCRTD! 1020c323() KERNEL32! 77e92ca8() Yes I know the stack is strange, the lower stuff is bug 180155. the rest is me trying to run past nspr shooting mozilla. abnormal program termination ###!!! ASSERTION: nsCacheSession not thread-safe: 'owningThread == NS_CurrentThread()', file i:/build/mozilla/xpcom/glue/nsDebug.cpp, line 533 Break: at file i:/build/mozilla/xpcom/glue/nsDebug.cpp, line 533
The caller appears to be libpr0n [@see bug 78849, bug 78852]: $E7: 023521A0 push ebp 023521A1 mov ebp,esp 023521A3 mov ecx,offset gChromeSession (023b270c) 023521A8 call nsCOMPtr<nsICacheSession>::~nsCOMPtr<nsICacheSession> (02352e60) 023521AD pop ebp 023521AE ret 023521AF int 3 --- i:/build/mozilla/modules/libpr0n/src/imgCache.cpp ------------------------- 87: 88: void GetCacheSession(nsIURI *aURI, nsICacheSession **_retval) 89: { 023521B0 push ebp 023521B1 mov ebp,esp 023521B3 sub esp,2Ch
Keywords: assertion
Blocks: 180171
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Assignee: gordon → nobody
Status: ASSIGNED → NEW
QA Contact: tever → networking.cache
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.