New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gdb crash with procinfo command #21
Comments
Could you provide more info about running environment:
|
If you can provide some info on how to setup debugging env, I think I can provide some help on this issue. |
Looks like a bug of GDB (older versions are affected too) when it cannot insert breakpoint then calls to "info program" which is used by peda.get_status(). Workaround: try to run the program once or run outside then attach in gdb. Here are steps to reproduce the crash without peda:
|
I tried your reproduce steps in my environment(Archlinux gdb-7.6.2), it has the same output. So we can report this issue to gdb? |
I think so, but I leave it to you :) |
submitted to gdb bugzilla, thanks very much for your investigation. |
gdb version 7.6.2, peda latest version.
I used peda to debug https://30c3ctf.aachen.ccc.de/static/bigdata.tar.gz
I just typed
and gdb crashed with coredump backtrace below
Any idea what caused the problem and how to fix it? Thanks.
The text was updated successfully, but these errors were encountered: