Bug 202436 - Umbrello crashes on undo after deleting [UMLWidgetController::insertSaveValues, Uml::CmdMoveWidget::undo, QUndoStack::undo]
Summary: Umbrello crashes on undo after deleting [UMLWidgetController::insertSaveValue...
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
: 214318 241755 241891 248129 252538 255022 255195 255787 255796 264214 282627 284006 290705 293997 297113 298360 310964 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-03 21:26 UTC by FiNeX
Modified: 2016-09-01 20:44 UTC (History)
24 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.13.0


Attachments
New crash information added by DrKonqi (6.35 KB, text/plain)
2010-08-08 17:53 UTC, Samir
Details
File to reproduce BUG (7.66 KB, text/x-xmi)
2010-12-04 22:07 UTC, Aurelijus
Details
Report from crash assistant (4.46 KB, application/octet-stream)
2010-12-04 22:09 UTC, Aurelijus
Details
New crash information added by DrKonqi (5.50 KB, text/plain)
2011-06-19 22:29 UTC, coldnorthtoy
Details
New crash information added by DrKonqi (4.97 KB, text/plain)
2011-10-05 17:54 UTC, Vojtech Vitek (V-Teq)
Details
New crash information added by DrKonqi (5.47 KB, text/plain)
2012-08-12 09:56 UTC, Nikolay
Details

Note You need to log in before you can comment on or make changes to this bug.
Description FiNeX 2009-08-03 21:26:37 UTC
Application that crashed: umbrello
Version of the application: 2.3.62
KDE Version: 4.3.62 (KDE 4.3.62 (KDE 4.4 >= 20090728))
Qt Version: 4.5.2
Operating System: Linux 2.6.30-ARCH x86_64

What I was doing when the application crashed:
1) created a class
2) created a second class
3) created an association between the two classes
4) deleted the first class
5) undo
-> crash

I'm not able to reproduce it anymore (I've had the crash trying to reproduce bug #114135)

 -- Backtrace:
Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault
[KCrash Handler]
#5  0x0000000000450149 in UMLWidgetController::insertSaveValues (this=0x1c8cd10, _oldX=462, _oldY=215, X=318, Y=167)
    at /mnt/archivio/KDE4/src/kdesdk/umbrello/umbrello/controller/umlwidgetcontroller.cpp:597
#6  0x0000000000b23a6a in Uml::CmdMoveWidget::undo (this=0x19d81e0) at /mnt/archivio/KDE4/src/kdesdk/umbrello/umbrello/cmds/cmd_moveWidget.cpp:53
#7  0x00007fb86c762261 in QUndoStack::undo () from /usr/lib/libQtGui.so.4
#8  0x00007fb86c770e30 in QUndoStack::qt_metacall () from /usr/lib/libQtGui.so.4
#9  0x00007fb86bcede0c in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#10 0x00007fb86c163fd7 in QAction::triggered () from /usr/lib/libQtGui.so.4
#11 0x00007fb86c16541f in QAction::activate () from /usr/lib/libQtGui.so.4
#12 0x00007fb86c54f56d in ?? () from /usr/lib/libQtGui.so.4
#13 0x00007fb86c55548a in ?? () from /usr/lib/libQtGui.so.4
#14 0x00007fb86dd2a3ae in KMenu::mouseReleaseEvent (this=0x1adccb0, e=0x13e) at /mnt/archivio/KDE4/src/kdelibs/kdeui/widgets/kmenu.cpp:456
#15 0x00007fb86c1b8810 in QWidget::event () from /usr/lib/libQtGui.so.4
#16 0x00007fb86c557c4b in QMenu::event () from /usr/lib/libQtGui.so.4
#17 0x00007fb86c169e2c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#18 0x00007fb86c170f41 in QApplication::notify () from /usr/lib/libQtGui.so.4
#19 0x00007fb86dc58036 in KApplication::notify (this=0x7fffff83fcb0, receiver=0x1adccb0, event=0x7fffff83df40) at /mnt/archivio/KDE4/src/kdelibs/kdeui/kernel/kapplication.cpp:302
#20 0x00007fb86bcd8d0c in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#21 0x00007fb86c170810 in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#22 0x00007fb86c1d6b2e in ?? () from /usr/lib/libQtGui.so.4
#23 0x00007fb86c1d5409 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#24 0x00007fb86c1fd5fc in ?? () from /usr/lib/libQtGui.so.4
#25 0x00007fb866a41dbe in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0x00007fb866a45568 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#27 0x00007fb866a45690 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0x00007fb86bd011d6 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#29 0x00007fb86c1fcdde in ?? () from /usr/lib/libQtGui.so.4
#30 0x00007fb86bcd7612 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#31 0x00007fb86bcd79e4 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#32 0x00007fb86bcd9b99 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#33 0x0000000000bbed05 in main (argc=<value optimized out>, argv=<value optimized out>) at /mnt/archivio/KDE4/src/kdesdk/umbrello/umbrello/main.cpp:111

Reported using DrKonqi
Comment 1 Dario Andres 2009-08-04 00:35:22 UTC
Backtrace on bug 174397 looks related. Thanks
Comment 2 FiNeX 2009-08-04 01:02:47 UTC
It could be the same, but it has been reported on MS platform, maybe it is better to leave both opened.
Comment 3 Dario Andres 2009-11-14 15:56:10 UTC
*** Bug 214318 has been marked as a duplicate of this bug. ***
Comment 4 Nicolas L. 2010-06-17 10:42:16 UTC
*** Bug 241755 has been marked as a duplicate of this bug. ***
Comment 5 Nicolas L. 2010-06-17 10:42:23 UTC
*** Bug 241891 has been marked as a duplicate of this bug. ***
Comment 6 Samir 2010-08-08 17:53:19 UTC
Created attachment 49920 [details]
New crash information added by DrKonqi

i have many class.
i delete one.
umbrello crash.
Comment 7 Nicolas L. 2010-08-17 12:01:45 UTC
*** Bug 248129 has been marked as a duplicate of this bug. ***
Comment 8 Dario Andres 2010-11-18 19:33:40 UTC
[Comment from a bug triager]
From bug 255787:
I get "Segmentation failed" error when i do the following moves:
1) Delete class diagram with existing classes
2) Create new class diagram
3) Drag and drop existing class into new class diagram
Comment 9 Dario Andres 2010-11-18 19:33:45 UTC
*** Bug 255022 has been marked as a duplicate of this bug. ***
Comment 10 Dario Andres 2010-11-18 19:34:10 UTC
*** Bug 255195 has been marked as a duplicate of this bug. ***
Comment 11 Dario Andres 2010-11-18 19:34:13 UTC
*** Bug 255787 has been marked as a duplicate of this bug. ***
Comment 12 Dario Andres 2010-11-18 19:34:16 UTC
*** Bug 255796 has been marked as a duplicate of this bug. ***
Comment 13 Dario Andres 2010-11-18 19:34:17 UTC
*** Bug 252538 has been marked as a duplicate of this bug. ***
Comment 14 Aurelijus 2010-12-04 22:07:33 UTC
Created attachment 54123 [details]
File to reproduce BUG

Umbrella crashes when you try to delete one of the "[else]" (to be precise, second from the bottom) line from the frame.
Comment 15 Aurelijus 2010-12-04 22:09:20 UTC
Created attachment 54124 [details]
Report from crash assistant
Comment 16 Aurelijus 2010-12-04 22:13:09 UTC
Same error with deletion. Attached my report and file to reproduce.

Similar bug was using Undo function, but can not reproduce it.
Perhaps when I was clicking CTRL-Z frequently reached "update" which is before creating document.
Comment 17 Dario Andres 2011-01-30 23:44:54 UTC
[Comment from a bug triager]
From bug 264214:
-- Information about the crash:
In a sequence diagram, I cut an operation from the diagram and then pressed
ctrl-z. Umbrello crashed at that point.
Comment 18 coldnorthtoy 2011-06-19 22:29:12 UTC
Created attachment 61158 [details]
New crash information added by DrKonqi

umbrello (2.5.5) on KDE Platform 4.5.5 (KDE 4.5.5) using Qt 4.7.0

- What I was doing when the application crashed:

Undoing an addition - ie, undo would not do a 'delete' to remove what I'd added.

-- Backtrace (Reduced):
#7  0x0808f0e0 in UMLWidgetController::insertSaveValues (this=0x9320f38, _oldX=492, _oldY=533, X=492, Y=531) at ../../../umbrello/umbrello/controller/umlwidgetcontroller.cpp:597
#8  0x084ee1c1 in Uml::CmdMoveWidget::undo (this=0x93625d8) at ../../../umbrello/umbrello/cmds/cmd_moveWidget.cpp:53
#9  0xb699bb47 in QUndoStack::undo (this=0x8f235f8) at util/qundostack.cpp:659
#10 0xb69ce753 in QUndoStack::qt_metacall (this=0x8f235f8, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfc53638) at .moc/release-shared/moc_qundostack.cpp:105
#11 0xb7157592 in KUndoStack::qt_metacall (this=0x8f235f8, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfc53638) at ./kundostack.moc:64
Comment 19 Christoph Feck 2011-08-04 21:52:30 UTC
*** Bug 279382 has been marked as a duplicate of this bug. ***
Comment 20 Christoph Feck 2011-08-04 21:54:30 UTC
*** Bug 264214 has been marked as a duplicate of this bug. ***
Comment 21 Vojtech Vitek (V-Teq) 2011-10-05 17:54:31 UTC
Created attachment 64251 [details]
New crash information added by DrKonqi

umbrello (2.6.5) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.4

- What I was doing when the application crashed:
REDO by CTRL+Y

$ rpmquery --whatprovides /usr/bin/umbrello                                                                                               
kdesdk-4.6.5-2.fc15.x86_64

-- Backtrace (Reduced):
#6  0x0000000000443fac in UMLWidgetController::insertSaveValues (this=0x272a2d0, _oldX=160, _oldY=486, X=164, Y=489) at /usr/src/debug/kdesdk-4.6.5/umbrello/umbrello/controller/umlwidgetcontroller.cpp:597
#7  0x0000000000644a2a in Uml::CmdMoveWidget::undo (this=0x264e350) at /usr/src/debug/kdesdk-4.6.5/umbrello/umbrello/cmds/cmd_moveWidget.cpp:53
#8  0x0000003612e05371 in QUndoStack::undo (this=<optimized out>) at util/qundostack.cpp:659
#9  0x0000003612e27410 in QUndoStack::qt_metacall (this=0x22110c0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x7fff7374c160) at .moc/release-shared/moc_qundostack.cpp:105
[...]
#11 0x00000036127b2fd2 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
Comment 22 Christoph Feck 2012-01-05 17:42:21 UTC
*** Bug 284006 has been marked as a duplicate of this bug. ***
Comment 23 Christoph Feck 2012-01-05 17:42:42 UTC
*** Bug 290705 has been marked as a duplicate of this bug. ***
Comment 24 Jekyll Wu 2012-07-05 22:49:01 UTC
*** Bug 298360 has been marked as a duplicate of this bug. ***
Comment 25 Jekyll Wu 2012-07-05 22:49:16 UTC
*** Bug 297113 has been marked as a duplicate of this bug. ***
Comment 26 Jekyll Wu 2012-07-05 22:49:31 UTC
*** Bug 282627 has been marked as a duplicate of this bug. ***
Comment 27 Jekyll Wu 2012-07-05 22:49:47 UTC
*** Bug 293997 has been marked as a duplicate of this bug. ***
Comment 28 Nikolay 2012-08-12 09:56:31 UTC
Created attachment 73110 [details]
New crash information added by DrKonqi

umbrello (2.8.4) on KDE Platform 4.8.4 (4.8.4) using Qt 4.8.2

- What I was doing when the application crashed:

1) Created several packages
2) Put the package in the package
3) Remove root package
4) Undo
5) Crash

-- Backtrace (Reduced):
#7  0x080888b9 in UMLWidgetController::insertSaveValues (this=0xa1d74a0, _oldX=142, _oldY=130, X=193, Y=175) at /usr/src/debug/kdesdk-4.8.4/umbrello/umbrello/controller/umlwidgetcontroller.cpp:591
#8  0x082ac970 in Uml::CmdMoveWidget::undo (this=0xa4851e0) at /usr/src/debug/kdesdk-4.8.4/umbrello/umbrello/cmds/cmd_moveWidget.cpp:54
#9  0x41cd3f90 in QUndoStack::undo (this=0x9f9baa0) at util/qundostack.cpp:701
#10 0x41cfbbf4 in qt_static_metacall (_a=0xbffcee68, _id=8, _o=0x9f9baa0, _c=<optimized out>) at .moc/release-shared/moc_qundostack.cpp:81
#11 QUndoStack::qt_static_metacall (_o=0x9f9baa0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbffcee68) at .moc/release-shared/moc_qundostack.cpp:67
Comment 29 Jekyll Wu 2012-12-01 10:23:10 UTC
*** Bug 310964 has been marked as a duplicate of this bug. ***