Skip to content

Instantly share code, notes, and snippets.

@kazupon
Created September 13, 2012 17:18
Show Gist options
  • Save kazupon/3715938 to your computer and use it in GitHub Desktop.
Save kazupon/3715938 to your computer and use it in GitHub Desktop.
core_print_all_handles segfault ...
✔ fs_link: 5/5 within 0.428 ms
✔ fs_fsync: 7/7 within 0.233 ms
✔ test core now: 2/2 within 0.007 ms
✔ test core get_process_title: 1/1 within 0.006 ms
[R--] timer 0x100330918
[---] <unknown> 0x4ddb0
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x0000000000000000
0x000000010004022e in uv__print_handles (loop=0x1003306c0, only_active=0) at uv-common.c:348
348 switch (h->type) {
(gdb) bt
#0 0x000000010004022e in uv__print_handles (loop=0x1003306c0, only_active=0) at uv-common.c:348
#1 0x000000010004045f in uv_print_all_handles (loop=0x1003306c0) at uv-common.c:367
#2 0x00000001000105d9 in core_print_all_handles (L=0x41378) at lev_new_core.c:392
#3 0x000000010005c5d6 in lj_BC_FUNCC ()
Previous frame inner to this frame (gdb could not unwind past this frame)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment