No debugging information after segfault
-
Dear all,
I can't get the debugger to run properly. When I want to explore a segmentation fault, there are apparently no debugging symbols found:
I use a Windows setup with MinGW and GDB (fresh install with the online installer).
I highly appreciate any ideas & comments!
Best,
Sebastian -
Hi
I never saw that before.Does it work with a default widgets GUI project?
-
Yes, it is just a mainwindow and a push button. On my Linux machine everything is fine, as well. :-/
-
And you just installed mingw and using the included debugger in that binary download?
-
@SebastianH
Hmm, normally mingw provides "just works" out of the box.Could there be any virus scanner interfering with the installation?
Also does it work in any project or does it never ever show debug info?
-
@SebastianH
Ah, but if you segfault outside the code, ( as in a dll) that is normal.
Have you tried single stepping to know where in code it faults? -
I tried to investigate the issue further and figured out the following:
- it seems to be a problem with gdb and its disassembler
- when I start gdb in the console, it doesn't show me where the crash occurs, too
- in the debugger log, I get an error message "Disassembler failed"
- I tried also on another VM (Win 10, also) and a Win 7 Desktop and it works on the VM, however not on the Desktop and my first VM. I have no clue what the differences between these installations are :-(
Is anyone aware of any Windows/Qt/MinGW settings that could make the disassembler fail?
Thanks for any ideas,
Sebastian - it seems to be a problem with gdb and its disassembler