[Bug 923979] [NEW] Segmentation fault when running a very simple Qt application compiled in 'release' configuration

dmitry 923979 at bugs.launchpad.net
Mon Jan 30 21:52:11 UTC 2012


Public bug reported:

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/x86_64/multiarch/strlen-sse4.S:32
#1  0x00007ffff43c746c in XSetCommand () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#2  0x00007ffff43cc1f9 in XSetWMProperties () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#3  0x00007ffff7395945 in QWidgetPrivate::create_sys (this=0x803660, window=71303174, 
    initializeWindow=true, destroyOldWindow=171) at kernel/qwidget_x11.cpp:801
#4  0x00007ffff73422cb in QWidget::create (this=0x7fffffffde10, window=0, initializeWindow=true, 
    destroyOldWindow=true) at kernel/qwidget.cpp:1487
#5  0x00007ffff734cbaa in QWidget::setVisible (this=0x7fffffffde10, visible=<optimized out>)
    at kernel/qwidget.cpp:7632
#6  0x00007ffff77b04ec in QDialog::setVisible (this=0x7fffffffde10, visible=<optimized out>)
    at dialogs/qdialog.cpp:739
#7  0x00007ffff77af290 in show (this=0x7fffffffde10)
    at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#8  QDialog::exec (this=<optimized out>) at dialogs/qdialog.cpp:543
#9  0x00007ffff77d0202 in showNewMessageBox (parent=<optimized out>, icon=<optimized out>, 
    title=<optimized out>, text=<optimized out>, buttons=..., defaultButton=QMessageBox::NoButton)
    at dialogs/qmessagebox.cpp:1538
#10 0x00007ffff77d032f in QMessageBox::warning (parent=<optimized out>, title=<optimized out>, 
    text=<optimized out>, buttons=<optimized out>, defaultButton=<optimized out>)
    at dialogs/qmessagebox.cpp:1638
#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.

** Affects: qt4-x11 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to qt4-x11 in Ubuntu.
https://bugs.launchpad.net/bugs/923979

Title:
  Segmentation fault when running a very simple Qt application compiled
  in 'release' configuration

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/923979/+subscriptions




More information about the kubuntu-bugs mailing list