Bug 256532 - Umbrello crashes on adding foreign key
Summary: Umbrello crashes on adding foreign key
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-11-10 17:51 UTC by Alexander Semyonov
Modified: 2010-11-18 00:29 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 Alexander Semyonov 2010-11-10 17:51:43 UTC
Application: umbrello (2.5.1)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-23-generic i686
Distribution: Ubuntu 10.10

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

Every time
When I have two entries: orders (id, person_id) and people (id), 
And trying to add constraint (foreign key order.person_id -> people.id)
Then Umbrella crashes

- Custom settings of the application:
It is running in Ubuntu, in GNOME Environment, but having all kde dependencies installed

The crash can be reproduced every time.

-- Backtrace:
Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault
[Current thread is 1 (Thread 0xb770e930 (LWP 18407))]

Thread 2 (Thread 0xb7324b70 (LWP 18408)):
#0  0x006f2416 in __kernel_vsyscall ()
#1  0x011b9df6 in __poll (fds=0x1251ff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x0369ca1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x0368f43c in ?? () from /lib/libglib-2.0.so.0
#4  0x0368fba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0x04f616b4 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0x036b648f in ?? () from /lib/libglib-2.0.so.0
#7  0x00a9ccc9 in start_thread (arg=0xb7324b70) at pthread_create.c:304
#8  0x011c86be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb770e930 (LWP 18407)):
[KCrash Handler]
#7  QString (this=0x20) at /usr/include/qt4/QtCore/qstring.h:727
#8  UMLObject::getDoc (this=0x20) at ../../../umbrello/umbrello/umlobject.cpp:408
#9  0x080a4255 in ClassifierListPage::slotActivateItem (this=0x8ea0998, item=0x8e977f0) at ../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:354
#10 0x080a7bfc in ClassifierListPage::qt_metacall (this=0x8ea0998, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbf8c8474) at ./classifierlistpage.moc:94
#11 0x080a817c in ConstraintListPage::qt_metacall (this=0x8ea0998, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbf8c8474) at ./constraintlistpage.moc:73
#12 0x068708ca in QMetaObject::metacall (object=0x8ea0998, cl=19215296, idx=27, argv=0xbf8c8474) at kernel/qmetaobject.cpp:237
#13 0x068836ad in QMetaObject::activate (sender=0x8e9d0c8, m=0x63bfbe8, local_signal_index=6, argv=0xbf8c8300) at kernel/qobject.cpp:3280
#14 0x06072369 in QListWidget::currentItemChanged (this=0x8e9d0c8, _t1=0x8e977f0, _t2=0x0) at .moc/release-shared/moc_qlistwidget.cpp:233
#15 0x060743a7 in QListWidgetPrivate::_q_emitCurrentItemChanged (this=0x8e9d0e0, current=..., previous=...) at itemviews/qlistwidget.cpp:1112
#16 0x06077002 in QListWidget::qt_metacall (this=0x8e9d0c8, _c=QMetaObject::InvokeMetaMethod, _id=19, _a=0xbf8c85f4) at .moc/release-shared/moc_qlistwidget.cpp:147
#17 0x068708ca in QMetaObject::metacall (object=0x8e9d0c8, cl=19215296, idx=89, argv=0xbf8c85f4) at kernel/qmetaobject.cpp:237
#18 0x068836ad in QMetaObject::activate (sender=0x8efc768, m=0x63bfa50, local_signal_index=1, argv=0xbf8c8300) at kernel/qobject.cpp:3280
#19 0x0605e319 in QItemSelectionModel::currentChanged (this=0x8efc768, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:159
#20 0x0605e4b2 in QItemSelectionModel::setCurrentIndex (this=0x8efc768, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1156
#21 0x060741fd in QListWidget::setCurrentRow (this=0x8e9d0c8, row=1) at itemviews/qlistwidget.cpp:1484
#22 0x06074245 in QListWidget::setCurrentItem (this=0x8e9d0c8, item=0x8e977f0) at itemviews/qlistwidget.cpp:1455
#23 0x080a48db in ClassifierListPage::slotListItemCreated (this=0x8ea0998, object=0x907e8e0) at ../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:400
#24 0x080a7c3c in ClassifierListPage::qt_metacall (this=0x8ea0998, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0xbf8c88d8) at ./classifierlistpage.moc:96
#25 0x080a817c in ConstraintListPage::qt_metacall (this=0x8ea0998, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0xbf8c88d8) at ./constraintlistpage.moc:73
#26 0x068708ca in QMetaObject::metacall (object=0x8ea0998, cl=19215296, idx=29, argv=0xbf8c88d8) at kernel/qmetaobject.cpp:237
#27 0x068836ad in QMetaObject::activate (sender=0x8d8f000, m=0x8675028, local_signal_index=4, argv=0xbf8c8300) at kernel/qobject.cpp:3280
#28 0x085c1ac5 in UMLDoc::sigObjectCreated (this=0x8d8f000, _t1=0x907e8e0) at ./umldoc.moc:153
#29 0x085617a9 in UMLEntity::createForeignKeyConstraint (this=0x8fdc018, name=...) at ../../../umbrello/umbrello/entity.cpp:244
#30 0x08593830 in Object_Factory::createChildObject (parent=0x8fdc018, type=Uml::ot_ForeignKeyConstraint) at ../../../umbrello/umbrello/object_factory.cpp:285
#31 0x080a3c88 in ClassifierListPage::slotNewListItem (this=0x8ea0998) at ../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:735
#32 0x080a7f59 in ConstraintListPage::slotNewForeignKeyConstraint (this=0x8ea0998) at ../../../umbrello/umbrello/dialogs/constraintlistpage.cpp:119
#33 0x080a81cb in ConstraintListPage::qt_metacall (this=0x8ea0998, _c=QMetaObject::InvokeMetaMethod, _id=42, _a=0xbf8c8b68) at ./constraintlistpage.moc:80
#34 0x068708ca in QMetaObject::metacall (object=0x8ea0998, cl=19215296, idx=42, argv=0xbf8c8b68) at kernel/qmetaobject.cpp:237
#35 0x068836ad in QMetaObject::activate (sender=0x8e9a060, m=0x63b2370, local_signal_index=1, argv=0xbf8c8300) at kernel/qobject.cpp:3280
#36 0x05a2bf99 in QAction::triggered (this=0x8e9a060, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#37 0x05a2d8dc in QAction::activate (this=0x8e9a060, event=QAction::Trigger) at kernel/qaction.cpp:1256
#38 0x05ef97ef in QMenuPrivate::activateCausedStack (this=0x8ebaa30, causedStack=..., action=0x8e9a060, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#39 0x05effa4b in QMenuPrivate::activateAction (this=0x8ebaa30, action=0x8e9a060, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1085
#40 0x05f005e0 in QMenu::mouseReleaseEvent (this=0x8ebcf80, e=0xbf8c9410) at widgets/qmenu.cpp:2301
#41 0x01013fe5 in KMenu::mouseReleaseEvent (this=0x8ebcf80, e=0xbf8c9410) at ../../kdeui/widgets/kmenu.cpp:471
#42 0x05a91e08 in QWidget::event (this=0x8ebcf80, event=0xbf8c9410) at kernel/qwidget.cpp:8187
#43 0x05f0202f in QMenu::event (this=0x8ebcf80, e=0xbf8c9410) at widgets/qmenu.cpp:2410
#44 0x05a33fdc in QApplicationPrivate::notify_helper (this=0x8beeb98, receiver=0x8ebcf80, e=0xbf8c9410) at kernel/qapplication.cpp:4396
#45 0x05a3ac2e in QApplication::notify (this=0xbf8cc240, receiver=0x8ebcf80, e=0xbf8c9410) at kernel/qapplication.cpp:3959
#46 0x00f1968a in KApplication::notify (this=0xbf8cc240, receiver=0x8ebcf80, event=0xbf8c9410) at ../../kdeui/kernel/kapplication.cpp:310
#47 0x0686ab3b in QCoreApplication::notifyInternal (this=0xbf8cc240, receiver=0x8ebcf80, event=0xbf8c9410) at kernel/qcoreapplication.cpp:732
#48 0x05a39094 in sendEvent (receiver=0x8ebcf80, event=0xbf8c9410, alienWidget=0x0, nativeWidget=0x8ebcf80, buttonDown=0x63ce3c0, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#49 QApplicationPrivate::sendMouseEvent (receiver=0x8ebcf80, event=0xbf8c9410, alienWidget=0x0, nativeWidget=0x8ebcf80, buttonDown=0x63ce3c0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3058
#50 0x05ac8261 in QETWidget::translateMouseEvent (this=0x8ebcf80, event=0xbf8c992c) at kernel/qapplication_x11.cpp:4337
#51 0x05ac7151 in QApplication::x11ProcessEvent (this=0xbf8cc240, event=0xbf8c992c) at kernel/qapplication_x11.cpp:3414
#52 0x05af636a in x11EventSourceDispatch (s=0x8bf1da8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#53 0x0368b855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#54 0x0368f668 in ?? () from /lib/libglib-2.0.so.0
#55 0x0368f848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#56 0x06899565 in QEventDispatcherGlib::processEvents (this=0x8bd13c8, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#57 0x05af5be5 in QGuiEventDispatcherGlib::processEvents (this=0x8bd13c8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#58 0x06869609 in QEventLoop::processEvents (this=0xbf8c9c20, flags=) at kernel/qeventloop.cpp:149
#59 0x06869a8a in QEventLoop::exec (this=0xbf8c9c20, flags=...) at kernel/qeventloop.cpp:201
#60 0x05efcefe in QMenu::exec (this=0x8ebcf80, p=..., action=0x0) at widgets/qmenu.cpp:2054
#61 0x05f0e817 in QPushButtonPrivate::_q_popupPressed (this=0x8ee2730) at widgets/qpushbutton.cpp:592
#62 0x05f0fe17 in QPushButton::qt_metacall (this=0x8ee2718, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbf8c9d6c) at .moc/release-shared/moc_qpushbutton.cpp:80
#63 0x068708ca in QMetaObject::metacall (object=0x8ee2718, cl=19215296, idx=40, argv=0xbf8c9d6c) at kernel/qmetaobject.cpp:237
#64 0x068836ad in QMetaObject::activate (sender=0x8ee2718, m=0x63c5704, local_signal_index=0, argv=0xbf8c8300) at kernel/qobject.cpp:3280
#65 0x061a2097 in QAbstractButton::pressed (this=0x8ee2718) at .moc/release-shared/moc_qabstractbutton.cpp:193
#66 0x05e61b99 in QAbstractButtonPrivate::emitPressed (this=0x8ee2730) at widgets/qabstractbutton.cpp:560
#67 0x05e61d9e in QAbstractButton::mousePressEvent (this=0x8ee2718, e=0xbf8ca490) at widgets/qabstractbutton.cpp:1096
#68 0x05a91dec in QWidget::event (this=0x8ee2718, event=0xbf8ca490) at kernel/qwidget.cpp:8183
#69 0x05e61e9e in QAbstractButton::event (this=0x8ee2718, e=0x20) at widgets/qabstractbutton.cpp:1080
#70 0x05f0fc22 in QPushButton::event (this=0x8ee2718, e=0xbf8ca490) at widgets/qpushbutton.cpp:683
#71 0x05a33fdc in QApplicationPrivate::notify_helper (this=0x8beeb98, receiver=0x8ee2718, e=0xbf8ca490) at kernel/qapplication.cpp:4396
#72 0x05a3ac2e in QApplication::notify (this=0xbf8cc240, receiver=0x8ee2718, e=0xbf8ca490) at kernel/qapplication.cpp:3959
#73 0x00f1968a in KApplication::notify (this=0xbf8cc240, receiver=0x8ee2718, event=0xbf8ca490) at ../../kdeui/kernel/kapplication.cpp:310
#74 0x0686ab3b in QCoreApplication::notifyInternal (this=0xbf8cc240, receiver=0x8ee2718, event=0xbf8ca490) at kernel/qcoreapplication.cpp:732
#75 0x05a39094 in sendEvent (receiver=0x8ee2718, event=0xbf8ca490, alienWidget=0x8ee2718, nativeWidget=0x8fe34c0, buttonDown=0x63ce3c0, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#76 QApplicationPrivate::sendMouseEvent (receiver=0x8ee2718, event=0xbf8ca490, alienWidget=0x8ee2718, nativeWidget=0x8fe34c0, buttonDown=0x63ce3c0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3058
#77 0x05ac7d10 in QETWidget::translateMouseEvent (this=0x8fe34c0, event=0xbf8ca9ac) at kernel/qapplication_x11.cpp:4403
#78 0x05ac7151 in QApplication::x11ProcessEvent (this=0xbf8cc240, event=0xbf8ca9ac) at kernel/qapplication_x11.cpp:3414
#79 0x05af636a in x11EventSourceDispatch (s=0x8bf1da8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#80 0x0368b855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#81 0x0368f668 in ?? () from /lib/libglib-2.0.so.0
#82 0x0368f848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#83 0x06899565 in QEventDispatcherGlib::processEvents (this=0x8bd13c8, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#84 0x05af5be5 in QGuiEventDispatcherGlib::processEvents (this=0x8bd13c8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#85 0x06869609 in QEventLoop::processEvents (this=0xbf8caca0, flags=) at kernel/qeventloop.cpp:149
#86 0x06869a8a in QEventLoop::exec (this=0xbf8caca0, flags=...) at kernel/qeventloop.cpp:201
#87 0x05f9e873 in QDialog::exec (this=0x8fe34c0) at dialogs/qdialog.cpp:552
#88 0x08538b7e in UMLWidget::showProperties (this=0x8fecad8) at ../../../umbrello/umbrello/widgets/umlwidget.cpp:648
#89 0x0853a676 in UMLWidget::slotMenuSelection (this=0x8fecad8, action=0x8e66c80) at ../../../umbrello/umbrello/widgets/umlwidget.cpp:292
#90 0x08537e8f in UMLWidget::qt_metacall (this=0x8fecad8, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbf8caef8) at ./umlwidget.moc:93
#91 0x068708ca in QMetaObject::metacall (object=0x8fecad8, cl=19215296, idx=7, argv=0xbf8caef8) at kernel/qmetaobject.cpp:237
#92 0x068836ad in QMetaObject::activate (sender=0x8eff2e0, m=0x63b8fe8, local_signal_index=2, argv=0xbf8c8300) at kernel/qobject.cpp:3280
#93 0x05ef7e63 in QMenu::triggered (this=0x8eff2e0, _t1=0x8e66c80) at .moc/release-shared/moc_qmenu.cpp:164
#94 0x05efabfa in QMenuPrivate::_q_actionTriggered (this=0x8f21790) at widgets/qmenu.cpp:1111
#95 0x05eff116 in QMenu::qt_metacall (this=0x8eff2e0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbf8cb0e8) at .moc/release-shared/moc_qmenu.cpp:105
#96 0x01015a2a in KMenu::qt_metacall (this=0x8eff2e0, _c=QMetaObject::InvokeMetaMethod, _id=35, _a=0xbf8cb0e8) at ./kmenu.moc:76
#97 0x068708ca in QMetaObject::metacall (object=0x8eff2e0, cl=19215296, idx=35, argv=0xbf8cb0e8) at kernel/qmetaobject.cpp:237
#98 0x068836ad in QMetaObject::activate (sender=0x8e66c80, m=0x63b2370, local_signal_index=1, argv=0xbf8c8300) at kernel/qobject.cpp:3280
#99 0x05a2bf99 in QAction::triggered (this=0x8e66c80, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#100 0x05a2d8dc in QAction::activate (this=0x8e66c80, event=QAction::Trigger) at kernel/qaction.cpp:1256
#101 0x05ef97ef in QMenuPrivate::activateCausedStack (this=0x8f21790, causedStack=..., action=0x8e66c80, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#102 0x05effa4b in QMenuPrivate::activateAction (this=0x8f21790, action=0x8e66c80, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1085
#103 0x05f005e0 in QMenu::mouseReleaseEvent (this=0x8eff2e0, e=0xbf8cb990) at widgets/qmenu.cpp:2301
#104 0x01013fe5 in KMenu::mouseReleaseEvent (this=0x8eff2e0, e=0xbf8cb990) at ../../kdeui/widgets/kmenu.cpp:471
#105 0x05a91e08 in QWidget::event (this=0x8eff2e0, event=0xbf8cb990) at kernel/qwidget.cpp:8187
#106 0x05f0202f in QMenu::event (this=0x8eff2e0, e=0xbf8cb990) at widgets/qmenu.cpp:2410
#107 0x05a33fdc in QApplicationPrivate::notify_helper (this=0x8beeb98, receiver=0x8eff2e0, e=0xbf8cb990) at kernel/qapplication.cpp:4396
#108 0x05a3ac2e in QApplication::notify (this=0xbf8cc240, receiver=0x8eff2e0, e=0xbf8cb990) at kernel/qapplication.cpp:3959
#109 0x00f1968a in KApplication::notify (this=0xbf8cc240, receiver=0x8eff2e0, event=0xbf8cb990) at ../../kdeui/kernel/kapplication.cpp:310
#110 0x0686ab3b in QCoreApplication::notifyInternal (this=0xbf8cc240, receiver=0x8eff2e0, event=0xbf8cb990) at kernel/qcoreapplication.cpp:732
#111 0x05a39094 in sendEvent (receiver=0x8eff2e0, event=0xbf8cb990, alienWidget=0x0, nativeWidget=0x8eff2e0, buttonDown=0x63ce3c0, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#112 QApplicationPrivate::sendMouseEvent (receiver=0x8eff2e0, event=0xbf8cb990, alienWidget=0x0, nativeWidget=0x8eff2e0, buttonDown=0x63ce3c0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3058
#113 0x05ac8261 in QETWidget::translateMouseEvent (this=0x8eff2e0, event=0xbf8cbeac) at kernel/qapplication_x11.cpp:4337
#114 0x05ac7151 in QApplication::x11ProcessEvent (this=0xbf8cc240, event=0xbf8cbeac) at kernel/qapplication_x11.cpp:3414
#115 0x05af636a in x11EventSourceDispatch (s=0x8bf1da8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#116 0x0368b855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#117 0x0368f668 in ?? () from /lib/libglib-2.0.so.0
#118 0x0368f848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#119 0x06899565 in QEventDispatcherGlib::processEvents (this=0x8bd13c8, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#120 0x05af5be5 in QGuiEventDispatcherGlib::processEvents (this=0x8bd13c8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#121 0x06869609 in QEventLoop::processEvents (this=0xbf8cc1a4, flags=) at kernel/qeventloop.cpp:149
#122 0x06869a8a in QEventLoop::exec (this=0xbf8cc1a4, flags=...) at kernel/qeventloop.cpp:201
#123 0x0686e00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#124 0x05a32e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#125 0x0858b785 in main (argc=3, argv=0xbf8cc3f4) at ../../../umbrello/umbrello/main.cpp:111

Possible duplicates by query: bug 256449, bug 244473.

Reported using DrKonqi
Comment 1 Dario Andres 2010-11-18 00:29:04 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 ***