Bug 276251

Summary: deselecting 'Public only' Checkbox in view properties causes umbrello crash
Product: [Applications] umbrello Reporter: Holger <smolinski>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: adaptee
Priority: NOR    
Version: 2.4.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: the file being edited, when crash happened

Description Holger 2011-06-22 14:44:01 UTC
Application: umbrello (2.4.5)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-32-generic-pae i686
Distribution: Ubuntu 10.04.2 LTS

-- Information about the crash:
I generated an UML diagram in umbrello.
When I deselect the 'Public only' checkbox in the Class diagram View Properties, and confirm the selection clicking 'ok' or 'apply', umbrello crashes.

The crash can be reproduced every time.

 -- Backtrace:
Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault
[KCrash Handler]
#6  Q3CanvasRectangle::width (this=0xbfee0d08) at canvas/q3canvas.cpp:4383
#7  0x08625e92 in AssociationWidget::saveIdealTextPositions (this=0xa483a28) at ../../../umbrello/umbrello/widgets/associationwidget.cpp:1486
#8  0x0865cec7 in UMLWidget::adjustAssocs (this=0xa47e698, x=24, y=313) at ../../../umbrello/umbrello/widgets/umlwidget.cpp:617
#9  0x0862d700 in ClassifierWidget::adjustAssocs (this=0xa47e698, x=24, y=316) at ../../../umbrello/umbrello/widgets/classifierwidget.cpp:790
#10 0x0865be49 in UMLWidget::updateComponentSize (this=0xa47e698) at ../../../umbrello/umbrello/widgets/umlwidget.cpp:903
#11 0x0862db8b in ClassifierWidget::setShowPackage (this=0xa47e698, _status=true) at ../../../umbrello/umbrello/widgets/classifierwidget.cpp:224
#12 0x080aa308 in ClassOptionsPage::updateWidget (this=0xa5780f8) at ../../../umbrello/umbrello/dialogs/classoptionspage.cpp:207
#13 0x0871d523 in UMLView::setClassWidgetOptions (this=0xa469378, page=0xa5780f8) at ../../../umbrello/umbrello/umlview.cpp:2886
#14 0x080e60dc in UMLViewDialog::applyPage (this=0xa3dd478, item=0xa569478) at ../../../umbrello/umbrello/dialogs/umlviewdialog.cpp:190
#15 0x080e651e in UMLViewDialog::slotApply (this=0xa3dd478) at ../../../umbrello/umbrello/dialogs/umlviewdialog.cpp:63
#16 0x080e6598 in UMLViewDialog::qt_metacall (this=0xa3dd478, _c=QMetaObject::InvokeMetaMethod, _id=76, _a=0xbfee0f9c) at ./umlviewdialog.moc:74
#17 0xb607bc9a in QMetaObject::metacall (object=0xa3dd478, cl=365, idx=76, argv=0xbfee0f9c) at kernel/qmetaobject.cpp:237
#18 0xb608a3d5 in QMetaObject::activate (sender=0xa3dd478, m=0x8849848, local_signal_index=7, argv=0x0) at kernel/qobject.cpp:3293
#19 0xb6ffbf37 in KDialog::applyClicked (this=0xa3dd478) at ./kdialog.moc:246
#20 0xb6ffe3aa in KDialog::slotButtonClicked (this=0xa3dd478, button=8) at ../../kdeui/dialogs/kdialog.cpp:866
#21 0xb70005e9 in KDialog::qt_metacall (this=0xa3dd478, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfee11b8) at ./kdialog.moc:190
#22 0xb70ddd7a in KPageDialog::qt_metacall (this=0xa3dd478, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbfee11b8) at ./kpagedialog.moc:70
#23 0x080e655c in UMLViewDialog::qt_metacall (this=0xa3dd478, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbfee11b8) at ./umlviewdialog.moc:68
#24 0xb607bc9a in QMetaObject::metacall (object=0xa3dd478, cl=365, idx=69, argv=0xbfee11b8) at kernel/qmetaobject.cpp:237
#25 0xb608a3d5 in QMetaObject::activate (sender=0xa3e78a8, m=0xb61890f8, local_signal_index=0, argv=0xbfee11b8) at kernel/qobject.cpp:3293
#26 0xb608fb13 in QSignalMapper::mapped (this=0xa3e78a8, _t1=8) at .moc/release-shared/moc_qsignalmapper.cpp:101
#27 0xb6090d8d in QSignalMapper::map (this=0xa3e78a8, sender=0xa4dc588) at kernel/qsignalmapper.cpp:266
#28 0xb6090f6e in QSignalMapper::map (this=0xa3e78a8) at kernel/qsignalmapper.cpp:257
#29 0xb609103b in QSignalMapper::qt_metacall (this=0xa3e78a8, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfee1358) at .moc/release-shared/moc_qsignalmapper.cpp:87
#30 0xb607bc9a in QMetaObject::metacall (object=0xa3e78a8, cl=365, idx=8, argv=0xbfee1358) at kernel/qmetaobject.cpp:237
#31 0xb608a3d5 in QMetaObject::activate (sender=0xa4dc588, m=0xb6bfc8c4, local_signal_index=2, argv=0xbfee1358) at kernel/qobject.cpp:3293
#32 0xb69ec479 in QAbstractButton::clicked (this=0xa4dc588, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#33 0xb66cbea9 in QAbstractButtonPrivate::emitClicked (this=0xa43af68) at widgets/qabstractbutton.cpp:546
#34 0xb66cccf4 in QAbstractButtonPrivate::click (this=0xa43af68) at widgets/qabstractbutton.cpp:539
#35 0xb66ccfae in QAbstractButton::mouseReleaseEvent (this=0xa4dc588, e=0xbfee1a90) at widgets/qabstractbutton.cpp:1121
#36 0xb631f7f8 in QWidget::event (this=0xa4dc588, event=0xbfee1a90) at kernel/qwidget.cpp:7998
#37 0xb66cbd4e in QAbstractButton::event (this=0xa4dc588, e=0xa483a28) at widgets/qabstractbutton.cpp:1080
#38 0xb67761f2 in QPushButton::event (this=0xa4dc588, e=0xbfee1a90) at widgets/qpushbutton.cpp:679
#39 0xb62c14dc in QApplicationPrivate::notify_helper (this=0x9fce9d0, receiver=0xa4dc588, e=0xbfee1a90) at kernel/qapplication.cpp:4300
#40 0xb62c89f7 in QApplication::notify (this=0xbfee3890, receiver=0xa4dc588, e=0xbfee1a90) at kernel/qapplication.cpp:3865
#41 0xb709d40a in KApplication::notify (this=0xbfee3890, receiver=0xa4dc588, event=0xbfee1a90) at ../../kdeui/kernel/kapplication.cpp:302
#42 0xb6076a3b in QCoreApplication::notifyInternal (this=0xbfee3890, receiver=0xa4dc588, event=0xbfee1a90) at kernel/qcoreapplication.cpp:704
#43 0xb62c7952 in QCoreApplication::sendEvent (receiver=0xa4dc588, event=0xbfee1a90, alienWidget=0xa4dc588, nativeWidget=0xa3dd478, buttonDown=0xb6c05058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#44 QApplicationPrivate::sendMouseEvent (receiver=0xa4dc588, event=0xbfee1a90, alienWidget=0xa4dc588, nativeWidget=0xa3dd478, buttonDown=0xb6c05058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#45 0xb6353088 in QETWidget::translateMouseEvent (this=0xa3dd478, event=0xbfee1fac) at kernel/qapplication_x11.cpp:4368
#46 0xb6352511 in QApplication::x11ProcessEvent (this=0xbfee3890, event=0xbfee1fac) at kernel/qapplication_x11.cpp:3379
#47 0xb638160a in x11EventSourceDispatch (s=0x9fd1c00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#48 0xb53d85e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#49 0xb53dc2d8 in ?? () from /lib/libglib-2.0.so.0
#50 0xb53dc4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#51 0xb60a25d5 in QEventDispatcherGlib::processEvents (this=0x9fce990, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#52 0xb6381135 in QGuiEventDispatcherGlib::processEvents (this=0x9fce990, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#53 0xb6075059 in QEventLoop::processEvents (this=0xbfee22a0, flags=) at kernel/qeventloop.cpp:149
#54 0xb60754aa in QEventLoop::exec (this=0xbfee22a0, flags=...) at kernel/qeventloop.cpp:201
#55 0xb68004f3 in QDialog::exec (this=0xa3dd478) at dialogs/qdialog.cpp:546
#56 0x0871a062 in UMLView::showPropDialog (this=0xa469378) at ../../../umbrello/umbrello/umlview.cpp:2858
#57 0x087245c0 in UMLView::slotMenuSelection (this=0xa469378, action=0xa351140) at ../../../umbrello/umbrello/umlview.cpp:2778
#58 0x0872e214 in UMLView::qt_metacall (this=0xa469378, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0xbfee2558) at ./umlview.moc:136
#59 0xb607bc9a in QMetaObject::metacall (object=0xa469378, cl=365, idx=66, argv=0xbfee2558) at kernel/qmetaobject.cpp:237
#60 0xb608a3d5 in QMetaObject::activate (sender=0xa3f81a8, m=0xb6bf0748, local_signal_index=2, argv=0xbfee2558) at kernel/qobject.cpp:3293
#61 0xb675f073 in QMenu::triggered (this=0xa3f81a8, _t1=0xa351140) at .moc/release-shared/moc_qmenu.cpp:164
#62 0xb6761aca in QMenuPrivate::_q_actionTriggered (this=0xa351990) at widgets/qmenu.cpp:1129
#63 0xb6766196 in QMenu::qt_metacall (this=0xa3f81a8, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfee2748) at .moc/release-shared/moc_qmenu.cpp:105
#64 0xb719518a in KMenu::qt_metacall (this=0xa3f81a8, _c=QMetaObject::InvokeMetaMethod, _id=35, _a=0xbfee2748) at ./kmenu.moc:76
#65 0xb607bc9a in QMetaObject::metacall (object=0xa3f81a8, cl=365, idx=35, argv=0xbfee2748) at kernel/qmetaobject.cpp:237
#66 0xb608a3d5 in QMetaObject::activate (sender=0xa351140, m=0xb6be9d58, local_signal_index=1, argv=0xbfee2748) at kernel/qobject.cpp:3293
#67 0xb62babd9 in QAction::triggered (this=0xa351140, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#68 0xb62bcdcc in QAction::activate (this=0xa351140, event=QAction::Trigger) at kernel/qaction.cpp:1255
#69 0xb676060c in QMenuPrivate::activateCausedStack (this=0xa351990, causedStack=..., action=0xa351140, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011
#70 0xb6766abb in QMenuPrivate::activateAction (this=0xa351990, action=0xa351140, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103
#71 0xb6767ac7 in QMenu::mouseReleaseEvent (this=0xa3f81a8, e=0xbfee2fe0) at widgets/qmenu.cpp:2312
#72 0xb7193745 in KMenu::mouseReleaseEvent (this=0xa3f81a8, e=0xbfee2fe0) at ../../kdeui/widgets/kmenu.cpp:471
#73 0xb631f7f8 in QWidget::event (this=0xa3f81a8, event=0xbfee2fe0) at kernel/qwidget.cpp:7998
#74 0xb67690cc in QMenu::event (this=0xa3f81a8, e=0xbfee2fe0) at widgets/qmenu.cpp:2414
#75 0xb62c14dc in QApplicationPrivate::notify_helper (this=0x9fce9d0, receiver=0xa3f81a8, e=0xbfee2fe0) at kernel/qapplication.cpp:4300
#76 0xb62c89f7 in QApplication::notify (this=0xbfee3890, receiver=0xa3f81a8, e=0xbfee2fe0) at kernel/qapplication.cpp:3865
#77 0xb709d40a in KApplication::notify (this=0xbfee3890, receiver=0xa3f81a8, event=0xbfee2fe0) at ../../kdeui/kernel/kapplication.cpp:302
#78 0xb6076a3b in QCoreApplication::notifyInternal (this=0xbfee3890, receiver=0xa3f81a8, event=0xbfee2fe0) at kernel/qcoreapplication.cpp:704
#79 0xb62c7952 in QCoreApplication::sendEvent (receiver=0xa3f81a8, event=0xbfee2fe0, alienWidget=0x0, nativeWidget=0xa3f81a8, buttonDown=0xb6c05058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#80 QApplicationPrivate::sendMouseEvent (receiver=0xa3f81a8, event=0xbfee2fe0, alienWidget=0x0, nativeWidget=0xa3f81a8, buttonDown=0xb6c05058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#81 0xb63535cf in QETWidget::translateMouseEvent (this=0xa3f81a8, event=0xbfee34fc) at kernel/qapplication_x11.cpp:4302
#82 0xb6352511 in QApplication::x11ProcessEvent (this=0xbfee3890, event=0xbfee34fc) at kernel/qapplication_x11.cpp:3379
#83 0xb638160a in x11EventSourceDispatch (s=0x9fd1c00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#84 0xb53d85e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#85 0xb53dc2d8 in ?? () from /lib/libglib-2.0.so.0
#86 0xb53dc4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#87 0xb60a25d5 in QEventDispatcherGlib::processEvents (this=0x9fce990, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#88 0xb6381135 in QGuiEventDispatcherGlib::processEvents (this=0x9fce990, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#89 0xb6075059 in QEventLoop::processEvents (this=0xbfee37f4, flags=) at kernel/qeventloop.cpp:149
#90 0xb60754aa in QEventLoop::exec (this=0xbfee37f4, flags=...) at kernel/qeventloop.cpp:201
#91 0xb607969f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#92 0xb62c1577 in QApplication::exec () at kernel/qapplication.cpp:3579
#93 0x086ac645 in main (argc=2, argv=0xbfee3a44) at ../../../umbrello/umbrello/main.cpp:111

Reported using DrKonqi
Comment 1 Holger 2011-06-22 14:45:42 UTC
Created attachment 61235 [details]
the file being edited, when crash happened
Comment 2 Jekyll Wu 2012-07-06 03:25:04 UTC

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