Bug 119868 - clicking undo twice in a row crashes Umbrello
Summary: clicking undo twice in a row crashes Umbrello
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 1.5
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-10 18:23 UTC by Alex W
Modified: 2013-11-02 17:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.10.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex W 2006-01-10 18:23:59 UTC
Version:           1.5 (using KDE 3.5.0, Gentoo)
Compiler:          gcc version 3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, pie-8.7.9)
OS:                Linux (i686) release 2.6.14-gentoo-r5

Undo clicked twice
Umbrello, so nice,
gone.

To reproduce:
In the sequence diagram (and other places) make a few changes. Click undo twice.
Umbrello crashes.

Expected behaviour:
A second level of undo.
Comment 1 Ian Vaughan 2006-02-11 00:00:15 UTC
On testing this I managed two undos ok, but then the first redo crashed it!
On general usage sometimes two undos crashes it for me as well.

This only seems to occur after some "heavy" usage, ie if on clean open just create a load of objects, they can all be undone ok.

Tested with v1.5
On Linux (i686) release 2.6.12-12-386
Compiler : Target : i486-linux-gnu
(From Ubuntu apt)
Comment 2 Oliver Kellogg 2007-06-19 22:48:03 UTC
Hmm... Does this still happen with a more recent version (e.g. 1.5.71) ?
Comment 3 Oliver Putz 2007-12-10 20:53:48 UTC
Yes, this still happens with a more recent version. I can reproduce this in the current (746734) kde4daily svn build.

Smalletst testcase to reproduce:

1) Create new Sequence Diagram
2) Add one object to sequence diagram
3) Add asyncronous message from object to itself
4) Undo (this erases the asyncronous message as well as the object!)
5) Undo again (this crashes umbrello)

So at least here, there is no need for heavy workload before doing the undos...

Funny thing: Umbrello 1.5.7 in my KDE 3.5.7 (Gentoo) does not crash.

Backtrace:

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1240717616 (LWP 4180)]
[KCrash handler]
#6  0x08217a36 in Q3CanvasItem::update (this=0x8742ae4)
    at /storage/tmp/kde4dev/qt-unstable/include/Qt/q3canvas.h:157
#7  0x082de29a in UMLWidget::setLineColorcmd (this=0x8742ab0, 
    colour=@0x87373fc)
    at /storage/tmp/kde4dev/kdesdk/umbrello/umbrello/umlwidget.cpp:445
#8  0x081eab52 in Uml::cmdChangeLineColor::undo (this=0x87373f0)
    at /storage/tmp/kde4dev/kdesdk/umbrello/umbrello/cmds/widget/cmd_changeLineColor.cpp:61
#9  0xb6be9b92 in QUndoStack::undo ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#10 0xb6bfd82c in QUndoStack::qt_metacall ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#11 0xb7ada680 in KUndoStack::qt_metacall (this=0x84218a0, 
    _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbff45bcc)
    at /storage/tmp/kde4dev/kdelibs-build/kdeui/kundostack.moc:56
#12 0xb7ecabc0 in QMetaObject::activate ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtCore.so.4
#13 0xb7ecadbc in QMetaObject::activate ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtCore.so.4
#14 0xb664410c in QAction::triggered ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#15 0xb6645e7a in QAction::activate ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#16 0xb664602b in QAction::event ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#17 0xb664bce1 in QApplicationPrivate::notify_helper ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#18 0xb664bfe2 in QApplication::notify ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#19 0xb7a56843 in KApplication::notify (this=0xbff46e48, receiver=0x8422738, 
    event=0xbff46064)
    at /storage/tmp/kde4dev/kdelibs/kdeui/kernel/kapplication.cpp:319
#20 0xb7eb941e in QCoreApplication::notifyInternal ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtCore.so.4
#21 0xb6648a13 in QCoreApplication::sendEvent ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#22 0xb668240d in QShortcutMap::dispatchEvent ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#23 0xb66833a3 in QShortcutMap::tryShortcutEvent ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#24 0xb664c212 in QApplication::notify ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#25 0xb7a56843 in KApplication::notify (this=0xbff46e48, receiver=0x860bab0, 
    event=0xbff464d4)
    at /storage/tmp/kde4dev/kdelibs/kdeui/kernel/kapplication.cpp:319
#26 0xb7eb941e in QCoreApplication::notifyInternal ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtCore.so.4
#27 0xb66570b1 in QCoreApplication::sendSpontaneousEvent ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#28 0xb66a9b30 in qt_sendSpontaneousEvent ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#29 0xb66e05f4 in QKeyMapper::sendKeyEvent ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#30 0xb66e1980 in QKeyMapperPrivate::translateKeyEvent ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#31 0xb66b6273 in QApplication::x11ProcessEvent ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#32 0xb66e3dc3 in x11EventSourceDispatch ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#33 0xb6244df2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#34 0xb6247dcf in ?? () from /usr/lib/libglib-2.0.so.0
#35 0x08379458 in ?? ()
#36 0x00000000 in ?? ()
#0  0xffffe402 in __kernel_vsyscall ()
Comment 4 Oliver Putz 2007-12-17 06:10:51 UTC
A little edit to my last edit where I said this would not happen in umbrello 1.5.7 under KDE 3.5.7. The bug is visible there too. Just that I need to make three connections between the two classes in the sequence view and need to click undo real fast (like "triple-clicking" on the undo button)

Below are a simple and a full backtrace for this bug in umbrello 1.5.7 under kde 3.5.7 in Gentoo.

Simple backtrace:

#0  0x00000006 in ?? ()
#1  0x081867d6 in ~QPtrList (this=0x851cad0) at /usr/qt/3/include/qptrlist.h:70
#2  0x081c49f3 in ~UMLView (this=0x0) at umlview.cpp:207
#3  0xb724846d in QGList::clear () from /usr/qt/3/lib/libqt-mt.so.3
#4  0x0816c3a3 in UMLFolder::removeAllViews (this=0x83cb2a8) at folder.cpp:166
#5  0x081a2799 in UMLDoc::removeAllViews (this=0x83cb020) at umldoc.cpp:1856
#6  0x081a6b04 in UMLDoc::closeDocument (this=0x83cb020) at umldoc.cpp:284
#7  0x081a6ee1 in UMLDoc::loadUndoData (this=0x83cb020) at umldoc.cpp:2192
#8  0x08199e1b in UMLApp::slotEditUndo (this=0x8371cd0) at uml.cpp:822
#9  0x0819cc5d in UMLApp::qt_invoke (this=0x8371cd0, _id=133, _o=0xbfd492a8) at uml.moc:334
#10 0xb6f86499 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#11 0xb6f870ed in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#12 0xb7865b89 in KAction::activated () from /usr/kde/3.5/lib/libkdeui.so.4
#13 0xb7865be1 in KAction::slotActivated () from /usr/kde/3.5/lib/libkdeui.so.4
#14 0xb7865aab in KAction::slotButtonClicked () from /usr/kde/3.5/lib/libkdeui.so.4
#15 0xb7868cc6 in KAction::qt_invoke () from /usr/kde/3.5/lib/libkdeui.so.4
#16 0xb6f86499 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#17 0xb79264be in KToolBarButton::buttonClicked () from /usr/kde/3.5/lib/libkdeui.so.4
#18 0xb7926958 in KToolBarButton::mouseReleaseEvent () from /usr/kde/3.5/lib/libkdeui.so.4
#19 0xb6fc08c5 in QWidget::event () from /usr/qt/3/lib/libqt-mt.so.3
#20 0xb79270e1 in KToolBarButton::event () from /usr/kde/3.5/lib/libkdeui.so.4
#21 0xb6f283a7 in QApplication::internalNotify () from /usr/qt/3/lib/libqt-mt.so.3
#22 0xb6f291f2 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
#23 0xb757bad2 in KApplication::notify () from /usr/kde/3.5/lib/libkdecore.so.4
#24 0xb6ec7e19 in QETWidget::translateMouseEvent () from /usr/qt/3/lib/libqt-mt.so.3
#25 0xb6ec7561 in QApplication::x11ProcessEvent () from /usr/qt/3/lib/libqt-mt.so.3
#26 0xb6ed7671 in QEventLoop::processEvents () from /usr/qt/3/lib/libqt-mt.so.3
#27 0xb6f3d255 in QEventLoop::processEvents () from /usr/qt/3/lib/libqt-mt.so.3
#28 0xb6f27e9c in QApplication::processEvents () from /usr/qt/3/lib/libqt-mt.so.3
#29 0xb6f27ed6 in QApplication::processEvents () from /usr/qt/3/lib/libqt-mt.so.3
#30 0x081a283b in UMLDoc::resolveTypes (this=0x83cb020) at umldoc.cpp:1605
#31 0x081a7d59 in UMLDoc::loadExtensionsFromXMI (this=0x83cb020, node=@0xbfd49f30)
    at umldoc.cpp:1784
#32 0x081a84bc in UMLDoc::loadFromXMI (this=0x83cb020, file=@0x84ebec8, encode=0)
    at umldoc.cpp:1488
#33 0x081a6f2d in UMLDoc::loadUndoData (this=0x83cb020) at umldoc.cpp:2197
#34 0x08199e1b in UMLApp::slotEditUndo (this=0x8371cd0) at uml.cpp:822
#35 0x0819cc5d in UMLApp::qt_invoke (this=0x8371cd0, _id=133, _o=0xbfd4a158) at uml.moc:334
#36 0xb6f86499 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#37 0xb6f870ed in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#38 0xb7865b89 in KAction::activated () from /usr/kde/3.5/lib/libkdeui.so.4
#39 0xb7865be1 in KAction::slotActivated () from /usr/kde/3.5/lib/libkdeui.so.4
#40 0xb7865aab in KAction::slotButtonClicked () from /usr/kde/3.5/lib/libkdeui.so.4
#41 0xb7868cc6 in KAction::qt_invoke () from /usr/kde/3.5/lib/libkdeui.so.4
#42 0xb6f86499 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#43 0xb79264be in KToolBarButton::buttonClicked () from /usr/kde/3.5/lib/libkdeui.so.4
#44 0xb7926958 in KToolBarButton::mouseReleaseEvent () from /usr/kde/3.5/lib/libkdeui.so.4
#45 0xb6fc08c5 in QWidget::event () from /usr/qt/3/lib/libqt-mt.so.3
#46 0xb79270e1 in KToolBarButton::event () from /usr/kde/3.5/lib/libkdeui.so.4
#47 0xb6f283a7 in QApplication::internalNotify () from /usr/qt/3/lib/libqt-mt.so.3
#48 0xb6f291f2 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
#49 0xb757bad2 in KApplication::notify () from /usr/kde/3.5/lib/libkdecore.so.4
#50 0xb6ec7e19 in QETWidget::translateMouseEvent () from /usr/qt/3/lib/libqt-mt.so.3
#51 0xb6ec7561 in QApplication::x11ProcessEvent () from /usr/qt/3/lib/libqt-mt.so.3
#52 0xb6ed7671 in QEventLoop::processEvents () from /usr/qt/3/lib/libqt-mt.so.3
#53 0xb6f3d2e1 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3
#54 0xb6f3d166 in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3
#55 0xb6f27e2f in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3
#56 0x0817ccaf in main (argc=Cannot access memory at address 0x6
) at main.cpp:137

full backtrace:

#0  0x00000006 in ?? ()
No symbol table info available.
#1  0x081867d6 in ~QPtrList (this=0x851cad0) at /usr/qt/3/include/qptrlist.h:70
No locals.
#2  0x081c49f3 in ~UMLView (this=0x0) at umlview.cpp:207
No locals.
#3  0xb724846d in QGList::clear () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#4  0x0816c3a3 in UMLFolder::removeAllViews (this=0x83cb2a8) at folder.cpp:166
	o = <value optimized out>
	v = (class UMLView *) 0x0
#5  0x081a2799 in UMLDoc::removeAllViews (this=0x83cb020) at umldoc.cpp:1856
	i = 1
#6  0x081a6b04 in UMLDoc::closeDocument (this=0x83cb020) at umldoc.cpp:284
	m_bLoading_old = true
	dw = <value optimized out>
	listView = (class UMLListView *) 0x84691c0
#7  0x081a6ee1 in UMLDoc::loadUndoData (this=0x83cb020) at umldoc.cpp:2192
	currentView = <value optimized out>
	currentViewID = {static npos = 4294967295, 
  _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x8583014 "h7YTayHCyzcl"}}
	m_bLoading_old = true
	undoData = <value optimized out>
#8  0x08199e1b in UMLApp::slotEditUndo (this=0x8371cd0) at uml.cpp:822
No locals.
#9  0x0819cc5d in UMLApp::qt_invoke (this=0x8371cd0, _id=133, _o=0xbfd492a8) at uml.moc:334
No locals.
#10 0xb6f86499 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#11 0xb6f870ed in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#12 0xb7865b89 in KAction::activated () from /usr/kde/3.5/lib/libkdeui.so.4
No symbol table info available.
#13 0xb7865be1 in KAction::slotActivated () from /usr/kde/3.5/lib/libkdeui.so.4
No symbol table info available.
#14 0xb7865aab in KAction::slotButtonClicked () from /usr/kde/3.5/lib/libkdeui.so.4
No symbol table info available.
#15 0xb7868cc6 in KAction::qt_invoke () from /usr/kde/3.5/lib/libkdeui.so.4
No symbol table info available.
#16 0xb6f86499 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#17 0xb79264be in KToolBarButton::buttonClicked () from /usr/kde/3.5/lib/libkdeui.so.4
No symbol table info available.
#18 0xb7926958 in KToolBarButton::mouseReleaseEvent () from /usr/kde/3.5/lib/libkdeui.so.4
No symbol table info available.
#19 0xb6fc08c5 in QWidget::event () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#20 0xb79270e1 in KToolBarButton::event () from /usr/kde/3.5/lib/libkdeui.so.4
No symbol table info available.
#21 0xb6f283a7 in QApplication::internalNotify () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#22 0xb6f291f2 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#23 0xb757bad2 in KApplication::notify () from /usr/kde/3.5/lib/libkdecore.so.4
No symbol table info available.
#24 0xb6ec7e19 in QETWidget::translateMouseEvent () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#25 0xb6ec7561 in QApplication::x11ProcessEvent () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#26 0xb6ed7671 in QEventLoop::processEvents () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#27 0xb6f3d255 in QEventLoop::processEvents () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#28 0xb6f27e9c in QApplication::processEvents () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#29 0xb6f27ed6 in QApplication::processEvents () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#30 0x081a283b in UMLDoc::resolveTypes (this=0x83cb020) at umldoc.cpp:1605
No locals.
#31 0x081a7d59 in UMLDoc::loadExtensionsFromXMI (this=0x83cb020, node=@0xbfd49f30)
    at umldoc.cpp:1784
	element = <incomplete type>
	tag = {static null = {static null = <same as static member of an already seen type>, 
    d = 0x8330070, static shared_null = 0x8330070}, d = 0x84af198, static shared_null = 0x8330070}
#32 0x081a84bc in UMLDoc::loadFromXMI (this=0x83cb020, file=@0x84ebec8, encode=0)
    at umldoc.cpp:1488
	extensionsNode = <incomplete type>
	element = <incomplete type>
	recognized = <value optimized out>
	outerTag = {static null = {static null = <same as static member of an already seen type>, 
    d = 0x8330070, static shared_null = 0x8330070}, d = 0x852abe8, static shared_null = 0x8330070}
	seen_UMLObjects = true
	stream = <incomplete type>
	data = {static null = {static null = <same as static member of an already seen type>, 
    d = 0x8330070, static shared_null = 0x8330070}, d = 0x84c7f90, static shared_null = 0x8330070}
	error = {static null = {static null = <same as static member of an already seen type>, 
    d = 0x8330070, static shared_null = 0x8330070}, d = 0x8330070, static shared_null = 0x8330070}
	line = <value optimized out>
	doc = <incomplete type>
	node = <incomplete type>
	root = <incomplete type>
	viewToBeSet = <value optimized out>
#33 0x081a6f2d in UMLDoc::loadUndoData (this=0x83cb020) at umldoc.cpp:2197
	currentView = <value optimized out>
	currentViewID = {static npos = 4294967295, 
  _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x8585a64 "h7YTayHCyzcl"}}
	m_bLoading_old = false
	undoData = <value optimized out>
#34 0x08199e1b in UMLApp::slotEditUndo (this=0x8371cd0) at uml.cpp:822
No locals.
#35 0x0819cc5d in UMLApp::qt_invoke (this=0x8371cd0, _id=133, _o=0xbfd4a158) at uml.moc:334
No locals.
#36 0xb6f86499 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#37 0xb6f870ed in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#38 0xb7865b89 in KAction::activated () from /usr/kde/3.5/lib/libkdeui.so.4
No symbol table info available.
#39 0xb7865be1 in KAction::slotActivated () from /usr/kde/3.5/lib/libkdeui.so.4
No symbol table info available.
#40 0xb7865aab in KAction::slotButtonClicked () from /usr/kde/3.5/lib/libkdeui.so.4
No symbol table info available.
#41 0xb7868cc6 in KAction::qt_invoke () from /usr/kde/3.5/lib/libkdeui.so.4
No symbol table info available.
#42 0xb6f86499 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#43 0xb79264be in KToolBarButton::buttonClicked () from /usr/kde/3.5/lib/libkdeui.so.4
No symbol table info available.
#44 0xb7926958 in KToolBarButton::mouseReleaseEvent () from /usr/kde/3.5/lib/libkdeui.so.4
No symbol table info available.
#45 0xb6fc08c5 in QWidget::event () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#46 0xb79270e1 in KToolBarButton::event () from /usr/kde/3.5/lib/libkdeui.so.4
No symbol table info available.
#47 0xb6f283a7 in QApplication::internalNotify () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#48 0xb6f291f2 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#49 0xb757bad2 in KApplication::notify () from /usr/kde/3.5/lib/libkdecore.so.4
No symbol table info available.
#50 0xb6ec7e19 in QETWidget::translateMouseEvent () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#51 0xb6ec7561 in QApplication::x11ProcessEvent () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#52 0xb6ed7671 in QEventLoop::processEvents () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#53 0xb6f3d2e1 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#54 0xb6f3d166 in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#55 0xb6f27e2f in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#56 0x0817ccaf in main (argc=Cannot access memory at address 0x6
) at main.cpp:137
	aboutData = {mAppName = 0x82e3dcc "umbrello", 
  mProgramName = 0x82e670e "Umbrello UML Modeller", mVersion = 0x82e6708 "1.5.7", 
  mShortDescription = 0x82e68ae "Umbrello UML Modeller", mLicenseKey = 1, 
  mCopyrightStatement = 0x82e66c5 "(c) 2001 Paul Hensgen, (c) 2002-2006 Umbrello UML Modeller Authors", mOtherText = 0x0, mHomepageAddress = 0x82e66b2 "http://uml.sf.net/", 
  mBugEmailAddress = 0x82e669e "submit@bugs.kde.org", mAuthorList = {sh = 0x833da88}, 
  mCreditList = {sh = 0x833dab8}, mLicenseText = 0x0, d = 0x833dae8}
	app = <incomplete type>
Comment 5 Oliver Putz 2008-04-02 03:53:16 UTC
Still crashes with kdesdk r792155 with the following backtrace:

Application: Umbrello UML Modeller (umbrello), signal SIGSEGV
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb5f0f8e0 (LWP 21016)]
[KCrash handler]
#6  0x0829ef39 in Q3CanvasItem::update (this=0x87816b0)
    at /usr/include/qt4/Qt3Support/q3canvas.h:166
#7  0xb6a39b94 in QUndoStack::undo (this=0x854b730) at util/qundostack.cpp:659
#8  0xb6a4bd6c in QUndoStack::qt_metacall (this=0x854b730, 
    _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbff0f26c)
    at .moc/debug-shared/moc_qundostack.cpp:98
#9  0xb7aa9dd2 in KUndoStack::qt_metacall (this=0x854b730, 
    _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbff0f26c)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs_build/kdeui/kundostack.moc:57
#10 0xb7f002c8 in QMetaObject::activate (sender=0x854c308, 
    from_signal_index=<value optimized out>, to_signal_index=6, 
    argv=<value optimized out>) at kernel/qobject.cpp:2995
#11 0xb7f007e2 in QMetaObject::activate (sender=0x854c308, m=0xb6bfe9b8, 
    from_local_signal_index=1, to_local_signal_index=2, argv=0xbff0f26c)
    at kernel/qobject.cpp:3085
#12 0xb63e2f63 in QAction::triggered (this=0x854c308, _t1=false)
    at .moc/debug-shared/moc_qaction.cpp:216
#13 0xb63e395d in QAction::activate (this=0x854c308, event=QAction::Trigger)
    at kernel/qaction.cpp:1129
#14 0xb685b940 in QToolButton::nextCheckState (this=0x85b9e78)
    at ../../include/QtGui/../../src/gui/kernel/qaction.h:201
#15 0xb676f3fd in QAbstractButtonPrivate::click (this=0x85b9f38)
    at widgets/qabstractbutton.cpp:529
#16 0xb676f69e in QAbstractButton::mouseReleaseEvent (this=0x85b9e78, 
    e=0xbff0f9d8) at widgets/qabstractbutton.cpp:1116
#17 0xb685ba3c in QToolButton::mouseReleaseEvent (this=0x85b9e78, 
    e=0xbff0f9d8) at widgets/qtoolbutton.cpp:675
#18 0xb6448ef3 in QWidget::event (this=0x85b9e78, event=0xbff0f9d8)
    at kernel/qwidget.cpp:6850
#19 0xb676e623 in QAbstractButton::event (this=0x85b9e78, e=0x87816bc)
    at widgets/qabstractbutton.cpp:1078
#20 0xb685b574 in QToolButton::event (this=0x85b9e78, e=0xbff0f9d8)
    at widgets/qtoolbutton.cpp:1105
#21 0xb63ea71f in QApplicationPrivate::notify_helper (this=0x8483e40, 
    receiver=0x85b9e78, e=0xbff0f9d8) at kernel/qapplication.cpp:3735
#22 0xb63ec59b in QApplication::notify (this=0xbff1001c, receiver=0x85b9e78, 
    e=0xbff0f9d8) at kernel/qapplication.cpp:3464
#23 0xb7a24ac3 in KApplication::notify (this=0xbff1001c, receiver=0x85b9e78, 
    event=0xbff0f9d8)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kdeui/kernel/kapplication.cpp:311
#24 0xb7ee9cf7 in QCoreApplication::notifyInternal (this=0xbff1001c, 
    receiver=0x85b9e78, event=0xbff0f9d8) at kernel/qcoreapplication.cpp:586
#25 0xb63f0482 in QApplicationPrivate::sendMouseEvent (receiver=0x85b9e78, 
    event=0xbff0f9d8, alienWidget=0x85b9e78, nativeWidget=0x853efc0, 
    buttonDown=0xb6c15c40, lastMouseReceiver=@0xb6c15c44)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#26 0xb645c246 in QETWidget::translateMouseEvent (this=0x853efc0, 
    event=0xbff0fe48) at kernel/qapplication_x11.cpp:4092
#27 0xb645a7ec in QApplication::x11ProcessEvent (this=0xbff1001c, 
    event=0xbff0fe48) at kernel/qapplication_x11.cpp:3092
#28 0xb6482c75 in QEventDispatcherX11::processEvents (this=0x8483928, 
    flags=@0xbff0ff34) at kernel/qeventdispatcher_x11.cpp:134
#29 0xb7ee8e61 in QEventLoop::processEvents (this=0xbff0ffa0, 
    flags=@0xbff0ff68) at kernel/qeventloop.cpp:146
#30 0xb7ee8f8f in QEventLoop::exec (this=0xbff0ffa0, flags=@0xbff0ffa8)
    at kernel/qeventloop.cpp:197
#31 0xb7eeb476 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:838
#32 0xb63e9e37 in QApplication::exec () at kernel/qapplication.cpp:3267
#33 0x082e656d in main (argc=1, argv=0xbff10174)
    at /var/tmp/portage/kde-base/kdesdk-9999.4/work/kdesdk-9999.4/umbrello/umbrello/main.cpp:111
#34 0xb6099fdc in __libc_start_main (main=0x82e5c90 <main>, argc=1, 
    ubp_av=0xbff10174, init=0x837a4e0 <__libc_csu_init>, 
    fini=0x837a4d0 <__libc_csu_fini>, rtld_fini=0xb7fe9100 <_dl_fini>, 
    stack_end=0xbff1016c) at libc-start.c:229
#35 0x080bcd91 in _start ()
#0  0xffffe410 in __kernel_vsyscall ()
Comment 6 FiNeX 2009-08-05 22:15:14 UTC
Reproduced the crash using current trunk (r1007390)

I've followed the steps from comment #3 and it crashed with the following backtrace:


Application: Modellatore UML Umbrello (umbrello), signal: Segmentation fault
[KCrash Handler]
#5  UMLWidget::setLineColorcmd (this=<value optimized out>, colour=<value optimized out>) at /usr/include/Qt3Support/q3canvas.h:164
#6  0x0000000000000000 in ?? ()



It looks like it still using something from Qt3...
Comment 7 Ralf Habacker 2012-08-17 21:45:14 UTC
SVN commit 1311396 by habacker:

Fixed some crashes in undo framework.

Related: bug 266789

 M  +5 -6      umlwidget.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1311396