Application: umbrello (2.11.3) KDE Platform Version: 4.11.3 Qt Version: 4.8.4 Operating System: Linux 3.11.0-15-generic x86_64 Distribution: Ubuntu 13.10 -- Information about the crash: - What I was doing when the application crashed: I added a foreign key to a column that was also and already defined as a primary key The crash can be reproduced every time. -- Backtrace: Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7fd90fd0f7c0 (LWP 22664))] Thread 3 (Thread 0x7fd8fba2c700 (LWP 22667)): #0 0x00007fd90c1ff6bd in read () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fd908f95670 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fd908f561cc in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fd908f5663b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007fd908f56b0a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007fd903484b66 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 #6 0x00007fd908f7b0f5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #7 0x00007fd90941bf6e in start_thread (arg=0x7fd8fba2c700) at pthread_create.c:311 #8 0x00007fd90c20d9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 2 (Thread 0x7fd8fa962700 (LWP 22668)): #0 __GI___pthread_mutex_lock (mutex=0x1b367b0) at pthread_mutex_lock.c:50 #1 0x00007fd908f963a1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fd908f56659 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fd908f567ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007fd908f567f9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007fd908f7b0f5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #6 0x00007fd90941bf6e in start_thread (arg=0x7fd8fa962700) at pthread_create.c:311 #7 0x00007fd90c20d9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 1 (Thread 0x7fd90fd0f7c0 (LWP 22664)): [KCrash Handler] #6 QString (other=..., this=this@entry=0x7fff5f12cd40) at /usr/include/qt4/QtCore/qstring.h:725 #7 UMLObject::doc (this=this@entry=0x30) at ../../umbrello/umlobject.cpp:406 #8 0x00000000004613c7 in ClassifierListPage::slotActivateItem (this=0x262b490, item=<optimized out>) at ../../umbrello/dialogs/classifierlistpage.cpp:354 #9 0x00007fd90db39a58 in QMetaObject::activate (sender=sender@entry=0x262b2d0, m=m@entry=0x7fd90d989780 <QListWidget::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7fff5f12ce90) at kernel/qobject.cpp:3539 #10 0x00007fd90d41bfdb in QListWidget::currentItemChanged (this=this@entry=0x262b2d0, _t1=_t1@entry=0x23dfd30, _t2=0x0) at .moc/release-shared/moc_qlistwidget.cpp:247 #11 0x00007fd90d41c0ec in QListWidgetPrivate::_q_emitCurrentItemChanged (this=0x262be40, current=..., previous=...) at itemviews/qlistwidget.cpp:1112 #12 0x00007fd90db39a58 in QMetaObject::activate (sender=sender@entry=0x262ec90, m=m@entry=0x7fd90d988fc0 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff5f12d030) at kernel/qobject.cpp:3539 #13 0x00007fd90d40ac7a in QItemSelectionModel::currentChanged (this=this@entry=0x262ec90, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:173 #14 0x00007fd90d40ad5d in QItemSelectionModel::setCurrentIndex (this=0x262ec90, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1175 #15 0x00007fd90d41b588 in QListWidget::setCurrentRow (this=0x262b2d0, row=1) at itemviews/qlistwidget.cpp:1488 #16 0x00007fd90d41b5d4 in QListWidget::setCurrentItem (this=<optimized out>, item=<optimized out>) at itemviews/qlistwidget.cpp:1455 #17 0x0000000000461746 in ClassifierListPage::slotListItemCreated (this=0x262b490, object=0x271bd70) at ../../umbrello/dialogs/classifierlistpage.cpp:400 #18 0x00007fd90db39a58 in QMetaObject::activate (sender=0x1c54ed0, m=m@entry=0x816480 <UMLDoc::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7fff5f12d310) at kernel/qobject.cpp:3539 #19 0x0000000000740d60 in sigObjectCreated (_t1=0x271bd70, this=<optimized out>) at ./umldoc.moc:167 #20 UMLDoc::signalUMLObjectCreated (this=<optimized out>, o=o@entry=0x271bd70) at ../../umbrello/umldoc.cpp:1616 #21 0x00000000006e145c in UMLEntity::createForeignKeyConstraint (this=0x233b2d0, name=...) at ../../umbrello/entity.cpp:244 #22 0x000000000070f0ee in Object_Factory::createChildObject (parent=0x233b2d0, type=UMLObject::ot_ForeignKeyConstraint) at ../../umbrello/object_factory.cpp:288 #23 0x00000000004628b2 in ClassifierListPage::slotNewListItem (this=0x262b490) at ../../umbrello/dialogs/classifierlistpage.cpp:735 #24 0x0000000000463377 in slotNewForeignKeyConstraint (this=<optimized out>) at ../../umbrello/dialogs/constraintlistpage.cpp:125 #25 ConstraintListPage::qt_static_metacall (_o=0x262b490, _c=48, _id=0, _a=0x7fd90c4d4750 <main_arena+16>) at ./constraintlistpage.moc:57 #26 0x00007fd90db39a58 in QMetaObject::activate (sender=sender@entry=0x263a2c0, m=m@entry=0x7fd90d96bde0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff5f12d5c0) at kernel/qobject.cpp:3539 #27 0x00007fd90cebca32 in QAction::triggered (this=this@entry=0x263a2c0, _t1=false) at .moc/release-shared/moc_qaction.cpp:277 #28 0x00007fd90cebe403 in QAction::activate (this=this@entry=0x263a2c0, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257 #29 0x00007fd90d2eb7f9 in QMenuPrivate::activateCausedStack (this=this@entry=0x263ac80, causedStack=..., action=action@entry=0x263a2c0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1038 #30 0x00007fd90d2efd19 in QMenuPrivate::activateAction (this=0x263ac80, action=0x263a2c0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1130 #31 0x00007fd90d2f36e5 in QMenu::mouseReleaseEvent (this=this@entry=0x263abf0, e=e@entry=0x7fff5f12dcf0) at widgets/qmenu.cpp:2372 #32 0x00007fd90e87c175 in KMenu::mouseReleaseEvent (this=0x263abf0, e=0x7fff5f12dcf0) at ../../kdeui/widgets/kmenu.cpp:464 #33 0x00007fd90cf1231e in QWidget::event (this=this@entry=0x263abf0, event=event@entry=0x7fff5f12dcf0) at kernel/qwidget.cpp:8375 #34 0x00007fd90d2f3aeb in QMenu::event (this=0x263abf0, e=0x7fff5f12dcf0) at widgets/qmenu.cpp:2481 #35 0x00007fd90cec2dfc in QApplicationPrivate::notify_helper (this=this@entry=0x19a1560, receiver=receiver@entry=0x263abf0, e=e@entry=0x7fff5f12dcf0) at kernel/qapplication.cpp:4567 #36 0x00007fd90cec95ad in QApplication::notify (this=this@entry=0x7fff5f1305c0, receiver=receiver@entry=0x263abf0, e=e@entry=0x7fff5f12dcf0) at kernel/qapplication.cpp:4110 #37 0x00007fd90e7c5a6a in KApplication::notify (this=0x7fff5f1305c0, receiver=0x263abf0, event=0x7fff5f12dcf0) at ../../kdeui/kernel/kapplication.cpp:311 #38 0x00007fd90db258bd in QCoreApplication::notifyInternal (this=0x7fff5f1305c0, receiver=receiver@entry=0x263abf0, event=event@entry=0x7fff5f12dcf0) at kernel/qcoreapplication.cpp:946 #39 0x00007fd90cec8d63 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #40 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x263abf0, event=event@entry=0x7fff5f12dcf0, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x263abf0, buttonDown=buttonDown@entry=0x7fd90d9a72f8 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178 #41 0x00007fd90cf3db0c in QETWidget::translateMouseEvent (this=this@entry=0x263abf0, event=event@entry=0x7fff5f12e040) at kernel/qapplication_x11.cpp:4565 #42 0x00007fd90cf3d079 in QApplication::x11ProcessEvent (this=0x7fff5f1305c0, event=event@entry=0x7fff5f12e040) at kernel/qapplication_x11.cpp:3624 #43 0x00007fd90cf64922 in x11EventSourceDispatch (s=0x199e400, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #44 0x00007fd908f563b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #45 0x00007fd908f56708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #46 0x00007fd908f567ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #47 0x00007fd90db52a76 in QEventDispatcherGlib::processEvents (this=0x19a0c30, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #48 0x00007fd90cf649d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #49 0x00007fd90db245ef in QEventLoop::processEvents (this=this@entry=0x7fff5f12e430, flags=...) at kernel/qeventloop.cpp:149 #50 0x00007fd90db248e5 in QEventLoop::exec (this=this@entry=0x7fff5f12e430, flags=...) at kernel/qeventloop.cpp:204 #51 0x00007fd90d2f28e7 in QMenu::exec (this=0x263abf0, p=..., action=action@entry=0x0) at widgets/qmenu.cpp:2125 #52 0x00007fd90d2fcf3f in QPushButtonPrivate::_q_popupPressed (this=0x2631900) at widgets/qpushbutton.cpp:592 #53 0x00007fd90db39a58 in QMetaObject::activate (sender=sender@entry=0x26318d0, m=m@entry=0x7fd90d9952a0 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539 #54 0x00007fd90d5106e0 in QAbstractButton::pressed (this=this@entry=0x26318d0) at .moc/release-shared/moc_qabstractbutton.cpp:207 #55 0x00007fd90d274006 in QAbstractButtonPrivate::emitPressed (this=this@entry=0x2631900) at widgets/qabstractbutton.cpp:562 #56 0x00007fd90d2745ac in QAbstractButton::mousePressEvent (this=0x26318d0, e=0x7fff5f12ea50) at widgets/qabstractbutton.cpp:1098 #57 0x00007fd90cf12191 in QWidget::event (this=0x26318d0, event=0x7fff5f12ea50) at kernel/qwidget.cpp:8371 #58 0x00007fd90cec2dfc in QApplicationPrivate::notify_helper (this=this@entry=0x19a1560, receiver=receiver@entry=0x26318d0, e=e@entry=0x7fff5f12ea50) at kernel/qapplication.cpp:4567 #59 0x00007fd90cec95ad in QApplication::notify (this=this@entry=0x7fff5f1305c0, receiver=receiver@entry=0x26318d0, e=e@entry=0x7fff5f12ea50) at kernel/qapplication.cpp:4110 #60 0x00007fd90e7c5a6a in KApplication::notify (this=0x7fff5f1305c0, receiver=0x26318d0, event=0x7fff5f12ea50) at ../../kdeui/kernel/kapplication.cpp:311 #61 0x00007fd90db258bd in QCoreApplication::notifyInternal (this=0x7fff5f1305c0, receiver=receiver@entry=0x26318d0, event=event@entry=0x7fff5f12ea50) at kernel/qcoreapplication.cpp:946 #62 0x00007fd90cec8d63 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #63 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x26318d0, event=event@entry=0x7fff5f12ea50, alienWidget=alienWidget@entry=0x26318d0, nativeWidget=nativeWidget@entry=0x22db460, buttonDown=buttonDown@entry=0x7fd90d9a72f8 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178 #64 0x00007fd90cf3d7db in QETWidget::translateMouseEvent (this=this@entry=0x22db460, event=event@entry=0x7fff5f12edd0) at kernel/qapplication_x11.cpp:4631 #65 0x00007fd90cf3d079 in QApplication::x11ProcessEvent (this=0x7fff5f1305c0, event=event@entry=0x7fff5f12edd0) at kernel/qapplication_x11.cpp:3624 #66 0x00007fd90cf64922 in x11EventSourceDispatch (s=0x199e400, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #67 0x00007fd908f563b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #68 0x00007fd908f56708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #69 0x00007fd908f567ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #70 0x00007fd90db52a55 in QEventDispatcherGlib::processEvents (this=0x19a0c30, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #71 0x00007fd90cf649d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #72 0x00007fd90db245ef in QEventLoop::processEvents (this=this@entry=0x7fff5f12f1c0, flags=...) at kernel/qeventloop.cpp:149 #73 0x00007fd90db248e5 in QEventLoop::exec (this=this@entry=0x7fff5f12f1c0, flags=...) at kernel/qeventloop.cpp:204 #74 0x00007fd90d36938c in QDialog::exec (this=0x22db460) at dialogs/qdialog.cpp:554 #75 0x00000000006a79d2 in UMLWidget::showPropertiesDialog (this=0x23df930) at ../../umbrello/widgets/umlwidget.cpp:797 #76 0x00000000006b572d in WidgetBase::slotMenuSelection (this=0x23df930, trigger=<optimized out>) at ../../umbrello/widgets/widgetbase.cpp:742 #77 0x00000000006b5e26 in WidgetBase::contextMenuEvent (this=0x23df930, event=0x7fff5f12f730) at ../../umbrello/widgets/widgetbase.cpp:669 #78 0x00007fd90d46bb25 in QGraphicsItem::sceneEvent (this=0x23df940, event=0x7fff5f12f730) at graphicsview/qgraphicsitem.cpp:6712 #79 0x00007fd90d492c9a in QGraphicsScene::contextMenuEvent (this=this@entry=0x233dfb0, contextMenuEvent=contextMenuEvent@entry=0x7fff5f12f730) at graphicsview/qgraphicsscene.cpp:3617 #80 0x0000000000795c3b in UMLScene::contextMenuEvent (this=0x233dfb0, contextMenuEvent=0x7fff5f12f730) at ../../umbrello/umlscene.cpp:2973 #81 0x00007fd90d4a77a5 in QGraphicsScene::event (this=0x233dfb0, event=0x7fff5f12f730) at graphicsview/qgraphicsscene.cpp:3412 #82 0x00007fd90cec2dfc in QApplicationPrivate::notify_helper (this=this@entry=0x19a1560, receiver=receiver@entry=0x233dfb0, e=e@entry=0x7fff5f12f730) at kernel/qapplication.cpp:4567 #83 0x00007fd90cec9470 in QApplication::notify (this=this@entry=0x7fff5f1305c0, receiver=receiver@entry=0x233dfb0, e=e@entry=0x7fff5f12f730) at kernel/qapplication.cpp:4353 #84 0x00007fd90e7c5a6a in KApplication::notify (this=0x7fff5f1305c0, receiver=0x233dfb0, event=0x7fff5f12f730) at ../../kdeui/kernel/kapplication.cpp:311 #85 0x00007fd90db258bd in QCoreApplication::notifyInternal (this=0x7fff5f1305c0, receiver=0x233dfb0, event=event@entry=0x7fff5f12f730) at kernel/qcoreapplication.cpp:946 #86 0x00007fd90d4bf357 in sendEvent (event=0x7fff5f12f730, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #87 QGraphicsView::contextMenuEvent (this=0x233b280, event=0x7fff5f12fc00) at graphicsview/qgraphicsview.cpp:2892 #88 0x00007fd90cf125e2 in QWidget::event (this=this@entry=0x233b280, event=event@entry=0x7fff5f12fc00) at kernel/qwidget.cpp:8553 #89 0x00007fd90d2b35be in QFrame::event (this=0x233b280, e=0x7fff5f12fc00) at widgets/qframe.cpp:557 #90 0x00007fd90d4bee09 in QGraphicsView::viewportEvent (this=0x233b280, event=0x7fff5f12fc00) at graphicsview/qgraphicsview.cpp:2866 #91 0x00007fd90db25a26 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x19a1560, receiver=receiver@entry=0x233dbc0, event=event@entry=0x7fff5f12fc00) at kernel/qcoreapplication.cpp:1056 #92 0x00007fd90cec2ddc in QApplicationPrivate::notify_helper (this=this@entry=0x19a1560, receiver=receiver@entry=0x233dbc0, e=e@entry=0x7fff5f12fc00) at kernel/qapplication.cpp:4563 #93 0x00007fd90ceca1d0 in QApplication::notify (this=this@entry=0x7fff5f1305c0, receiver=receiver@entry=0x233dbc0, e=e@entry=0x7fff5f12fc00) at kernel/qapplication.cpp:4189 #94 0x00007fd90e7c5a6a in KApplication::notify (this=0x7fff5f1305c0, receiver=0x233dbc0, event=0x7fff5f12fc00) at ../../kdeui/kernel/kapplication.cpp:311 #95 0x00007fd90db258bd in QCoreApplication::notifyInternal (this=0x7fff5f1305c0, receiver=receiver@entry=0x233dbc0, event=event@entry=0x7fff5f12fc00) at kernel/qcoreapplication.cpp:946 #96 0x00007fd90cf3d830 in sendSpontaneousEvent (event=0x7fff5f12fc00, receiver=0x233dbc0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234 #97 QETWidget::translateMouseEvent (this=this@entry=0x1c2c4f0, event=event@entry=0x7fff5f12ff50) at kernel/qapplication_x11.cpp:4636 #98 0x00007fd90cf3d079 in QApplication::x11ProcessEvent (this=0x7fff5f1305c0, event=event@entry=0x7fff5f12ff50) at kernel/qapplication_x11.cpp:3624 #99 0x00007fd90cf64922 in x11EventSourceDispatch (s=0x199e400, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #100 0x00007fd908f563b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #101 0x00007fd908f56708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #102 0x00007fd908f567ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #103 0x00007fd90db52a55 in QEventDispatcherGlib::processEvents (this=0x19a0c30, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #104 0x00007fd90cf649d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #105 0x00007fd90db245ef in QEventLoop::processEvents (this=this@entry=0x7fff5f130330, flags=...) at kernel/qeventloop.cpp:149 #106 0x00007fd90db248e5 in QEventLoop::exec (this=this@entry=0x7fff5f130330, flags=...) at kernel/qeventloop.cpp:204 #107 0x00007fd90db29e5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218 #108 0x00007fd90cec134c in QApplication::exec () at kernel/qapplication.cpp:3828 #109 0x000000000043807b in main (argc=<optimized out>, argv=<optimized out>) at ../../umbrello/main.cpp:113 Possible duplicates by query: bug 329274. Reported using DrKonqi
Created attachment 86638 [details] New crash information added by DrKonqi umbrello (2.8.5) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1 - What I was doing when the application crashed: I were adding a FK that was previously a PK in another table -- Backtrace (Reduced): #7 QString (other=..., this=0x7fff818a0250) at /usr/include/qt4/QtCore/qstring.h:726 #8 UMLObject::doc (this=0x32b83b8) at ../../../umbrello/umbrello/umlobject.cpp:415 #9 0x000000000045c75e in ClassifierListPage::slotActivateItem (this=0x3956360, item=<optimized out>) at ../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:354 [...] #11 0x00007f790526bd1f in QListWidget::currentItemChanged (this=<optimized out>, _t1=0x31ebbb0, _t2=0x0) at .moc/release-shared/moc_qlistwidget.cpp:247 #12 0x00007f790526be4e in QListWidgetPrivate::_q_emitCurrentItemChanged (this=0x323ad80, current=..., previous=...) at itemviews/qlistwidget.cpp:1112
*** This bug has been marked as a duplicate of bug 329274 ***