Search code examples
c++gdbqt-creator

Stepping through the debbuger in qtcreator causes gdb crash after a couple seconds


After I step through any code in this file in particular in a static library, gdb crashes after a couple of seconds.

I can step through other parts of the static library and shared libs that I have loaded and it works fine. The program runs fine and does not crash after gdb crashes.

gdb version 7.5.91.20130417-cvs-ubuntu on linux mint 15

How do I stop gdb from crashing in qtcreator?


Solution

  • If GDB is crashing, that sounds like a bug in GDB, from their docs:

    If the debugger gets a fatal signal, for any input whatever, that is a gdb bug. Reliable debuggers never crash.

    Which version are you running/does upgrading to a newer version help?