Skip to content

Instantly share code, notes, and snippets.

@abecciu
Created February 23, 2010 02:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abecciu/311793 to your computer and use it in GitHub Desktop.
Save abecciu/311793 to your computer and use it in GitHub Desktop.
$ gdb --args ~/tmp/node/node_g test.js http://202.129.49.242:8030/
GNU gdb (GDB) 7.0-ubuntu
......
Reading symbols from /home/peter/tmp/node/node_g...done.
(gdb) run
Starting program: /home/peter/tmp/node/node_g test.js http://202.129.49.242:8030/
[Thread debugging using libthread_db enabled]
[New Thread 0xb5b27b70 (LWP 10628)]
DEBUG: [1008] Timeout: undefined
DEBUG: [60004] Timeout: undefined
DEBUG: [60004] Timeout: undefined
DEBUG: [60004] Timeout: undefined
DEBUG: Closing...
node_g: ../src/node_net.cc:325: static int node::Connection::AfterResolve(eio_req*): Assertion `connection->refs_' failed.
Program received signal SIGABRT, Aborted.
0xb7fe2430 in __kernel_vsyscall ()
(gdb) backtrace
#0 0xb7fe2430 in __kernel_vsyscall ()
#1 0xb7cbb4d1 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7cbe932 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0xb7cb4648 in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#4 0x08168fb3 in node::Connection::AfterResolve (req=0x8481c68) at ../src/node_net.cc:325
#5 0x08176fd6 in eio_finish (req=0x8481c68) at ../deps/libeio/eio.c:679
#6 0x08176bee in etp_poll () at ../deps/libeio/eio.c:534
#7 0x0817715d in eio_poll () at ../deps/libeio/eio.c:767
#8 0x0814e40a in WantPollNotifier (watcher=0x843ccfc, revents=262144) at ../src/node.cc:107
#9 0x0817392e in ev_invoke_pending () at ../deps/libev/ev.c:1997
#10 0x08174388 in ev_loop (flags=0) at ../deps/libev/ev.c:2359
#11 0x0814fc49 in Loop (args=...) at ../src/node.cc:423
#12 0x081ab97c in HandleApiCallHelper<false> (args=...) at /home/peter/tmp/node/deps/v8/src/builtins.cc:783
#13 0x081a990c in Builtin_Impl_HandleApiCall (args=...) at /home/peter/tmp/node/deps/v8/src/builtins.cc:800
#14 0x081a98f2 in Builtin_HandleApiCall (args=...) at /home/peter/tmp/node/deps/v8/src/builtins.cc:799
#15 0xb5b8c38e in ?? ()
#16 0xb5a21cc5 in ?? ()
#17 0xb5b9c799 in ?? ()
#18 0xb5b8d842 in ?? ()
#19 0x081bb3d8 in Invoke (construct=false, func=..., receiver=..., argc=1, args=0xbffff3b0, has_pending_exception=0xbffff33f)
at /home/peter/tmp/node/deps/v8/src/execution.cc:97
#20 0x081bb4c5 in v8::internal::Execution::Call (func=..., receiver=..., argc=1, args=0xbffff3b0, pending_exception=0xbffff33f)
at /home/peter/tmp/node/deps/v8/src/execution.cc:124
#21 0x0818df72 in v8::Function::Call (this=0x8482d4c, recv=..., argc=1, argv=0xbffff3b0) at /home/peter/tmp/node/deps/v8/src/api.cc:2439
#22 0x08153839 in Load (argc=3, argv=0xbffff7b4) at ../src/node.cc:1115
#23 0x08153eda in main (argc=3, argv=0xbffff7b4) at ../src/node.cc:1284
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment