Bug 334797 - Crash when undoing connection
Summary: Crash when undoing connection
Status: RESOLVED NOT A BUG
Alias: None
Product: calligraflow
Classification: Applications
Component: general (show other bugs)
Version: 2.8.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Yue Liu
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-05-15 08:31 UTC by Jeppe Bundsgaard
Modified: 2020-12-17 17:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (3.00 KB, text/plain)
2017-01-11 01:16 UTC, xionbox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeppe Bundsgaard 2014-05-15 08:31:49 UTC
Application: calligraflow (2.8.1)
KDE Platform Version: 4.13.0
Qt Version: 4.8.6
Operating System: Linux 3.13.0-24-generic x86_64
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
I made a connection and undid it (ctrl+Z). Then flow crashed.

-- Backtrace:
Application: Flow (calligraflow), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f33619347c0 (LWP 21816))]

Thread 2 (Thread 0x7f333f998700 (LWP 21821)):
#0  0x00007f33612876bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f335c27ec20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f335c23db14 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f335c23df7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f335c23e0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f335f99f7be in QEventDispatcherGlib::processEvents (this=0x7f3338014830, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f335f9710af in QEventLoop::processEvents (this=this@entry=0x7f333f997de0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f335f9713a5 in QEventLoop::exec (this=this@entry=0x7f333f997de0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f335f86dc5f in QThread::exec (this=this@entry=0x1b104f0) at thread/qthread.cpp:537
#9  0x00007f335f952823 in QInotifyFileSystemWatcherEngine::run (this=0x1b104f0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f335f87032f in QThreadPrivate::start (arg=0x1b104f0) at thread/qthread_unix.cpp:349
#11 0x00007f335c71d182 in start_thread (arg=0x7f333f998700) at pthread_create.c:312
#12 0x00007f336129630d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f33619347c0 (LWP 21816)):
[KCrash Handler]
#6  KoShapeContainer::inheritsTransform (this=0x1, shape=0x19a6560) at /build/buildd/calligra-2.8.1-1/libs/flake/KoShapeContainer.cpp:146
#7  0x00007f335e77cc86 in KoShape::absoluteTransformation (this=this@entry=0x19a6560, converter=converter@entry=0x0) at /build/buildd/calligra-2.8.1-1/libs/flake/KoShape.cpp:417
#8  0x00007f335e77e9d0 in KoShape::documentToShape (this=this@entry=0x19a6560, point=...) at /build/buildd/calligra-2.8.1-1/libs/flake/KoShape.cpp:2171
#9  0x00007f3349b27a52 in ConnectionTool::handleAtPoint (this=this@entry=0x3c83630, shape=0x19a6560, mousePoint=...) at /build/buildd/calligra-2.8.1-1/plugins/defaultTools/connectionTool/ConnectionTool.cpp:581
#10 0x00007f3349b2ae34 in ConnectionTool::mouseMoveEvent (this=0x3c83630, event=<optimized out>) at /build/buildd/calligra-2.8.1-1/plugins/defaultTools/connectionTool/ConnectionTool.cpp:385
#11 0x00007f335e7b9f1f in KoToolProxy::mouseMoveEvent (this=0xb6f6e0, event=0x7fff4c9cbee0, point=...) at /build/buildd/calligra-2.8.1-1/libs/flake/KoToolProxy.cpp:351
#12 0x00007f334b83ba1f in KoPACanvas::mouseMoveEvent (this=0x2c74dd0, event=0x7fff4c9cbee0) at /build/buildd/calligra-2.8.1-1/libs/kopageapp/KoPACanvas.cpp:130
#13 0x00007f33603b4635 in QWidget::event (this=0x2c74dd0, event=0x7fff4c9cbee0) at kernel/qwidget.cpp:8361
#14 0x00007f3360364e2c in QApplicationPrivate::notify_helper (this=this@entry=0x8956d0, receiver=receiver@entry=0x2c74dd0, e=e@entry=0x7fff4c9cbee0) at kernel/qapplication.cpp:4567
#15 0x00007f336036b5dd in QApplication::notify (this=<optimized out>, receiver=receiver@entry=0x2c74dd0, e=e@entry=0x7fff4c9cbee0) at kernel/qapplication.cpp:4110
#16 0x00007f3360ea9e07 in KoApplication::notify (this=<optimized out>, receiver=0x2c74dd0, event=0x7fff4c9cbee0) at /build/buildd/calligra-2.8.1-1/libs/main/KoApplication.cpp:590
#17 0x00007f335f9724dd in QCoreApplication::notifyInternal (this=0x7fff4c9cc6a0, receiver=receiver@entry=0x2c74dd0, event=event@entry=0x7fff4c9cbee0) at kernel/qcoreapplication.cpp:953
#18 0x00007f336036ad93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#19 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x2c74dd0, event=event@entry=0x7fff4c9cbee0, alienWidget=alienWidget@entry=0x2c74dd0, nativeWidget=nativeWidget@entry=0x2e2d4f0, buttonDown=buttonDown@entry=0x7f3360e4a318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#20 0x00007f33603df9cb in QETWidget::translateMouseEvent (this=this@entry=0x2e2d4f0, event=event@entry=0x7fff4c9cc130) at kernel/qapplication_x11.cpp:4634
#21 0x00007f33603de6cc in QApplication::x11ProcessEvent (this=0x7fff4c9cc6a0, event=event@entry=0x7fff4c9cc260) at kernel/qapplication_x11.cpp:3828
#22 0x00007f3360406b02 in x11EventSourceDispatch (s=0x896fa0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#23 0x00007f335c23de04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f335c23e048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f335c23e0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f335f99f7a1 in QEventDispatcherGlib::processEvents (this=0x82b500, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#27 0x00007f3360406bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x00007f335f9710af in QEventLoop::processEvents (this=this@entry=0x7fff4c9cc630, flags=...) at kernel/qeventloop.cpp:149
#29 0x00007f335f9713a5 in QEventLoop::exec (this=this@entry=0x7fff4c9cc630, flags=...) at kernel/qeventloop.cpp:204
#30 0x00007f335f976b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#31 0x00007f336036337c in QApplication::exec () at kernel/qapplication.cpp:3828
#32 0x00007f33615627b5 in kdemain (argc=<optimized out>, argv=<optimized out>) at /build/buildd/calligra-2.8.1-1/flow/part/main.cpp:41
#33 0x00007f33611bcec5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=1, argv=0x7fff4c9cc7d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff4c9cc7c8) at libc-start.c:287
#34 0x00000000004006fe in _start ()

The reporter indicates this bug may be a duplicate of or related to bug 302497.

Possible duplicates by query: bug 302497.

Reported using DrKonqi
Comment 1 Jeppe Bundsgaard 2014-05-15 13:17:56 UTC
The same just happened: this time I wasn't redoing (maybe I wasn't the first time, I guess) - I changed the type of connection from standard to line and clicked twice (but I cannot reproduce it now).
Comment 2 xionbox 2017-01-11 01:16:52 UTC
Created attachment 103341 [details]
New crash information added by DrKonqi

calligraflow (2.9.11) on KDE Platform 4.14.27 using Qt 4.8.7

- What I was doing when the application crashed:

I tried to select an uncomplete connection point and drag it to complete the connection.

-- Backtrace (Reduced):
#6  0x00007f0654f00130 in KoShapeContainer::inheritsTransform(KoShape const*) const () at /usr/lib64/libflake.so.14
#7  0x00007f0654eeee29 in KoShape::absoluteTransformation(KoViewConverter const*) const () at /usr/lib64/libflake.so.14
#8  0x00007f0654ef0df3 in KoShape::documentToShape(QPointF const&) const () at /usr/lib64/libflake.so.14
#9  0x00007f0641893332 in  () at /usr/lib64/kde4/calligra_tool_defaults.so
#10 0x00007f0641895bdc in  () at /usr/lib64/kde4/calligra_tool_defaults.so
Comment 3 Justin Zobel 2020-12-17 05:25:21 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 4 Jeppe Bundsgaard 2020-12-17 17:03:02 UTC
I am not using the program anylonger, so I cannot check it. I am closing the report.