Skip to content

Instantly share code, notes, and snippets.

@tmpvar
Created February 13, 2010 20:33
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 tmpvar/303663 to your computer and use it in GitHub Desktop.
Save tmpvar/303663 to your computer and use it in GitHub Desktop.
tmpvar@tmpvar:~$ gdb --args node_g --debug workspace/v8DebuggerTest/test.js
GNU gdb (GDB) 7.0-ubuntu
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/bin/node_g...done.
(gdb) run
Starting program: /usr/local/bin/node_g --debug workspace/v8DebuggerTest/test.js
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffd2e61910 (LWP 5641)]
debugger listening on port 5858
Use 'd8 --remote_debugger' to access it.
[New Thread 0x7ffff7ff7910 (LWP 5642)]
Server running at http://127.0.0.1:8000/
[New Thread 0x7fffd2620910 (LWP 5644)]
node_g: ../src/node_object_wrap.h:26: static T* node::ObjectWrap::Unwrap(v8::Handle<v8::Object>) [with T = node::Connection]: Assertion `handle->InternalFieldCount() > 0' failed.
Program received signal SIGABRT, Aborted.
0x00007ffff6ed84b5 in raise () from /lib/libc.so.6
(gdb) where
#0 0x00007ffff6ed84b5 in raise () from /lib/libc.so.6
#1 0x00007ffff6edbf50 in abort () from /lib/libc.so.6
#2 0x00007ffff6ed1481 in __assert_fail () from /lib/libc.so.6
#3 0x000000000053896c in node::ObjectWrap::Unwrap<node::Connection> (handle=...)
at ../src/node_object_wrap.h:26
#4 0x00000000005356e3 in node::Connection::ReadyStateGetter (property=..., info=...)
at ../src/node_net.cc:132
#5 0x00000000005dc2ba in v8::internal::Object::GetPropertyWithCallback (this=0x7fffd2647161,
receiver=0x7fffd2647161, structure=0x7ffff7f97b41, name=0x7ffff7f36f41, holder=0x7fffd2647161)
at /home/tmpvar/Work/Javascript/node/deps/v8/src/objects.cc:173
#6 0x000000000062f12c in DebugLookupResultValue (receiver=0x7fffd2647161, name=0x7ffff7f36f41,
result=0x7fffffff8510, caught_exception=0x7fffffff866f)
at /home/tmpvar/Work/Javascript/node/deps/v8/src/runtime.cc:6209
#7 0x000000000062f55b in Runtime_DebugGetPropertyDetails (args=...)
at /home/tmpvar/Work/Javascript/node/deps/v8/src/runtime.cc:6305
#8 0x00007fffd2ea622a in ?? ()
#9 0x00007fffd2ea61c1 in ?? ()
#10 0x00007fffffff8690 in ?? ()
#11 0x00007fffffff86d8 in ?? ()
#12 0x00007fffd2ef9e30 in ?? ()
#13 0x00007ffff7f36f41 in ?? ()
#14 0x00007fffd2647161 in ?? ()
#15 0x00007ffff7f30151 in ?? ()
#16 0x00007fffd264b989 in ?? ()
#17 0x00007fffd1e136d1 in ?? ()
#18 0x00007fffffff8738 in ?? ()
#19 0x00007fffd2f05c75 in ?? ()
#20 0x00007ffff7f36f41 in ?? ()
#21 0x00007ffff4034f31 in ?? ()
#22 0x00007ffff7f38291 in ?? ()
#23 0x0000000400000000 in ?? ()
#24 0x00007ffff40350a9 in ?? ()
#25 0x00007ffff40350a9 in ?? ()
#26 0x0000000400000000 in ?? ()
#27 0x00007ffff4035019 in ?? ()
#28 0x00007fffd264b951 in ?? ()
#29 0x00007fffd1e136d1 in ?? ()
#30 0x00007fffffff8778 in ?? ()
#31 0x00007fffd2ea7132 in ?? ()
#32 0x00007ffff7f30151 in ?? ()
#33 0x00007ffff7f30151 in ?? ()
#34 0x00007ffff4034f31 in ?? ()
#35 0x0000000000000000 in ?? ()
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment