Bug 299376 - Crash on undo/redo
Summary: Crash on undo/redo
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 2.8.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-04 15:36 UTC by Petr Dlouhý
Modified: 2014-01-04 11:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.13.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Dlouhý 2012-05-04 15:36:20 UTC
Application: umbrello (2.8.2)
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-24-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- Steps to reproduce the bug:

1) Create two classes in class diagram.
2) Add relation between them.
3) Add binding node to the relation.
4) Move both classes and the binding node.
5) Hit undo several times.
6) Hit redo.

- Unusual behavior I noticed:

Moving of the binding node is not recorded to the undo queue.

-- Backtrace:
Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  QString (other=..., this=0x7fff4fcb0d30) at ../../include/QtCore/../../src/corelib/tools/qstring.h:725
#7  QUndoCommand::actionText (this=0x2ffa270) at util/qundostack.cpp:257
#8  0x00007f3114630bbf in QUndoStack::undoText (this=<optimized out>) at util/qundostack.cpp:837
#9  0x00007f3114630caa in QUndoStackPrivate::setIndex (this=<optimized out>, idx=<optimized out>, clean=false) at util/qundostack.cpp:443
#10 0x00007f3113383281 in QMetaObject::activate (sender=0x2b3f840, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff4fcb0eb0) at kernel/qobject.cpp:3547
#11 0x00007f3113fb5132 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#12 0x00007f3113fb531f in QAction::activate (this=0x2b3f840, event=<optimized out>) at kernel/qaction.cpp:1257
#13 0x00007f311438ad4a in QAbstractButtonPrivate::click (this=0x2d0fe50) at widgets/qabstractbutton.cpp:530
#14 0x00007f311438affc in QAbstractButton::mouseReleaseEvent (this=0x2cecce0, e=0x7fff4fcb1790) at widgets/qabstractbutton.cpp:1123
#15 0x00007f31144485da in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:718
#16 0x00007f311400c144 in QWidget::event (this=0x2cecce0, event=0x7fff4fcb1790) at kernel/qwidget.cpp:8362
#17 0x00007f3113fbb894 in notify_helper (e=0x7fff4fcb1790, receiver=0x2cecce0, this=0x293e540) at kernel/qapplication.cpp:4559
#18 QApplicationPrivate::notify_helper (this=0x293e540, receiver=0x2cecce0, e=0x7fff4fcb1790) at kernel/qapplication.cpp:4531
#19 0x00007f3113fc10bf in QApplication::notify (this=<optimized out>, receiver=0x2cecce0, e=0x7fff4fcb1790) at kernel/qapplication.cpp:4102
#20 0x00007f3114cf4b46 in KApplication::notify (this=0x7fff4fcb2490, receiver=0x2cecce0, event=0x7fff4fcb1790) at ../../kdeui/kernel/kapplication.cpp:311
#21 0x00007f311336ee9c in QCoreApplication::notifyInternal (this=0x7fff4fcb2490, receiver=0x2cecce0, event=0x7fff4fcb1790) at kernel/qcoreapplication.cpp:876
#22 0x00007f3113fbc862 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#23 QApplicationPrivate::sendMouseEvent (receiver=0x2cecce0, event=0x7fff4fcb1790, alienWidget=0x2cecce0, nativeWidget=0x2d07f60, buttonDown=0x2cecce0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#24 0x00007f311403bbf5 in QETWidget::translateMouseEvent (this=0x2d07f60, event=<optimized out>) at kernel/qapplication_x11.cpp:4617
#25 0x00007f311403abae in QApplication::x11ProcessEvent (this=0x7fff4fcb2490, event=0x7fff4fcb2060) at kernel/qapplication_x11.cpp:3732
#26 0x00007f31140640d2 in x11EventSourceDispatch (s=0x2940500, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#27 0x00007f310f610c9a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f310f611060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f310f611124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f311339e3bf in QEventDispatcherGlib::processEvents (this=0x290f3d0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#31 0x00007f3114063d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007f311336dc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007f311336ded7 in QEventLoop::exec (this=0x7fff4fcb2400, flags=...) at kernel/qeventloop.cpp:204
#34 0x00007f3113372f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#35 0x0000000000438d26 in main (argc=3, argv=0x7fff4fcb28a8) at ../../../umbrello/umbrello/main.cpp:111

Reported using DrKonqi