Skip to content

Instantly share code, notes, and snippets.

@gahr
Created August 7, 2023 13:14
Show Gist options
  • Save gahr/467849a77d49e8dc0d652522822a94e0 to your computer and use it in GitHub Desktop.
Save gahr/467849a77d49e8dc0d652522822a94e0 to your computer and use it in GitHub Desktop.
Program received signal SIGBUS, Bus error.
Object-specific hardware error.
0x0000000000227765 in _open ()
(gdb) bt
#0 0x0000000000227765 in _open ()
#1 0x00000008003f2893 in ?? () from /lib/libc.so.7
#2 0x00000008003d3353 in ?? () from /lib/libc.so.7
#3 0x00000008003d356e in ?? () from /lib/libc.so.7
#4 0x00000008003d31c1 in clock_gettime () from /lib/libc.so.7
#5 0x000000080044e2ef in ?? () from /lib/libc.so.7
#6 0x0000000800424df8 in ?? () from /lib/libc.so.7
#7 0x0000000800424b56 in ?? () from /lib/libc.so.7
#8 0x0000000800414ada in ?? () from /lib/libc.so.7
#9 0x000000080041db66 in ?? () from /lib/libc.so.7
#10 0x000000080041fd71 in ?? () from /lib/libc.so.7
#11 0x00000008002680ad in ?? () from /libexec/ld-elf.so.1
#12 0x0000000000000000 in ?? ()
@gahr
Copy link
Author

gahr commented Aug 7, 2023

  1│ Dump of assembler code for function _open:
  2│    0x0000000000227750 <+0>:     push   %rbp
  3│    0x0000000000227751 <+1>:     mov    %rsp,%rbp
  4│    0x0000000000227754 <+4>:     push   %r15
  5│    0x0000000000227756 <+6>:     push   %r14
  6│    0x0000000000227758 <+8>:     push   %r13
  7│    0x000000000022775a <+10>:    push   %r12
  8│    0x000000000022775c <+12>:    push   %rbx
  9│    0x000000000022775d <+13>:    push   %rax
 10│    0x000000000022775e <+14>:    mov    %rdi,%r14
 11│    0x0000000000227761 <+17>:    mov    0x8(%rdi),%rbx
 12├──> 0x0000000000227765 <+21>:    mov    (%rbx),%rdi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment