[umbrello] [Bug 416013] Umbrello Crash On Moving the Seconds element in the Class Diagram

Oliver Kellogg bugzilla_noreply at kde.org
Sun Dec 20 15:15:43 GMT 2020


https://bugs.kde.org/show_bug.cgi?id=416013

Oliver Kellogg <okellogg at users.sourceforge.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |okellogg at users.sourceforge.
                   |                            |net

--- Comment #5 from Oliver Kellogg <okellogg at users.sourceforge.net> ---
I observed a variation of this crash:
On a component diagram with a component and a port, I deselected the "Name as
tooltip" property on the port and then dragged the port's name floatingtext
toward the bottom edge of the diagram and beyond.

Here is the end of the backtrace on the basis of git master at afe5419.
The repeating cycle consists of the steps from #40
(QGraphicsViewPrivate::mouseMoveEventHandler) down to #23
(QAbstractScrollAreaPrivate::_q_vslide).
The immediate iteration on crash is the same, only that after
QAbstractScrollAreaPrivate::_q_vslide (#5) is goes to
QGraphicsView::scrollContentsBy (#4).
Fix is forthcoming.

(gdb) bt
#0  QWidgetPrivate::clipRect() const (this=this at entry=0x159a5c0)
    at
../../include/QtWidgets/5.15.2/QtWidgets/private/../../../../../src/widgets/kernel/qwidget_p.h:553
#1  QWidgetPrivate::scrollRect(QRect const&, int, int)
    (this=this at entry=0x159a5c0, rect=..., dx=dx at entry=0, dy=dy at entry=365) at
kernel/qwidgetrepaintmanager.cpp:550
#2  QWidgetPrivate::scroll_sys(int, int) (this=0x159a5c0, dx=dx at entry=0,
dy=dy at entry=365)
    at ../../include/QtCore/../../src/corelib/tools/qrect.h:184
#3  QWidget::scroll(int, int) (this=<optimized out>, dx=dx at entry=0,
dy=dy at entry=365) at kernel/qwidget.cpp:10663
#4  QGraphicsView::scrollContentsBy(int, int) (this=0x1595800, dx=0, dy=365) at
graphicsview/qgraphicsview.cpp:3697
#5  QAbstractScrollAreaPrivate::_q_vslide(int) (this=0x1598080, y=<optimized
out>)
    at widgets/qabstractscrollarea.cpp:1420
#6  doActivate<false>(QObject*, int, void**) (sender=0x1597440, signal_index=7,
argv=argv at entry=0x7fffff7ff370)
    at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
#7  QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
    (sender=sender at entry=0x1597440, m=m at entry=0x7ffff38247e0
<QAbstractSlider::staticMetaObject>,
local_signal_index=local_signal_index at entry=0, argv=argv at entry=0x7fffff7ff370)
at kernel/qobject.cpp:3946
#8  QAbstractSlider::valueChanged(int) (this=this at entry=0x1597440,
_t1=<optimized out>, _t1 at entry=-365)
    at .moc/moc_qabstractslider.cpp:309
#9  QAbstractSlider::setValue(int) (this=0x1597440, value=-365) at
widgets/qabstractslider.cpp:548
#10 QGraphicsViewPrivate::recalculateContentSize() (this=0x1598080) at
graphicsview/qgraphicsview.cpp:478
#11 doActivate<false>(QObject*, int, void**) (sender=0xf86230, signal_index=4,
argv=argv at entry=0x7fffff7ff5e0)
    at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
#12 QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
    (sender=<optimized out>, m=m at entry=0x7ffff38445c0
<QGraphicsScene::staticMetaObject>,
local_signal_index=local_signal_index at entry=1, argv=argv at entry=0x7fffff7ff5e0)
at kernel/qobject.cpp:3946
#13 QGraphicsScene::sceneRectChanged(QRectF const&) (this=<optimized out>,
_t1=...) at .moc/moc_qgraphicsscene.cpp:353
#14 UMLScene::resizeSceneToItems() (this=0xf86230) at
/b/home/umbrello-master/umbrello/umlscene.cpp:3693
#15 UMLWidget::mouseMoveEvent(QGraphicsSceneMouseEvent*) (this=0x151c080,
event=0x1626970)
    at /b/home/umbrello-master/umbrello/umlwidgets/umlwidget.cpp:518
#16 ToolBarStateArrow::mouseMoveWidget() (this=0x1457110) at
/b/home/umbrello-master/umbrello/toolbarstatearrow.cpp:174
#17 ToolBarState::mouseMove(QGraphicsSceneMouseEvent*) (this=0x1457110,
ome=0x7fffff7ff970)
    at /b/home/umbrello-master/umbrello/toolbarstate.cpp:186
