Bug 256814 - crash when adding foreign key to erd
Summary: crash when adding foreign key to erd
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-13 16:30 UTC by gbhembree
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 gbhembree 2010-11-13 16:30:29 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-25-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
When I try to add a foreign key constraint, umbrello crashes

The crash can be reproduced every time.

 -- Backtrace:
Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault
[KCrash Handler]
#5  QString (this=0x30) at /usr/include/qt4/QtCore/qstring.h:714
#6  UMLObject::getDoc (this=0x30) at ../../../umbrello/umbrello/umlobject.cpp:408
#7  0x00000000004641bd in ClassifierListPage::slotActivateItem (this=0x2b89000, item=<value optimized out>) at ../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:354
#8  0x000000000046785c in ClassifierListPage::qt_metacall (this=0x2b89000, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbf1a1550) at ./classifierlistpage.moc:94
#9  0x0000000000467d48 in ConstraintListPage::qt_metacall (this=0x7fffbf1a1390, _c=48, _id=-48, _a=0x2c439f0) at ./constraintlistpage.moc:73
#10 0x00007f902cc36e3f in QMetaObject::activate (sender=0x2adf3c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2c439f0) at kernel/qobject.cpp:3293
#11 0x00007f902d682c8b in QListWidget::currentItemChanged (this=0x7fffbf1a1390, _t1=0x2c37890, _t2=0x0) at .moc/release-shared/moc_qlistwidget.cpp:233
#12 0x00007f902d684430 in QListWidgetPrivate::_q_emitCurrentItemChanged (this=0x2adf3f0, current=<value optimized out>, previous=<value optimized out>) at itemviews/qlistwidget.cpp:1112
#13 0x00007f902d6875bd in QListWidget::qt_metacall (this=0x2adf3c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbf1a1700) at .moc/release-shared/moc_qlistwidget.cpp:147
#14 0x00007f902cc36e3f in QMetaObject::activate (sender=0x2a73b60, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2c439f0) at kernel/qobject.cpp:3293
#15 0x00007f902d66f80a in QItemSelectionModel::currentChanged (this=0x7fffbf1a1390, _t1=<value optimized out>, _t2=<value optimized out>) at .moc/release-shared/moc_qitemselectionmodel.cpp:159
#16 0x00007f902d66f952 in QItemSelectionModel::setCurrentIndex (this=0x2a73b60, index=..., command=<value optimized out>) at itemviews/qitemselectionmodel.cpp:1167
#17 0x00007f902d6842f8 in QListWidget::setCurrentRow (this=0x2adf3c0, row=1) at itemviews/qlistwidget.cpp:1484
#18 0x00000000004647ee in ClassifierListPage::slotListItemCreated (this=0x2b89000, object=0x273e0f0) at ../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:400
#19 0x000000000046789c in ClassifierListPage::qt_metacall (this=0x2b89000, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbf1a1a70) at ./classifierlistpage.moc:96
#20 0x0000000000467d48 in ConstraintListPage::qt_metacall (this=0x7fffbf1a1390, _c=48, _id=-48, _a=0x2c439f0) at ./constraintlistpage.moc:73
#21 0x00007f902cc36e3f in QMetaObject::activate (sender=0x23a2d30, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2c439f0) at kernel/qobject.cpp:3293
#22 0x0000000000ba0a80 in UMLDoc::sigObjectCreated (this=0x7fffbf1a1390, _t1=0x273e0f0) at ./umldoc.moc:153
#23 0x0000000000b4612d in UMLEntity::createForeignKeyConstraint (this=0x2aa6de0, name=<value optimized out>) at ../../../umbrello/umbrello/entity.cpp:244
#24 0x0000000000b747fe in Object_Factory::createChildObject (parent=<value optimized out>, type=<value optimized out>) at ../../../umbrello/umbrello/object_factory.cpp:285
#25 0x0000000000463c52 in ClassifierListPage::slotNewListItem (this=0x2b89000) at ../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:735
#26 0x0000000000467b63 in ConstraintListPage::slotNewForeignKeyConstraint (this=0x7fffbf1a1390) at ../../../umbrello/umbrello/dialogs/constraintlistpage.cpp:119
#27 0x0000000000467da4 in ConstraintListPage::qt_metacall (this=0x2b89000, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at ./constraintlistpage.moc:80
#28 0x00007f902cc36e3f in QMetaObject::activate (sender=0x2ab5ea0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2c439f0) at kernel/qobject.cpp:3293
#29 0x00007f902d0f1032 in QAction::triggered (this=0x7fffbf1a1390, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#30 0x00007f902d0f30ab in QAction::activate (this=0x2ab5ea0, event=<value optimized out>) at kernel/qaction.cpp:1255
#31 0x00007f902d53239d in QMenuPrivate::activateCausedStack (this=<value optimized out>, causedStack=..., action=0x2ab5ea0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011
#32 0x00007f902d537dda in QMenuPrivate::activateAction (this=0x2a79aa0, action=0x2ab5ea0, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103
#33 0x00007f902e5dacee in KMenu::mouseReleaseEvent (this=0x2a799f0, e=0x30) at ../../kdeui/widgets/kmenu.cpp:471
#34 0x00007f902d14d582 in QWidget::event (this=0x2a799f0, event=0x7fffbf1a2a90) at kernel/qwidget.cpp:7998
#35 0x00007f902d539f9b in QMenu::event (this=0x2a799f0, e=0x7fffbf1a2a90) at widgets/qmenu.cpp:2414
#36 0x00007f902d0f722c in QApplicationPrivate::notify_helper (this=0x2210230, receiver=0x2a799f0, e=0x7fffbf1a2a90) at kernel/qapplication.cpp:4300
#37 0x00007f902d0fdecb in QApplication::notify (this=0x7fffbf1a63c0, receiver=0x2a799f0, e=0x7fffbf1a2a90) at kernel/qapplication.cpp:3865
#38 0x00007f902e4fe526 in KApplication::notify (this=0x7fffbf1a63c0, receiver=0x2a799f0, event=0x7fffbf1a2a90) at ../../kdeui/kernel/kapplication.cpp:302
#39 0x00007f902cc2406c in QCoreApplication::notifyInternal (this=0x7fffbf1a63c0, receiver=0x2a799f0, event=0x7fffbf1a2a90) at kernel/qcoreapplication.cpp:704
#40 0x00007f902d0fd0ae in QCoreApplication::sendEvent (receiver=0x2a799f0, event=0x7fffbf1a2a90, alienWidget=0x0, nativeWidget=0x2a799f0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#41 QApplicationPrivate::sendMouseEvent (receiver=0x2a799f0, event=0x7fffbf1a2a90, alienWidget=0x0, nativeWidget=0x2a799f0, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, 
    spontaneous=true) at kernel/qapplication.cpp:2965
#42 0x00007f902d17d3dd in QETWidget::translateMouseEvent (this=0x2a799f0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4302
#43 0x00007f902d17b8ac in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffbf1a33b0) at kernel/qapplication_x11.cpp:3501
#44 0x00007f902d1a7882 in x11EventSourceDispatch (s=0x2213ff0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#45 0x00007f90284748c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#46 0x00007f9028478748 in ?? () from /lib/libglib-2.0.so.0
#47 0x00007f90284788fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#48 0x00007f902cc4d513 in QEventDispatcherGlib::processEvents (this=0x21e87c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#49 0x00007f902d1a746e in QGuiEventDispatcherGlib::processEvents (this=0x7fffbf1a1390, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x00007f902cc22992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#51 0x00007f902cc22d6c in QEventLoop::exec (this=0x7fffbf1a36e0, flags=) at kernel/qeventloop.cpp:201
#52 0x00007f902d5354e5 in QMenu::exec (this=0x2a799f0, p=<value optimized out>, action=0x0) at widgets/qmenu.cpp:2063
#53 0x00007f902d5446b2 in QPushButtonPrivate::_q_popupPressed (this=0x2ad3760) at widgets/qpushbutton.cpp:588
#54 0x00007f902d545bda in QPushButton::qt_metacall (this=0x2ac0a90, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffbf1a3840) at .moc/release-shared/moc_qpushbutton.cpp:80
#55 0x00007f902cc36e3f in QMetaObject::activate (sender=0x2ac0a90, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2c439f0) at kernel/qobject.cpp:3293
#56 0x00007f902d4ac45e in QAbstractButtonPrivate::emitPressed (this=0x2ad3760) at widgets/qabstractbutton.cpp:560
#57 0x00007f902d4ac63c in QAbstractButton::mousePressEvent (this=0x2ac0a90, e=0x7fffbf1a4190) at widgets/qabstractbutton.cpp:1096
#58 0x00007f902d14d569 in QWidget::event (this=0x2ac0a90, event=0x7fffbf1a4190) at kernel/qwidget.cpp:7994
#59 0x00007f902d0f722c in QApplicationPrivate::notify_helper (this=0x2210230, receiver=0x2ac0a90, e=0x7fffbf1a4190) at kernel/qapplication.cpp:4300
#60 0x00007f902d0fdecb in QApplication::notify (this=0x7fffbf1a63c0, receiver=0x2ac0a90, e=0x7fffbf1a4190) at kernel/qapplication.cpp:3865
#61 0x00007f902e4fe526 in KApplication::notify (this=0x7fffbf1a63c0, receiver=0x2ac0a90, event=0x7fffbf1a4190) at ../../kdeui/kernel/kapplication.cpp:302
#62 0x00007f902cc2406c in QCoreApplication::notifyInternal (this=0x7fffbf1a63c0, receiver=0x2ac0a90, event=0x7fffbf1a4190) at kernel/qcoreapplication.cpp:704
#63 0x00007f902d0fd0ae in QCoreApplication::sendEvent (receiver=0x2ac0a90, event=0x7fffbf1a4190, alienWidget=0x2ac0a90, nativeWidget=0x2a9a3b0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#64 QApplicationPrivate::sendMouseEvent (receiver=0x2ac0a90, event=0x7fffbf1a4190, alienWidget=0x2ac0a90, nativeWidget=0x2a9a3b0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2965
#65 0x00007f902d17cf65 in QETWidget::translateMouseEvent (this=0x2a9a3b0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368
#66 0x00007f902d17b8ac in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffbf1a4ab0) at kernel/qapplication_x11.cpp:3501
#67 0x00007f902d1a7882 in x11EventSourceDispatch (s=0x2213ff0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#68 0x00007f90284748c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#69 0x00007f9028478748 in ?? () from /lib/libglib-2.0.so.0
#70 0x00007f90284788fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#71 0x00007f902cc4d513 in QEventDispatcherGlib::processEvents (this=0x21e87c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#72 0x00007f902d1a746e in QGuiEventDispatcherGlib::processEvents (this=0x7fffbf1a1390, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#73 0x00007f902cc22992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#74 0x00007f902cc22d6c in QEventLoop::exec (this=0x7fffbf1a4de0, flags=) at kernel/qeventloop.cpp:201
#75 0x00007f902d5c109e in QDialog::exec (this=0x2a9a3b0) at dialogs/qdialog.cpp:546
#76 0x0000000000bccde7 in UMLObject::showProperties (this=0x2aa6de0, page=<value optimized out>, assoc=<value optimized out>) at ../../../umbrello/umbrello/umlobject.cpp:127
#77 0x0000000000bba8fc in UMLListView::contentsMouseDoubleClickEvent (this=<value optimized out>, me=<value optimized out>) at ../../../umbrello/umbrello/umllistview.cpp:1323
#78 0x00007f902c50ef2b in Q3ScrollView::viewportMouseDoubleClickEvent (this=0x260ea60, e=0x7fffbf1a56b0) at widgets/q3scrollview.cpp:1780
#79 0x00007f902c51092e in Q3ScrollView::eventFilter (this=0x260ea60, obj=0x260e830, e=0x7fffbf1a56b0) at widgets/q3scrollview.cpp:1488
#80 0x00007f902c4b6e56 in Q3ListView::eventFilter (this=0x260ea60, o=0x260e830, e=0x7fffbf1a56b0) at itemviews/q3listview.cpp:3787
#81 0x00007f902cc23487 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x260e830, event=0x7fffbf1a56b0) at kernel/qcoreapplication.cpp:819
#82 0x00007f902d0f71fc in QApplicationPrivate::notify_helper (this=0x2210230, receiver=0x260e830, e=0x7fffbf1a56b0) at kernel/qapplication.cpp:4296
#83 0x00007f902d0fdecb in QApplication::notify (this=0x7fffbf1a63c0, receiver=0x260e830, e=0x7fffbf1a56b0) at kernel/qapplication.cpp:3865
#84 0x00007f902e4fe526 in KApplication::notify (this=0x7fffbf1a63c0, receiver=0x260e830, event=0x7fffbf1a56b0) at ../../kdeui/kernel/kapplication.cpp:302
#85 0x00007f902cc2406c in QCoreApplication::notifyInternal (this=0x7fffbf1a63c0, receiver=0x260e830, event=0x7fffbf1a56b0) at kernel/qcoreapplication.cpp:704
#86 0x00007f902d0fd0ae in QCoreApplication::sendEvent (receiver=0x260e830, event=0x7fffbf1a56b0, alienWidget=0x260e830, nativeWidget=0x22187c0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#87 QApplicationPrivate::sendMouseEvent (receiver=0x260e830, event=0x7fffbf1a56b0, alienWidget=0x260e830, nativeWidget=0x22187c0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2965
#88 0x00007f902d17cf65 in QETWidget::translateMouseEvent (this=0x22187c0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368
#89 0x00007f902d17b8ac in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffbf1a5fd0) at kernel/qapplication_x11.cpp:3501
#90 0x00007f902d1a7882 in x11EventSourceDispatch (s=0x2213ff0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#91 0x00007f90284748c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#92 0x00007f9028478748 in ?? () from /lib/libglib-2.0.so.0
#93 0x00007f90284788fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#94 0x00007f902cc4d513 in QEventDispatcherGlib::processEvents (this=0x21e87c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#95 0x00007f902d1a746e in QGuiEventDispatcherGlib::processEvents (this=0x7fffbf1a1390, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#96 0x00007f902cc22992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#97 0x00007f902cc22d6c in QEventLoop::exec (this=0x7fffbf1a6300, flags=) at kernel/qeventloop.cpp:201
#98 0x00007f902cc26aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#99 0x0000000000b6c6c5 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../umbrello/umbrello/main.cpp:111

This bug may be a duplicate of or related to bug 256618, bug 256532.

Possible duplicates by query: bug 256618, bug 256532, bug 256449, bug 244473.

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