Skip to content

Instantly share code, notes, and snippets.

@trevnorris
Created March 12, 2015 19:12
Show Gist options
  • Save trevnorris/885f16082b8fc86c397c to your computer and use it in GitHub Desktop.
Save trevnorris/885f16082b8fc86c397c to your computer and use it in GitHub Desktop.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x0000000001fb50f0 in ?? ()
(gdb) bt
#0 0x0000000001fb50f0 in ?? ()
#1 0x000000000040be54 in uv__finish_close (handle=0x1df91e0) at lib/libnub/deps/uv/src/unix/core.c:245
#2 uv__run_closing_handles (loop=0x1b141e0) at lib/libnub/deps/uv/src/unix/core.c:259
#3 uv_run (loop=0x1b141e0, mode=UV_RUN_DEFAULT) at lib/libnub/deps/uv/src/unix/core.c:326
#4 0x0000000000405eef in hw_http_open ()
#5 0x0000000000403b57 in main ()
(gdb) f 1
#1 0x000000000040be54 in uv__finish_close (handle=0x1df91e0) at lib/libnub/deps/uv/src/unix/core.c:245
245 handle->close_cb(handle);
(gdb) l
240
241 uv__handle_unref(handle);
242 QUEUE_REMOVE(&handle->handle_queue);
243
244 if (handle->close_cb) {
245 handle->close_cb(handle);
246 }
247 }
248
249
(gdb) p handle
$1 = (uv_handle_t *) 0x1df91e0
(gdb) p *handle
$2 = {
data = 0x1ebbfc0,
loop = 0x1fb71e0,
type = UV_UNKNOWN_HANDLE,
close_cb = 0x0,
handle_queue = {0x1ebc0e0, 0x1f84f00},
reserved = {0x5c5000005c5, 0x203af18, 0x203af18, 0x0},
next_closing = 0x1df87e0,
flags = 99
}
(gdb) quit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment