Skip to content

Instantly share code, notes, and snippets.

@Ingvix
Created March 14, 2018 18:22
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 Ingvix/d2fe2da3bb478088f4b2a24ca29f99d7 to your computer and use it in GitHub Desktop.
Save Ingvix/d2fe2da3bb478088f4b2a24ca29f99d7 to your computer and use it in GitHub Desktop.
[nemo@Sailfish minimer]$ gdb test_sf
GNU gdb (GDB) Mer (7.6.2+git2)
Copyright (C) 2013 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 "armv7hl-meego-linux-gnueabi".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/test_sf...(no debugging symbols found)...done.
(gdb) start
Temporary breakpoint 1 at 0x10f6c
Starting program: /usr/bin/test_sf
Missing separate debuginfo for /lib/ld-linux-armhf.so.3
Try: zypper install -C "debuginfo(build-id)=727f5251a784ab18543911ac0f5b29c769a4d71d"
Missing separate debuginfo for /lib/libdl.so.2
Try: zypper install -C "debuginfo(build-id)=f6eaf727102bd845c6620a9bdd17669491e52f9e"
Missing separate debuginfo for /lib/librt.so.1
Try: zypper install -C "debuginfo(build-id)=a110752e963e0e41c1f9ae54c6b3c7df43b110c6"
Missing separate debuginfo for /lib/libc.so.6
Try: zypper install -C "debuginfo(build-id)=ee1d512fe64ebd0fefb6b9a1aebfd9f1e50c8f74"
Missing separate debuginfo for /usr/lib/libstdc++.so.6
Try: zypper install -C "debuginfo(build-id)=8150765797650e566eff7b5fe0adf8857744daae"
Missing separate debuginfo for /lib/libm.so.6
Try: zypper install -C "debuginfo(build-id)=83216128b230cde18d4174eee33576d7b372971f"
Missing separate debuginfo for /lib/libgcc_s.so.1
Try: zypper install -C "debuginfo(build-id)=8c67ca955aceccdb9761a89b80b74df40dc0833a"
Missing separate debuginfo for /lib/libpthread.so.0
Try: zypper install -C "debuginfo(build-id)=b7f73be8972aed041844797ddc603ba196a69056"
warning: File "/lib/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
To enable execution of this file add
add-auto-load-safe-path /lib/libthread_db-1.0.so
line to your configuration file "/home/nemo/.gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "/home/nemo/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
info "(gdb)Auto-loading safe path"
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
Temporary breakpoint 1, 0x00010f6c in main ()
(gdb) bt
#0 0x00010f6c in main ()
(gdb) bt full
#0 0x00010f6c in main ()
No symbol table info available.
(gdb) c
Continuing.
Turning off screen
Turning on screen
Program received signal SIGSEGV, Segmentation fault.
0x4017d9f8 in pthread_cond_broadcast () from /lib/libpthread.so.0
(gdb) bt
#0 0x4017d9f8 in pthread_cond_broadcast () from /lib/libpthread.so.0
#1 0x4016c134 in ?? ()
#2 0x4016c134 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) bt full
#0 0x4017d9f8 in pthread_cond_broadcast () from /lib/libpthread.so.0
No symbol table info available.
#1 0x4016c134 in ?? ()
No symbol table info available.
#2 0x4016c134 in ?? ()
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) c
Continuing.
[LWP 5962 exited]
Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment