Bug 331851 - Umbrello crash on association deletion
Summary: Umbrello crash on association deletion
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 2.11.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-03-07 13:08 UTC by Petr Dlouhý
Modified: 2015-09-19 22:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.12.80 (KDE 4.12.80)
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Dlouhý 2014-03-07 13:08:05 UTC
Application: umbrello (2.11.5)
KDE Platform Version: 4.11.5
Qt Version: 4.8.4
Operating System: Linux 3.11.0-15-generic x86_64
Distribution: Ubuntu 13.10

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

I added the association between two classes in class diagram and then deleted it again.

The crash can be reproduced every time.

-- Backtrace:
Application: Umbrello UML modelátor (umbrello), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f367eb497c0 (LWP 19828))]

Thread 3 (Thread 0x7f366a155700 (LWP 19829)):
#0  0x00007f367b056f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f3677dac6a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3677dacb0a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3672149b66 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f3677dd10f5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3678271f6e in start_thread (arg=0x7f366a155700) at pthread_create.c:311
#6  0x00007f367b0639cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f3669954700 (LWP 19830)):
#0  0x00007f367b056f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f3677dac6a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3677dac7ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3677dac7f9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3677dd10f5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3678271f6e in start_thread (arg=0x7f3669954700) at pthread_create.c:311
#6  0x00007f367b0639cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f367eb497c0 (LWP 19828)):
[KCrash Handler]
#6  data (this=0x387) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:135
#7  qGetPtrHelper<QScopedPointer<QObjectData> > (p=...) at ../../include/QtCore/../../src/corelib/global/qglobal.h:2457
#8  d_func (this=0x37f) at graphicsview/qgraphicsscene.h:297
#9  QGraphicsScene::items (this=0x37f, rectangle=..., mode=mode@entry=Qt::IntersectsItemShape) at graphicsview/qgraphicsscene.cpp:1997
#10 0x0000000000782bb9 in UMLScene::collisions (this=<optimized out>, p=..., delta=delta@entry=3) at ../../umbrello/umlscene.cpp:1525
#11 0x0000000000671d5b in AssociationWidget::onAssocClassLine (this=this@entry=0x1e2ee80, point=...) at ../../umbrello/widgets/associationwidget.cpp:3780
#12 0x000000000067a04e in AssociationWidget::mousePressEvent (this=0x1e2ee80, me=0x16296c0) at ../../umbrello/widgets/associationwidget.cpp:2838
#13 0x000000000072b02f in ToolBarState::mousePress (this=0x1ede350, ome=<optimized out>) at ../../umbrello/toolbarstate.cpp:95
#14 0x000000000078bd93 in UMLScene::mousePressEvent (this=0x1eddcf0, event=0x7fff53373aa0) at ../../umbrello/umlscene.cpp:828
#15 0x00007f367c2fd6d0 in QGraphicsScene::event (this=0x1eddcf0, event=0x7fff53373aa0) at graphicsview/qgraphicsscene.cpp:3455
#16 0x00007f367bd18dfc in QApplicationPrivate::notify_helper (this=this@entry=0x136a9e0, receiver=receiver@entry=0x1eddcf0, e=e@entry=0x7fff53373aa0) at kernel/qapplication.cpp:4567
#17 0x00007f367bd1f470 in QApplication::notify (this=this@entry=0x7fff53374a00, receiver=receiver@entry=0x1eddcf0, e=e@entry=0x7fff53373aa0) at kernel/qapplication.cpp:4353
#18 0x00007f367d61ba6a in KApplication::notify (this=0x7fff53374a00, receiver=0x1eddcf0, event=0x7fff53373aa0) at ../../kdeui/kernel/kapplication.cpp:311
#19 0x00007f367c97b8bd in QCoreApplication::notifyInternal (this=0x7fff53374a00, receiver=0x1eddcf0, event=event@entry=0x7fff53373aa0) at kernel/qcoreapplication.cpp:946
#20 0x00007f367bd17526 in sendSpontaneousEvent (event=event@entry=0x7fff53373aa0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#21 qt_sendSpontaneousEvent (receiver=<optimized out>, event=event@entry=0x7fff53373aa0) at kernel/qapplication.cpp:5565
#22 0x00007f367c3140af in QGraphicsView::mousePressEvent (this=0x1eca6e0, event=0x7fff53374010) at graphicsview/qgraphicsview.cpp:3164
#23 0x00007f367bd68191 in QWidget::event (this=this@entry=0x1eca6e0, event=event@entry=0x7fff53374010) at kernel/qwidget.cpp:8371
#24 0x00007f367c1095be in QFrame::event (this=0x1eca6e0, e=0x7fff53374010) at widgets/qframe.cpp:557
#25 0x00007f367c314e09 in QGraphicsView::viewportEvent (this=0x1eca6e0, event=0x7fff53374010) at graphicsview/qgraphicsview.cpp:2866
#26 0x00007f367c97ba26 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x136a9e0, receiver=receiver@entry=0x1edd900, event=event@entry=0x7fff53374010) at kernel/qcoreapplication.cpp:1056
#27 0x00007f367bd18ddc in QApplicationPrivate::notify_helper (this=this@entry=0x136a9e0, receiver=receiver@entry=0x1edd900, e=e@entry=0x7fff53374010) at kernel/qapplication.cpp:4563
#28 0x00007f367bd1f5ad in QApplication::notify (this=this@entry=0x7fff53374a00, receiver=receiver@entry=0x1edd900, e=e@entry=0x7fff53374010) at kernel/qapplication.cpp:4110
#29 0x00007f367d61ba6a in KApplication::notify (this=0x7fff53374a00, receiver=0x1edd900, event=0x7fff53374010) at ../../kdeui/kernel/kapplication.cpp:311
#30 0x00007f367c97b8bd in QCoreApplication::notifyInternal (this=0x7fff53374a00, receiver=receiver@entry=0x1edd900, event=event@entry=0x7fff53374010) at kernel/qcoreapplication.cpp:946
#31 0x00007f367bd1ed63 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#32 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x1edd900, event=event@entry=0x7fff53374010, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x1edd900, buttonDown=buttonDown@entry=0x7f367c7fd2f8 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#33 0x00007f367bd937db in QETWidget::translateMouseEvent (this=this@entry=0x1edd900, event=event@entry=0x7fff53374390) at kernel/qapplication_x11.cpp:4631
#34 0x00007f367bd93079 in QApplication::x11ProcessEvent (this=0x7fff53374a00, event=event@entry=0x7fff53374390) at kernel/qapplication_x11.cpp:3624
#35 0x00007f367bdba922 in x11EventSourceDispatch (s=0x136c320, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#36 0x00007f3677dac3b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f3677dac708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f3677dac7ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f367c9a8a55 in QEventDispatcherGlib::processEvents (this=0x1335760, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#40 0x00007f367bdba9d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007f367c97a5ef in QEventLoop::processEvents (this=this@entry=0x7fff53374770, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007f367c97a8e5 in QEventLoop::exec (this=this@entry=0x7fff53374770, flags=...) at kernel/qeventloop.cpp:204
#43 0x00007f367c97fe5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#44 0x00007f367bd1734c in QApplication::exec () at kernel/qapplication.cpp:3828
#45 0x00000000004380bb in main (argc=<optimized out>, argv=<optimized out>) at ../../umbrello/main.cpp:113

Reported using DrKonqi
Comment 1 Ralf Habacker 2015-09-19 22:04:08 UTC
This bug has been fixed with umbrello version 2.12.80, which got a rewrite of the undo framework.