[Qt-interest] seg faults in QApplication destructor?

John Dailey john.w.dailey at gmail.com
Thu Jan 8 00:33:07 CET 2009


I am working on a QT4.3.4 project that I inherited and it is behaving
in a manner that seems strange to me.  It consistently seg faults in
the QApplication destructor (according to GDB anyway).  The back trace
generated when it does seg fault is not consistant, but it seems to go
through QHash and free on it's ultimate path to oblivion.  I am a
novice when it comes to QT and to gui programming in general so I fear
I may be missing something obvious.

Does anyone have any ideas what could be causing my code to seg fault
in a somewhat inconsistent manner?  Any recommendations on how I
proceed to debug this?  Any additional information I could provide to
help figure this out?

Also, the same code will rarely seg fault shortly after loading.  I
haven't been able to gather much data on that fault since I haven't
gotten it to happen in GDB yet...  Perhaps they are related?

Thanks,
John



More information about the Qt-interest-old mailing list