Bug 14633 - GDB hangs when running a Qt GUI
Summary: GDB hangs when running a Qt GUI
Status: RESOLVED INVALID
Alias: None
Product: gdb
Classification: Unclassified
Component: gdb (show other bugs)
Version: 7.5
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-27 14:50 UTC by lacelle
Modified: 2012-09-27 15:07 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lacelle 2012-09-27 14:50:27 UTC
When I'm running some Qt code I wrote, which has previously been debug-able quite easily, all of a sudden it hangs every time my program launches.

If I send it SIGCONT, it continues.  I often have to send multiple SIGCONT signals.

This problem goes away if I run strace on the GDB process with "-f -e trace=signal -p <pid>" while I'm trying to debug.

The version I'm running of GDB is 7.5, which I upgraded from the Ubuntu repository's default 7.4.  My version of pthread is 2.0.16.  I'm running Qt 4.8.1, if that's helpful.

I'm sorry that I cannot provide a test case.  I could provide strace info if it would be helpful.  When it's hung, I cannot break out.

The version of libthread_db I'm using is:
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1
Comment 1 lacelle 2012-09-27 14:58:26 UTC
I'm sorry, please ignore this bug report.  I've found the error with something in my .gdbinit file and a pretty printer.
Comment 2 Pedro Alves 2012-09-27 15:07:17 UTC
Thanks.