Closed Bug 572979 Opened 16 years ago Closed 16 years ago

e10s: Crash opening channel from nsXMLHttpRequest::Send

Categories

(Core :: Networking: HTTP, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jdm, Unassigned)

References

Details

I visted Google News in fennectrolysis+mobile-e10s and got this crash on shutdown: (gdb) bt #0 0x002b3416 in __kernel_vsyscall () #1 0x0034fdf6 in nanosleep () from /lib/libc.so.6 #2 0x0034fc11 in sleep () from /lib/libc.so.6 #3 0x00f8c299 in ah_crap_handler (signum=11) at /home/t_mattjo/src/firefox/mobilebase/toolkit/xre/nsSigHandlers.cpp:132 #4 0x00f8c2f2 in child_ah_crap_handler (signum=11) at /home/t_mattjo/src/firefox/mobilebase/toolkit/xre/nsSigHandlers.cpp:145 #5 <signal handler called> #6 0x02200a91 in nsQueryInterface::operator() (this=0xbfffce54, aIID=..., answer=0xbfffce3c) at nsCOMPtr.cpp:47 #7 0x0213082a in nsCOMPtr<nsIIPCSerializable>::assign_from_qi (this=0xbfffced8, qi=..., aIID=...) at ../../dist/include/nsCOMPtr.h:1189 #8 0x0212fe4b in nsCOMPtr<nsIIPCSerializable>::nsCOMPtr (this=0xbfffced8, qi=...) at ../../dist/include/nsCOMPtr.h:572 #9 0x021b3197 in IPC::ParamTraits<IPC::URI>::Write (aMsg=0xb07d8be0, aParam=...) at ../../dist/include/mozilla/net/NeckoMessageUtils.h:82 #10 0x021bde96 in IPC::WriteParam<IPC::URI> (m=0xb07d8be0, p=...) at /home/t_mattjo/src/firefox/mobilebase/ipc/chromium/src/chrome/common/ipc_message_utils.h:124 #11 0x021be390 in mozilla::net::PHttpChannelChild::Write<IPC::URI> (this=0xb125c680, __v=..., __msg=0xb07d8be0) at ../../ipc/ipdl/_ipdlheaders/mozilla/net/PHttpChannelChild.h:197 #12 0x021bc907 in mozilla::net::PHttpChannelChild::SendAsyncOpen(IPC::URI const&, IPC::URI const&, IPC::URI const&, IPC::URI const&, PRUint32 const&, mozilla::net::RequestHeaderTuples const&, nsHttpAtom const&, nsCString const&, PRInt32 const&, PRUint16 const&, PRUint8 const&, PRBool const&, PRBool const&, bool const&, PRUint64 const&, nsCString cons) (this=0xb125c680, uri=..., original=..., doc=..., referrer=..., loadFlags=@0xb125c770, requestHeaders=..., requestMethod=..., uploadStreamData=..., uploadStreamInfo=@0xbfffd094, priority=@0xbfffd0a2, redirectionLimit=@0xb125c777, allowPipelining=@0xbfffd09c, forceAllowThirdPartyCookie=@0xbfffd098, resumeAt=@0xb125c7a8, startPos=@0xb125c764, entityID=...) at PHttpChannelChild.cpp:100 #13 0x0109cfb3 in mozilla::net::HttpChannelChild::AsyncOpen (this=0xb125c680, listener=0xaf7bbf60, aContext=0x0) at /home/t_mattjo/src/firefox/mobilebase/netwerk/protocol/http/HttpChannelChild.cpp:526 #14 0x01560a0f in nsXMLHttpRequest::Send (this=0xafe20580, aBody=0xb14d3800) at /home/t_mattjo/src/firefox/mobilebase/content/base/src/nsXMLHttpRequest.cpp:2641 #15 0x01c3e11b in nsIXMLHttpRequest_Send (cx=0xb4576400, argc=1, vp=0xb58fec4c) at dom_quickstubs.cpp:20948 #16 0x006fd586 in js_Interpret (cx=0xb4576400) at /home/t_mattjo/src/firefox/mobilebase/js/src/jsops.cpp:2146 #17 0x0070fd44 in js_Execute (cx=0xb4576400, chain=0xafc616a0, script=0xb12c9ee0, down=0x0, flags=0, result=0x0) at /home/t_mattjo/src/firefox/mobilebase/js/src/jsinterp.cpp:854 #18 0x006864e3 in JS_EvaluateUCScriptForPrincipals (cx=0xb4576400, obj=0xafc616a0, principals=0xb0169a14, chars=0xb0777008, length=179891, filename=0xafbcebe8 "http://www.gstatic.com/news/js/2307874329-en-twocoljslib.js", lineno=1, rval=0x0) at /home/t_mattjo/src/firefox/mobilebase/js/src/jsapi.cpp:4563 #19 0x017726b6 in nsJSContext::EvaluateString (this=0xb45a6400, aScript=..., aScopeObject=0xafc616a0, aPrincipal=0xb0169a10, aURL=0xafbcebe8 "http://www.gstatic.com/news/js/2307874329-en-twocoljslib.js", aLineNo=1, aVersion=0, aRetValue=0x0, aIsUndefined=0xbfffdd1c) at /home/t_mattjo/src/firefox/mobilebase/dom/base/nsJSEnvironment.cpp:1779 #20 0x01540b8a in nsScriptLoader::EvaluateScript (this=0xb1257b20, aRequest=0xafe105b0, aScript=...) at /home/t_mattjo/src/firefox/mobilebase/content/base/src/nsScriptLoader.cpp:752 #21 0x01540610 in nsScriptLoader::ProcessRequest (this=0xb1257b20, aRequest=0xafe105b0) at /home/t_mattjo/src/firefox/mobilebase/content/base/src/nsScriptLoader.cpp:665 #22 0x01540f63 in nsScriptLoader::ProcessPendingRequests (this=0xb1257b20) at /home/t_mattjo/src/firefox/mobilebase/content/base/src/nsScriptLoader.cpp:825 #23 0x015417e3 in nsScriptLoader::OnStreamComplete (this=0xb1257b20, aLoader=0xb009d100, aContext=0xafe105b0, aStatus=0, aStringLen=179891, aString= 0xb0901000 "(function (){ function e(a){throw a;}var h=true,j=null,k=false,aa=Infinity,l=Error,ba=NEWS_flag_enableEmail,ca=undefined,da=encodeURIComponent,fa=parseInt,ga=parseFloat,ha=String,m=window,ia=Number,ja"...) at /home/t_mattjo/src/firefox/mobilebase/content/base/src/nsScriptLoader.cpp:1013 #24 0x00fe531c in nsStreamLoader::OnStopRequest (this=0xb009d100, request=0xb01c9914, ctxt=0xafe105b0, aStatus=0) at /home/t_mattjo/src/firefox/mobilebase/netwerk/base/src/nsStreamLoader.cpp:125 #25 0x0109c35b in mozilla::net::HttpChannelChild::OnStopRequest (this=0xb01c98d0, statusCode=@0xafedf1b0) at /home/t_mattjo/src/firefox/mobilebase/netwerk/protocol/http/HttpChannelChild.cpp:246 #26 0x0109e3b4 in mozilla::net::StopRequestEvent::RunCallback (this=0xafedf1a0) at /home/t_mattjo/src/firefox/mobilebase/netwerk/protocol/http/HttpChannelChild.cpp:221 #27 0x0109c85e in mozilla::net::HttpChannelChild::BufferOrDispatch (this=0xb01c98d0, callback=0xafedf1a0) at /home/t_mattjo/src/firefox/mobilebase/netwerk/protocol/http/HttpChannelChild.cpp:380 #28 0x0109c2a0 in mozilla::net::HttpChannelChild::RecvOnStopRequest (this=0xb01c98d0, statusCode=@0xbfffe044) at /home/t_mattjo/src/firefox/mobilebase/netwerk/protocol/http/HttpChannelChild.cpp:233 #29 0x021bd212 in mozilla::net::PHttpChannelChild::OnMessageReceived (this=0xb01c98d0, __msg=...) at PHttpChannelChild.cpp:259 #30 0x021a953d in mozilla::dom::PContentProcessChild::OnMessageReceived (this=0xb7d2d038, __msg=...) at PContentProcessChild.cpp:536 #31 0x020ece45 in mozilla::ipc::AsyncChannel::OnDispatchMessage (this=0xb7d2d040, msg=...) at /home/t_mattjo/src/firefox/mobilebase/ipc/glue/AsyncChannel.cpp:262 #32 0x020f45d3 in mozilla::ipc::RPCChannel::OnMaybeDequeueOne (this=0xb7d2d040) at /home/t_mattjo/src/firefox/mobilebase/ipc/glue/RPCChannel.cpp:438 #33 0x020f9fb3 in void DispatchToMethod<mozilla::ipc::RPCChannel, bool (mozilla::ipc::RPCChannel::*)()>(mozilla::ipc::RPCChannel*, bool (mozilla::ipc::RPCChannel::*)(), Tuple0 const&) () from /home/t_mattjo/src/firefox/mobilebase/fennec-dbg/dist/bin/libxul.so #34 0x020f9f3f in RunnableMethod<mozilla::ipc::RPCChannel, bool (mozilla::ipc::RPCChannel::*)(), Tuple0>::Run() () from /home/t_mattjo/src/firefox/mobilebase/fennec-dbg/dist/bin/libxul.so #35 0x020f5d4a in mozilla::ipc::RPCChannel::RefCountedTask::Run() () from /home/t_mattjo/src/firefox/mobilebase/fennec-dbg/dist/bin/libxul.so #36 0x020f5e42 in mozilla::ipc::RPCChannel::DequeueTask::Run() () from /home/t_mattjo/src/firefox/mobilebase/fennec-dbg/dist/bin/libxul.so #37 0x022dd69c in MessageLoop::RunTask (this=0xbfffef10, task=0xb006dcc0) at /home/t_mattjo/src/firefox/mobilebase/ipc/chromium/src/base/message_loop.cc:336 #38 0x022dd705 in MessageLoop::DeferOrRunPendingTask (this=0xbfffef10, pending_task=...) at /home/t_mattjo/src/firefox/mobilebase/ipc/chromium/src/base/message_loop.cc:344 #39 0x022ddadb in MessageLoop::DoWork (this=0xbfffef10) at /home/t_mattjo/src/firefox/mobilebase/ipc/chromium/src/base/message_loop.cc:444 #40 0x020f2322 in mozilla::ipc::MessagePump::Run (this=0xb7d11130, aDelegate=0xbfffef10) at /home/t_mattjo/src/firefox/mobilebase/ipc/glue/MessagePump.cpp:122 #41 0x020f2830 in mozilla::ipc::MessagePumpForChildProcess::Run (this=0xb7d11130, aDelegate=0xbfffef10) at /home/t_mattjo/src/firefox/mobilebase/ipc/glue/MessagePump.cpp:232 #42 0x022dd1f9 in MessageLoop::RunInternal (this=0xbfffef10) at /home/t_mattjo/src/firefox/mobilebase/ipc/chromium/src/base/message_loop.cc:216 #43 0x022dd179 in MessageLoop::RunHandler (this=0xbfffef10) at /home/t_mattjo/src/firefox/mobilebase/ipc/chromium/src/base/message_loop.cc:199 #44 0x022dd11d in MessageLoop::Run (this=0xbfffef10) at /home/t_mattjo/src/firefox/mobilebase/ipc/chromium/src/base/message_loop.cc:173 #45 0x01fa6e02 in nsBaseAppShell::Run (this=0xb4793150) at /home/t_mattjo/src/firefox/mobilebase/widget/src/xpwidgets/nsBaseAppShell.cpp:175 #46 0x00f8d577 in XRE_RunAppShell () at /home/t_mattjo/src/firefox/mobilebase/toolkit/xre/nsEmbedFunctions.cpp:566 #47 0x020f2750 in mozilla::ipc::MessagePumpForChildProcess::Run (this=0xb7d11130, aDelegate=0xbfffef10) at /home/t_mattjo/src/firefox/mobilebase/ipc/glue/MessagePump.cpp:218 #48 0x022dd1f9 in MessageLoop::RunInternal (this=0xbfffef10) at /home/t_mattjo/src/firefox/mobilebase/ipc/chromium/src/base/message_loop.cc:216 #49 0x022dd179 in MessageLoop::RunHandler (this=0xbfffef10) at /home/t_mattjo/src/firefox/mobilebase/ipc/chromium/src/base/message_loop.cc:199 #50 0x022dd11d in MessageLoop::Run (this=0xbfffef10) at /home/t_mattjo/src/firefox/mobilebase/ipc/chromium/src/base/message_loop.cc:173 #51 0x00f8cff4 in XRE_InitChildProcess (aArgc=1, aArgv=0xbffff164, aProcess=GeckoProcessType_Content) at /home/t_mattjo/src/firefox/mobilebase/toolkit/xre/nsEmbedFunctions.cpp:447 #52 0x08049080 in main (argc=3, argv=0xbffff164) at /home/t_mattjo/src/firefox/mobilebase/ipc/app/MozillaRuntimeMain.cpp:87 (gdb) fr 9 #9 0x021b3197 in IPC::ParamTraits<IPC::URI>::Write (aMsg=0xb07d8be0, aParam=...) at ../../dist/include/mozilla/net/NeckoMessageUtils.h:82 82 nsCOMPtr<nsIIPCSerializable> serializable = do_QueryInterface(aParam.mURI); (gdb) p aParam.mURI $1 = (nsIURI *) 0x5a5a5a5a (gdb) fr 16 #16 0x006fd586 in js_Interpret (cx=0xb4576400) at /home/t_mattjo/src/firefox/mobilebase/js/src/jsops.cpp:2146 2146 ok = ((JSFastNative) fun->u.n.native)(cx, argc, vp); (gdb) p script $2 = (JSScript *) 0xb0311800 (gdb) p script->filename $3 = 0xb049e4d1 "http://www.gstatic.com/news/js/2307874329-en-twocoljslib.js" This is a little bit scary.
Blocks: fennecko
Most likely a duplicate of bug 581279.
Blocks: 558801
Which means it will hopefully turn out to be a duplicate of 559200.
I am unable to reproduce this, so WFM.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.