Skip to content

Instantly share code, notes, and snippets.

@anddam
Last active December 16, 2015 21:29
Show Gist options
  • Save anddam/5500598 to your computer and use it in GitHub Desktop.
Save anddam/5500598 to your computer and use it in GitHub Desktop.
TLC
me@biboop ~/D/D/L/TLC> luajit window.lua
fish: Job 1, 'luajit window.lua ' terminated by signal SIGSEGV (Address boundary error)
me@biboop ~/D/D/L/TLC> gdb luajit
GNU gdb 6.3.50-20050815 (Apple version gdb-1824) (Wed Feb 6 22:51:23 UTC 2013)
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) r window.lua
Starting program: /opt/local/bin/luajit window.lua
Reading symbols for shared libraries +........................ done
Reading symbols for shared libraries ..... done
Reading symbols for shared libraries .... done
Reading symbols for shared libraries ................................ done
Reading symbols for shared libraries ................................................................... done
Reading symbols for shared libraries .. done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries ........ done
Reading symbols for shared libraries . done
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x0000000000000000
0x00007fff85ffbfe6 in libunwind::CompactUnwinder_x86_64<libunwind::LocalAddressSpace>::stepWithCompactEncodingFrameless ()
(gdb) bt
#0 0x00007fff85ffbfe6 in libunwind::CompactUnwinder_x86_64<libunwind::LocalAddressSpace>::stepWithCompactEncodingFrameless ()
#1 0x00007fff85ffa20c in libunwind::CompactUnwinder_x86_64<libunwind::LocalAddressSpace>::stepWithCompactEncoding ()
#2 0x00007fff85ffa171 in libunwind::UnwindCursor<libunwind::LocalAddressSpace, libunwind::Registers_x86_64>::step ()
#3 0x00007fff85ff9931 in _Unwind_RaiseException ()
#4 0x0000000100006fca in main ()
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment