Skip to content

Instantly share code, notes, and snippets.

@philips
Created April 23, 2012 17:10
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 philips/7836458dfb6ddbda2043 to your computer and use it in GitHub Desktop.
Save philips/7836458dfb6ddbda2043 to your computer and use it in GitHub Desktop.
philips:tests/ (dgram*) $ gdb ../out/Debug/luvit [10:08:46]
GNU gdb 6.3.50-20050815 (Apple version gdb-1705) (Fri Jul 1 10:50:06 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries .... done
(gdb) run test-dgram-multicast.lua
Starting program: /Users/philips/luvit/out/Debug/luvit test-dgram-multicast.lua
Reading symbols for shared libraries +++.................................................................................................................................... done
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000004
luv_handle_ref (L=0x2c41c0, lhandle=0x0, index=1) at utils.c:184
184 if (!lhandle->refCount) {
(gdb) bt
#0 luv_handle_ref (L=0x2c41c0, lhandle=0x0, index=1) at utils.c:184
#1 0x0000e1c3 in luv_udp_recv_start (L=0x2c41c0) at luv_udp.c:242
#2 0x000168da in lj_BC_FUNCC () at buildvm_x86.dasc:542
Previous frame inner to this frame (gdb could not unwind past this frame)
(gdb) The program is running. Exit anyway? (y or n) y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment