[Qt-creator] Crash when Options dialog is closed

Eike Ziller eike.ziller at nokia.com
Mon Jun 8 10:08:26 CEST 2009


Hi Diego,

thanks for your report. The crash should be fixed in the 1.2 branch  
(8161acac8bc747bde84eca488e88c2c802a6aa7f),
but the change was not merged into master yet.
(The merge should be up on public during the next 12 hours)

Regards, Eike

On Jun 6, 2009, at 4:09 PM, ext Diego Schulz wrote:

> I recently compiled the master branch from Gitorius repository after
> pulling the changes (HEAD dcda330906b2ce8ae1c289832270e102e6cb3936)
> and accidentally noticed that, with an open project, going to  Tools
> -> Preferences  and then trying to apply changes by hitting «Ok»
> button, causes Qt Creator to crash.
>
> Steps to reproduce:
> 1. Open a project
> 2. Open the Options dialog (Tools->Options). It is not necessary to
> change anything.
> 3. Try to apply by clicking
>
> Also, if one cancels the changes in the Options dialogs, the crash is
> not immediate but happens when closing Qt Creator.
>
>
> Here's a backtrace:
>
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0xb6a84700 (LWP 12590)]
> 0x00000001 in ?? ()
> (gdb) bt
> #0  0x00000001 in ?? ()
> #1  0xb338094e in
> Qt4ProjectManager::Internal::QtOptionsPageWidget::~QtOptionsPageWidget
> () from /home/dschulz/build/lib/qtcreator/plugins/Nokia/ 
> libQt4ProjectManager.so
> #2  0xb72c9e3f in QObjectPrivate::deleteChildren () from /usr/lib/ 
> libQtCore.so.4
> #3  0xb766066b in QWidget::~QWidget () from /usr/lib/libQtGui.so.4
> #4  0xb7a3fcd1 in QFrame::~QFrame () from /usr/lib/libQtGui.so.4
> #5  0xb7aaff45 in QStackedWidget::~QStackedWidget () from /usr/lib/ 
> libQtGui.so.4
> #6  0xb72c9e3f in QObjectPrivate::deleteChildren () from /usr/lib/ 
> libQtCore.so.4
> #7  0xb7660ddb in QWidget::~QWidget () from /usr/lib/libQtGui.so.4
> #8  0xb72c9e3f in QObjectPrivate::deleteChildren () from /usr/lib/ 
> libQtCore.so.4
> #9  0xb766066b in QWidget::~QWidget () from /usr/lib/libQtGui.so.4
> #10 0xb7a3fcd1 in QFrame::~QFrame () from /usr/lib/libQtGui.so.4
> #11 0xb7aa9f6b in QSplitter::~QSplitter () from /usr/lib/libQtGui.so.4
> #12 0xb72c9e3f in QObjectPrivate::deleteChildren () from /usr/lib/ 
> libQtCore.so.4
> #13 0xb766066b in QWidget::~QWidget () from /usr/lib/libQtGui.so.4
> #14 0xb7b28776 in QDialog::~QDialog () from /usr/lib/libQtGui.so.4
> #15 0xb5e9239d in Core::Internal::SettingsDialog::~SettingsDialog ()
> from /home/dschulz/build/lib/qtcreator/plugins/Nokia/libCore.so
> #16 0xb5e2fc0e in Core::Internal::MainWindow::showOptionsDialog ()
> from /home/dschulz/build/lib/qtcreator/plugins/Nokia/libCore.so
> #17 0xb5ed880e in Core::Internal::MainWindow::qt_metacall () from
> /home/dschulz/build/lib/qtcreator/plugins/Nokia/libCore.so
> #18 0xb72d0ca8 in QMetaObject::activate () from /usr/lib/ 
> libQtCore.so.4
> #19 0xb72d10e0 in QMetaObject::activate () from /usr/lib/ 
> libQtCore.so.4
> #20 0xb7608891 in QAction::triggered () from /usr/lib/libQtGui.so.4
> #21 0xb760cc6d in QAction::qt_metacall () from /usr/lib/libQtGui.so.4
> #22 0xb72d0ca8 in QMetaObject::activate () from /usr/lib/ 
> libQtCore.so.4
> #23 0xb72d10e0 in QMetaObject::activate () from /usr/lib/ 
> libQtCore.so.4
> #24 0xb7608891 in QAction::triggered () from /usr/lib/libQtGui.so.4
> #25 0xb7609e0f in QAction::activate () from /usr/lib/libQtGui.so.4
> #26 0xb7a8401c in ?? () from /usr/lib/libQtGui.so.4
> #27 0xb7a8a76b in ?? () from /usr/lib/libQtGui.so.4
> #28 0xb7a8b242 in QMenu::mouseReleaseEvent () from /usr/lib/ 
> libQtGui.so.4
> #29 0xb7665b43 in QWidget::event () from /usr/lib/libQtGui.so.4
> #30 0xb7a8d629 in QMenu::event () from /usr/lib/libQtGui.so.4
> #31 0xb760ee9c in QApplicationPrivate::notify_helper () from
> /usr/lib/libQtGui.so.4
> #32 0xb7617b11 in QApplication::notify () from /usr/lib/libQtGui.so.4
> #33 0xb72baa3b in QCoreApplication::notifyInternal () from
> /usr/lib/libQtCore.so.4
> #34 0xb7616b7e in QApplicationPrivate::sendMouseEvent () from
> /usr/lib/libQtGui.so.4
> #35 0xb7686c06 in ?? () from /usr/lib/libQtGui.so.4
> #36 0xb7685ca7 in QApplication::x11ProcessEvent () from /usr/lib/ 
> libQtGui.so.4
> #37 0xb76b0c6a in ?? () from /usr/lib/libQtGui.so.4
> #38 0xb6cdbb88 in g_main_context_dispatch () from /usr/lib/ 
> libglib-2.0.so.0
> #39 0xb6cdf0eb in ?? () from /usr/lib/libglib-2.0.so.0
> #40 0xb6cdf268 in g_main_context_iteration () from /usr/lib/ 
> libglib-2.0.so.0
> #41 0xb72e6438 in QEventDispatcherGlib::processEvents () from
> /usr/lib/libQtCore.so.4
> #42 0xb76b0365 in ?? () from /usr/lib/libQtGui.so.4
> #43 0xb72b906a in QEventLoop::processEvents () from /usr/lib/ 
> libQtCore.so.4
> #44 0xb72b94aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
> #45 0xb72bb959 in QCoreApplication::exec () from /usr/lib/ 
> libQtCore.so.4
> #46 0xb760ed17 in QApplication::exec () from /usr/lib/libQtGui.so.4
> #47 0x08050fe2 in main ()
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator

-- 
Eike Ziller
Software Engineer
Nokia, Qt Software
Phone  +49 (0)30 6392 3255
Fax    +49 (0)30 6392 3256
E-mail eike.ziller at nokia.com








More information about the Qt-creator-old mailing list