Skip to content

Instantly share code, notes, and snippets.

@kyleterry
Created December 14, 2014 09:29
Show Gist options
  • Save kyleterry/3e5fdf617f4b4bd9a35f to your computer and use it in GitHub Desktop.
Save kyleterry/3e5fdf617f4b4bd9a35f to your computer and use it in GitHub Desktop.
Program received signal SIGSEGV, Segmentation fault.
_lair_tokenize (program=0xfff7ff5000 <error: Cannot access memory at address 0xfff7ff5000>, len=253) at src/parse.c:149
149 const _str line = read_line(program + num_read);
(gdb) bt
#0 _lair_tokenize (program=0xfff7ff5000 <error: Cannot access memory at address 0xfff7ff5000>, len=253) at src/parse.c:149
#1 0x0000000000402206 in lair_execute (program=0x0, len=0) at src/lair.c:33
#2 0x0000000000400bd6 in main (argc=<optimized out>, argv=<optimized out>) at src/main.c:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment