Closed
Bug 325395
Opened 19 years ago
Closed 15 years ago
Crash when trying to create an instance of cache-service
Categories
(Core :: Networking: Cache, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 494946
People
(Reporter: martijn.martijn, Unassigned)
References
Details
(Keywords: crash, testcase)
Attachments
(2 files)
See upcoming testcase. You need to test the testcase locally to get the crash.
Reporter | ||
Comment 1•19 years ago
|
||
Reporter | ||
Comment 2•19 years ago
|
||
Backtrace from a debug build. First I get an assertion: ###!!! ASSERTION: multiple nsCacheService instances!: 'gService==nsnull', file c :/mozilla/mozilla/netwerk/cache/src/nsCacheService.cpp, line 493 Then the crash: #0 0x01314daa in nsCacheService::ServiceLock() () at c:/mozilla/mozilla/netwerk/cache/src/nsCacheService.cpp:1403 #1 0x0130ec6a in nsCacheEntryDescriptor::SetDataSize(unsigned) ( this=0xe55d8c0, dataSize=0) at c:/mozilla/mozilla/netwerk/cache/src/nsCacheEntryDescriptor.cpp:216 #2 0x65d0b8d8 in imgRequest::OnStartDecode(imgIRequest*) (this=0xe55d3e0, request=0x0) at c:/mozilla/mozilla/modules/libpr0n/src/imgRequest.cpp:438 #3 0x65d138df in nsGIFDecoder2::BeginGIF(void*, unsigned, unsigned, unsigned ch ar) (aClientData=0x1034d3c0, aLogicalScreenWidth=16, aLogicalScreenHeight=16, aBackgroundRGBIndex=8 '\b') at c:/mozilla/mozilla/modules/libpr0n/decoders/gif/nsGIFDecoder2.cpp:284 etc.
Comment 3•19 years ago
|
||
I don't think this should block bug 181491, because that bug is about the case where no cache service exists yet, I believe.
Updated•18 years ago
|
Assignee: darin → nobody
Comment 4•15 years ago
|
||
Yeah, don't call createInstance on services.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 5•15 years ago
|
||
I'd rather make it dependant on that bug, if it is related.
Depends on: 494946
Comment 6•15 years ago
|
||
What's special about this service that you think it should have an ad-hoc workaround?
You need to log in
before you can comment on or make changes to this bug.
Description
•