Segmentation fault when running a very simple Qt application compiled in 'release' configuration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qt4-x11 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 11.10 AMD64, libqt4-dev 4:4.7.4-0ubuntu8.1.
Running a very simple application that is built with 'release' flags causes SIGSEGV.
GDB stack trace:
#0 __strlen_sse42 () at ../sysdeps/
#1 0x00007ffff43c746c in XSetCommand () from /usr/lib/
#2 0x00007ffff43cc1f9 in XSetWMProperties () from /usr/lib/
#3 0x00007ffff7395945 in QWidgetPrivate:
initializeW
#4 0x00007ffff73422cb in QWidget::create (this=0x7ffffff
destroyOldW
#5 0x00007ffff734cbaa in QWidget::setVisible (this=0x7ffffff
at kernel/
#6 0x00007ffff77b04ec in QDialog::setVisible (this=0x7ffffff
at dialogs/
#7 0x00007ffff77af290 in show (this=0x7ffffff
at ../../include/
#8 QDialog::exec (this=<optimized out>) at dialogs/
#9 0x00007ffff77d0202 in showNewMessageBox (parent=<optimized out>, icon=<optimized out>,
title=
at dialogs/
#10 0x00007ffff77d032f in QMessageBox:
text=<optimized out>, buttons=<optimized out>, defaultButton=
at dialogs/
#11 0x0000000000400875 in main ()
Attached is a tarball with a project that causes this issue.
I have tested it on two independent computers both running the same OS version.
Can be closed as 'Invalid'. The problem is wrong application design.