Closed Bug 784432 Opened 13 years ago Closed 9 years ago

Offline Cache Crash

Categories

(Core :: Networking: HTTP, defect)

14 Branch
x86
macOS
defect
Not set
critical

Tracking

()

RESOLVED WONTFIX

People

(Reporter: pete, Unassigned)

References

Details

(Keywords: crash, testcase)

Crash Data

Attachments

(1 file)

Steps to Reproduce on OSX 1. manually remove the folder ~/Library/Caches/Firefox 2. launch Firefox from the commandline pointing to this test page: $ ./firefox-bin https://air.tds.airast.org/student/offlinecache.html 3. While the page is loading issue the key command to quit 4. Firefox will crash while it is trying to write to the offline cache You will have to experiment with the timing as this wont always crash.
Please note that the patch is from FIREFOX_10_0_2_RELEASE tag. But issue exists on the trunk.
1894390976[100310140]: nsHttpChannel::OnStartRequest [this=11f990000 request=1184bdd80 status=80004005] 384307200[1003106e0]: STS dispatch [1003652c0] 1894390976[100310140]: nsHttpChannel::ProcessFallback [this=11f990000] 384307200[1003106e0]: THRD(10031b7c0) Dispatch [1003652c0 0] 1894390976[100310140]: choosing not to fallback [0,,0] 384307200[1003106e0]: EVENTQ(10031b840): notify 1894390976[100310140]: calling mListener->OnStartRequest 1894390976[100310140]: writing to the offline cache 384307200[1003106e0]: STS poll iter [0] 1894390976[100310140]: nsHttpChannel::AddCacheEntryHeaders [this=1f990000] begin 384307200[1003106e0]: active [0] { handler=3efd70 condition=80004005 pollflags=5 } 384307200[1003106e0]: nsSocketTransportService::DetachSocket [handler=3efd70] 1894390976[100310140]: ###!!! ASSERTION: You can't dereference a NULL nsAutoPtr with operator->().: 'mRawPtr != 0', file ../../../dist/include/nsAutoPtr.h, line 183 384307200[1003106e0]: nsSocketTransport::OnSocketDetached [this=3efd70 cond=80004005] 384307200[1003106e0]: nsSocketTransport::RecoverFromError [this=3efd70 state=4 cond=80004005] 384307200[1003106e0]: nsSocketInputStream::OnSocketReady [this=3efeb0 cond=80004005] 384307200[1003106e0]: nsSocketOutputStream::OnSocketReady [this=3efee0 cond=80004005] 384307200[1003106e0]: nsSocketTransport: calling PR_Close [this=3efd70] 384307200[1003106e0]: [120742790] Shutting down socket
Can you provide a crash ID from about:crashes?
Severity: normal → critical
Crash Signature: [@ nsHttpHeaderArray::GetHeader]
Component: General → Networking: HTTP
Keywords: crash
Product: Firefox → Core
See Also: → 683242
Version: unspecified → 14 Branch
Attachment #653860 - Attachment is patch: true
Keywords: testcase
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: