Closed Bug 1164712 Opened 9 years ago Closed 9 years ago

SIGSEGV in mozilla::net::nsHttpChannelCacheKey::GetData ()

Categories

(Core :: Networking: Cache, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1163900
Tracking Status
firefox41 --- affected

People

(Reporter: hub, Unassigned)

Details

(Keywords: crash)

When restoring my session I got this crash:

Program received signal SIGSEGV, Segmentation fault.
mozilla::net::nsHttpChannelCacheKey::GetData (this=0x7fffd0d3a7c0, aPostID=0x7fffffff6db4, aKey=...) at /home/hub/source/mozilla/src/netwerk/protocol/http/nsHttpChannel.cpp:6090
6090	    rv = mSupportsPRUint32->GetData(aPostID);
Missing separate debuginfos, use: dnf debuginfo-install gstreamer-0.10.36-11.fc22.x86_64 gstreamer-plugins-base-0.10.36-12.fc22.x86_64 libxml2-2.9.2-3.fc22.x86_64 orc-0.4.22-3.fc22.x86_64 xz-libs-5.2.0-2.fc22.x86_64
(gdb) where
#0  0x00007ffff39c4e33 in mozilla::net::nsHttpChannelCacheKey::GetData(unsigned int*, nsACString_internal&) (this=0x7fffd0d3a7c0, aPostID=0x7fffffff6db4, aKey=...)
    at /home/hub/source/mozilla/src/netwerk/protocol/http/nsHttpChannel.cpp:6090
#1  0x00007ffff39b8289 in mozilla::net::HttpChannelChild::ContinueAsyncOpen() (this=this@entry=0x7fffd6a5c800) at /home/hub/source/mozilla/src/netwerk/protocol/http/HttpChannelChild.cpp:1665
#2  0x00007ffff39b862d in mozilla::net::HttpChannelChild::AsyncOpen(nsIStreamListener*, nsISupports*) (this=0x7fffd6a5c800, listener=0x7fffd2a8c0b0, aContext=0x0)
    at /home/hub/source/mozilla/src/netwerk/protocol/http/HttpChannelChild.cpp:1547
#3  0x00007ffff3de3fd4 in nsURILoader::OpenURI(nsIChannel*, unsigned int, nsIInterfaceRequestor*) (this=0x7fffe3937760, channel=0x7fffd6a5c878, aFlags=0, aWindowContext=0x7fffd6a5f830)
    at /home/hub/source/mozilla/src/uriloader/base/nsURILoader.cpp:826
#4  0x00007ffff4de3f09 in nsDocShell::DoChannelLoad(nsIChannel*, nsIURILoader*, bool) (this=this@entry=0x7fffd6a5f800, aChannel=0x7fffd6a5c878, aURILoader=0x7fffe3937760, aBypassClassifier=aBypassClassifier@entry=false) at /home/hub/source/mozilla/src/docshell/base/nsDocShell.cpp:11004
#5  0x00007ffff4df1008 in nsDocShell::DoURILoad(nsIURI*, nsIURI*, bool, unsigned int, nsISupports*, char const*, nsAString_internal const&, nsIInputStream*, nsIInputStream*, bool, nsIDocShell**, nsIRequest**, bool, bool, bool, nsAString_internal const&, nsIURI*, unsigned int) (this=this@entry=0x7fffd6a5f800, aURI=aURI@entry=
    0x7fffd31e4360, aReferrerURI=aReferrerURI@entry=0x7fffd31e4440, aSendReferrer=aSendReferrer@entry=true, aReferrerPolicy=aReferrerPolicy@entry=0, aOwner=<optimized out>, aTypeHint=<optimized out>, aFileName=..., aPostData=0x0, aHeadersData=0x0, aFirstParty=true, aDocShell=0x0, aRequest=0x7fffffff7720, aIsNewWindowTarget=false, aBypassClassifier=false, aForceAllowCookies=false, aSrcdoc=..., aBaseURI=0x0, aContentPolicyType=6) at /home/hub/source/mozilla/src/docshell/base/nsDocShell.cpp:10830
#6  0x00007ffff4df8746 in nsDocShell::InternalLoad(nsIURI*, nsIURI*, unsigned int, nsISupports*, unsigned int, char16_t const*, char const*, nsAString_internal const&, nsIInputStream*, nsIInputStream*, unsigned int, nsISHEntry*, bool, nsAString_internal const&, nsIDocShell*, nsIURI*, nsIDocShell**, nsIRequest**) (this=this@entry=0x7fffd6a5f800, aURI=0x7fffd31e4360, aReferrer=0x7fffd31e4440, aReferrerPolicy=0, aOwner=0x0, aFlags=aFlags@entry=0, aWindowTarget=0x0, aTypeHint=0x7ffff5c40890 <gNullChar> "", aFileName=..., aPostData=0x0, aHeadersData=0x0, aLoadType=4, aSHEntry=0x7fffd1649740, aFirstParty=true, aSrcdoc=..., aSourceDocShell=0x0, aBaseURI=0x0, aDocShell=0x0, aRequest=0x0) at /home/hub/source/mozilla/src/docshell/base/nsDocShell.cpp:10399
#7  0x00007ffff4dfbede in nsDocShell::LoadHistoryEntry(nsISHEntry*, unsigned int) (this=0x7fffd6a5f800, aEntry=0x7fffd1649740, aLoadType=4)
    at /home/hub/source/mozilla/src/docshell/base/nsDocShell.cpp:12100
#8  0x00007ffff4dfcbac in nsDocShell::LoadURI(nsIURI*, nsIDocShellLoadInfo*, unsigned int, bool) (this=0x7fffd6a5f800, aURI=0x7fffd31e4360, aLoadInfo=<optimized out>, aLoadFlags=0, aFirstParty=false) at /home/hub/source/mozilla/src/docshell/base/nsDocShell.cpp:1547
#9  0x00007ffff4e02c5e in nsSHistory::InitiateLoad(nsISHEntry*, nsIDocShell*, long) (this=this@entry=0x7fffd311a000, aFrameEntry=0x7fffd1649740, aFrameDS=0x7fffd6a5f998, aLoadType=aLoadType@entry=2) at /home/hub/source/mozilla/src/docshell/shistory/src/nsSHistory.cpp:1776
#10 0x00007ffff4e04e44 in nsSHistory::LoadEntry(int, long, unsigned int) (this=this@entry=0x7fffd311a000, aIndex=10, aLoadType=aLoadType@entry=2, aHistCmd=aHistCmd@entry=3)
    at /home/hub/source/mozilla/src/docshell/shistory/src/nsSHistory.cpp:1639
#11 0x00007ffff4e051de in nsSHistory::ReloadCurrentEntry() (this=0x7fffd311a000) at /home/hub/source/mozilla/src/docshell/shistory/src/nsSHistory.cpp:920
#12 0x00007ffff38a3fd9 in NS_InvokeByIndex(nsISupports*, uint32_t, uint32_t, nsXPTCVariant*) (that=<optimized out>, methodIndex=<optimized out>, paramCount=<optimized out>, params=<optimized out>) at /home/hub/source/mozilla/src/xpcom/reflect/xptcall/md/unix/xptcinvoke_x86_64_unix.cpp:176
#13 0x00007ffff3d12c8a in XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode) (this=0x7fffffff8090)
    at /home/hub/source/mozilla/src/js/xpconnect/src/XPCWrappedNative.cpp:2080
#14 0x00007ffff3d12c8a in XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode) (this=0x7fffffff8090)
    at /home/hub/source/mozilla/src/js/xpconnect/src/XPCWrappedNative.cpp:1417
#15 0x00007ffff3d12c8a in XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode) (ccx=..., mode=mode@entry=XPCWrappedNative::CALL_METHOD)
    at /home/hub/source/mozilla/src/js/xpconnect/src/XPCWrappedNative.cpp:1384
#16 0x00007ffff3d1829f in XPC_WN_CallMethod(JSContext*, unsigned int, JS::Value*) (cx=0x7fffea54f260, argc=0, vp=0x7fffe7a73210)
    at /home/hub/source/mozilla/src/js/xpconnect/src/XPCWrappedNativeJSOps.cpp:1141
#17 0x00007ffff55921b6 in js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct) (args=..., native=<optimized out>, cx=0x7fffea54f260)
    at /home/hub/source/mozilla/src/js/src/jscntxtinlines.h:235
#18 0x00007ffff55921b6 in js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct) (cx=0x7fffea54f260, args=..., construct=<optimized out>)
    at /home/hub/source/mozilla/src/js/src/vm/Interpreter.cpp:727
#19 0x00007ffff5586632 in Interpret(JSContext*, js::RunState&) (cx=0x7fffea54f260, state=...) at /home/hub/source/mozilla/src/js/src/vm/Interpreter.cpp:2955
#20 0x00007ffff5591b13 in js::RunScript(JSContext*, js::RunState&) (cx=cx@entry=0x7fffea54f260, state=...) at /home/hub/source/mozilla/src/js/src/vm/Interpreter.cpp:677
#21 0x00007ffff5592114 in js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct) (cx=cx@entry=0x7fffea54f260, args=..., construct=construct@entry=js::NO_CONSTRUCT)



(gdb) p mSupportsPRUint32
$1 = {<nsCOMPtr_base> = {mRawPtr = 0x5a5a5a5a5a5a5a5a}, <No data fields>}


Reproducible all the time on the same tab: a pinned tab to bug 947884.
Since I have closed it it works. And I have opened a new one with it and it works.

This is on mozilla-inbound. The tip is at:

parent: 243754:74f120732c62 tip
 Bug 1163878 (Followup) - Fix a warning about implicit conversion of nullptr to bool in FrameLayerBuilder on a CLOSED TREE. r=me
branch: default
Possibly bug 1163900 ?
Keywords: crash
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.