Created
November 25, 2011 22:37
-
-
Save warewolf/1394584 to your computer and use it in GitHub Desktop.
unsticking firefox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gdb) bt | |
#0 0x00c1f673 in js::Interpret (cx=0xb759c360, entryFrame=0xb35fe038, interpMode=js::JSINTERP_NORMAL) | |
at /usr/src/debug/xulrunner-8.0/mozilla-release/js/src/jsinterp.cpp:3515 | |
#1 0x00c2a69c in js::Invoke (cx=0xb759c360, argsRef=..., construct=js::NO_CONSTRUCT) | |
at /usr/src/debug/xulrunner-8.0/mozilla-release/js/src/jsinterp.cpp:687 | |
#2 0x00c2ad9c in Invoke (construct=js::NO_CONSTRUCT, args=..., cx=0xb759c360) | |
at /usr/src/debug/xulrunner-8.0/mozilla-release/js/src/jsinterp.h:169 | |
#3 js::ExternalInvoke (cx=0xb759c360, thisv=..., fval=..., argc=3, argv=0xbf9a08ec, rval=0xbf9a07d0) | |
at /usr/src/debug/xulrunner-8.0/mozilla-release/js/src/jsinterp.cpp:809 | |
#4 0x00b9f1d3 in JS_CallFunctionValue (cx=0xb759c360, obj=0xb198b3a0, fval=18446743556998087896, argc=3, argv=0xbf9a08ec, rval=0xbf9a07d0) | |
at /usr/src/debug/xulrunner-8.0/mozilla-release/js/src/jsapi.cpp:5052 | |
#5 0x017f77de in nsXPCWrappedJSClass::CallMethod (this=0xb4a7a6d0, wrapper=0xb1a5d880, methodIndex=3, info=0xb5533ed0, | |
nativeParams=0xbf9a09ec) at /usr/src/debug/xulrunner-8.0/mozilla-release/js/src/xpconnect/src/xpcwrappedjsclass.cpp:1657 | |
#6 0x017f2467 in nsXPCWrappedJS::CallMethod (this=0xb1a5d880, methodIndex=3, info=0xb5533ed0, params=0xbf9a09ec) | |
at /usr/src/debug/xulrunner-8.0/mozilla-release/js/src/xpconnect/src/xpcwrappedjs.cpp:585 | |
#7 0x01b977bb in PrepareAndDispatch (methodIndex=<optimized out>, self=0xb1a02d90, args=<optimized out>) | |
at /usr/src/debug/xulrunner-8.0/mozilla-release/xpcom/reflect/xptcall/src/md/unix/xptcstubs_gcc_x86_unix.cpp:95 | |
#8 0x01b65372 in nsObserverList::NotifyObservers (this=0xa98e7b7c, aSubject=0x8fc99830, aTopic=0x1c939a5 "http-on-examine-response", | |
someData=0x0) at /usr/src/debug/xulrunner-8.0/mozilla-release/xpcom/ds/nsObserverList.cpp:130 | |
#9 0x01b65746 in NotifyObservers (someData=0x0, aTopic=0x1c939a5 "http-on-examine-response", aSubject=0x8fc99830, this=0xb5f19400) | |
at /usr/src/debug/xulrunner-8.0/mozilla-release/xpcom/ds/nsObserverService.cpp:182 | |
#10 nsObserverService::NotifyObservers (this=0xb5f19400, aSubject=0x8fc99830, aTopic=0x1c939a5 "http-on-examine-response", someData=0x0) | |
at /usr/src/debug/xulrunner-8.0/mozilla-release/xpcom/ds/nsObserverService.cpp:171 | |
#11 0x01172da1 in nsHttpHandler::NotifyObservers (this=0xb27611c0, chan=0x8fc99830, event=0x1c939a5 "http-on-examine-response") | |
at /usr/src/debug/xulrunner-8.0/mozilla-release/netwerk/protocol/http/nsHttpHandler.cpp:537 | |
#12 0x01183b9f in OnExamineResponse (chan=0x8fc99830, this=<optimized out>) | |
at /usr/src/debug/xulrunner-8.0/mozilla-release/netwerk/protocol/http/nsHttpHandler.h:195 | |
#13 nsHttpChannel::ProcessResponse (this=0x8fc99800) | |
at /usr/src/debug/xulrunner-8.0/mozilla-release/netwerk/protocol/http/nsHttpChannel.cpp:959 | |
#14 0x0110aaeb in nsInputStreamPump::OnStateStart (this=0x8e3b1240) | |
at /usr/src/debug/xulrunner-8.0/mozilla-release/netwerk/base/src/nsInputStreamPump.cpp:441 | |
#15 0x0110ade9 in nsInputStreamPump::OnInputStreamReady (this=0x8e3b1240, stream=0x909b47a8) | |
at /usr/src/debug/xulrunner-8.0/mozilla-release/netwerk/base/src/nsInputStreamPump.cpp:397 | |
#16 0x01b76cc9 in nsInputStreamReadyEvent::Run (this=0x8ff7cfa0) | |
at /usr/src/debug/xulrunner-8.0/mozilla-release/xpcom/io/nsStreamUtils.cpp:114 | |
#17 0x01b87b89 in nsThread::ProcessNextEvent (this=0xb7577c40, mayWait=1, result=0xbf9a0c4c) | |
at /usr/src/debug/xulrunner-8.0/mozilla-release/xpcom/threads/nsThread.cpp:631 | |
#18 0x01b55cfd in NS_ProcessNextEvent_P (thread=<optimized out>, mayWait=1) | |
at /usr/src/debug/xulrunner-8.0/mozilla-release/xpcom/build/nsThreadUtils.cpp:245 | |
#19 0x01adf84a in mozilla::ipc::MessagePump::Run (this=0xb75c09d0, aDelegate=0xb7543420) | |
at /usr/src/debug/xulrunner-8.0/mozilla-release/ipc/glue/MessagePump.cpp:134 | |
#20 0x01ba9809 in MessageLoop::RunInternal (this=0xb7543420) | |
at /usr/src/debug/xulrunner-8.0/mozilla-release/ipc/chromium/src/base/message_loop.cc:221 | |
#21 0x01ba9939 in RunHandler (this=0xb7543420) at /usr/src/debug/xulrunner-8.0/mozilla-release/ipc/chromium/src/base/message_loop.cc:205 | |
#22 MessageLoop::Run (this=0xb7543420) at /usr/src/debug/xulrunner-8.0/mozilla-release/ipc/chromium/src/base/message_loop.cc:179 | |
#23 0x01a4a54b in nsBaseAppShell::Run (this=0xb5f86b00) | |
at /usr/src/debug/xulrunner-8.0/mozilla-release/widget/src/xpwidgets/nsBaseAppShell.cpp:189 | |
#24 0x018f8f56 in nsAppStartup::Run (this=0xb55b4e20) | |
at /usr/src/debug/xulrunner-8.0/mozilla-release/toolkit/components/startup/nsAppStartup.cpp:224 | |
#25 0x010eb3ba in XRE_main (argc=1, argv=0xbf9a5524, aAppData=0xb751c700) | |
at /usr/src/debug/xulrunner-8.0/mozilla-release/toolkit/xre/nsAppRunner.cpp:3544 | |
#26 0x08049ab4 in main (argc=1, argv=0xbf9a5524) at /usr/src/debug/xulrunner-8.0/mozilla-release/xulrunner/stub/nsXULStub.cpp:516 | |
(gdb) help stack | |
Examining the stack. | |
The stack is made up of stack frames. Gdb assigns numbers to stack frames | |
counting from zero for the innermost (currently executing) frame. | |
At any time gdb identifies one frame as the "selected" frame. | |
Variable lookups are done with respect to the selected frame. | |
When the program being debugged stops, gdb selects the innermost frame. | |
The commands below can be used to select other frames by number or address. | |
List of commands: | |
backtrace -- Print backtrace of all stack frames | |
bt -- Print backtrace of all stack frames | |
down -- Select and print stack frame called by this one | |
frame -- Select and print a stack frame | |
return -- Make selected stack frame return to its caller | |
select-frame -- Select a stack frame without printing anything | |
up -- Select and print stack frame that called this one | |
Type "help" followed by command name for full documentation. | |
Type "apropos word" to search for commands related to "word". | |
Command name abbreviations are allowed if unambiguous. | |
(gdb) down | |
Bottom (innermost) frame selected; you cannot go down. | |
(gdb) up | |
#1 0x00c2a69c in js::Invoke (cx=0xb759c360, argsRef=..., construct=js::NO_CONSTRUCT) | |
at /usr/src/debug/xulrunner-8.0/mozilla-release/js/src/jsinterp.cpp:687 | |
687 ok = RunScript(cx, script, fp); | |
(gdb) down | |
#0 0x00c1f673 in js::Interpret (cx=0xb759c360, entryFrame=0xb35fe038, interpMode=js::JSINTERP_NORMAL) | |
at /usr/src/debug/xulrunner-8.0/mozilla-release/js/src/jsinterp.cpp:3515 | |
3515 NATIVE_GET(cx, obj, obj2, shape, | |
(gdb) return | |
Make js::Interpret(JSContext*, js::StackFrame*, js::InterpMode) return now? (y or n) y | |
#0 ~AutoPreserveEnumerators (this=<optimized out>, | |
__in_chrg=<optimized out>) at /usr/src/debug/xulrunner-8.0/mozilla-release/js/src/jsinterpinlines.h:70 | |
70 cx->enumerators = enumerators; | |
(gdb) cont | |
Continuing. | |
Program received signal SIGPIPE, Broken pipe. | |
0x00758424 in __kernel_vsyscall () | |
(gdb) cont | |
Continuing. | |
[New Thread 0x97ffeb70 (LWP 4440)] | |
[New Thread 0xad8bab70 (LWP 4441)] | |
[New Thread 0xb0effb70 (LWP 4442)] | |
[Thread 0xad0b9b70 (LWP 4064) exited] | |
^C | |
Program received signal SIGINT, Interrupt. | |
0x00758424 in __kernel_vsyscall () | |
(gdb) q | |
A debugging session is active. | |
Inferior 1 [process 1936] will be detached. | |
Quit anyway? (y or n) y | |
Detaching from program: /usr/lib/firefox/firefox, process 1936 | |
# warewolf@xasf:~$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment