[Bug gdb/34047] gdb Fatal signal: Bus error | SIGBUS (Misaligned address error)
simark at simark dot ca via Gdb-prs <[email protected]>
| Newsgroups | gmane.comp.gdb.bugs.discuss |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://sourceware.org/bugzilla/show_bug.cgi?id=34047 --- Comment #10 from Simon Marchi <simark at simark dot ca> --- (In reply to k4lizen from comment #8) > Here is how to reproduce the actual crash: > > ```bash > $ docker run -it --security-opt seccomp=unconfined > ghcr.io/pwndbg/pwndbg:ubuntu24.04 /bin/bash > # cd ~ > # apt update && apt install -y tmux 7zip > # wget https://files.catbox.moe/fg6zkn.7z > # 7z x fg6zkn.7z -psooreproducable > # tmux > $ ./exploit.py > pwndbg> break __spawni_child > pwndbg> continue > pwndbg> continue > ``` I tried with these instructions, and I do get a crash, I see this: ----- Backtrace ----- /venv/lib/python3.12/site-packages/gdb_for_pwndbg/_vendor/bin/gdb(_Z22gdb_internal_backtracev+0x49)[0x19c75d9] /venv/lib/python3.12/site-packages/gdb_for_pwndbg/_vendor/bin/gdb[0x1eff77f] /venv/lib/python3.12/site-packages/gdb_for_pwndbg/_vendor/bin/gdb(_Z15internal_verrorPKciS0_P13__va_list_tag+0x1b)[0x1eff5eb] /venv/lib/python3.12/site-packages/gdb_for_pwndbg/_vendor/bin/gdb(_Z18internal_error_locPKciS0_z+0x90)[0x24dc920] /venv/lib/python3.12/site-packages/gdb_for_pwndbg/_vendor/bin/gdb[0x1cdd2d6] /venv/lib/python3.12/site-packages/gdb_for_pwndbg/_vendor/bin/gdb(_Z24switch_to_thread_no_regsP11thread_info+0x90)[0x1eb43d0] /venv/lib/python3.12/site-packages/gdb_for_pwndbg/_vendor/bin/gdb(_Z16switch_to_threadP11thread_info+0x17)[0x1eb2a07] /venv/lib/python3.12/site-packages/gdb_for_pwndbg/_vendor/bin/gdb[0x1b91c57] /venv/lib/python3.12/site-packages/gdb_for_pwndbg/_vendor/bin/gdb(_Z8cmd_funcP16cmd_list_elementPKci+0x32)[0x1a01082] /venv/lib/python3.12/site-packages/gdb_for_pwndbg/_vendor/bin/gdb(_Z15execute_commandPKci+0x5be)[0x1ec078e] /venv/lib/python3.12/site-packages/gdb_for_pwndbg/_vendor/bin/gdb[0x1a07bf8] /venv/lib/python3.12/site-packages/gdb_for_pwndbg/_vendor/bin/gdb[0x1a0a1fb] /venv/lib/python3.12/site-packages/gdb_for_pwndbg/_vendor/bin/gdb[0x1ec0d02] /venv/lib/python3.12/site-packages/gdb_for_pwndbg/_vendor/bin/gdb(_Z20execute_fn_to_stringRNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS_8functionIFvvEEEb+0xad)[0x1ec0b5d] /venv/lib/python3.12/site-packages/gdb_for_pwndbg/_vendor/bin/gdb(_Z34execute_control_commands_to_stringP12command_lineib+0x5f)[0x1a0770f] /venv/lib/python3.12/site-packages/gdb_for_pwndbg/_vendor/bin/gdb[0x1d3586d] /venv/lib/python3.12/site-packages/gdb_for_pwndbg/_vendor/bin/../../../../../../lib/libpython3.12.so.1.0(+0x1df4b8)[0x7f95d36f54b8] /venv/lib/python3.12/site-packages/gdb_for_pwndbg/_vendor/bin/../../../../../../lib/libpython3.12.so.1.0(_PyObject_MakeTpCall+0x8f)[0x7f95d36987df] /venv/lib/python3.12/site-packages/gdb_for_pwndbg/_vendor/bin/../../../../../../lib/libpython3.12.so.1.0(_PyEval_EvalFrameDefault+0x40ee)[0x7f95d36335ee] /venv/lib/python3.12/site-packages/gdb_for_pwndbg/_vendor/bin/../../../../../../lib/libpython3.12.so.1.0(+0x4172bd)[0x7f95d392d2bd] /venv/lib/python3.12/site-packages/gdb_for_pwndbg/_vendor/bin/../../../../../../lib/libpython3.12.so.1.0(_PyEval_EvalFrameDefault+0x8ec)[0x7f95d362fdec] /venv/lib/python3.12/site-packages/gdb_for_pwndbg/_vendor/bin/../../../../../../lib/libpython3.12.so.1.0(+0x182d9e)[0x7f95d3698d9e] /venv/lib/python3.12/site-packages/gdb_for_pwndbg/_vendor/bin/../../../../../../lib/libpython3.12.so.1.0(PyObject_CallFunctionObjArgs+0xae)[0x7f95d36992de] /venv/lib/python3.12/site-packages/gdb_for_pwndbg/_vendor/bin/gdb(_Z15evpy_emit_eventP7_objectP20eventregistry_object+0x75)[0x1cf3fa5] /venv/lib/python3.12/site-packages/gdb_for_pwndbg/_vendor/bin/gdb(_Z17emit_exited_eventPKlP8inferior+0x169)[0x1cf49e9] Backtrace might be incomplete. This shows GDB hitting an internal error. To investigate it, we'd probably have to be able to reproduce it with a GDB compiled with debug info, so we can debug it properly. -- You are receiving this mail because: You are on the CC list for the bug.