Bug 268535

Summary: Umbrello crashes when moving a Class in Class DIagram
Product: [Applications] umbrello Reporter: neil underwood <n.underwood78>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: adriafarres
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description neil underwood 2011-03-15 08:40:48 UTC
Application: umbrello (2.5.5)
KDE Platform Version: 4.5.5 (KDE 4.5.5)
Qt Version: 4.7.1
Operating System: Linux 2.6.35.11-83.fc14.x86_64 x86_64
Distribution: "Fedora release 14 (Laughlin)"

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

attempting to create a class diagram. Moving a Class caused the program to crash unexpectedly.

-- Backtrace:
Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#6  0x000000000044292c in UMLWidgetController::insertSaveValues (this=0x2117ac0, _oldX=97, _oldY=86, X=129, Y=58) at /usr/src/debug/kdesdk-4.5.5/umbrello/umbrello/controller/umlwidgetcontroller.cpp:597
#7  0x0000000000956b3a in Uml::CmdMoveWidget::undo (this=0x2113f50) at /usr/src/debug/kdesdk-4.5.5/umbrello/umbrello/cmds/cmd_moveWidget.cpp:53
#8  0x0000003b1500fe23 in QUndoStack::setIndex (this=<value optimized out>, idx=2) at util/qundostack.cpp:740
#9  0x0000003b15011871 in QUndoModel::setStackCurrentIndex (this=0x1fe7d30, index=...) at util/qundoview.cpp:160
#10 0x0000003b15011a2d in QUndoModel::qt_metacall (this=0x1fe7d30, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1589fd90) at .moc/release-shared/qundoview.moc:79
#11 0x0000003b1157004f in QMetaObject::activate (sender=0x1fe7dc0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff1589fd90) at kernel/qobject.cpp:3272
#12 0x0000003b14f197ba in QItemSelectionModel::currentChanged (this=<value optimized out>, _t1=<value optimized out>, _t2=<value optimized out>) at .moc/release-shared/moc_qitemselectionmodel.cpp:159
#13 0x0000003b14f198b2 in QItemSelectionModel::setCurrentIndex (this=0x1fe7dc0, index=..., command=<value optimized out>) at itemviews/qitemselectionmodel.cpp:1156
#14 0x0000003b14ec6faa in QAbstractItemView::mousePressEvent (this=0x1fd5e60, event=<value optimized out>) at itemviews/qabstractitemview.cpp:1657
#15 0x0000003b14a092d9 in QWidget::event (this=0x1fd5e60, event=0x7fff158a0d10) at kernel/qwidget.cpp:8196
#16 0x0000003b14db3906 in QFrame::event (this=0x1fd5e60, e=0x7fff158a0d10) at widgets/qframe.cpp:557
#17 0x0000003b14ec4403 in QAbstractItemView::viewportEvent (this=0x1fd5e60, event=0x7fff158a0d10) at itemviews/qabstractitemview.cpp:1619
#18 0x0000003b1155b937 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x1fd6ea0, event=0x7fff158a0d10) at kernel/qcoreapplication.cpp:847
#19 0x0000003b149b7891 in QApplicationPrivate::notify_helper (this=0x1c7d230, receiver=0x1fd6ea0, e=0x7fff158a0d10) at kernel/qapplication.cpp:4441
#20 0x0000003b149bcc5a in QApplication::notify (this=<value optimized out>, receiver=0x1fd6ea0, e=0x7fff158a0d10) at kernel/qapplication.cpp:4006
#21 0x00000030f7c20596 in KApplication::notify (this=0x7fff158a1a30, receiver=0x1fd6ea0, event=0x7fff158a0d10) at /usr/src/debug/kdelibs-4.5.5/kdeui/kernel/kapplication.cpp:310
#22 0x0000003b1155b7ac in QCoreApplication::notifyInternal (this=0x7fff158a1a30, receiver=0x1fd6ea0, event=0x7fff158a0d10) at kernel/qcoreapplication.cpp:732
#23 0x0000003b149b88c5 in sendEvent (receiver=0x1fd6ea0, event=0x7fff158a0d10, alienWidget=0x1fd6ea0, nativeWidget=0x1fccd60, buttonDown=0x3b1548b958, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:215
#24 QApplicationPrivate::sendMouseEvent (receiver=0x1fd6ea0, event=0x7fff158a0d10, alienWidget=0x1fd6ea0, nativeWidget=0x1fccd60, buttonDown=0x3b1548b958, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3105
#25 0x0000003b14a36868 in QETWidget::translateMouseEvent (this=0x1fccd60, event=<value optimized out>) at kernel/qapplication_x11.cpp:4438
#26 0x0000003b14a34f49 in QApplication::x11ProcessEvent (this=0x7fff158a1a30, event=0x7fff158a1660) at kernel/qapplication_x11.cpp:3564
#27 0x0000003b14a5c896 in x11EventSourceDispatch (s=0x1c80f70, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#28 0x0000003b0a441e33 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#29 0x0000003b0a442610 in ?? () from /lib64/libglib-2.0.so.0
#30 0x0000003b0a4428ad in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#31 0x0000003b115868bf in QEventDispatcherGlib::processEvents (this=0x1c55500, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#32 0x0000003b14a5c59e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#33 0x0000003b1155ab42 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#34 0x0000003b1155ad8c in QEventLoop::exec (this=0x7fff158a1970, flags=...) at kernel/qeventloop.cpp:201
#35 0x0000003b1155f24b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#36 0x00000000009ef8cc in main (argc=3, argv=0x7fff158a1ec8) at /usr/src/debug/kdesdk-4.5.5/umbrello/umbrello/main.cpp:111

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

Possible duplicates by query: bug 248129, bug 244440.

Reported using DrKonqi
Comment 1 icedgoal 2011-06-12 21:44:00 UTC
Created attachment 60935 [details]
New crash information added by DrKonqi

umbrello (2.6.2) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:

I was using the history with a INT label when it crashed. I was using GNOME, though.

-- Backtrace (Reduced):
#7  0x080825e9 in UMLWidgetController::insertSaveValues (this=0xa6c9840, _oldX=62, _oldY=116, X=57, Y=106) at ../../../umbrello/umbrello/controller/umlwidgetcontroller.cpp:597
#8  0x082b9921 in Uml::CmdMoveWidget::undo (this=0xa650e38) at ../../../umbrello/umbrello/cmds/cmd_moveWidget.cpp:53
#9  0x03abf9df in QUndoStack::setIndex (this=0xa550718, idx=6) at util/qundostack.cpp:740
#10 0x03ac16b7 in QUndoModel::setStackCurrentIndex (this=0xa64b9c8, index=...) at util/qundoview.cpp:160
#11 0x03ac190c in QUndoModel::qt_metacall (this=0xa64b9c8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbffc1ac4) at .moc/release-shared/qundoview.moc:79
Comment 2 Christoph Feck 2011-08-04 21:53:33 UTC

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