Bug 260942 - Foreign Key Crash
Summary: Foreign Key Crash
Status: RESOLVED DUPLICATE of bug 191396
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-22 08:05 UTC by bonaya.mudda
Modified: 2010-12-22 22:30 UTC (History)
1 user (show)

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 bonaya.mudda 2010-12-22 08:05:46 UTC
Application: umbrello (2.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-26-generic i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
The system crashes when trying to add Foreign Key constraint

The crash can be reproduced every time.

 -- Backtrace:
Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault
[KCrash Handler]
#6  QBasicAtomicInt::ref (this=0x1348300) at /usr/include/qt4/QtCore/qatomic_i386.h:120
#7  QString (this=0x1348300) at /usr/include/qt4/QtCore/qstring.h:715
#8  UMLObject::getDoc (this=0x1348300) at ../../../umbrello/umbrello/umlobject.cpp:408
#9  0x080a5fd5 in ClassifierListPage::slotActivateItem (this=0xa584820, item=0xa863740) at ../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:354
#10 0x080a969c in ClassifierListPage::qt_metacall (this=0xa584820, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbfc44144) at ./classifierlistpage.moc:94
#11 0x080a9c1c in ConstraintListPage::qt_metacall (this=0xa584820, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbfc44144) at ./constraintlistpage.moc:73
#12 0x072d2c9a in QMetaObject::metacall (object=0xa584820, cl=20218816, idx=27, argv=0xbfc44144) at kernel/qmetaobject.cpp:237
#13 0x072e13d5 in QMetaObject::activate (sender=0xa53da50, m=0x5a65fc8, local_signal_index=6, argv=0xbfc44144) at kernel/qobject.cpp:3293
#14 0x0573ec89 in QListWidget::currentItemChanged (this=0xa53da50, _t1=0xa863740, _t2=0x0) at .moc/release-shared/moc_qlistwidget.cpp:233
#15 0x057407c7 in QListWidgetPrivate::_q_emitCurrentItemChanged (this=0xa731178, current=..., previous=...) at itemviews/qlistwidget.cpp:1112
#16 0x05743ba8 in QListWidget::qt_metacall (this=0xa53da50, _c=QMetaObject::InvokeMetaMethod, _id=19, _a=0xbfc442c4) at .moc/release-shared/moc_qlistwidget.cpp:147
#17 0x072d2c9a in QMetaObject::metacall (object=0xa53da50, cl=20218816, idx=89, argv=0xbfc442c4) at kernel/qmetaobject.cpp:237
#18 0x072e13d5 in QMetaObject::activate (sender=0xa51b960, m=0x5a65e30, local_signal_index=1, argv=0xbfc442c4) at kernel/qobject.cpp:3293
#19 0x0572b5a9 in QItemSelectionModel::currentChanged (this=0xa51b960, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:159
#20 0x0572b742 in QItemSelectionModel::setCurrentIndex (this=0xa51b960, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1167
#21 0x0574065d in QListWidget::setCurrentRow (this=0xa53da50, row=1) at itemviews/qlistwidget.cpp:1484
#22 0x05741085 in QListWidget::setCurrentItem (this=0xa53da50, item=0xa863740) at itemviews/qlistwidget.cpp:1455
#23 0x080a6624 in ClassifierListPage::slotListItemCreated (this=0xa584820, object=0xa492d58) at ../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:400
#24 0x080a96dc in ClassifierListPage::qt_metacall (this=0xa584820, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0xbfc445a8) at ./classifierlistpage.moc:96
#25 0x080a9c1c in ConstraintListPage::qt_metacall (this=0xa584820, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0xbfc445a8) at ./constraintlistpage.moc:73
#26 0x072d2c9a in QMetaObject::metacall (object=0xa584820, cl=20218816, idx=29, argv=0xbfc445a8) at kernel/qmetaobject.cpp:237
#27 0x072e13d5 in QMetaObject::activate (sender=0xa1f4ac0, m=0x8792968, local_signal_index=4, argv=0xbfc445a8) at kernel/qobject.cpp:3293
#28 0x086e18c5 in UMLDoc::sigObjectCreated (this=0xa1f4ac0, _t1=0xa492d58) at ./umldoc.moc:153
#29 0x08684bc9 in UMLEntity::createForeignKeyConstraint (this=0xa706630, name=...) at ../../../umbrello/umbrello/entity.cpp:244
#30 0x086b44d0 in Object_Factory::createChildObject (parent=0xa706630, type=Uml::ot_ForeignKeyConstraint) at ../../../umbrello/umbrello/object_factory.cpp:285
#31 0x080a5a18 in ClassifierListPage::slotNewListItem (this=0xa584820) at ../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:735
#32 0x080a99f9 in ConstraintListPage::slotNewForeignKeyConstraint (this=0xa584820) at ../../../umbrello/umbrello/dialogs/constraintlistpage.cpp:119
#33 0x080a9c6b in ConstraintListPage::qt_metacall (this=0xa584820, _c=QMetaObject::InvokeMetaMethod, _id=42, _a=0xbfc44838) at ./constraintlistpage.moc:80
#34 0x072d2c9a in QMetaObject::metacall (object=0xa584820, cl=20218816, idx=42, argv=0xbfc44838) at kernel/qmetaobject.cpp:237
#35 0x072e13d5 in QMetaObject::activate (sender=0xa729eb0, m=0x5a58d58, local_signal_index=1, argv=0xbfc44838) at kernel/qobject.cpp:3293
#36 0x05129bd9 in QAction::triggered (this=0xa729eb0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#37 0x0512bdcc in QAction::activate (this=0xa729eb0, event=QAction::Trigger) at kernel/qaction.cpp:1255
#38 0x055cf60c in QMenuPrivate::activateCausedStack (this=0xa6d4e38, causedStack=..., action=0xa729eb0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011
#39 0x055d5abb in QMenuPrivate::activateAction (this=0xa6d4e38, action=0xa729eb0, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103
#40 0x055d6ac7 in QMenu::mouseReleaseEvent (this=0xa729f20, e=0xbfc450d0) at widgets/qmenu.cpp:2312
#41 0x00caff65 in KMenu::mouseReleaseEvent (this=0xa729f20, e=0xbfc450d0) at ../../kdeui/widgets/kmenu.cpp:471
#42 0x0518e7f8 in QWidget::event (this=0xa729f20, event=0xbfc450d0) at kernel/qwidget.cpp:7998
#43 0x055d80cc in QMenu::event (this=0xa729f20, e=0xbfc450d0) at widgets/qmenu.cpp:2414
#44 0x051304dc in QApplicationPrivate::notify_helper (this=0xa05ffb8, receiver=0xa729f20, e=0xbfc450d0) at kernel/qapplication.cpp:4300
#45 0x051379f7 in QApplication::notify (this=0xbfc47ee0, receiver=0xa729f20, e=0xbfc450d0) at kernel/qapplication.cpp:3865
#46 0x00bb9f2a in KApplication::notify (this=0xbfc47ee0, receiver=0xa729f20, event=0xbfc450d0) at ../../kdeui/kernel/kapplication.cpp:302
#47 0x072cda3b in QCoreApplication::notifyInternal (this=0xbfc47ee0, receiver=0xa729f20, event=0xbfc450d0) at kernel/qcoreapplication.cpp:704
#48 0x05136952 in QCoreApplication::sendEvent (receiver=0xa729f20, event=0xbfc450d0, alienWidget=0x0, nativeWidget=0xa729f20, buttonDown=0x5a74058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#49 QApplicationPrivate::sendMouseEvent (receiver=0xa729f20, event=0xbfc450d0, alienWidget=0x0, nativeWidget=0xa729f20, buttonDown=0x5a74058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#50 0x051c25cf in QETWidget::translateMouseEvent (this=0xa729f20, event=0xbfc455ec) at kernel/qapplication_x11.cpp:4302
#51 0x051c1511 in QApplication::x11ProcessEvent (this=0xbfc47ee0, event=0xbfc455ec) at kernel/qapplication_x11.cpp:3379
#52 0x051f060a in x11EventSourceDispatch (s=0xa0631a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#53 0x061585e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#54 0x0615c2d8 in ?? () from /lib/libglib-2.0.so.0
#55 0x0615c4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#56 0x072f95d5 in QEventDispatcherGlib::processEvents (this=0xa042c20, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#57 0x051f0135 in QGuiEventDispatcherGlib::processEvents (this=0xa042c20, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#58 0x072cc059 in QEventLoop::processEvents (this=0xbfc458e0, flags=) at kernel/qeventloop.cpp:149
#59 0x072cc4aa in QEventLoop::exec (this=0xbfc458e0, flags=...) at kernel/qeventloop.cpp:201
#60 0x055d2dde in QMenu::exec (this=0xa729f20, p=..., action=0x0) at widgets/qmenu.cpp:2063
#61 0x055e3df7 in QPushButtonPrivate::_q_popupPressed (this=0xa515958) at widgets/qpushbutton.cpp:588
#62 0x055e53b0 in QPushButton::qt_metacall (this=0xa50c028, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfc45a2c) at .moc/release-shared/moc_qpushbutton.cpp:80
#63 0x072d2c9a in QMetaObject::metacall (object=0xa50c028, cl=20218816, idx=40, argv=0xbfc45a2c) at kernel/qmetaobject.cpp:237
#64 0x072e13d5 in QMetaObject::activate (sender=0xa50c028, m=0x5a6b8c4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#65 0x0585b4f7 in QAbstractButton::pressed (this=0xa50c028) at .moc/release-shared/moc_qabstractbutton.cpp:193
#66 0x0553aa49 in QAbstractButtonPrivate::emitPressed (this=0xa515958) at widgets/qabstractbutton.cpp:560
#67 0x0553ac4e in QAbstractButton::mousePressEvent (this=0xa50c028, e=0xbfc46140) at widgets/qabstractbutton.cpp:1096
#68 0x0518e7dc in QWidget::event (this=0xa50c028, event=0xbfc46140) at kernel/qwidget.cpp:7994
#69 0x0553ad4e in QAbstractButton::event (this=0xa50c028, e=0x0) at widgets/qabstractbutton.cpp:1080
#70 0x055e51f2 in QPushButton::event (this=0xa50c028, e=0xbfc46140) at widgets/qpushbutton.cpp:679
#71 0x051304dc in QApplicationPrivate::notify_helper (this=0xa05ffb8, receiver=0xa50c028, e=0xbfc46140) at kernel/qapplication.cpp:4300
#72 0x051379f7 in QApplication::notify (this=0xbfc47ee0, receiver=0xa50c028, e=0xbfc46140) at kernel/qapplication.cpp:3865
#73 0x00bb9f2a in KApplication::notify (this=0xbfc47ee0, receiver=0xa50c028, event=0xbfc46140) at ../../kdeui/kernel/kapplication.cpp:302
#74 0x072cda3b in QCoreApplication::notifyInternal (this=0xbfc47ee0, receiver=0xa50c028, event=0xbfc46140) at kernel/qcoreapplication.cpp:704
#75 0x05136952 in QCoreApplication::sendEvent (receiver=0xa50c028, event=0xbfc46140, alienWidget=0xa50c028, nativeWidget=0xa41cb58, buttonDown=0x5a74058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#76 QApplicationPrivate::sendMouseEvent (receiver=0xa50c028, event=0xbfc46140, alienWidget=0xa50c028, nativeWidget=0xa41cb58, buttonDown=0x5a74058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#77 0x051c2088 in QETWidget::translateMouseEvent (this=0xa41cb58, event=0xbfc4665c) at kernel/qapplication_x11.cpp:4368
#78 0x051c1511 in QApplication::x11ProcessEvent (this=0xbfc47ee0, event=0xbfc4665c) at kernel/qapplication_x11.cpp:3379
#79 0x051f060a in x11EventSourceDispatch (s=0xa0631a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#80 0x061585e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#81 0x0615c2d8 in ?? () from /lib/libglib-2.0.so.0
#82 0x0615c4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#83 0x072f95d5 in QEventDispatcherGlib::processEvents (this=0xa042c20, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#84 0x051f0135 in QGuiEventDispatcherGlib::processEvents (this=0xa042c20, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#85 0x072cc059 in QEventLoop::processEvents (this=0xbfc46950, flags=) at kernel/qeventloop.cpp:149
#86 0x072cc4aa in QEventLoop::exec (this=0xbfc46950, flags=...) at kernel/qeventloop.cpp:201
#87 0x0566f4f3 in QDialog::exec (this=0xa41cb58) at dialogs/qdialog.cpp:546
#88 0x0865c4de in UMLWidget::showProperties (this=0xa70b108) at ../../../umbrello/umbrello/widgets/umlwidget.cpp:648
#89 0x0865df86 in UMLWidget::slotMenuSelection (this=0xa70b108, action=0xa391a28) at ../../../umbrello/umbrello/widgets/umlwidget.cpp:292
#90 0x0865b80f in UMLWidget::qt_metacall (this=0xa70b108, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfc46ba8) at ./umlwidget.moc:93
#91 0x072d2c9a in QMetaObject::metacall (object=0xa70b108, cl=20218816, idx=7, argv=0xbfc46ba8) at kernel/qmetaobject.cpp:237
#92 0x072e13d5 in QMetaObject::activate (sender=0xa57c3f0, m=0x5a5f748, local_signal_index=2, argv=0xbfc46ba8) at kernel/qobject.cpp:3293
#93 0x055ce073 in QMenu::triggered (this=0xa57c3f0, _t1=0xa391a28) at .moc/release-shared/moc_qmenu.cpp:164
#94 0x055d0aca in QMenuPrivate::_q_actionTriggered (this=0xa6d9748) at widgets/qmenu.cpp:1129
#95 0x055d5196 in QMenu::qt_metacall (this=0xa57c3f0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfc46d98) at .moc/release-shared/moc_qmenu.cpp:105
#96 0x00cb19aa in KMenu::qt_metacall (this=0xa57c3f0, _c=QMetaObject::InvokeMetaMethod, _id=35, _a=0xbfc46d98) at ./kmenu.moc:76
#97 0x072d2c9a in QMetaObject::metacall (object=0xa57c3f0, cl=20218816, idx=35, argv=0xbfc46d98) at kernel/qmetaobject.cpp:237
#98 0x072e13d5 in QMetaObject::activate (sender=0xa391a28, m=0x5a58d58, local_signal_index=1, argv=0xbfc46d98) at kernel/qobject.cpp:3293
#99 0x05129bd9 in QAction::triggered (this=0xa391a28, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#100 0x0512bdcc in QAction::activate (this=0xa391a28, event=QAction::Trigger) at kernel/qaction.cpp:1255
#101 0x055cf60c in QMenuPrivate::activateCausedStack (this=0xa6d9748, causedStack=..., action=0xa391a28, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011
#102 0x055d5abb in QMenuPrivate::activateAction (this=0xa6d9748, action=0xa391a28, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103
#103 0x055d6ac7 in QMenu::mouseReleaseEvent (this=0xa57c3f0, e=0xbfc47630) at widgets/qmenu.cpp:2312
#104 0x00caff65 in KMenu::mouseReleaseEvent (this=0xa57c3f0, e=0xbfc47630) at ../../kdeui/widgets/kmenu.cpp:471
#105 0x0518e7f8 in QWidget::event (this=0xa57c3f0, event=0xbfc47630) at kernel/qwidget.cpp:7998
#106 0x055d80cc in QMenu::event (this=0xa57c3f0, e=0xbfc47630) at widgets/qmenu.cpp:2414
#107 0x051304dc in QApplicationPrivate::notify_helper (this=0xa05ffb8, receiver=0xa57c3f0, e=0xbfc47630) at kernel/qapplication.cpp:4300
#108 0x051379f7 in QApplication::notify (this=0xbfc47ee0, receiver=0xa57c3f0, e=0xbfc47630) at kernel/qapplication.cpp:3865
#109 0x00bb9f2a in KApplication::notify (this=0xbfc47ee0, receiver=0xa57c3f0, event=0xbfc47630) at ../../kdeui/kernel/kapplication.cpp:302
#110 0x072cda3b in QCoreApplication::notifyInternal (this=0xbfc47ee0, receiver=0xa57c3f0, event=0xbfc47630) at kernel/qcoreapplication.cpp:704
#111 0x05136952 in QCoreApplication::sendEvent (receiver=0xa57c3f0, event=0xbfc47630, alienWidget=0x0, nativeWidget=0xa57c3f0, buttonDown=0x5a74058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#112 QApplicationPrivate::sendMouseEvent (receiver=0xa57c3f0, event=0xbfc47630, alienWidget=0x0, nativeWidget=0xa57c3f0, buttonDown=0x5a74058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#113 0x051c25cf in QETWidget::translateMouseEvent (this=0xa57c3f0, event=0xbfc47b4c) at kernel/qapplication_x11.cpp:4302
#114 0x051c1511 in QApplication::x11ProcessEvent (this=0xbfc47ee0, event=0xbfc47b4c) at kernel/qapplication_x11.cpp:3379
#115 0x051f060a in x11EventSourceDispatch (s=0xa0631a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#116 0x061585e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#117 0x0615c2d8 in ?? () from /lib/libglib-2.0.so.0
#118 0x0615c4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#119 0x072f95d5 in QEventDispatcherGlib::processEvents (this=0xa042c20, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#120 0x051f0135 in QGuiEventDispatcherGlib::processEvents (this=0xa042c20, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#121 0x072cc059 in QEventLoop::processEvents (this=0xbfc47e44, flags=) at kernel/qeventloop.cpp:149
#122 0x072cc4aa in QEventLoop::exec (this=0xbfc47e44, flags=...) at kernel/qeventloop.cpp:201
#123 0x072d069f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#124 0x05130577 in QApplication::exec () at kernel/qapplication.cpp:3579
#125 0x086ac645 in main (argc=1, argv=0xbfc48094) at ../../../umbrello/umbrello/main.cpp:111

Possible duplicates by query: bug 259062, bug 256449.

Reported using DrKonqi
Comment 1 Dario Andres 2010-12-22 22:30:42 UTC
[Comment from a bug triager]
This issue is being tracked at bug 191396. Merging. Thanks

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