Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 3.2.2
-
None
-
Qt version: 5.3.2
OS: openSUSE 13.2 x64
Description
I was about to create a QtWidget-based project. When it came to the part when I had to choose which kit I would like to use, I choose "Manage..." and deleted an old kit (denoted by a yellow warning sign). When I clicked on "Apply", QtCreator crashed.
I tried later and removed that kit using Tools > Options > Build and run and with that method everything went successfully.
Console log:
QObject: shared QObject was deleted directly. The program is malformed and may crash. Program received signal SIGSEGV, Segmentation fault.
Backtrace:
#0 0x00000000000002c1 in () #1 0x00007ffff64f9300 in QObject::~QObject() (pointer=<optimized out>) at ../../src/corelib/tools/qscopedpointer.h:62 #2 0x00007ffff64f9300 in QObject::~QObject() (this=0x2e93d68, __in_chrg=<optimized out>) at ../../src/corelib/tools/qscopedpointer.h:109 #3 0x00007ffff64f9300 in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:880 #4 0x00007ffff64f95f9 in QObject::~QObject() (this=0x2e93d60, __in_chrg=<optimized out>) at kernel/qobject.cpp:1034 #5 0x00007ffff64f2768 in QObject::event(QEvent*) (this=0x2e93d60, e=<optimized out>) at kernel/qobject.cpp:1232 #6 0x00007ffff74b4cfc in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x660a30, receiver=receiver@entry=0x2e93d60, e=e@entry=0x2fe4740) at kernel/qapplication.cpp:3499 #7 0x00007ffff74b9c36 in QApplication::notify(QObject*, QEvent*) (this=0x7fffffffd490, receiver=0x2e93d60, e=0x2fe4740) at kernel/qapplication.cpp:3282 #8 0x00007ffff64c2b35 in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7fffffffd490, receiver=0x2e93d60, event=event@entry=0x2fe4740) at kernel/qcoreapplication.cpp:935 #9 0x00007ffff64c4987 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x2fe4740, receiver=<optimized out>) at kernel/qcoreapplication.h:237 #10 0x00007ffff64c4987 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x65f860) at kernel/qcoreapplication.cpp:1539 #11 0x00007ffff64c4fb8 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1397 #12 0x00007ffff651a423 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x6bb170) at kernel/qeventdispatcher_glib.cpp:279 #13 0x00007ffff4efea04 in g_main_context_dispatch (context=0x7fffe40016f0) at gmain.c:3111 #14 0x00007ffff4efea04 in g_main_context_dispatch (context=context@entry=0x7fffe40016f0) at gmain.c:3710 #15 0x00007ffff4efec48 in g_main_context_iterate (context=context@entry=0x7fffe40016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3781 #16 0x00007ffff4efecec in g_main_context_iteration (context=0x7fffe40016f0, may_block=1) at gmain.c:3842 #17 0x00007ffff651989c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x6bd7c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #18 0x00007ffff64c0a4b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x2df3f40, flags=...) at kernel/qeventloop.cpp:212 #19 0x00007fffd8a55913 in Core::WizardEventLoop::execWizardPage(QWizard&) () at /usr/lib64/qtcreator/plugins/libCore.so #20 0x00007fffd8a57cc4 in Core::BaseFileWizardFactory::runWizard(QString const&, QWidget*, QString const&, QMap<QString, QVariant> const&) () at /usr/lib64/qtcreator/plugins/libCore.so #21 0x00007fffd8a36f77 in Core::Internal::NewDialog::okButtonClicked() () at /usr/lib64/qtcreator/plugins/libCore.so #22 0x00007ffff64f1a7e in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x2d4b5f0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fffffffc1f0) at kernel/qobject.cpp:3681 #23 0x00007ffff64f1f37 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x2d4b5f0, m=m@entry=0x7ffff7b8d580 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fffffffc1f0) at kernel/qobject.cpp:3547 #24 0x00007ffff781b2b2 in QAbstractButton::clicked(bool) (this=this@entry=0x2d4b5f0, _t1=false) at .moc/moc_qabstractbutton.cpp:297 #25 0x00007ffff75ab396 in QAbstractButtonPrivate::emitClicked() (this=0x2d4b760) at widgets/qabstractbutton.cpp:542 #26 0x00007ffff75abeae in QAbstractButtonPrivate::click() (this=0x2d4b760) at widgets/qabstractbutton.cpp:535 #27 0x00007ffff75ac024 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) (this=0x2d4b5f0, e=0x7fffffffc690) at widgets/qabstractbutton.cpp:1140 #28 0x00007ffff74efc85 in QWidget::event(QEvent*) (this=0x2d4b5f0, event=0x7fffffffc690) at kernel/qwidget.cpp:7965 #29 0x00007ffff74b4cfc in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x660a30, receiver=receiver@entry=0x2d4b5f0, e=e@entry=0x7fffffffc690) at kernel/qapplication.cpp:3499 #30 0x00007ffff74ba76b in QApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x2d4b5f0, e=0x7fffffffc690) at kernel/qapplication.cpp:3066 #31 0x00007ffff64c2b35 in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7fffffffd490, receiver=receiver@entry=0x2d4b5f0, event=event@entry=0x7fffffffc690) at kernel/qcoreapplication.cpp:935 #32 0x00007ffff74b8ad1 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (event=0x7fffffffc690, receiver=0x2d4b5f0) at ../../src/corelib/kernel/qcoreapplication.h:240 #33 0x00007ffff74b8ad1 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (receiver=receiver@entry=0x2d4b5f0, event=event@entry=0x7fffffffc690, alienWidget=alienWidget@entry=0x2d4b5f0, nativeWidget=0x2d1cea0, buttonDown=buttonDown@entry=0x7ffff7b9c3f0 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:2539 #34 0x00007ffff750d5f7 in QWidgetWindow::handleMouseEvent(QMouseEvent*) (this=this@entry=0x2d48f00, event=event@entry=0x7fffffffcad0) at kernel/qwidgetwindow.cpp:507 #35 0x00007ffff750f8bb in QWidgetWindow::event(QEvent*) (this=0x2d48f00, event=0x7fffffffcad0) at kernel/qwidgetwindow.cpp:179 #36 0x00007ffff74b4cfc in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x660a30, receiver=receiver@entry=0x2d48f00, e=e@entry=0x7fffffffcad0) at kernel/qapplication.cpp:3499 #37 0x00007ffff74b9c36 in QApplication::notify(QObject*, QEvent*) (this=0x7fffffffd490, receiver=0x2d48f00, e=0x7fffffffcad0) at kernel/qapplication.cpp:3282 #38 0x00007ffff64c2b35 in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7fffffffd490, receiver=receiver@entry=0x2d48f00, event=event@entry=0x7fffffffcad0) at kernel/qcoreapplication.cpp:935 #39 0x00007ffff69f74de in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (event=0x7fffffffcad0, receiver=0x2d48f00) at ../../src/corelib/kernel/qcoreapplication.h:240 #40 0x00007ffff69f74de in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x2d5c950) at kernel/qguiapplication.cpp:1748 #41 0x00007ffff69f8ad5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) (e=e@entry=0x2d5c950) at kernel/qguiapplication.cpp:1549 #42 0x00007ffff69df5a8 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=...) at kernel/qwindowsysteminterface.cpp:579 #43 0x00007fffecce2f30 in userEventSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:78 #44 0x00007ffff4efea04 in g_main_context_dispatch (context=0x7fffe40016f0) at gmain.c:3111 #45 0x00007ffff4efea04 in g_main_context_dispatch (context=context@entry=0x7fffe40016f0) at gmain.c:3710 #46 0x00007ffff4efec48 in g_main_context_iterate (context=context@entry=0x7fffe40016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3781 #47 0x00007ffff4efecec in g_main_context_iteration (context=0x7fffe40016f0, may_block=1) at gmain.c:3842 #48 0x00007ffff651989c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x6bd7c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #49 0x00007ffff64c0a4b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffce50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212 #50 0x00007ffff64c80a6 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1188 #51 0x000000000040a48a in main ()
Attachments
For Gerrit Dashboard: QTCREATORBUG-13499 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
100839,2 | ProjectExplorer: Fix crash on deleting kit from new dialog | 3.3 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |