Bug 259062 - Segmentatio Fault on Foreign Key
Summary: Segmentatio Fault on 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-12-06 23:11 UTC by Luca Pertile
Modified: 2010-12-07 01:20 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 Luca Pertile 2010-12-06 23:11:38 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-24-generic i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
Adding a foreign key to a ER Entity produce a segmentation fault.

The crash can be reproduced every time.

 -- Backtrace:
Application: Modellatore UML Umbrello (umbrello), signal: Segmentation fault
[Current thread is 1 (Thread 0xb783a710 (LWP 2308))]

Thread 2 (Thread 0xb506fb70 (LWP 2309)):
#0  0x007e1e16 in *__GI_clock_gettime (clock_id=8282100, tp=0xb506efb8) at ../sysdeps/unix/clock_gettime.c:100
#1  0x057176fb in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x0571c825 in QTimerInfoList::updateCurrentTime (this=0xb47019b4) at kernel/qeventdispatcher_unix.cpp:340
#3  0x0571c86a in QTimerInfoList::timerWait (this=0xb47019b4, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x0571a818 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb506f0cc) at kernel/qeventdispatcher_glib.cpp:136
#5  0x0571a8a5 in timerSourcePrepare (source=0x0, timeout=0x7e5ff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0x04738aca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x04738ee9 in ?? () from /lib/libglib-2.0.so.0
#8  0x047394b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x0571a60f in QEventDispatcherGlib::processEvents (this=0x8cc4610, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0x056ed059 in QEventLoop::processEvents (this=0xb506f290, flags=) at kernel/qeventloop.cpp:149
#11 0x056ed4aa in QEventLoop::exec (this=0xb506f290, flags=...) at kernel/qeventloop.cpp:201
#12 0x055e95a8 in QThread::exec (this=0x8ef6018) at thread/qthread.cpp:487
#13 0x056ccc1b in QInotifyFileSystemWatcherEngine::run (this=0x8ef6018) at io/qfilesystemwatcher_inotify.cpp:248
#14 0x055ec32e in QThreadPrivate::start (arg=0x8ef6018) at thread/qthread_unix.cpp:248
#15 0x0031996e in start_thread (arg=0xb506fb70) at pthread_create.c:300
#16 0x00e56a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb783a710 (LWP 2308)):
[KCrash Handler]
#6  QBasicAtomicInt::ref (this=0x953c5f8) at /usr/include/qt4/QtCore/qatomic_i386.h:120
#7  QString (this=0x953c5f8) at /usr/include/qt4/QtCore/qstring.h:715
#8  UMLObject::getDoc (this=0x953c5f8) at ../../../umbrello/umbrello/umlobject.cpp:408
#9  0x080a5fd5 in ClassifierListPage::slotActivateItem (this=0x974b570, item=0x97d4228) at ../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:354
#10 0x080a969c in ClassifierListPage::qt_metacall (this=0x974b570, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbfbdacf4) at ./classifierlistpage.moc:94
#11 0x080a9c1c in ConstraintListPage::qt_metacall (this=0x974b570, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbfbdacf4) at ./constraintlistpage.moc:73
#12 0x056f3c9a in QMetaObject::metacall (object=0x974b570, cl=15598528, idx=27, argv=0xbfbdacf4) at kernel/qmetaobject.cpp:237
#13 0x057023d5 in QMetaObject::activate (sender=0x90aab80, m=0x77fefc8, local_signal_index=6, argv=0xbfbdacf4) at kernel/qobject.cpp:3293
#14 0x074d7c89 in QListWidget::currentItemChanged (this=0x90aab80, _t1=0x97d4228, _t2=0x0) at .moc/release-shared/moc_qlistwidget.cpp:233
#15 0x074d97c7 in QListWidgetPrivate::_q_emitCurrentItemChanged (this=0x8f2b5e8, current=..., previous=...) at itemviews/qlistwidget.cpp:1112
#16 0x074dcba8 in QListWidget::qt_metacall (this=0x90aab80, _c=QMetaObject::InvokeMetaMethod, _id=19, _a=0xbfbdae74) at .moc/release-shared/moc_qlistwidget.cpp:147
#17 0x056f3c9a in QMetaObject::metacall (object=0x90aab80, cl=15598528, idx=89, argv=0xbfbdae74) at kernel/qmetaobject.cpp:237
#18 0x057023d5 in QMetaObject::activate (sender=0x904f9a8, m=0x77fee30, local_signal_index=1, argv=0xbfbdae74) at kernel/qobject.cpp:3293
#19 0x074c45a9 in QItemSelectionModel::currentChanged (this=0x904f9a8, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:159
#20 0x074c4742 in QItemSelectionModel::setCurrentIndex (this=0x904f9a8, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1167
#21 0x074d965d in QListWidget::setCurrentRow (this=0x90aab80, row=1) at itemviews/qlistwidget.cpp:1484
#22 0x074da085 in QListWidget::setCurrentItem (this=0x90aab80, item=0x97d4228) at itemviews/qlistwidget.cpp:1455
#23 0x080a6624 in ClassifierListPage::slotListItemCreated (this=0x974b570, object=0x9200560) at ../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:400
#24 0x080a96dc in ClassifierListPage::qt_metacall (this=0x974b570, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0xbfbdb158) at ./classifierlistpage.moc:96
#25 0x080a9c1c in ConstraintListPage::qt_metacall (this=0x974b570, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0xbfbdb158) at ./constraintlistpage.moc:73
#26 0x056f3c9a in QMetaObject::metacall (object=0x974b570, cl=15598528, idx=29, argv=0xbfbdb158) at kernel/qmetaobject.cpp:237
#27 0x057023d5 in QMetaObject::activate (sender=0x8d24668, m=0x8792968, local_signal_index=4, argv=0xbfbdb158) at kernel/qobject.cpp:3293
#28 0x086e18c5 in UMLDoc::sigObjectCreated (this=0x8d24668, _t1=0x9200560) at ./umldoc.moc:153
#29 0x08684bc9 in UMLEntity::createForeignKeyConstraint (this=0x927a318, name=...) at ../../../umbrello/umbrello/entity.cpp:244
#30 0x086b44d0 in Object_Factory::createChildObject (parent=0x927a318, type=Uml::ot_ForeignKeyConstraint) at ../../../umbrello/umbrello/object_factory.cpp:285
#31 0x080a5a18 in ClassifierListPage::slotNewListItem (this=0x974b570) at ../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:735
#32 0x080a99f9 in ConstraintListPage::slotNewForeignKeyConstraint (this=0x974b570) at ../../../umbrello/umbrello/dialogs/constraintlistpage.cpp:119
#33 0x080a9c6b in ConstraintListPage::qt_metacall (this=0x974b570, _c=QMetaObject::InvokeMetaMethod, _id=42, _a=0xbfbdb3e8) at ./constraintlistpage.moc:80
#34 0x056f3c9a in QMetaObject::metacall (object=0x974b570, cl=15598528, idx=42, argv=0xbfbdb3e8) at kernel/qmetaobject.cpp:237
#35 0x057023d5 in QMetaObject::activate (sender=0x8f87de0, m=0x77f1d58, local_signal_index=1, argv=0xbfbdb3e8) at kernel/qobject.cpp:3293
#36 0x06ec2bd9 in QAction::triggered (this=0x8f87de0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#37 0x06ec4dcc in QAction::activate (this=0x8f87de0, event=QAction::Trigger) at kernel/qaction.cpp:1255
#38 0x0736860c in QMenuPrivate::activateCausedStack (this=0x8ffc470, causedStack=..., action=0x8f87de0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011
#39 0x0736eabb in QMenuPrivate::activateAction (this=0x8ffc470, action=0x8f87de0, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103
#40 0x0736fac7 in QMenu::mouseReleaseEvent (this=0x9170e08, e=0xbfbdbc80) at widgets/qmenu.cpp:2312
#41 0x0124ef65 in KMenu::mouseReleaseEvent (this=0x9170e08, e=0xbfbdbc80) at ../../kdeui/widgets/kmenu.cpp:471
#42 0x06f277f8 in QWidget::event (this=0x9170e08, event=0xbfbdbc80) at kernel/qwidget.cpp:7998
#43 0x073710cc in QMenu::event (this=0x9170e08, e=0xbfbdbc80) at widgets/qmenu.cpp:2414
#44 0x06ec94dc in QApplicationPrivate::notify_helper (this=0x8c65fb0, receiver=0x9170e08, e=0xbfbdbc80) at kernel/qapplication.cpp:4300
#45 0x06ed09f7 in QApplication::notify (this=0xbfbdea90, receiver=0x9170e08, e=0xbfbdbc80) at kernel/qapplication.cpp:3865
#46 0x01158f2a in KApplication::notify (this=0xbfbdea90, receiver=0x9170e08, event=0xbfbdbc80) at ../../kdeui/kernel/kapplication.cpp:302
#47 0x056eea3b in QCoreApplication::notifyInternal (this=0xbfbdea90, receiver=0x9170e08, event=0xbfbdbc80) at kernel/qcoreapplication.cpp:704
#48 0x06ecf952 in QCoreApplication::sendEvent (receiver=0x9170e08, event=0xbfbdbc80, alienWidget=0x0, nativeWidget=0x9170e08, buttonDown=0x780d058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#49 QApplicationPrivate::sendMouseEvent (receiver=0x9170e08, event=0xbfbdbc80, alienWidget=0x0, nativeWidget=0x9170e08, buttonDown=0x780d058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#50 0x06f5b5cf in QETWidget::translateMouseEvent (this=0x9170e08, event=0xbfbdc19c) at kernel/qapplication_x11.cpp:4302
#51 0x06f5a511 in QApplication::x11ProcessEvent (this=0xbfbdea90, event=0xbfbdc19c) at kernel/qapplication_x11.cpp:3379
#52 0x06f8960a in x11EventSourceDispatch (s=0x8c691a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#53 0x047355e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#54 0x047392d8 in ?? () from /lib/libglib-2.0.so.0
#55 0x047394b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#56 0x0571a5d5 in QEventDispatcherGlib::processEvents (this=0x8c48c20, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#57 0x06f89135 in QGuiEventDispatcherGlib::processEvents (this=0x8c48c20, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#58 0x056ed059 in QEventLoop::processEvents (this=0xbfbdc490, flags=) at kernel/qeventloop.cpp:149
#59 0x056ed4aa in QEventLoop::exec (this=0xbfbdc490, flags=...) at kernel/qeventloop.cpp:201
#60 0x0736bdde in QMenu::exec (this=0x9170e08, p=..., action=0x0) at widgets/qmenu.cpp:2063
#61 0x0737cdf7 in QPushButtonPrivate::_q_popupPressed (this=0x9097c70) at widgets/qpushbutton.cpp:588
#62 0x0737e3b0 in QPushButton::qt_metacall (this=0x96aa628, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfbdc5dc) at .moc/release-shared/moc_qpushbutton.cpp:80
#63 0x056f3c9a in QMetaObject::metacall (object=0x96aa628, cl=15598528, idx=40, argv=0xbfbdc5dc) at kernel/qmetaobject.cpp:237
#64 0x057023d5 in QMetaObject::activate (sender=0x96aa628, m=0x78048c4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#65 0x075f44f7 in QAbstractButton::pressed (this=0x96aa628) at .moc/release-shared/moc_qabstractbutton.cpp:193
#66 0x072d3a49 in QAbstractButtonPrivate::emitPressed (this=0x9097c70) at widgets/qabstractbutton.cpp:560
#67 0x072d3c4e in QAbstractButton::mousePressEvent (this=0x96aa628, e=0xbfbdccf0) at widgets/qabstractbutton.cpp:1096
#68 0x06f277dc in QWidget::event (this=0x96aa628, event=0xbfbdccf0) at kernel/qwidget.cpp:7994
#69 0x072d3d4e in QAbstractButton::event (this=0x96aa628, e=0x8) at widgets/qabstractbutton.cpp:1080
#70 0x0737e1f2 in QPushButton::event (this=0x96aa628, e=0xbfbdccf0) at widgets/qpushbutton.cpp:679
#71 0x06ec94dc in QApplicationPrivate::notify_helper (this=0x8c65fb0, receiver=0x96aa628, e=0xbfbdccf0) at kernel/qapplication.cpp:4300
#72 0x06ed09f7 in QApplication::notify (this=0xbfbdea90, receiver=0x96aa628, e=0xbfbdccf0) at kernel/qapplication.cpp:3865
#73 0x01158f2a in KApplication::notify (this=0xbfbdea90, receiver=0x96aa628, event=0xbfbdccf0) at ../../kdeui/kernel/kapplication.cpp:302
#74 0x056eea3b in QCoreApplication::notifyInternal (this=0xbfbdea90, receiver=0x96aa628, event=0xbfbdccf0) at kernel/qcoreapplication.cpp:704
#75 0x06ecf952 in QCoreApplication::sendEvent (receiver=0x96aa628, event=0xbfbdccf0, alienWidget=0x96aa628, nativeWidget=0x8eaba10, buttonDown=0x780d058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#76 QApplicationPrivate::sendMouseEvent (receiver=0x96aa628, event=0xbfbdccf0, alienWidget=0x96aa628, nativeWidget=0x8eaba10, buttonDown=0x780d058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#77 0x06f5b088 in QETWidget::translateMouseEvent (this=0x8eaba10, event=0xbfbdd20c) at kernel/qapplication_x11.cpp:4368
#78 0x06f5a511 in QApplication::x11ProcessEvent (this=0xbfbdea90, event=0xbfbdd20c) at kernel/qapplication_x11.cpp:3379
#79 0x06f8960a in x11EventSourceDispatch (s=0x8c691a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#80 0x047355e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#81 0x047392d8 in ?? () from /lib/libglib-2.0.so.0
#82 0x047394b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#83 0x0571a5d5 in QEventDispatcherGlib::processEvents (this=0x8c48c20, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#84 0x06f89135 in QGuiEventDispatcherGlib::processEvents (this=0x8c48c20, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#85 0x056ed059 in QEventLoop::processEvents (this=0xbfbdd500, flags=) at kernel/qeventloop.cpp:149
#86 0x056ed4aa in QEventLoop::exec (this=0xbfbdd500, flags=...) at kernel/qeventloop.cpp:201
#87 0x074084f3 in QDialog::exec (this=0x8eaba10) at dialogs/qdialog.cpp:546
#88 0x0865c4de in UMLWidget::showProperties (this=0x8f25010) at ../../../umbrello/umbrello/widgets/umlwidget.cpp:648
#89 0x0865df86 in UMLWidget::slotMenuSelection (this=0x8f25010, action=0x94b1bd0) at ../../../umbrello/umbrello/widgets/umlwidget.cpp:292
#90 0x0865b80f in UMLWidget::qt_metacall (this=0x8f25010, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfbdd758) at ./umlwidget.moc:93
#91 0x056f3c9a in QMetaObject::metacall (object=0x8f25010, cl=15598528, idx=7, argv=0xbfbdd758) at kernel/qmetaobject.cpp:237
#92 0x057023d5 in QMetaObject::activate (sender=0x8ef7470, m=0x77f8748, local_signal_index=2, argv=0xbfbdd758) at kernel/qobject.cpp:3293
#93 0x07367073 in QMenu::triggered (this=0x8ef7470, _t1=0x94b1bd0) at .moc/release-shared/moc_qmenu.cpp:164
#94 0x07369aca in QMenuPrivate::_q_actionTriggered (this=0x910d978) at widgets/qmenu.cpp:1129
#95 0x0736e196 in QMenu::qt_metacall (this=0x8ef7470, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfbdd948) at .moc/release-shared/moc_qmenu.cpp:105
#96 0x012509aa in KMenu::qt_metacall (this=0x8ef7470, _c=QMetaObject::InvokeMetaMethod, _id=35, _a=0xbfbdd948) at ./kmenu.moc:76
#97 0x056f3c9a in QMetaObject::metacall (object=0x8ef7470, cl=15598528, idx=35, argv=0xbfbdd948) at kernel/qmetaobject.cpp:237
#98 0x057023d5 in QMetaObject::activate (sender=0x94b1bd0, m=0x77f1d58, local_signal_index=1, argv=0xbfbdd948) at kernel/qobject.cpp:3293
#99 0x06ec2bd9 in QAction::triggered (this=0x94b1bd0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#100 0x06ec4dcc in QAction::activate (this=0x94b1bd0, event=QAction::Trigger) at kernel/qaction.cpp:1255
#101 0x0736860c in QMenuPrivate::activateCausedStack (this=0x910d978, causedStack=..., action=0x94b1bd0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011
#102 0x0736eabb in QMenuPrivate::activateAction (this=0x910d978, action=0x94b1bd0, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103
#103 0x0736fac7 in QMenu::mouseReleaseEvent (this=0x8ef7470, e=0xbfbde1e0) at widgets/qmenu.cpp:2312
#104 0x0124ef65 in KMenu::mouseReleaseEvent (this=0x8ef7470, e=0xbfbde1e0) at ../../kdeui/widgets/kmenu.cpp:471
#105 0x06f277f8 in QWidget::event (this=0x8ef7470, event=0xbfbde1e0) at kernel/qwidget.cpp:7998
#106 0x073710cc in QMenu::event (this=0x8ef7470, e=0xbfbde1e0) at widgets/qmenu.cpp:2414
#107 0x06ec94dc in QApplicationPrivate::notify_helper (this=0x8c65fb0, receiver=0x8ef7470, e=0xbfbde1e0) at kernel/qapplication.cpp:4300
#108 0x06ed09f7 in QApplication::notify (this=0xbfbdea90, receiver=0x8ef7470, e=0xbfbde1e0) at kernel/qapplication.cpp:3865
#109 0x01158f2a in KApplication::notify (this=0xbfbdea90, receiver=0x8ef7470, event=0xbfbde1e0) at ../../kdeui/kernel/kapplication.cpp:302
#110 0x056eea3b in QCoreApplication::notifyInternal (this=0xbfbdea90, receiver=0x8ef7470, event=0xbfbde1e0) at kernel/qcoreapplication.cpp:704
#111 0x06ecf952 in QCoreApplication::sendEvent (receiver=0x8ef7470, event=0xbfbde1e0, alienWidget=0x0, nativeWidget=0x8ef7470, buttonDown=0x780d058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#112 QApplicationPrivate::sendMouseEvent (receiver=0x8ef7470, event=0xbfbde1e0, alienWidget=0x0, nativeWidget=0x8ef7470, buttonDown=0x780d058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#113 0x06f5b5cf in QETWidget::translateMouseEvent (this=0x8ef7470, event=0xbfbde6fc) at kernel/qapplication_x11.cpp:4302
#114 0x06f5a511 in QApplication::x11ProcessEvent (this=0xbfbdea90, event=0xbfbde6fc) at kernel/qapplication_x11.cpp:3379
#115 0x06f8960a in x11EventSourceDispatch (s=0x8c691a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#116 0x047355e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#117 0x047392d8 in ?? () from /lib/libglib-2.0.so.0
#118 0x047394b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#119 0x0571a5d5 in QEventDispatcherGlib::processEvents (this=0x8c48c20, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#120 0x06f89135 in QGuiEventDispatcherGlib::processEvents (this=0x8c48c20, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#121 0x056ed059 in QEventLoop::processEvents (this=0xbfbde9f4, flags=) at kernel/qeventloop.cpp:149
#122 0x056ed4aa in QEventLoop::exec (this=0xbfbde9f4, flags=...) at kernel/qeventloop.cpp:201
#123 0x056f169f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#124 0x06ec9577 in QApplication::exec () at kernel/qapplication.cpp:3579
#125 0x086ac645 in main (argc=1, argv=0xbfbdec44) at ../../../umbrello/umbrello/main.cpp:111

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

Possible duplicates by query: bug 256449.

Reported using DrKonqi
Comment 1 Dario Andres 2010-12-07 01:20:26 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 ***