Skip to content

Instantly share code, notes, and snippets.

@gmorell

gmorell/gdb.txt Secret

Created February 5, 2024 21:26
Show Gist options
  • Save gmorell/5c77fc35a70c1c33ce1f72004d2e43c4 to your computer and use it in GitHub Desktop.
Save gmorell/5c77fc35a70c1c33ce1f72004d2e43c4 to your computer and use it in GitHub Desktop.
shani
# gdb shani /tmp/corez.6163
GNU gdb (GDB) 11.2
Copyright (C) 2022 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 "arm-poky-linux-gnueabi".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from shani...
(No debugging symbols found in shani)
[New LWP 6163]
[New LWP 6165]
[New LWP 6164]
[New LWP 6166]
[New LWP 6168]
[New LWP 6169]
[New LWP 6167]
[New LWP 6170]
[New LWP 6171]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `shani collect'.
--Type <RET> for more, q to quit, c to continue without paging--
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0xb6deb2e4 in strlen () from /lib/libc.so.6
[Current thread is 1 (Thread 0xb6f9e020 (LWP 6163))]
(gdb)
(gdb)
---
futex(0xb6f7b814, FUTEX_WAKE_PRIVATE, 2147483647) = 0
openat(AT_FDCWD, 0x10, O_RDONLY|O_LARGEFILE) = -1 EFAULT (Bad address)
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x10} ---
rt_sigaction(SIGSEGV, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0xb6db0711}, NULL, 8) = 0
rt_sigreturn({mask=[]}) = -1 ENOEXEC (Exec format error)
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x10} ---
+++ killed by SIGSEGV (core dumped) +++
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment