Summary: | foreign key creation save | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | Tim <tim.murphy> |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | adaptee, andresbajotierra, eric.janz, p92, ralf.habacker, samuel.gilbert |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
model that crashes umbrello
stacktrace + threadtrace New crash information added by DrKonqi |
Description
Tim
2009-11-09 07:37:19 UTC
- If you can reproduce the crash at will (or you experience this regularly), can you install the "kdesdk-dbg" package and post a complete backtrace here? Thanks Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault [KCrash Handler] #6 0x010a8e4b in QString::at (text=...) at ../../include/QtCore/../../src/corelib/tools/qstring.h:685 #7 Qt::mightBeRichText (text=...) at text/qtextdocument.cpp:113 #8 0x012dfb80 in QTextEdit::setText (this=0xa3137f0, text=...) at widgets/qtextedit.cpp:2458 #9 0x080a4ab7 in ClassifierListPage::slotActivateItem (this=0xa34e230, item=0xa466af8) at ../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:350 #10 0x080a7b6c in ClassifierListPage::qt_metacall (this=0xa34e230, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbfce1e44) at ./classifierlistpage.moc:88 #11 0x080a803c in ConstraintListPage::qt_metacall (this=0xa34e230, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbfce1e44) at ./constraintlistpage.moc:67 #12 0x0435b263 in QMetaObject::activate (sender=0xa34e420, from_signal_index=76, to_signal_index=76, argv=0xbfce1e44) at kernel/qobject.cpp:3113 #13 0x0435bec2 in QMetaObject::activate (sender=0xa34e420, m=0x16c6428, local_signal_index=6, argv=0xbfce1e44) at kernel/qobject.cpp:3187 #14 0x0140c1c9 in QListWidget::currentItemChanged (this=0xa34e420, _t1=0xa466af8, _t2=0xa30a048) at .moc/release-shared/moc_qlistwidget.cpp:227 #15 0x01410d41 in QListWidgetPrivate::_q_emitCurrentItemChanged (this=0xa438438, current=..., previous=...) at itemviews/qlistwidget.cpp:1070 #16 0x014126e8 in QListWidget::qt_metacall (this=0xa34e420, _c=QMetaObject::InvokeMetaMethod, _id=19, _a=0xbfce1fb4) at .moc/release-shared/moc_qlistwidget.cpp:141 #17 0x0435b263 in QMetaObject::activate (sender=0xa3ea970, from_signal_index=5, to_signal_index=5, argv=0xbfce1fb4) at kernel/qobject.cpp:3113 #18 0x0435bec2 in QMetaObject::activate (sender=0xa3ea970, m=0x16c6290, local_signal_index=1, argv=0xbfce1fb4) at kernel/qobject.cpp:3187 #19 0x013fa069 in QItemSelectionModel::currentChanged (this=0xa3ea970, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:153 #20 0x013fa202 in QItemSelectionModel::setCurrentIndex (this=0xa3ea970, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1123 #21 0x0140fa0d in QListWidget::setCurrentRow (this=0xa34e420, row=1) at itemviews/qlistwidget.cpp:1437 #22 0x0140fea5 in QListWidget::setCurrentItem (this=0xa34e420, item=0xa466af8) at itemviews/qlistwidget.cpp:1408 #23 0x080a4f1a in ClassifierListPage::slotListItemCreated (this=0xa34e230, object=0xa480238) at ../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:396 #24 0x080a7bac in ClassifierListPage::qt_metacall (this=0xa34e230, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0xbfce2278) at ./classifierlistpage.moc:90 #25 0x080a803c in ConstraintListPage::qt_metacall (this=0xa34e230, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0xbfce2278) at ./constraintlistpage.moc:67 #26 0x0435b263 in QMetaObject::activate (sender=0xa10c430, from_signal_index=8, to_signal_index=8, argv=0xbfce2278) at kernel/qobject.cpp:3113 #27 0x0435bec2 in QMetaObject::activate (sender=0xa10c430, m=0x87daa40, local_signal_index=4, argv=0xbfce2278) at kernel/qobject.cpp:3187 #28 0x08725a25 in UMLDoc::sigObjectCreated (this=0xa10c430, _t1=0xa480238) at ./umldoc.moc:147 #29 0x086c2689 in UMLEntity::createForeignKeyConstraint (this=0xa439cc8, name=...) at ../../../umbrello/umbrello/entity.cpp:244 #30 0x086f5c98 in Object_Factory::createChildObject (parent=0xa439cc8, type=Uml::ot_ForeignKeyConstraint) at ../../../umbrello/umbrello/object_factory.cpp:285 #31 0x080a3d28 in ClassifierListPage::slotNewListItem (this=0xa34e230) at ../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:731 #32 0x080a7e19 in ConstraintListPage::slotNewForeignKeyConstraint (this=0xa34e230) at ../../../umbrello/umbrello/dialogs/constraintlistpage.cpp:120 #33 0x080a808b in ConstraintListPage::qt_metacall (this=0xa34e230, _c=QMetaObject::InvokeMetaMethod, _id=42, _a=0xbfce2538) at ./constraintlistpage.moc:74 #34 0x0435b263 in QMetaObject::activate (sender=0xa4bf9f8, from_signal_index=5, to_signal_index=6, argv=0xbfce2538) at kernel/qobject.cpp:3113 #35 0x0435b6d8 in QMetaObject::activate (sender=0xa4bf9f8, m=0x16b9e48, from_local_signal_index=1, to_local_signal_index=2, argv=0xbfce2538) at kernel/qobject.cpp:3207 #36 0x00e519b1 in QAction::triggered (this=0xa4bf9f8, _t1=false) at .moc/release-shared/moc_qaction.cpp:236 #37 0x00e52f32 in QAction::activate (this=0xa4bf9f8, event=QAction::Trigger) at kernel/qaction.cpp:1160 #38 0x012a09cc in QMenuPrivate::activateCausedStack (this=0xa563a98, causedStack=..., action=0xa4bf9f8, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:967 #39 0x012a703b in QMenuPrivate::activateAction (this=0xa563a98, action=0xa4bf9f8, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1060 #40 0x012a7bf7 in QMenu::mouseReleaseEvent (this=0xa31f608, e=0xbfce2c90) at widgets/qmenu.cpp:2254 #41 0x00c621c5 in KMenu::mouseReleaseEvent (this=0xa31f608, e=0xbfce2c90) at ../../kdeui/widgets/kmenu.cpp:456 #42 0x00ead012 in QWidget::event (this=0xa31f608, event=0xbfce2c90) at kernel/qwidget.cpp:7549 #43 0x012a9e34 in QMenu::event (this=0xa31f608, e=0xbfce2c90) at widgets/qmenu.cpp:2353 #44 0x00e57f54 in QApplicationPrivate::notify_helper (this=0xa0713a8, receiver=0xa31f608, e=0xbfce2c90) at kernel/qapplication.cpp:4056 #45 0x00e60033 in QApplication::notify (this=0xbfce8c10, receiver=0xa31f608, e=0xbfce2c90) at kernel/qapplication.cpp:3758 #46 0x00b77bfa in KApplication::notify (this=0xbfce8c10, receiver=0xa31f608, event=0xbfce2c90) at ../../kdeui/kernel/kapplication.cpp:302 #47 0x043456cb in QCoreApplication::notifyInternal (this=0xbfce8c10, receiver=0xa31f608, event=0xbfce2c90) at kernel/qcoreapplication.cpp:610 #48 0x00e5ef6e in QCoreApplication::sendSpontaneousEvent (receiver=0xa31f608, event=0xbfce2c90, alienWidget=0x0, nativeWidget=0xa31f608, buttonDown=0x16d2aa0, lastMouseReceiver=...) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216 #49 QApplicationPrivate::sendMouseEvent (receiver=0xa31f608, event=0xbfce2c90, alienWidget=0x0, nativeWidget=0xa31f608, buttonDown=0x16d2aa0, lastMouseReceiver=...) at kernel/qapplication.cpp:2924 #50 0x00ecdc87 in QETWidget::translateMouseEvent (this=0xa31f608, event=0xbfce42dc) at kernel/qapplication_x11.cpp:4343 #51 0x00eccc4b in QApplication::x11ProcessEvent (this=0xbfce8c10, event=0xbfce42dc) at kernel/qapplication_x11.cpp:3428 #52 0x00ef9502 in x11EventSourceDispatch (s=0xa074568, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #53 0x061b8e78 in g_main_dispatch (context=0xa073690) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:1960 #54 IA__g_main_context_dispatch (context=0xa073690) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2513 #55 0x061bc720 in g_main_context_iterate (context=0xa073690, block=<value optimized out>, dispatch=1, self=0xa0715e0) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2591 #56 0x061bc853 in IA__g_main_context_iteration (context=0xa073690, may_block=1) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2654 #57 0x0437002c in QEventDispatcherGlib::processEvents (this=0xa0544e0, flags=...) at kernel/qeventdispatcher_glib.cpp:327 #58 0x00ef8be5 in QGuiEventDispatcherGlib::processEvents (this=0xa0544e0, flags=...) at kernel/qguieventdispatcher_glib.cpp:202 #59 0x04343c79 in QEventLoop::processEvents (this=0xbfce45d0, flags=) at kernel/qeventloop.cpp:149 #60 0x043440ca in QEventLoop::exec (this=0xbfce45d0, flags=...) at kernel/qeventloop.cpp:201 #61 0x012a9c9e in QMenu::exec (this=0xa31f608, p=..., action=0x0) at widgets/qmenu.cpp:1993 #62 0x012b61d5 in QPushButtonPrivate::_q_popupPressed (this=0xa4543a0) at widgets/qpushbutton.cpp:611 #63 0x012b7820 in QPushButton::qt_metacall (this=0xa313898, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfce473c) at .moc/release-shared/moc_qpushbutton.cpp:74 #64 0x0435b263 in QMetaObject::activate (sender=0xa313898, from_signal_index=27, to_signal_index=27, argv=0x0) at kernel/qobject.cpp:3113 #65 0x0435bec2 in QMetaObject::activate (sender=0xa313898, m=0x16cb0a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187 #66 0x014e4c67 in QAbstractButton::pressed (this=0xa313898) at .moc/release-shared/moc_qabstractbutton.cpp:187 #67 0x0120d0f9 in QAbstractButtonPrivate::emitPressed (this=0xa4543a0) at widgets/qabstractbutton.cpp:557 #68 0x0120d2f1 in QAbstractButton::mousePressEvent (this=0xa313898, e=0xbfce4d30) at widgets/qabstractbutton.cpp:1092 #69 0x00eacff6 in QWidget::event (this=0xa313898, event=0xbfce4d30) at kernel/qwidget.cpp:7545 #70 0x0120d3ee in QAbstractButton::event (this=0xa313898, e=0x57c83d0) at widgets/qabstractbutton.cpp:1077 #71 0x012b766d in QPushButton::event (this=0xa313898, e=0xbfce4d30) at widgets/qpushbutton.cpp:662 #72 0x00e57f54 in QApplicationPrivate::notify_helper (this=0xa0713a8, receiver=0xa313898, e=0xbfce4d30) at kernel/qapplication.cpp:4056 #73 0x00e60033 in QApplication::notify (this=0xbfce8c10, receiver=0xa313898, e=0xbfce4d30) at kernel/qapplication.cpp:3758 #74 0x00b77bfa in KApplication::notify (this=0xbfce8c10, receiver=0xa313898, event=0xbfce4d30) at ../../kdeui/kernel/kapplication.cpp:302 #75 0x043456cb in QCoreApplication::notifyInternal (this=0xbfce8c10, receiver=0xa313898, event=0xbfce4d30) at kernel/qcoreapplication.cpp:610 #76 0x00e5ef6e in QCoreApplication::sendSpontaneousEvent (receiver=0xa313898, event=0xbfce4d30, alienWidget=0xa313898, nativeWidget=0xa2d28c0, buttonDown=0x16d2aa0, lastMouseReceiver=...) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216 #77 QApplicationPrivate::sendMouseEvent (receiver=0xa313898, event=0xbfce4d30, alienWidget=0xa313898, nativeWidget=0xa2d28c0, buttonDown=0x16d2aa0, lastMouseReceiver=...) at kernel/qapplication.cpp:2924 #78 0x00ecd7c0 in QETWidget::translateMouseEvent (this=0xa2d28c0, event=0xbfce637c) at kernel/qapplication_x11.cpp:4409 #79 0x00eccc4b in QApplication::x11ProcessEvent (this=0xbfce8c10, event=0xbfce637c) at kernel/qapplication_x11.cpp:3428 #80 0x00ef9502 in x11EventSourceDispatch (s=0xa074568, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #81 0x061b8e78 in g_main_dispatch (context=0xa073690) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:1960 #82 IA__g_main_context_dispatch (context=0xa073690) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2513 #83 0x061bc720 in g_main_context_iterate (context=0xa073690, block=<value optimized out>, dispatch=1, self=0xa0715e0) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2591 #84 0x061bc853 in IA__g_main_context_iteration (context=0xa073690, may_block=1) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2654 #85 0x0437002c in QEventDispatcherGlib::processEvents (this=0xa0544e0, flags=...) at kernel/qeventdispatcher_glib.cpp:327 #86 0x00ef8be5 in QGuiEventDispatcherGlib::processEvents (this=0xa0544e0, flags=...) at kernel/qguieventdispatcher_glib.cpp:202 #87 0x04343c79 in QEventLoop::processEvents (this=0xbfce6670, flags=) at kernel/qeventloop.cpp:149 #88 0x043440ca in QEventLoop::exec (this=0xbfce6670, flags=...) at kernel/qeventloop.cpp:201 #89 0x01344d53 in QDialog::exec (this=0xa2d28c0) at dialogs/qdialog.cpp:498 #90 0x08699ade in UMLWidget::showProperties (this=0xa448db8) at ../../../umbrello/umbrello/widgets/umlwidget.cpp:648 #91 0x0869b866 in UMLWidget::slotMenuSelection (this=0xa448db8, action=0xa4611b8) at ../../../umbrello/umbrello/widgets/umlwidget.cpp:292 #92 0x08698edf in UMLWidget::qt_metacall (this=0xa448db8, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfce68b8) at ./umlwidget.moc:87 #93 0x0435b263 in QMetaObject::activate (sender=0xa123d08, from_signal_index=29, to_signal_index=29, argv=0xbfce68b8) at kernel/qobject.cpp:3113 #94 0x0435bec2 in QMetaObject::activate (sender=0xa123d08, m=0x16c0048, local_signal_index=2, argv=0xbfce68b8) at kernel/qobject.cpp:3187 #95 0x0129f2c3 in QMenu::triggered (this=0xa123d08, _t1=0xa4611b8) at .moc/release-shared/moc_qmenu.cpp:158 #96 0x012a0aac in QMenuPrivate::_q_actionTriggered (this=0xa43b2d0) at widgets/qmenu.cpp:1088 #97 0x012a9846 in QMenu::qt_metacall (this=0xa123d08, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfce6ad8) at .moc/release-shared/moc_qmenu.cpp:99 #98 0x00c6396a in KMenu::qt_metacall (this=0xa123d08, _c=QMetaObject::InvokeMetaMethod, _id=35, _a=0xbfce6ad8) at ./kmenu.moc:70 #99 0x0435b263 in QMetaObject::activate (sender=0xa4611b8, from_signal_index=5, to_signal_index=6, argv=0xbfce6ad8) at kernel/qobject.cpp:3113 #100 0x0435b6d8 in QMetaObject::activate (sender=0xa4611b8, m=0x16b9e48, from_local_signal_index=1, to_local_signal_index=2, argv=0xbfce6ad8) at kernel/qobject.cpp:3207 #101 0x00e519b1 in QAction::triggered (this=0xa4611b8, _t1=false) at .moc/release-shared/moc_qaction.cpp:236 #102 0x00e52f32 in QAction::activate (this=0xa4611b8, event=QAction::Trigger) at kernel/qaction.cpp:1160 #103 0x012a09cc in QMenuPrivate::activateCausedStack (this=0xa43b2d0, causedStack=..., action=0xa4611b8, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:967 #104 0x012a703b in QMenuPrivate::activateAction (this=0xa43b2d0, action=0xa4611b8, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1060 #105 0x012a7bf7 in QMenu::mouseReleaseEvent (this=0xa123d08, e=0xbfce7230) at widgets/qmenu.cpp:2254 #106 0x00c621c5 in KMenu::mouseReleaseEvent (this=0xa123d08, e=0xbfce7230) at ../../kdeui/widgets/kmenu.cpp:456 #107 0x00ead012 in QWidget::event (this=0xa123d08, event=0xbfce7230) at kernel/qwidget.cpp:7549 #108 0x012a9e34 in QMenu::event (this=0xa123d08, e=0xbfce7230) at widgets/qmenu.cpp:2353 #109 0x00e57f54 in QApplicationPrivate::notify_helper (this=0xa0713a8, receiver=0xa123d08, e=0xbfce7230) at kernel/qapplication.cpp:4056 #110 0x00e60033 in QApplication::notify (this=0xbfce8c10, receiver=0xa123d08, e=0xbfce7230) at kernel/qapplication.cpp:3758 #111 0x00b77bfa in KApplication::notify (this=0xbfce8c10, receiver=0xa123d08, event=0xbfce7230) at ../../kdeui/kernel/kapplication.cpp:302 #112 0x043456cb in QCoreApplication::notifyInternal (this=0xbfce8c10, receiver=0xa123d08, event=0xbfce7230) at kernel/qcoreapplication.cpp:610 #113 0x00e5ef6e in QCoreApplication::sendSpontaneousEvent (receiver=0xa123d08, event=0xbfce7230, alienWidget=0x0, nativeWidget=0xa123d08, buttonDown=0x16d2aa0, lastMouseReceiver=...) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216 #114 QApplicationPrivate::sendMouseEvent (receiver=0xa123d08, event=0xbfce7230, alienWidget=0x0, nativeWidget=0xa123d08, buttonDown=0x16d2aa0, lastMouseReceiver=...) at kernel/qapplication.cpp:2924 #115 0x00ecdc87 in QETWidget::translateMouseEvent (this=0xa123d08, event=0xbfce887c) at kernel/qapplication_x11.cpp:4343 #116 0x00eccc4b in QApplication::x11ProcessEvent (this=0xbfce8c10, event=0xbfce887c) at kernel/qapplication_x11.cpp:3428 #117 0x00ef9502 in x11EventSourceDispatch (s=0xa074568, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #118 0x061b8e78 in g_main_dispatch (context=0xa073690) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:1960 #119 IA__g_main_context_dispatch (context=0xa073690) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2513 #120 0x061bc720 in g_main_context_iterate (context=0xa073690, block=<value optimized out>, dispatch=1, self=0xa0715e0) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2591 #121 0x061bc853 in IA__g_main_context_iteration (context=0xa073690, may_block=1) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2654 #122 0x0437002c in QEventDispatcherGlib::processEvents (this=0xa0544e0, flags=...) at kernel/qeventdispatcher_glib.cpp:327 #123 0x00ef8be5 in QGuiEventDispatcherGlib::processEvents (this=0xa0544e0, flags=...) at kernel/qguieventdispatcher_glib.cpp:202 #124 0x04343c79 in QEventLoop::processEvents (this=0xbfce8b74, flags=) at kernel/qeventloop.cpp:149 #125 0x043440ca in QEventLoop::exec (this=0xbfce8b74, flags=...) at kernel/qeventloop.cpp:201 #126 0x0434653f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888 #127 0x00e57dd7 in QApplication::exec () at kernel/qapplication.cpp:3525 #128 0x086ec2b5 in main (argc=3, argv=0xbfce8dc4) at ../../../umbrello/umbrello/main.cpp:111 Thank you Created attachment 40065 [details]
model that crashes umbrello
I also have this problem with umbrello 2.3.4
try to add a foreign key constraint to "evenements" entity on the "sessions" entity ==> crash
also try to copy then paste the "sessions" entity ==> crash
Created attachment 40067 [details]
stacktrace + threadtrace
so be it One can see that UMLObject::getDoc get's an invalid pointer - 0x20 seems not to be in the regular data section In Thread 1 (Thread 27796): #0 QString (this=0x20) at /usr/include/qt4/QtCore/qstring.h:711 No locals. #1 UMLObject::getDoc (this=0x20) at ../../../umbrello/umbrello/umlobject.cpp:408 at this level listItem ist set to 0x20 - seems not to be valid too #2 0x080a4ac5 in ClassifierListPage::slotActivateItem (this=0x9843520, item=0x98f8aa0) at ../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:350 listItem = 0x20 and some levels above there is an invalid QEvent pointer (=0x20) #62 0x011bf3ee in QAbstractButton::event (this=0x979a320, e=0x20) at widgets/qabstractbutton.cpp:1077 In the next level one can see that there is a QPushButton with an invalid d pointer (=0x20) #63 0x0126966d in QPushButton::event (this=0x979a320, e=0xbfcf7890) at widgets/qpushbutton.cpp:662 d = 0x20 I get the exact same problem. It's 100% reproducible. I tried the same action sequence on the same file with Umbrello 2.3.4 and with 2.3.2 and both crashed exactly the same way. Description of the actions taken : - Create 2 entities : variable and unit - Add a "id" attribute of type "SERIAL" to both entities and set it as the Primary Key - Add a attribute named "unit" to variable - Create a Foreign Key Constraint on referencing the id attribute of the unit variable with the unit attribute in the variable entity - Click on "OK" and get the crash Created attachment 51386 [details]
New crash information added by DrKonqi
Same problem on Ubuntu 10.04 running Umbrello on Gnome
After creating two entities, when creating a foreign key, Umbrello crashes when you press apply or save.
*** This bug has been marked as a duplicate of bug 191396 *** |