#18 UMLScene::mouseMoveEvent(QGraphicsSceneMouseEvent*) (this=0xf86230,
ome=0x7fffff7ff970)
    at /b/home/umbrello-master/umbrello/umlscene.cpp:959
#19 QGraphicsScene::event(QEvent*) (this=0xf86230, event=0x7fffff7ff970) at
graphicsview/qgraphicsscene.cpp:3429
#20 QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized
out>, receiver=0xf86230, e=0x7fffff7ff970)
    at kernel/qapplication.cpp:3632
#21 QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0xf86230,
event=0x7fffff7ff970)
    at
../../include/QtCore/5.15.2/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#22 QGraphicsViewPrivate::mouseMoveEventHandler(QMouseEvent*) (this=0x1598080,
event=0x1598400)
    at /usr/include/c++/10/bits/atomic_base.h:420
#23 QAbstractScrollAreaPrivate::_q_vslide(int) (this=0x1598080, y=<optimized
out>)
    at widgets/qabstractscrollarea.cpp:1420
#24 doActivate<false>(QObject*, int, void**) (sender=0x1597440, signal_index=7,
argv=argv at entry=0x7fffff7ffb00)
    at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
#25 QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
    (sender=sender at entry=0x1597440, m=m at entry=0x7ffff38247e0
<QAbstractSlider::staticMetaObject>,
local_signal_index=local_signal_index at entry=0, argv=argv at entry=0x7fffff7ffb00)
at kernel/qobject.cpp:3946
#26 QAbstractSlider::valueChanged(int) (this=this at entry=0x1597440,
_t1=<optimized out>, _t1 at entry=0)
    at .moc/moc_qabstractslider.cpp:309
#27 QAbstractSlider::setValue(int) (this=0x1597440, value=0) at
widgets/qabstractslider.cpp:548
#28 QGraphicsViewPrivate::recalculateContentSize() (this=0x1598080) at
graphicsview/qgraphicsview.cpp:463
#29 doActivate<false>(QObject*, int, void**) (sender=0xf86230, signal_index=4,
argv=argv at entry=0x7fffff7ffd70)
    at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
#30 QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
    (sender=<optimized out>, m=m at entry=0x7ffff38445c0
<QGraphicsScene::staticMetaObject>,
local_signal_index=local_signal_index at entry=1, argv=argv at entry=0x7fffff7ffd70)
at kernel/qobject.cpp:3946
#31 QGraphicsScene::sceneRectChanged(QRectF const&) (this=<optimized out>,
_t1=...) at .moc/moc_qgraphicsscene.cpp:353
#32 UMLScene::resizeSceneToItems() (this=0xf86230) at
/b/home/umbrello-master/umbrello/umlscene.cpp:3693
#33 UMLWidget::mouseMoveEvent(QGraphicsSceneMouseEvent*) (this=0x151c080,
event=0x1626970)
    at /b/home/umbrello-master/umbrello/umlwidgets/umlwidget.cpp:518
#34 ToolBarStateArrow::mouseMoveWidget() (this=0x1457110) at
/b/home/umbrello-master/umbrello/toolbarstatearrow.cpp:174
#35 ToolBarState::mouseMove(QGraphicsSceneMouseEvent*) (this=0x1457110,
ome=0x7fffff800100)
    at /b/home/umbrello-master/umbrello/toolbarstate.cpp:186
#36 UMLScene::mouseMoveEvent(QGraphicsSceneMouseEvent*) (this=0xf86230,
ome=0x7fffff800100)
    at /b/home/umbrello-master/umbrello/umlscene.cpp:959
#37 QGraphicsScene::event(QEvent*) (this=0xf86230, event=0x7fffff800100) at
graphicsview/qgraphicsscene.cpp:3429
#38 QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized
out>, receiver=0xf86230, e=0x7fffff800100)
    at kernel/qapplication.cpp:3632
#39 QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0xf86230,
event=0x7fffff800100)
    at
../../include/QtCore/5.15.2/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#40 QGraphicsViewPrivate::mouseMoveEventHandler(QMouseEvent*) (this=0x1598080,
event=0x1598400)
    at /usr/include/c++/10/bits/atomic_base.h:420
#41 QAbstractScrollAreaPrivate::_q_vslide(int) (this=0x1598080, y=<optimized
out>)
    at widgets/qabstractscrollarea.cpp:1420

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list