Bug 319276 - Umbrello Crash Upon Creation of Activity in Activity Diagram
Summary: Umbrello Crash Upon Creation of Activity in Activity Diagram
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 2.10.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
: 318337 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-05-03 14:40 UTC by Vijay Nayar
Modified: 2015-03-08 11:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.10.5, 4.10.80


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vijay Nayar 2013-05-03 14:40:57 UTC
Application: umbrello (2.10.2)
KDE Platform Version: 4.10.2
Qt Version: 4.8.4
Operating System: Linux 3.8.0-19-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
- What I was doing when the application crashed:
1. Start Umbrello
2. Right click Logical View to create new activity diagram
3. Click "Start Symbol" and place it in diagram.
4. Click "Activity Symbol" and place it in diagram.
5. The application will crash.

The crash can be reproduced every time.

-- Backtrace:
Application: Umbrello UML Modeller (umbrello), signal: Floating point exception
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f6c289ac7c0 (LWP 2708))]

Thread 2 (Thread 0x7f6c17328700 (LWP 2709)):
#0  0x00007fffe77d18d2 in ?? ()
#1  0x00007f6c21f17078 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6c289ac7c0 (LWP 2708)):
[KCrash Handler]
#6  0x000000000065bc5e in ActivityWidget::draw (this=0x2dd6d80, p=..., offsetX=0, offsetY=0) at ../../../umbrello/umbrello/widgets/activitywidget.cpp:185
#7  0x00007f6c261828c5 in QGraphicsScenePrivate::draw (this=this@entry=0x2d72e80, item=item@entry=0x2dd6d90, painter=painter@entry=0x7fffe77b8d50, viewTransform=viewTransform@entry=0x7fffe77b8ee0, transformPtr=transformPtr@entry=0x7fffe77b89f0, exposedRegion=exposedRegion@entry=0x2df3ec8, widget=0x2d3b2a0, opacity=opacity@entry=1, effectTransform=effectTransform@entry=0x0, wasDirtyParentSceneTransform=wasDirtyParentSceneTransform@entry=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4964
#8  0x00007f6c26183685 in QGraphicsScenePrivate::drawSubtreeRecursive (this=this@entry=0x2d72e80, item=0x2dd6d90, painter=painter@entry=0x7fffe77b8d50, viewTransform=viewTransform@entry=0x7fffe77b8ee0, exposedRegion=exposedRegion@entry=0x2df3ec8, widget=widget@entry=0x2d3b2a0, parentOpacity=parentOpacity@entry=1, effectTransform=effectTransform@entry=0x0) at graphicsview/qgraphicsscene.cpp:4857
#9  0x00007f6c2618416e in QGraphicsScenePrivate::drawItems (this=0x2d72e80, painter=painter@entry=0x7fffe77b8d50, viewTransform=viewTransform@entry=0x7fffe77b8ee0, exposedRegion=exposedRegion@entry=0x2df3ec8, widget=0x2d3b2a0) at graphicsview/qgraphicsscene.cpp:4739
#10 0x00007f6c261a0ae8 in QGraphicsView::paintEvent (this=0x2e08f20, event=<optimized out>) at graphicsview/qgraphicsview.cpp:3471
#11 0x00007f6c25bd9a3e in QWidget::event (this=this@entry=0x2e08f20, event=event@entry=0x7fffe77b99a0) at kernel/qwidget.cpp:8532
#12 0x00007f6c25f8c316 in QFrame::event (this=0x2e08f20, e=0x7fffe77b99a0) at widgets/qframe.cpp:557
#13 0x00007f6c261a40db in QGraphicsView::viewportEvent (this=0x2e08f20, event=0x7fffe77b99a0) at graphicsview/qgraphicsview.cpp:2866
#14 0x00007f6c267e67a6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x25ab180, receiver=receiver@entry=0x2d3b2a0, event=event@entry=0x7fffe77b99a0) at kernel/qcoreapplication.cpp:1056
#15 0x00007f6c25b8c8bc in QApplicationPrivate::notify_helper (this=this@entry=0x25ab180, receiver=receiver@entry=0x2d3b2a0, e=e@entry=0x7fffe77b99a0) at kernel/qapplication.cpp:4563
#16 0x00007f6c25b8f25b in QApplication::notify (this=this@entry=0x7fffe77bd080, receiver=receiver@entry=0x2d3b2a0, e=e@entry=0x7fffe77b99a0) at kernel/qapplication.cpp:4428
#17 0x00007f6c27485af6 in KApplication::notify (this=0x7fffe77bd080, receiver=0x2d3b2a0, event=0x7fffe77b99a0) at ../../kdeui/kernel/kapplication.cpp:311
#18 0x00007f6c267e663e in QCoreApplication::notifyInternal (this=0x7fffe77bd080, receiver=receiver@entry=0x2d3b2a0, event=event@entry=0x7fffe77b99a0) at kernel/qcoreapplication.cpp:946
#19 0x00007f6c25bde6b4 in sendSpontaneousEvent (event=0x7fffe77b99a0, receiver=0x2d3b2a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#20 QWidgetPrivate::drawWidget (this=this@entry=0x2d75d00, pdev=0x2c36130, rgn=..., offset=..., flags=flags@entry=68, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x26c3220) at kernel/qwidget.cpp:5598
#21 0x00007f6c25da3f5d in QWidgetBackingStore::sync (this=0x26c3220) at painting/qbackingstore.cpp:1365
#22 0x00007f6c25bcd060 in QWidgetPrivate::syncBackingStore (this=this@entry=0x271c0d0) at kernel/qwidget.cpp:1896
#23 0x00007f6c25bd9ee4 in QWidget::event (this=this@entry=0x2715ff0, event=event@entry=0x2e7caa0) at kernel/qwidget.cpp:8679
#24 0x00007f6c25fa583b in QMainWindow::event (this=this@entry=0x2715ff0, event=event@entry=0x2e7caa0) at widgets/qmainwindow.cpp:1478
#25 0x00007f6c27538973 in KMainWindow::event (this=this@entry=0x2715ff0, ev=ev@entry=0x2e7caa0) at ../../kdeui/widgets/kmainwindow.cpp:1084
#26 0x00007f6c27575b68 in KXmlGuiWindow::event (this=0x2715ff0, ev=0x2e7caa0) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#27 0x00007f6c25b8c8ec in QApplicationPrivate::notify_helper (this=this@entry=0x25ab180, receiver=receiver@entry=0x2715ff0, e=e@entry=0x2e7caa0) at kernel/qapplication.cpp:4567
#28 0x00007f6c25b8f25b in QApplication::notify (this=this@entry=0x7fffe77bd080, receiver=receiver@entry=0x2715ff0, e=e@entry=0x2e7caa0) at kernel/qapplication.cpp:4428
#29 0x00007f6c27485af6 in KApplication::notify (this=0x7fffe77bd080, receiver=0x2715ff0, event=0x2e7caa0) at ../../kdeui/kernel/kapplication.cpp:311
#30 0x00007f6c267e663e in QCoreApplication::notifyInternal (this=0x7fffe77bd080, receiver=receiver@entry=0x2715ff0, event=event@entry=0x2e7caa0) at kernel/qcoreapplication.cpp:946
#31 0x00007f6c267ea171 in sendEvent (event=0x2e7caa0, receiver=0x2715ff0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x2715ff0, event_type=event_type@entry=77, data=0x2578de0) at kernel/qcoreapplication.cpp:1570
#33 0x00007f6c267ea4a3 in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=event_type@entry=77) at kernel/qcoreapplication.cpp:1463
#34 0x00007f6c261799f2 in dispatchPendingUpdateRequests (this=0x2df3a40) at ../../include/QtGui/private/../../../src/gui/graphicsview/qgraphicsview_p.h:200
#35 QGraphicsScenePrivate::_q_processDirtyItems (this=0x2d72e80) at graphicsview/qgraphicsscene.cpp:515
#36 0x00007f6c26186c99 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at .moc/release-shared/moc_qgraphicsscene.cpp:107
#37 QGraphicsScene::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/release-shared/moc_qgraphicsscene.cpp:86
#38 0x00007f6c268005be in QObject::event (this=this@entry=0x2d70d60, e=e@entry=0x2d050d0) at kernel/qobject.cpp:1194
#39 0x00007f6c2618a0b9 in QGraphicsScene::event (this=0x2d70d60, event=0x2d050d0) at graphicsview/qgraphicsscene.cpp:3565
#40 0x00007f6c25b8c8ec in QApplicationPrivate::notify_helper (this=this@entry=0x25ab180, receiver=receiver@entry=0x2d70d60, e=e@entry=0x2d050d0) at kernel/qapplication.cpp:4567
#41 0x00007f6c25b8f25b in QApplication::notify (this=this@entry=0x7fffe77bd080, receiver=receiver@entry=0x2d70d60, e=e@entry=0x2d050d0) at kernel/qapplication.cpp:4428
#42 0x00007f6c27485af6 in KApplication::notify (this=0x7fffe77bd080, receiver=0x2d70d60, event=0x2d050d0) at ../../kdeui/kernel/kapplication.cpp:311
#43 0x00007f6c267e663e in QCoreApplication::notifyInternal (this=0x7fffe77bd080, receiver=receiver@entry=0x2d70d60, event=event@entry=0x2d050d0) at kernel/qcoreapplication.cpp:946
#44 0x00007f6c267ea171 in sendEvent (event=0x2d050d0, receiver=0x2d70d60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#45 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x2578de0) at kernel/qcoreapplication.cpp:1570
#46 0x00007f6c267ea4a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#47 0x00007f6c26814e83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#48 postEventSourceDispatch (s=0x259eea0) at kernel/qeventdispatcher_glib.cpp:279
#49 0x00007f6c21c65f05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007f6c21c66248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007f6c21c66304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007f6c26815016 in QEventDispatcherGlib::processEvents (this=0x257a320, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#53 0x00007f6c25c321ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#54 0x00007f6c267e538f in QEventLoop::processEvents (this=this@entry=0x7fffe77bb040, flags=...) at kernel/qeventloop.cpp:149
#55 0x00007f6c267e5618 in QEventLoop::exec (this=this@entry=0x7fffe77bb040, flags=...) at kernel/qeventloop.cpp:204
#56 0x00007f6c260471c8 in QDialog::exec (this=this@entry=0x7fffe77bb0a0) at dialogs/qdialog.cpp:554
#57 0x00007f6c273f1c8b in KInputDialog::getText (caption=..., label=..., value=..., ok=ok@entry=0x7fffe77bb18f, parent=<optimized out>, validator=validator@entry=0x0, mask=..., whatsThis=..., completionList=...) at ../../kdeui/dialogs/kinputdialog.cpp:346
#58 0x0000000000479ea8 in Dialog_Utils::askNameForWidget (targetWidget=@0x7fffe77bb2b8: 0x2dd6d80, dialogTitle=..., dialogPrompt=..., defaultName=...) at ../../../umbrello/umbrello/dialogs/dialog_utils.cpp:69
#59 0x0000000000723b9d in ToolBarStateOther::newWidget (this=this@entry=0x2bd4540) at ../../../umbrello/umbrello/toolbarstateother.cpp:251
#60 0x0000000000724c98 in ToolBarStateOther::mouseReleaseEmpty (this=0x2bd4540) at ../../../umbrello/umbrello/toolbarstateother.cpp:80
#61 0x0000000000720426 in ToolBarState::mouseRelease (this=0x2bd4540, ome=<optimized out>) at ../../../umbrello/umbrello/toolbarstate.cpp:131
#62 0x00007f6c2618a27c in QGraphicsScene::event (this=0x2d70d60, event=0x7fffe77bb940) at graphicsview/qgraphicsscene.cpp:3458
#63 0x00007f6c25b8c8ec in QApplicationPrivate::notify_helper (this=this@entry=0x25ab180, receiver=receiver@entry=0x2d70d60, e=e@entry=0x7fffe77bb940) at kernel/qapplication.cpp:4567
#64 0x00007f6c25b8f25b in QApplication::notify (this=this@entry=0x7fffe77bd080, receiver=receiver@entry=0x2d70d60, e=e@entry=0x7fffe77bb940) at kernel/qapplication.cpp:4428
#65 0x00007f6c27485af6 in KApplication::notify (this=0x7fffe77bd080, receiver=0x2d70d60, event=0x7fffe77bb940) at ../../kdeui/kernel/kapplication.cpp:311
#66 0x00007f6c267e663e in QCoreApplication::notifyInternal (this=0x7fffe77bd080, receiver=0x2d70d60, event=0x7fffe77bb940, event@entry=0x7fffe77bb890) at kernel/qcoreapplication.cpp:946
#67 0x00007f6c25b8b226 in sendSpontaneousEvent (event=event@entry=0x7fffe77bb890, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#68 qt_sendSpontaneousEvent (receiver=<optimized out>, event=event@entry=0x7fffe77bb940) at kernel/qapplication.cpp:5565
#69 0x00007f6c261a16a1 in QGraphicsView::mouseReleaseEvent (this=0x2e08f20, event=0x7fffe77bc270) at graphicsview/qgraphicsview.cpp:3338
#70 0x00007f6c25bd9a89 in QWidget::event (this=this@entry=0x2e08f20, event=event@entry=0x7fffe77bc270) at kernel/qwidget.cpp:8375
#71 0x00007f6c25f8c316 in QFrame::event (this=0x2e08f20, e=0x7fffe77bc270) at widgets/qframe.cpp:557
#72 0x00007f6c261a40db in QGraphicsView::viewportEvent (this=0x2e08f20, event=0x7fffe77bc270) at graphicsview/qgraphicsview.cpp:2866
#73 0x00007f6c267e67a6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x25ab180, receiver=receiver@entry=0x2d3b2a0, event=event@entry=0x7fffe77bc270) at kernel/qcoreapplication.cpp:1056
#74 0x00007f6c25b8c8bc in QApplicationPrivate::notify_helper (this=this@entry=0x25ab180, receiver=receiver@entry=0x2d3b2a0, e=e@entry=0x7fffe77bc270) at kernel/qapplication.cpp:4563
#75 0x00007f6c25b8fa33 in QApplication::notify (this=this@entry=0x7fffe77bd080, receiver=receiver@entry=0x2d3b2a0, e=e@entry=0x7fffe77bc270) at kernel/qapplication.cpp:4110
#76 0x00007f6c27485af6 in KApplication::notify (this=0x7fffe77bd080, receiver=0x2d3b2a0, event=0x7fffe77bc270) at ../../kdeui/kernel/kapplication.cpp:311
#77 0x00007f6c267e663e in QCoreApplication::notifyInternal (this=0x7fffe77bd080, receiver=receiver@entry=0x2d3b2a0, event=event@entry=0x7fffe77bc270) at kernel/qcoreapplication.cpp:946
#78 0x00007f6c25b92933 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#79 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x2d3b2a0, event=event@entry=0x7fffe77bc270, alienWidget=alienWidget@entry=0x2d3b2a0, nativeWidget=nativeWidget@entry=0x2a49ae0, buttonDown=buttonDown@entry=0x7f6c2666a308 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#80 0x00007f6c25c07ec4 in QETWidget::translateMouseEvent (this=this@entry=0x2a49ae0, event=event@entry=0x7fffe77bc9f0) at kernel/qapplication_x11.cpp:4631
#81 0x00007f6c25c06ef1 in QApplication::x11ProcessEvent (this=0x7fffe77bd080, event=event@entry=0x7fffe77bc9f0) at kernel/qapplication_x11.cpp:3746
#82 0x00007f6c25c320b2 in x11EventSourceDispatch (s=0x25aff40, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#83 0x00007f6c21c65f05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#84 0x00007f6c21c66248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#85 0x00007f6c21c66304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#86 0x00007f6c26815016 in QEventDispatcherGlib::processEvents (this=0x257a320, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#87 0x00007f6c25c321ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#88 0x00007f6c267e538f in QEventLoop::processEvents (this=this@entry=0x7fffe77bcdc0, flags=...) at kernel/qeventloop.cpp:149
#89 0x00007f6c267e5618 in QEventLoop::exec (this=this@entry=0x7fffe77bcdc0, flags=...) at kernel/qeventloop.cpp:204
#90 0x00007f6c267eacf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#91 0x00007f6c25b8affc in QApplication::exec () at kernel/qapplication.cpp:3828
#92 0x000000000043826b in main (argc=1, argv=0x7fffe77bd1d8) at ../../../umbrello/umbrello/main.cpp:111

Reported using DrKonqi
Comment 1 Ralf Habacker 2013-06-11 10:21:19 UTC
Git commit 47d49d87393a7992da3b650b858f51bb1f71b684 by Ralf Habacker.
Committed on 11/06/2013 at 12:20.
Pushed by habacker into branch 'master'.

Crash fix.

M  +2    -0    umbrello/widgets/activitywidget.cpp

http://commits.kde.org/umbrello/47d49d87393a7992da3b650b858f51bb1f71b684
Comment 2 Ralf Habacker 2013-06-12 07:02:41 UTC
Git commit 2a7e77230c46a8bb7ec1dd8425540538dc2d9a5a by Ralf Habacker.
Committed on 11/06/2013 at 12:20.
Pushed by habacker into branch '320463-get-rid-of-old-paint-api'.

Crash fix.

M  +2    -0    umbrello/widgets/activitywidget.cpp

http://commits.kde.org/umbrello/2a7e77230c46a8bb7ec1dd8425540538dc2d9a5a
Comment 3 Ralf Habacker 2013-06-25 18:54:46 UTC
Git commit 9e383a449769b4564217df6581f1c4a3ced4733d by Ralf Habacker.
Committed on 11/06/2013 at 10:20.
Pushed by habacker into branch 'KDE/4.10'.

Crash fix.

M  +2    -0    umbrello/widgets/activitywidget.cpp

http://commits.kde.org/umbrello/9e383a449769b4564217df6581f1c4a3ced4733d
Comment 4 Ralf Habacker 2015-03-08 11:18:37 UTC
*** Bug 318337 has been marked as a duplicate of this bug. ***