Skip to content

Instantly share code, notes, and snippets.

@isaacs
Created June 18, 2012 15:58
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 isaacs/2949089 to your computer and use it in GitHub Desktop.
Save isaacs/2949089 to your computer and use it in GitHub Desktop.
Starting program: /Users/isaacs/dev/js/node-master/node_g example.js
Reading symbols for shared libraries ++++................................................................................................................................ done
Reading symbols for shared libraries . done
connecting, should not exit immediately
WARNING: ev_io is deprecated, use uv_poll_t
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x00000000000000a0
uv__io_stop (loop=0x0, handle=0x100d18468) at core.c:635
635 ev_io_stop(loop->ev, &handle->io_watcher);
(gdb) backtrace
#0 uv__io_stop (loop=0x0, handle=0x100d18468) at core.c:635
#1 0x000000010004f661 in uv_poll_start (handle=0x100d18418, pevents=13730920, poll_cb=0x1022016a0 <__uv_poll_cb>) at poll.c:103
#2 0x0000000102201b75 in __ev_io_start (w=0x100d18400) at ev-emul.h:128
#3 0x0000000102216654 in zk::ZooKeeper::yield (this=0x100d183c0) at node-zk.cpp:234
#4 0x0000000102216865 in zk::ZooKeeper::realInit (this=0x100d183c0, hostPort=0x100d17ff0 "localhost:2181", session_timeout=200000, client_id=0x7fff5fbfea98) at node-zk.cpp:288
#5 0x0000000102209678 in zk::ZooKeeper::Init (args=@0x7fff5fbfef38) at node-zk.cpp:327
#6 0x00000001001793bd in Builtin_Impl_HandleApiCall [inlined] () at /Users/isaacs/dev/js/node-master/deps/v8/src/builtins.cc:1145
#7 0x00000001001793bd in Builtin_HandleApiCall (args={<v8::internal::Arguments> = {<v8::internal::Embedded> = {<No data fields>}, length_ = 3, arguments_ = 0x7fff5fbff030}, <No data fields>}, isolate=0x10101e200) at builtins.cc:1161
#8 0x000000d4eaa0618e in ?? ()
#9 0x000000d4eaa95d83 in ?? ()
#10 0x000000d4eaa963b2 in ?? ()
#11 0x000000d4eaa098ee in ?? ()
#12 0x000000d4eaa8cafe in ?? ()
#13 0x000000d4eaa27fde in ?? ()
#14 0x000000d4eaa687c2 in ?? ()
#15 0x000000d4eaa688e5 in ?? ()
#16 0x000000d4eaa6749c in ?? ()
#17 0x000000d4eaa66e0e in ?? ()
#18 0x000000d4eaa68c8b in ?? ()
#19 0x000000d4eaa2e8ca in ?? ()
#20 0x000000d4eaa24ae7 in ?? ()
#21 0x000000d4eaa11477 in ?? ()
#22 0x00000001001c759f in Invoke (argc=1606415568, args=0x7fff5fbff4d0, has_pending_exception=0x7fff5fbff4d0, is_construct=3) at execution.cc:118
#23 0x00000001001c843d in v8::internal::Execution::Call (argc=1606415664, argv=0x7fff5fbff530, pending_exception=0x7fff5fbff530, convert_receiver=88) at execution.cc:173
#24 0x000000010013ed6d in v8::Function::Call (this=0x101801258, argc=0, argv=0x7fff5fbff5c0) at api.cc:3644
#25 0x0000000100007ebb in Tick () at node.cc:249
#26 0x000000010004efb9 in uv__run_idle (loop=0x3) at loop-watcher.c:63
#27 0x0000000100044665 in uv__run (loop=0x100866300) at core.c:254
#28 0x0000000100044905 in uv_run (loop=0x100866300) at core.c:264
#29 0x0000000100008204 in node::Start (argc=1606416192, argv=0x3) at node.cc:2899
#30 0x0000000100001550 in start ()
Current language: auto; currently c
(gdb)
(gdb) run
Starting program: /Users/isaacs/dev/js/node-master/node_g example.js
Reading symbols for shared libraries ++++................................................................................................................................ done
Reading symbols for shared libraries . done
connecting, should not exit immediately
WARNING: ev_io is deprecated, use uv_poll_t
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x00000000000000a0
uv__io_stop (loop=0x0, handle=0x100d18468) at core.c:635
635 ev_io_stop(loop->ev, &handle->io_watcher);
(gdb) backtrace
#0 uv__io_stop (loop=0x0, handle=0x100d18468) at core.c:635
#1 0x000000010004f661 in uv_poll_start (handle=0x100d18418, pevents=13730920, poll_cb=0x1022016a0 <__uv_poll_cb>) at poll.c:103
#2 0x0000000102201b75 in __ev_io_start (w=0x100d18400) at ev-emul.h:128
#3 0x0000000102216654 in zk::ZooKeeper::yield (this=0x100d183c0) at node-zk.cpp:234
#4 0x0000000102216865 in zk::ZooKeeper::realInit (this=0x100d183c0, hostPort=0x100d17ff0 "localhost:2181", session_timeout=200000, client_id=0x7fff5fbfea98) at node-zk.cpp:288
#5 0x0000000102209678 in zk::ZooKeeper::Init (args=@0x7fff5fbfef38) at node-zk.cpp:327
#6 0x00000001001793bd in Builtin_Impl_HandleApiCall [inlined] () at /Users/isaacs/dev/js/node-master/deps/v8/src/builtins.cc:1145
#7 0x00000001001793bd in Builtin_HandleApiCall (args={<v8::internal::Arguments> = {<v8::internal::Embedded> = {<No data fields>}, length_ = 3, arguments_ = 0x7fff5fbff030}, <No data fields>}, isolate=0x10101e200) at builtins.cc:1161
#8 0x000000d4eaa0618e in ?? ()
#9 0x000000d4eaa95d83 in ?? ()
#10 0x000000d4eaa963b2 in ?? ()
#11 0x000000d4eaa098ee in ?? ()
#12 0x000000d4eaa8cafe in ?? ()
#13 0x000000d4eaa27fde in ?? ()
#14 0x000000d4eaa687c2 in ?? ()
#15 0x000000d4eaa688e5 in ?? ()
#16 0x000000d4eaa6749c in ?? ()
#17 0x000000d4eaa66e0e in ?? ()
#18 0x000000d4eaa68c8b in ?? ()
#19 0x000000d4eaa2e8ca in ?? ()
#20 0x000000d4eaa24ae7 in ?? ()
#21 0x000000d4eaa11477 in ?? ()
#22 0x00000001001c759f in Invoke (argc=1606415568, args=0x7fff5fbff4d0, has_pending_exception=0x7fff5fbff4d0, is_construct=3) at execution.cc:118
#23 0x00000001001c843d in v8::internal::Execution::Call (argc=1606415664, argv=0x7fff5fbff530, pending_exception=0x7fff5fbff530, convert_receiver=88) at execution.cc:173
#24 0x000000010013ed6d in v8::Function::Call (this=0x101801258, argc=0, argv=0x7fff5fbff5c0) at api.cc:3644
#25 0x0000000100007ebb in Tick () at node.cc:249
#26 0x000000010004efb9 in uv__run_idle (loop=0x3) at loop-watcher.c:63
#27 0x0000000100044665 in uv__run (loop=0x100866300) at core.c:254
#28 0x0000000100044905 in uv_run (loop=0x100866300) at core.c:264
#29 0x0000000100008204 in node::Start (argc=1606416192, argv=0x3) at node.cc:2899
#30 0x0000000100001550 in start ()
Current language: auto; currently c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment