[Qt-interest] crash of X11 app in create_sys after 4.5 upgrade

Nathan Carter nathancarter5 at gmail.com
Wed Mar 11 19:09:39 CET 2009


Dear List,

After upgrading to Qt 4.5, my application crashes (on Linux only) with  
a segmentation fault and the following stack trace:

strlen					/lib/tls/i686/cmov/libc.so.6
XSetCommand				/usr/lib/libX11.so.6
XSetWMProperties			/usr/lib/libX11.so.6
QWidgetPrivate::create_sys		qwidget_x11.cpp			738
QWidget::create				qwidget.cpp			1259
QWidgetPrivate::createWinId		qwidget.cpp			2183
QWidgetPrivate::createWinId		qwidget.cpp			2164
QWidgetPrivate::setWindowTitle_helper	qwidget.cpp			5337
QWidgetPrivate::setWindowTitle		qwidget.cpp			5368
Ui_LurchLiteWindow::retranslateUi	ui_main.h			215
Ui_LurchLiteWindow::setupUi		ui_main.h			178
(and so on, up to my main.cpp)

The line in question in ui_main.h is this one, which seems to have  
nothing wrong with it (in addition to being auto-generated!):

	toolBar->setWindowTitle(QApplication::translate("LurchLiteWindow",  
"toolBar", 0, QApplication::UnicodeUTF8));

These crashes, being part of X11, do not happen on Win or Mac.  They  
did not happen before I upgraded to Qt 4.5 (from 4.4).

Anyone else hitting similar results?  Any suggested workarounds  
besides a downgrade of Qt?  Shall I file a bug report?

Thanks!

Nathan




More information about the Qt-interest-old mailing list