Skip to content

Instantly share code, notes, and snippets.

@hnakamur
Created September 12, 2012 16:11
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 hnakamur/3707773 to your computer and use it in GitHub Desktop.
Save hnakamur/3707773 to your computer and use it in GitHub Desktop.
build/lev -g tools/checkit tests/test-fs.lua
$ build/lev -g tools/checkit tests/test-fs.lua
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-56.el6)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/hnakamur/mysrc/lev/build/lev...done.
(gdb) r
Starting program: /home/hnakamur/mysrc/lev/build/lev tools/checkit tests/test-fs.lua
[Thread debugging using libthread_db enabled]
*lev core started: 2353
✔ fs_sync_test: 10/10 within 0.206 ms
Program received signal SIGSEGV, Segmentation fault.
0x0000000000471488 in lj_tab_setstr ()
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.80.el6_3.5.x86_64 keyutils-libs-1.4-4.el6.x86_64 krb5-libs-1.9-33.el6_3.2.x86_64 libcom_err-1.41.12-12.el6.x86_64 libgcc-4.4.6-4.el6.x86_64 libselinux-2.0.94-5.3.el6.x86_64 openssl-1.0.0-20.el6_2.5.x86_64 zlib-1.2.3-27.el6.x86_64
(gdb) where
#0 0x0000000000471488 in lj_tab_setstr ()
#1 0x000000000045aaa8 in lua_rawset ()
#2 0x000000000041202c in set_callback (L=0x40000378, name=0x4a56e8 "_cb",
index=4) at src/lev_new_base.c:68
#3 0x00000000004220bc in fs_open (L=0x40000378) at src/lev_new_fs.c:914
#4 0x000000000046d0f6 in lj_BC_FUNCC ()
#5 0x000000000045a5a0 in lua_pcall ()
#6 0x000000000040f603 in docall (L=0x40000378, narg=1, clear=0)
at src/lev_main.c:180
#7 0x000000000040ff5d in handle_script (L=0x40000378, argv=0x7fffffffed78,
n=1) at src/lev_main.c:347
#8 0x00000000004112ef in pmain (L=0x40000378) at src/lev_main.c:811
#9 0x000000000046d0f6 in lj_BC_FUNCC ()
#10 0x0000000000459e62 in lua_cpcall ()
#11 0x0000000000411376 in main (argc=3, argv=0x7fffffffed78)
at src/lev_main.c:851
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment