Bug 304337 - Crash on adding foreign key
Summary: Crash on adding foreign key
Status: RESOLVED DUPLICATE of bug 302120
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 2.8.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-31 14:42 UTC by kdebugs
Modified: 2012-07-31 15:19 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kdebugs 2012-07-31 14:42:11 UTC
Application: umbrello (2.8.4)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-27-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:

Adding foreign key constraint to a simple ERD diagram containing only 2 entities.

-- 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 0x7fe5d4e04780 (LWP 9789))]

Thread 2 (Thread 0x7fe5c2fa3700 (LWP 9790)):
#0  0x00007fe5d0de1b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fe5cdce2036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe5cdce2164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe5d1a72426 in QEventDispatcherGlib::processEvents (this=0x7fe5bc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fe5d1a41c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fe5d1a41ed7 in QEventLoop::exec (this=0x7fe5c2fa2dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fe5d1940fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fe5d1a219ff in QInotifyFileSystemWatcherEngine::run (this=0x1a9e2c0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fe5d1943fcb in QThreadPrivate::start (arg=0x1a9e2c0) at thread/qthread_unix.cpp:298
#9  0x00007fe5d0ae5e9a in start_thread (arg=0x7fe5c2fa3700) at pthread_create.c:308
#10 0x00007fe5d0ded4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe5d4e04780 (LWP 9789)):
[KCrash Handler]
#6  QString (other=..., this=0x7fffa6081030) at /usr/include/qt4/QtCore/qstring.h:725
#7  UMLObject::doc (this=0x30) at ../../../umbrello/umbrello/umlobject.cpp:415
#8  0x000000000045c75e in ClassifierListPage::slotActivateItem (this=0x26e0c50, item=<optimized out>) at ../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:354
#9  0x00007fe5d1a57281 in QMetaObject::activate (sender=0x2694460, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa60811a0) at kernel/qobject.cpp:3547
#10 0x00007fe5d2c24cdf in QListWidget::currentItemChanged (this=<optimized out>, _t1=0x2a37c20, _t2=0x233dc20) at .moc/release-shared/moc_qlistwidget.cpp:247
#11 0x00007fe5d2c24e0e in QListWidgetPrivate::_q_emitCurrentItemChanged (this=0x268b810, current=..., previous=...) at itemviews/qlistwidget.cpp:1112
#12 0x00007fe5d1a57281 in QMetaObject::activate (sender=0x26f4d40, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa6081360) at kernel/qobject.cpp:3547
#13 0x00007fe5d2c128ea in QItemSelectionModel::currentChanged (this=<optimized out>, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:173
#14 0x00007fe5d2c129e0 in QItemSelectionModel::setCurrentIndex (this=0x26f4d40, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1175
#15 0x00007fe5d2c24698 in QListWidget::setCurrentRow (this=0x2694460, row=1) at itemviews/qlistwidget.cpp:1484
#16 0x000000000045edbd in ClassifierListPage::slotListItemCreated (this=0x26e0c50, object=0x2325e50) at ../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:400
#17 0x00007fe5d1a57281 in QMetaObject::activate (sender=0x1a7eb90, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa60816a0) at kernel/qobject.cpp:3547
#18 0x0000000000745d20 in UMLDoc::sigObjectCreated (this=<optimized out>, _t1=0x2325e50) at ./umldoc.moc:167
#19 0x00000000006db804 in UMLEntity::createForeignKeyConstraint (this=0x284f700, name=...) at ../../../umbrello/umbrello/entity.cpp:244
#20 0x000000000070b449 in Object_Factory::createChildObject (parent=0x284f700, type=UMLObject::ot_ForeignKeyConstraint) at ../../../umbrello/umbrello/object_factory.cpp:287
#21 0x000000000045d552 in ClassifierListPage::slotNewListItem (this=0x26e0c50) at ../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:735
#22 0x000000000045f863 in ConstraintListPage::slotNewForeignKeyConstraint (this=0x26e0c50) at ../../../umbrello/umbrello/dialogs/constraintlistpage.cpp:125
#23 0x00007fe5d1a57281 in QMetaObject::activate (sender=0x2525e70, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa6081a60) at kernel/qobject.cpp:3547
#24 0x00007fe5d268f132 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#25 0x00007fe5d268f31f in QAction::activate (this=0x2525e70, event=<optimized out>) at kernel/qaction.cpp:1257
#26 0x00007fe5d2ae1119 in QMenuPrivate::activateCausedStack (this=0x25edd00, causedStack=..., action=0x2525e70, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1028
#27 0x00007fe5d2ae7272 in QMenuPrivate::activateAction (this=0x25edd00, action=0x2525e70, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1120
#28 0x00007fe5d34902d0 in KMenu::mouseReleaseEvent (this=0x25ed880, e=0x7fffa6082630) at ../../kdeui/widgets/kmenu.cpp:464
#29 0x00007fe5d26e6144 in QWidget::event (this=0x25ed880, event=0x7fffa6082630) at kernel/qwidget.cpp:8362
#30 0x00007fe5d2ae880b in QMenu::event (this=0x25ed880, e=0x7fffa6082630) at widgets/qmenu.cpp:2469
#31 0x00007fe5d2695894 in notify_helper (e=0x7fffa6082630, receiver=0x25ed880, this=0x18acab0) at kernel/qapplication.cpp:4559
#32 QApplicationPrivate::notify_helper (this=0x18acab0, receiver=0x25ed880, e=0x7fffa6082630) at kernel/qapplication.cpp:4531
#33 0x00007fe5d269b0bf in QApplication::notify (this=<optimized out>, receiver=0x25ed880, e=0x7fffa6082630) at kernel/qapplication.cpp:4102
#34 0x00007fe5d33cf9e6 in KApplication::notify (this=0x7fffa60866c0, receiver=0x25ed880, event=0x7fffa6082630) at ../../kdeui/kernel/kapplication.cpp:311
#35 0x00007fe5d1a42e9c in QCoreApplication::notifyInternal (this=0x7fffa60866c0, receiver=0x25ed880, event=0x7fffa6082630) at kernel/qcoreapplication.cpp:876
#36 0x00007fe5d2696862 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#37 QApplicationPrivate::sendMouseEvent (receiver=0x25ed880, event=0x7fffa6082630, alienWidget=0x0, nativeWidget=0x25ed880, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#38 0x00007fe5d27162c1 in QETWidget::translateMouseEvent (this=0x25ed880, event=<optimized out>) at kernel/qapplication_x11.cpp:4551
#39 0x00007fe5d2714bae in QApplication::x11ProcessEvent (this=0x7fffa60866c0, event=0x7fffa6082f00) at kernel/qapplication_x11.cpp:3732
#40 0x00007fe5d273e0d2 in x11EventSourceDispatch (s=0x18afb50, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#41 0x00007fe5cdce1d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007fe5cdce20a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007fe5cdce2164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007fe5d1a723bf in QEventDispatcherGlib::processEvents (this=0x187f3d0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#45 0x00007fe5d273dd5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#46 0x00007fe5d1a41c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#47 0x00007fe5d1a41ed7 in QEventLoop::exec (this=0x7fffa60832a0, flags=...) at kernel/qeventloop.cpp:204
#48 0x00007fe5d2ae4131 in QMenu::exec (this=<optimized out>, p=..., action=0x0) at widgets/qmenu.cpp:2113
#49 0x00007fe5d2af36d2 in QPushButtonPrivate::_q_popupPressed (this=0x239ef50) at widgets/qpushbutton.cpp:592
#50 0x00007fe5d1a57281 in QMetaObject::activate (sender=0x239ef20, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#51 0x00007fe5d2a63ae1 in QAbstractButtonPrivate::emitPressed (this=<optimized out>) at widgets/qabstractbutton.cpp:562
#52 0x00007fe5d2a6451c in QAbstractButton::mousePressEvent (this=0x239ef20, e=0x7fffa6083ce0) at widgets/qabstractbutton.cpp:1098
#53 0x00007fe5d26e6429 in QWidget::event (this=0x239ef20, event=0x7fffa6083ce0) at kernel/qwidget.cpp:8358
#54 0x00007fe5d2695894 in notify_helper (e=0x7fffa6083ce0, receiver=0x239ef20, this=0x18acab0) at kernel/qapplication.cpp:4559
#55 QApplicationPrivate::notify_helper (this=0x18acab0, receiver=0x239ef20, e=0x7fffa6083ce0) at kernel/qapplication.cpp:4531
#56 0x00007fe5d269b0bf in QApplication::notify (this=<optimized out>, receiver=0x239ef20, e=0x7fffa6083ce0) at kernel/qapplication.cpp:4102
#57 0x00007fe5d33cf9e6 in KApplication::notify (this=0x7fffa60866c0, receiver=0x239ef20, event=0x7fffa6083ce0) at ../../kdeui/kernel/kapplication.cpp:311
#58 0x00007fe5d1a42e9c in QCoreApplication::notifyInternal (this=0x7fffa60866c0, receiver=0x239ef20, event=0x7fffa6083ce0) at kernel/qcoreapplication.cpp:876
#59 0x00007fe5d2696862 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#60 QApplicationPrivate::sendMouseEvent (receiver=0x239ef20, event=0x7fffa6083ce0, alienWidget=0x239ef20, nativeWidget=0x263c930, buttonDown=0x239ef20, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#61 0x00007fe5d2715bf5 in QETWidget::translateMouseEvent (this=0x263c930, event=<optimized out>) at kernel/qapplication_x11.cpp:4617
#62 0x00007fe5d2714bae in QApplication::x11ProcessEvent (this=0x7fffa60866c0, event=0x7fffa60845b0) at kernel/qapplication_x11.cpp:3732
#63 0x00007fe5d273e0d2 in x11EventSourceDispatch (s=0x18afb50, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#64 0x00007fe5cdce1d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#65 0x00007fe5cdce20a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#66 0x00007fe5cdce2164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#67 0x00007fe5d1a723bf in QEventDispatcherGlib::processEvents (this=0x187f3d0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#68 0x00007fe5d273dd5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#69 0x00007fe5d1a41c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#70 0x00007fe5d1a41ed7 in QEventLoop::exec (this=0x7fffa6084950, flags=...) at kernel/qeventloop.cpp:204
#71 0x00007fe5d2b65936 in QDialog::exec (this=0x263c930) at dialogs/qdialog.cpp:554
#72 0x00000000006ad01f in UMLWidget::showPropertiesDialog (this=0x232e320) at ../../../umbrello/umbrello/widgets/umlwidget.cpp:803
#73 0x00000000006b14f8 in UMLWidget::slotMenuSelection (this=0x232e320, action=<optimized out>) at ../../../umbrello/umbrello/widgets/umlwidget.cpp:363
#74 0x00007fe5d1a57281 in QMetaObject::activate (sender=0x26c1060, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa6084c40) at kernel/qobject.cpp:3547
#75 0x00007fe5d2ae0ea2 in QMenu::triggered (this=<optimized out>, _t1=0x1e085c0) at .moc/release-shared/moc_qmenu.cpp:178
#76 0x00007fe5d2ae22bb in QMenuPrivate::_q_actionTriggered (this=<optimized out>) at widgets/qmenu.cpp:1146
#77 0x00007fe5d1a57281 in QMetaObject::activate (sender=0x1e085c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa6084df0) at kernel/qobject.cpp:3547
#78 0x00007fe5d268f132 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#79 0x00007fe5d268f31f in QAction::activate (this=0x1e085c0, event=<optimized out>) at kernel/qaction.cpp:1257
#80 0x00007fe5d2ae1119 in QMenuPrivate::activateCausedStack (this=0x289b090, causedStack=..., action=0x1e085c0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1028
#81 0x00007fe5d2ae7272 in QMenuPrivate::activateAction (this=0x289b090, action=0x1e085c0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1120
#82 0x00007fe5d34902d0 in KMenu::mouseReleaseEvent (this=0x26c1060, e=0x7fffa60859c0) at ../../kdeui/widgets/kmenu.cpp:464
#83 0x00007fe5d26e6144 in QWidget::event (this=0x26c1060, event=0x7fffa60859c0) at kernel/qwidget.cpp:8362
#84 0x00007fe5d2ae880b in QMenu::event (this=0x26c1060, e=0x7fffa60859c0) at widgets/qmenu.cpp:2469
#85 0x00007fe5d2695894 in notify_helper (e=0x7fffa60859c0, receiver=0x26c1060, this=0x18acab0) at kernel/qapplication.cpp:4559
#86 QApplicationPrivate::notify_helper (this=0x18acab0, receiver=0x26c1060, e=0x7fffa60859c0) at kernel/qapplication.cpp:4531
#87 0x00007fe5d269b0bf in QApplication::notify (this=<optimized out>, receiver=0x26c1060, e=0x7fffa60859c0) at kernel/qapplication.cpp:4102
#88 0x00007fe5d33cf9e6 in KApplication::notify (this=0x7fffa60866c0, receiver=0x26c1060, event=0x7fffa60859c0) at ../../kdeui/kernel/kapplication.cpp:311
#89 0x00007fe5d1a42e9c in QCoreApplication::notifyInternal (this=0x7fffa60866c0, receiver=0x26c1060, event=0x7fffa60859c0) at kernel/qcoreapplication.cpp:876
#90 0x00007fe5d2696862 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#91 QApplicationPrivate::sendMouseEvent (receiver=0x26c1060, event=0x7fffa60859c0, alienWidget=0x0, nativeWidget=0x26c1060, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#92 0x00007fe5d27162c1 in QETWidget::translateMouseEvent (this=0x26c1060, event=<optimized out>) at kernel/qapplication_x11.cpp:4551
#93 0x00007fe5d2714bae in QApplication::x11ProcessEvent (this=0x7fffa60866c0, event=0x7fffa6086290) at kernel/qapplication_x11.cpp:3732
#94 0x00007fe5d273e0d2 in x11EventSourceDispatch (s=0x18afb50, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#95 0x00007fe5cdce1d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#96 0x00007fe5cdce20a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#97 0x00007fe5cdce2164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#98 0x00007fe5d1a723bf in QEventDispatcherGlib::processEvents (this=0x187f3d0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#99 0x00007fe5d273dd5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#100 0x00007fe5d1a41c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#101 0x00007fe5d1a41ed7 in QEventLoop::exec (this=0x7fffa6086630, flags=...) at kernel/qeventloop.cpp:204
#102 0x00007fe5d1a46f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#103 0x0000000000438d16 in main (argc=3, argv=0x7fffa6086ad8) at ../../../umbrello/umbrello/main.cpp:111

This bug may be a duplicate of or related to bug 302120.

Possible duplicates by query: bug 302120, bug 300479, bug 298359, bug 291691, bug 281478.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-07-31 15:19:42 UTC

*** This bug has been marked as a duplicate of bug 302120 ***