Skip to content

Instantly share code, notes, and snippets.

@saghul
Created February 27, 2014 00:15
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 saghul/9241651 to your computer and use it in GitHub Desktop.
Save saghul/9241651 to your computer and use it in GitHub Desktop.
(merge-review)saghul@alpha:~/src/node
$ ./out/Debug/node test/simple/test-child-process-execsync.js
node: ../src/spawn_sync.cc:518: void node::SyncProcessRunner::CloseHandlesAndDeleteLoop(): Assertion `uv_loop_close(uv_loop_)==0' failed.
Aborted (core dumped)
(merge-review)saghul@alpha:~/src/node
$ gdb ./out/Debug/node core
GNU gdb (GDB) 7.6.2 (Debian 7.6.2-1)
Copyright (C) 2013 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 /home/saghul/src/node/out/Debug/node...done.
[New LWP 12295]
[New LWP 12296]
[New LWP 12297]
[New LWP 12298]
[New LWP 12299]
[New LWP 12300]
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fff74889000
Core was generated by `./out/Debug/node test/simple/test-child-process-execsync.js'.
Program terminated with signal 6, Aborted.
#0 0x00007ffcce7813a9 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) f 4
#4 0x0000000000cafe99 in node::SyncProcessRunner::CloseHandlesAndDeleteLoop (this=0x7fff74874580) at ../src/spawn_sync.cc:518
518 assert(uv_loop_close(uv_loop_)==0);
(gdb) print uv_loop_.handle_queue
$1 = {0x1b9a3b8, 0x7fff74874640}
(gdb) print (uv_handle_t*)uv_loop_.handle_queue[1]
$2 = (uv_handle_t *) 0x7fff74874640
(gdb) print *(uv_handle_t*)uv_loop_.handle_queue[1]
$3 = {data = 0x1b9a160, loop = 0x1b9a220, type = 8192, close_cb = 0x0, handle_queue = {0xcb1f92 <node::SyncProcessRunner::ExitCallback(uv_process_s*, long, int)>, 0x300d},
flags = 1955022448, next_closing = 0x7fff74874670}
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment