Skip to content

Instantly share code, notes, and snippets.

@abecciu
Created February 23, 2010 02:46
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/311791 to your computer and use it in GitHub Desktop.
Save abecciu/311791 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 10581)]
DEBUG: [1008] Timeout: undefined
DEBUG: [60004] Timeout: undefined
DEBUG: [60004] Timeout: undefined
DEBUG: [60004] Timeout: undefined
DEBUG: Closing...
node_g: ../src/node_net.cc:296: static int node::Connection::Resolve(eio_req*): Assertion `connection->refs_' failed.
Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb5b27b70 (LWP 10581)]
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 0x08168e9e in node::Connection::Resolve (req=0x8481c68) at ../src/node_net.cc:296
#5 0x08178a36 in eio_execute (self=0x84819e8, req=0x8481c68) at ../deps/libeio/eio.c:1658
#6 0x0817803b in etp_proc (thr_arg=0x84819e8) at ../deps/libeio/eio.c:1497
#7 0xb7ddc80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8 0xb7d5d8de in clone () from /lib/tls/i686/cmov/libc.so.6
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment