Bug 230080 - Umbrello crash after switching to application [Q3CanvasItem::z] [Q3Canvas::drawCanvasArea]
Summary: Umbrello crash after switching to application [Q3CanvasItem::z] [Q3Canvas::dr...
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 2.3.4
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-09 11:03 UTC by Marcus Better
Modified: 2013-11-02 17:18 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Better 2010-03-09 11:03:19 UTC
Application that crashed: umbrello
Version of the application: 2.3.4
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.6.2
Operating System: Linux 2.6.33-melech x86_64
Distribution: Debian GNU/Linux testing (squeeze)

What I was doing when the application crashed:
The application crashed after switching to it. I have recently upgraded to Qt 4.6.2 (Debian).

 -- Backtrace:
Application: Umbrello UML-modellering (umbrello), signal: Segmentation fault
The current source language is "auto; currently c".
[KCrash Handler]
#5  Q3CanvasItem::z (begin=) at canvas/q3canvas.h:93
#6  Q3CanvasItemPtr::operator< (begin=) at canvas/q3canvas.cpp:315
#7  qLess<Q3CanvasItemPtr>::operator() (begin=) at ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:161
#8  qHeapSortHelper<QLinkedList<Q3CanvasItemPtr>::iterator, Q3CanvasItemPtr, qLess<Q3CanvasItemPtr> > (begin=) at ../../include/Qt3Support/../../src/qt3support/tools/q3tl.h:101
#9  0x00007f53bba50164 in qHeapSortHelper<QLinkedList<Q3CanvasItemPtr>::iterator, Q3CanvasItemPtr> (this=<value optimized out>) at ../../include/Qt3Support/../../src/qt3support/tools/q3tl.h:122
#10 qHeapSort<Q3ValueList<Q3CanvasItemPtr> > (this=<value optimized out>) at ../../include/Qt3Support/../../src/qt3support/tools/q3tl.h:147
#11 Q3CanvasItemList::sort (this=<value optimized out>) at canvas/q3canvas.cpp:356
#12 0x00007f53bba55222 in Q3Canvas::drawCanvasArea (this=0x1712b70, inarea=<value optimized out>, p=<value optimized out>) at canvas/q3canvas.cpp:1351
#13 0x00007f53bba556ee in Q3Canvas::drawViewArea (this=0x1712b70, view=<value optimized out>, p=0x7fff4c476090, vr=<value optimized out>) at canvas/q3canvas.cpp:1131
#14 0x00007f53bba55b9c in Q3CanvasView::drawContents (this=0x1717810, p=0x7fff4c476090, cx=<value optimized out>, cy=<value optimized out>, cw=<value optimized out>, ch=<value optimized out>)
    at canvas/q3canvas.cpp:3509
#15 0x00007f53bb9a6715 in Q3ScrollView::drawContentsOffset (this=0x1717810, p=0x7fff4c476090, offsetx=<value optimized out>, offsety=<value optimized out>, clipx=16, clipy=194, clipw=1041, cliph=607)
    at widgets/q3scrollview.cpp:2340
#16 0x00007f53bb9a71f9 in Q3ScrollView::viewportPaintEvent (this=0x1717810, pe=<value optimized out>) at widgets/q3scrollview.cpp:1716
#17 0x00007f53bb9a8788 in Q3ScrollView::eventFilter (this=0x1717810, obj=0x171afa0, e=0x7fff4c4766e0) at widgets/q3scrollview.cpp:1465
#18 0x00007f53bbeb11f7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x171afa0, event=0x7fff4c4766e0) at kernel/qcoreapplication.cpp:819
#19 0x00007f53bc3c08cc in QApplicationPrivate::notify_helper (this=0xfadc60, receiver=0x171afa0, e=0x7fff4c4766e0) at kernel/qapplication.cpp:4296
#20 0x00007f53bc3c6ddb in QApplication::notify (this=0x7fff4c478e30, receiver=0x171afa0, e=0x7fff4c4766e0) at kernel/qapplication.cpp:4183
#21 0x00007f53bd9f6de6 in KApplication::notify (this=0x7fff4c478e30, receiver=0x171afa0, event=0x7fff4c4766e0) at ../../kdeui/kernel/kapplication.cpp:302
#22 0x00007f53bbeb1ddc in QCoreApplication::notifyInternal (this=0x7fff4c478e30, receiver=0x171afa0, event=0x7fff4c4766e0) at kernel/qcoreapplication.cpp:704
#23 0x00007f53bc41ee2d in QCoreApplication::sendSpontaneousEvent (this=0x1701960, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, 
    backingStore=0x11ff140) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#24 QWidgetPrivate::drawWidget (this=0x1701960, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, backingStore=0x11ff140)
    at kernel/qwidget.cpp:5339
#25 0x00007f53bc5d8576 in QWidgetBackingStore::sync (this=0x11ff140) at painting/qbackingstore.cpp:1283
#26 0x00007f53bc4101c0 in QWidgetPrivate::syncBackingStore (this=0x1101140) at kernel/qwidget.cpp:1672
#27 0x00007f53bc416ec5 in QWidget::event (this=0x1100e30, event=0x14330b0) at kernel/qwidget.cpp:8291
#28 0x00007f53bc7d805b in QMainWindow::event (this=0x1100e30, event=0x14330b0) at widgets/qmainwindow.cpp:1433
#29 0x00007f53bdb01353 in KXmlGuiWindow::event (this=0x1e8, ev=0x7fff4c475bc0) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#30 0x00007f53bc3c08fc in QApplicationPrivate::notify_helper (this=0xfadc60, receiver=0x1100e30, e=0x14330b0) at kernel/qapplication.cpp:4300
#31 0x00007f53bc3c6ddb in QApplication::notify (this=0x7fff4c478e30, receiver=0x1100e30, e=0x14330b0) at kernel/qapplication.cpp:4183
#32 0x00007f53bd9f6de6 in KApplication::notify (this=0x7fff4c478e30, receiver=0x1100e30, event=0x14330b0) at ../../kdeui/kernel/kapplication.cpp:302
#33 0x00007f53bbeb1ddc in QCoreApplication::notifyInternal (this=0x7fff4c478e30, receiver=0x1100e30, event=0x14330b0) at kernel/qcoreapplication.cpp:704
#34 0x00007f53bbeb4557 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0xf86b70) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#35 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0xf86b70) at kernel/qcoreapplication.cpp:1345
#36 0x00007f53bbedb6f3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#37 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#38 0x00007f53b774990e in g_main_dispatch (context=0xfb05f0) at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:1960
#39 IA__g_main_context_dispatch (context=0xfb05f0) at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2513
#40 0x00007f53b774d2c8 in g_main_context_iterate (context=0xfb05f0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2591
#41 0x00007f53b774d3f0 in IA__g_main_context_iteration (context=0xfb05f0, may_block=0) at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2654
#42 0x00007f53bbedb233 in QEventDispatcherGlib::processEvents (this=0xf86450, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#43 0x00007f53bc47032e in QGuiEventDispatcherGlib::processEvents (this=0x1e8, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x00007f53bbeb497f in QCoreApplication::processEvents (flags=) at kernel/qcoreapplication.cpp:896
#45 0x0000000000b30395 in AssociationWidget::setSelected (this=0x175a150, _select=false) at ../../../umbrello/umbrello/widgets/associationwidget.cpp:3419
#46 0x0000000000b37324 in AssociationWidget::qt_metacall (this=0x175a150, _c=QMetaObject::InvokeMetaMethod, _id=19719288, _a=0x7fff4c4778f0) at ./associationwidget.moc:79
#47 0x00007f53bbec4b1f in QMetaObject::activate (sender=0x1717810, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1e8) at kernel/qobject.cpp:3293
#48 0x0000000000bdb305 in ToolBarStateArrow::mousePressEmpty (this=0x1e8) at ../../../umbrello/umbrello/toolbarstatearrow.cpp:85
#49 0x0000000000bda8d4 in ToolBarState::mousePress (this=0x15f33c0, ome=<value optimized out>) at ../../../umbrello/umbrello/toolbarstate.cpp:99
#50 0x0000000000c30a71 in UMLView::contentsMousePressEvent (this=0x1717810, ome=0x7fff4c475bc0) at ../../../umbrello/umbrello/umlview.cpp:1233
#51 0x00007f53bb9a6f2b in Q3ScrollView::viewportMousePressEvent (this=0x1717810, e=0x7fff4c4782d0) at widgets/q3scrollview.cpp:1746
#52 0x00007f53bb9a882e in Q3ScrollView::eventFilter (this=0x1717810, obj=0x171afa0, e=0x7fff4c4782d0) at widgets/q3scrollview.cpp:1474
#53 0x00007f53bbeb11f7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x171afa0, event=0x7fff4c4782d0) at kernel/qcoreapplication.cpp:819
#54 0x00007f53bc3c08cc in QApplicationPrivate::notify_helper (this=0xfadc60, receiver=0x171afa0, e=0x7fff4c4782d0) at kernel/qapplication.cpp:4296
#55 0x00007f53bc3c75bb in QApplication::notify (this=0x7fff4c478e30, receiver=0x171afa0, e=0x7fff4c4782d0) at kernel/qapplication.cpp:3865
#56 0x00007f53bd9f6de6 in KApplication::notify (this=0x7fff4c478e30, receiver=0x171afa0, event=0x7fff4c4782d0) at ../../kdeui/kernel/kapplication.cpp:302
#57 0x00007f53bbeb1ddc in QCoreApplication::notifyInternal (this=0x7fff4c478e30, receiver=0x171afa0, event=0x7fff4c4782d0) at kernel/qcoreapplication.cpp:704
#58 0x00007f53bc3c678e in QCoreApplication::sendEvent (receiver=0x171afa0, event=0x7fff4c4782d0, alienWidget=0x0, nativeWidget=0x171afa0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#59 QApplicationPrivate::sendMouseEvent (receiver=0x171afa0, event=0x7fff4c4782d0, alienWidget=0x0, nativeWidget=0x171afa0, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, 
    spontaneous=true) at kernel/qapplication.cpp:2965
#60 0x00007f53bc44633b in QETWidget::translateMouseEvent (this=0x171afa0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368
#61 0x00007f53bc44504a in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff4c478a50) at kernel/qapplication_x11.cpp:3501
#62 0x00007f53bc470732 in x11EventSourceDispatch (s=0xfb19e0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#63 0x00007f53b774990e in g_main_dispatch (context=0xfb05f0) at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:1960
#64 IA__g_main_context_dispatch (context=0xfb05f0) at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2513
#65 0x00007f53b774d2c8 in g_main_context_iterate (context=0xfb05f0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2591
#66 0x00007f53b774d3f0 in IA__g_main_context_iteration (context=0xfb05f0, may_block=1) at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2654
#67 0x00007f53bbedb233 in QEventDispatcherGlib::processEvents (this=0xf86450, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#68 0x00007f53bc47032e in QGuiEventDispatcherGlib::processEvents (this=0x1e8, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#69 0x00007f53bbeb0702 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#70 0x00007f53bbeb0adc in QEventLoop::exec (this=0x7fff4c478d70, flags=) at kernel/qeventloop.cpp:201
#71 0x00007f53bbeb481b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#72 0x0000000000bbe6e5 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../umbrello/umbrello/main.cpp:111

Reported using DrKonqi
Comment 1 Andi Fischer 2013-09-02 08:18:20 UTC
Qt3 code was ported to Qt4.
Comment 2 Andi Fischer 2013-09-02 08:19:58 UTC
Qt3 code was ported to Qt4.