Bug 267604 - KoConnectionShape Bug while moving connection shapes
Summary: KoConnectionShape Bug while moving connection shapes
Status: RESOLVED FIXED
Alias: None
Product: calligracommon
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-04 06:00 UTC by Yue Liu
Modified: 2012-06-26 13:51 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yue Liu 2011-03-04 06:00:13 UTC
Application: flow (2.4 Alpha 1)
KDE Platform Version: 4.6.00 (4.6.0)
Qt Version: 4.7.2
Operating System: Linux 2.6.37-ARCH i686
Distribution (Platform): Archlinux Packages

-- Information about the crash:
In Flow, while resizing or moving connections, the application would crash. Also, the connections cannot update unless you move connections manually.

The crash can be reproduced every time.

-- Backtrace:
Application: Flow (flow), signal: Aborted
[KCrash Handler]
#7  0xb7736424 in __kernel_vsyscall ()
#8  0xb5474dc1 in raise () from /lib/libc.so.6
#9  0xb547664e in abort () from /lib/libc.so.6
#10 0xb57b0142 in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4
#11 0xb57b02e7 in ?? () from /usr/lib/libQtCore.so.4
#12 0xb57b03f9 in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4
#13 0xb57b0485 in qt_assert(char const*, char const*, int) () from /usr/lib/libQtCore.so.4
#14 0xb73bd71d in KoPathShape::outline (this=0x8d109d8) at /home/yue/Dev/calligra/src/calligra/libs/flake/KoPathShape.cpp:340
#15 0xb73bed5e in KoPathShape::normalize (this=0x8d109d8) at /home/yue/Dev/calligra/src/calligra/libs/flake/KoPathShape.cpp:597
#16 0xb7408d73 in KoParameterShape::normalize (this=0x8d109d8) at /home/yue/Dev/calligra/src/calligra/libs/flake/KoParameterShape.cpp:132
#17 0xb74325ab in KoConnectionShape::updatePath (this=0x8d109d8, size=...) at /home/yue/Dev/calligra/src/calligra/libs/flake/KoConnectionShape.cpp:600
#18 0xb742fc28 in KoConnectionShape::updateConnections (this=0x8d109d8) at /home/yue/Dev/calligra/src/calligra/libs/flake/KoConnectionShape.cpp:302
#19 0xb7432b7a in KoConnectionShape::shapeChanged (this=0x8d109d8, type=KoShape::GenericMatrixChange, shape=0x8ff9a48) at /home/yue/Dev/calligra/src/calligra/libs/flake/KoConnectionShape.cpp:750
#20 0xb73d3d4f in KoShapePrivate::shapeChanged (this=0x8ee4e28, type=KoShape::GenericMatrixChange) at /home/yue/Dev/calligra/src/calligra/libs/flake/KoShape.cpp:143
#21 0xb73d57f6 in KoShape::applyTransformation (this=0x8ff9a48, matrix=...) at /home/yue/Dev/calligra/src/calligra/libs/flake/KoShape.cpp:502
#22 0xb73bee1e in KoPathShape::normalize (this=0x8ff9a48) at /home/yue/Dev/calligra/src/calligra/libs/flake/KoPathShape.cpp:603
#23 0xb7408d73 in KoParameterShape::normalize (this=0x8ff9a48) at /home/yue/Dev/calligra/src/calligra/libs/flake/KoParameterShape.cpp:132
#24 0xb74325ab in KoConnectionShape::updatePath (this=0x8ff9a48, size=...) at /home/yue/Dev/calligra/src/calligra/libs/flake/KoConnectionShape.cpp:600
#25 0xb742fc28 in KoConnectionShape::updateConnections (this=0x8ff9a48) at /home/yue/Dev/calligra/src/calligra/libs/flake/KoConnectionShape.cpp:302
#26 0xb7432b7a in KoConnectionShape::shapeChanged (this=0x8ff9a48, type=KoShape::PositionChanged, shape=0x0) at /home/yue/Dev/calligra/src/calligra/libs/flake/KoConnectionShape.cpp:750
#27 0xb73d3d03 in KoShapePrivate::shapeChanged (this=0x8ee4e28, type=KoShape::PositionChanged) at /home/yue/Dev/calligra/src/calligra/libs/flake/KoShape.cpp:141
#28 0xb73d4eab in KoShape::setPosition (this=0x8ff9a48, newPosition=...) at /home/yue/Dev/calligra/src/calligra/libs/flake/KoShape.cpp:403
#29 0xb01eeef8 in ShapeMoveStrategy::moveSelection (this=0x903f268) at /home/yue/Dev/calligra/src/calligra/plugins/defaultTools/defaulttool/ShapeMoveStrategy.cpp:113
#30 0xb01eeb53 in ShapeMoveStrategy::handleMouseMove (this=0x903f268, point=..., modifiers=...) at /home/yue/Dev/calligra/src/calligra/plugins/defaultTools/defaulttool/ShapeMoveStrategy.cpp:80
#31 0xb747b0bc in KoInteractionTool::mouseMoveEvent (this=0x9111510, event=0xbfc50b24) at /home/yue/Dev/calligra/src/calligra/libs/flake/tools/KoInteractionTool.cpp:61
#32 0xb01deb05 in DefaultTool::mouseMoveEvent (this=0x9111510, event=0xbfc50b24) at /home/yue/Dev/calligra/src/calligra/plugins/defaultTools/defaulttool/DefaultTool.cpp:508
#33 0xb741ac87 in KoToolProxy::mouseMoveEvent (this=0x8dfd1b8, event=0xbfc512b8, point=...) at /home/yue/Dev/calligra/src/calligra/libs/flake/KoToolProxy.cpp:249
#34 0xb1e35b66 in KoPAViewModeNormal::mouseMoveEvent (this=0x90727d0, event=0xbfc512b8, point=...) at /home/yue/Dev/calligra/src/calligra/libs/kopageapp/KoPAViewModeNormal.cpp:98
#35 0xb1e2b306 in KoPACanvas::mouseMoveEvent (this=0x8e28088, event=0xbfc512b8) at /home/yue/Dev/calligra/src/calligra/libs/kopageapp/KoPACanvas.cpp:129
#36 0xb5e3ab22 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#37 0xb1e2add2 in KoPACanvas::event (this=0x8e28088, e=0xbfc512b8) at /home/yue/Dev/calligra/src/calligra/libs/kopageapp/KoPACanvas.cpp:96
#38 0xb5de1ac4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#39 0xb5de7109 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#40 0xb6921e1a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#41 0xb58af1cb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#42 0xb5de2a37 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#43 0xb5e6bdec in ?? () from /usr/lib/libQtGui.so.4
#44 0xb5e6a96f in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#45 0xb5e94352 in ?? () from /usr/lib/libQtGui.so.4
#46 0xb484ab72 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#47 0xb484b350 in ?? () from /usr/lib/libglib-2.0.so.0
#48 0xb484b604 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#49 0xb58dc7cc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#50 0xb5e93f65 in ?? () from /usr/lib/libQtGui.so.4
#51 0xb58ae389 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#52 0xb58ae62a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#53 0xb58b307f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#54 0xb5ddf917 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#55 0xb77331d6 in kdemain (argc=1, argv=0xbfc51b44) at /home/yue/Dev/calligra/src/calligra/flow/src/part/main.cpp:40
#56 0x08048769 in main (argc=1, argv=0xbfc51b44) at /home/yue/Dev/calligra/build/flow/src/part/flow_dummy.cpp:3

Reported using DrKonqi
Comment 1 T Zachmann 2012-04-16 06:42:17 UTC
However I noticed that if you have a connection to a shape in a group the
connection does not autoupdate when the group is moved. It works with shapes
not in a group without problems.
Comment 2 Halla Rempt 2012-05-04 08:22:20 UTC
I'm not always getting updates correctly even with simple shapes; sometimes I need to click on the connection shape, sometimes it works, sometimes I have to manually repair. But I do not get a crash and the backtrace is outdated.

Maybe this only happens with some specific shapes?