Closed Bug 761660 Opened 12 years ago Closed 12 years ago

Assertion failure: mCacheAsyncInputStream, at ../mozilla/netwerk/protocol/http/nsHttpChannel.cpp:3450

Categories

(Core :: Networking: HTTP, defect)

defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 761228
mozilla15
Tracking Status
firefox12 --- unaffected
firefox13 --- unaffected
firefox14 --- unaffected

People

(Reporter: briansmith, Assigned: briansmith)

References

Details

(Keywords: crash, regression)

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #761228 +++

See bug 761228. This might be something that only happens in Thunderbird, but I doubt it.
Happens very often for me in Firefox built off mozilla-central 22bb7d46bb23
WARNING: NS_ENSURE_TRUE((mCachedResponseHead->Status() / 100 != 3) || isCachedRedirect) failed: file /hack/mozilla-central/netwerk/protocol/http/nsHttpChannel.cpp, line 2958
WARNING: cache check failed: file /hack/mozilla-central/netwerk/protocol/http/nsHttpChannel.cpp, line 2874
Assertion failure: mCacheAsyncInputStream, at /hack/mozilla-central/netwerk/protocol/http/nsHttpChannel.cpp:3467

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff353399d in mozilla::net::nsHttpChannel::ReadFromCache (this=0x7fffca1dd000, 
    alreadyMarkedValid=false) at /hack/mozilla-central/netwerk/protocol/http/nsHttpChannel.cpp:3467
3467        MOZ_ASSERT(mCacheAsyncInputStream);
(gdb) bt
#0  0x00007ffff353399d in mozilla::net::nsHttpChannel::ReadFromCache (this=0x7fffca1dd000, 
    alreadyMarkedValid=false) at /hack/mozilla-central/netwerk/protocol/http/nsHttpChannel.cpp:3467
#1  0x00007ffff352e94a in mozilla::net::nsHttpChannel::ProcessNotModified (this=0x7fffca1dd000)
    at /hack/mozilla-central/netwerk/protocol/http/nsHttpChannel.cpp:2198
#2  0x00007ffff352b13e in mozilla::net::nsHttpChannel::ProcessResponse (this=0x7fffca1dd000)
    at /hack/mozilla-central/netwerk/protocol/http/nsHttpChannel.cpp:1260
#3  0x00007ffff3539646 in mozilla::net::nsHttpChannel::OnStartRequest (this=0x7fffca1dd000, 
    request=0x7fffc9de2380, ctxt=0x0)
    at /hack/mozilla-central/netwerk/protocol/http/nsHttpChannel.cpp:4762
#4  0x00007ffff341b8c1 in nsInputStreamPump::OnStateStart (this=0x7fffc9de2380)
    at /hack/mozilla-central/netwerk/base/src/nsInputStreamPump.cpp:416
#5  0x00007ffff341b694 in nsInputStreamPump::OnInputStreamReady (this=0x7fffc9de2380, stream=
    0x7fffd5986358) at /hack/mozilla-central/netwerk/base/src/nsInputStreamPump.cpp:367
#6  0x00007ffff4c1a5a7 in nsInputStreamReadyEvent::Run (this=0x7fffd5404840)
    at /hack/mozilla-central/xpcom/io/nsStreamUtils.cpp:81
#7  0x00007ffff4c3ca14 in nsThread::ProcessNextEvent (this=0x7ffff6c6f570, mayWait=true, 
    result=0x7fffffffb69f) at /hack/mozilla-central/xpcom/threads/nsThread.cpp:624
#8  0x00007ffff4bd1450 in NS_ProcessNextEvent_P (thread=0x7ffff6c6f570, mayWait=true)
    at /hack/mozilla-central/obj-firefox-debug/xpcom/build/nsThreadUtils.cpp:213
#9  0x00007ffff4a338e0 in mozilla::ipc::MessagePump::Run (this=0x7fffe8d536c0, aDelegate=0x7ffff6cb4560)
    at /hack/mozilla-central/ipc/glue/MessagePump.cpp:113
#10 0x00007ffff4c8aedd in MessageLoop::RunInternal (this=0x7ffff6cb4560)
    at /hack/mozilla-central/ipc/chromium/src/base/message_loop.cc:208
#11 0x00007ffff4c8ae6e in MessageLoop::RunHandler (this=0x7ffff6cb4560)
    at /hack/mozilla-central/ipc/chromium/src/base/message_loop.cc:201
#12 0x00007ffff4c8ae47 in MessageLoop::Run (this=0x7ffff6cb4560)
    at /hack/mozilla-central/ipc/chromium/src/base/message_loop.cc:175
#13 0x00007ffff48c8b2c in nsBaseAppShell::Run (this=0x7fffe445f400)
    at /hack/mozilla-central/widget/xpwidgets/nsBaseAppShell.cpp:163
#14 0x00007ffff4610e00 in nsAppStartup::Run (this=0x7fffe445b380)
    at /hack/mozilla-central/toolkit/components/startup/nsAppStartup.cpp:256
#15 0x00007ffff33c3014 in XREMain::XRE_mainRun (this=0x7fffffffbb60)
    at /hack/mozilla-central/toolkit/xre/nsAppRunner.cpp:3781
#16 0x00007ffff33c32f5 in XREMain::XRE_main (this=0x7fffffffbb60, argc=4, argv=0x7fffffffdfc8, 
    aAppData=0x436c40) at /hack/mozilla-central/toolkit/xre/nsAppRunner.cpp:3858
#17 0x00007ffff33c353e in XRE_main (argc=4, argv=0x7fffffffdfc8, aAppData=0x436c40, aFlags=0)
    at /hack/mozilla-central/toolkit/xre/nsAppRunner.cpp:3934
---Type <return> to continue, or q <return> to quit---
#18 0x0000000000402a3e in do_main (argc=4, argv=0x7fffffffdfc8)
    at /hack/mozilla-central/browser/app/nsBrowserApp.cpp:157
#19 0x0000000000402c94 in main (argc=4, argv=0x7fffffffdfc8)
    at /hack/mozilla-central/browser/app/nsBrowserApp.cpp:296
:sigh: I meant to do all the work in this bug instead of bug 761228 but I didn't, so I'm just resolving this as a up of bug 761228 and changing bug 761228's product/component to Core:Networking HTTP.
No longer blocks: 761228
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: