Bug 326258 - Calligra crashed when editing file
Summary: Calligra crashed when editing file
Status: RESOLVED FIXED
Alias: None
Product: karbon
Classification: Applications
Component: general (show other bugs)
Version: 2.7.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Jan Hambrecht
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-10-19 11:43 UTC by Paweł
Modified: 2016-11-26 05: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 Paweł 2013-10-19 11:43:29 UTC
Application: karbon (2.7.2)
KDE Platform Version: 4.11.2
Qt Version: 4.8.4
Operating System: Linux 3.11.0-12-generic x86_64
Distribution: Ubuntu 13.10

-- Information about the crash:
I have imported jpg file and I was trying to manually convert it to vector graphic.

-- Backtrace:
Application: Karbon (karbon), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f248bb507c0 (LWP 6081))]

Thread 3 (Thread 0x7f246910c700 (LWP 6082)):
#0  0x00007f248b48ff7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f248576c694 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f248576c79c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2489935a76 in QEventDispatcherGlib::processEvents (this=0x7f24640008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f24899075ef in QEventLoop::processEvents (this=this@entry=0x7f246910bd70, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f24899078e5 in QEventLoop::exec (this=this@entry=0x7f246910bd70, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f248980688f in QThread::exec (this=this@entry=0x21ac6f0) at thread/qthread.cpp:542
#7  0x00007f24898e8d13 in QInotifyFileSystemWatcherEngine::run (this=0x21ac6f0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f2489808f2f in QThreadPrivate::start (arg=0x21ac6f0) at thread/qthread_unix.cpp:338
#9  0x00007f2485c44f6e in start_thread (arg=0x7f246910c700) at pthread_create.c:311
#10 0x00007f248b49c9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f2463415700 (LWP 6086)):
#0  0x00007f248b48e6bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f247eb4ce61 in ?? () from /usr/lib/nvidia-331/tls/libnvidia-tls.so.331.13
#2  0x00007f24857ab660 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f248576c1bc in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f248576c62b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f248576c79c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f2489935a76 in QEventDispatcherGlib::processEvents (this=0x7f245c0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007f24899075ef in QEventLoop::processEvents (this=this@entry=0x7f2463414d70, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f24899078e5 in QEventLoop::exec (this=this@entry=0x7f2463414d70, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f248980688f in QThread::exec (this=this@entry=0x27c52f0) at thread/qthread.cpp:542
#10 0x00007f24898e8d13 in QInotifyFileSystemWatcherEngine::run (this=0x27c52f0) at io/qfilesystemwatcher_inotify.cpp:265
#11 0x00007f2489808f2f in QThreadPrivate::start (arg=0x27c52f0) at thread/qthread_unix.cpp:338
#12 0x00007f2485c44f6e in start_thread (arg=0x7f2463415700) at pthread_create.c:311
#13 0x00007f248b49c9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f248bb507c0 (LWP 6081)):
[KCrash Handler]
#6  value (i=<optimized out>, this=<optimized out>) at /build/buildd/calligra-2.7.2/libs/flake/KoParameterShape.cpp:172
#7  KoParameterShape::handlePosition (this=this@entry=0x0, handleId=handleId@entry=5) at /build/buildd/calligra-2.7.2/libs/flake/KoParameterShape.cpp:76
#8  0x00007f248881fd6c in KoParameterChangeStrategyPrivate (handle=5, paramShape=0x0, owner=0x3cd6000, this=0x4850500) at /build/buildd/calligra-2.7.2/libs/flake/tools/KoParameterChangeStrategy_p.h:32
#9  KoPathConnectionPointStrategyPrivate (handle=5, connectionShape=0x0, owner=0x3cd6000, this=0x4850500) at /build/buildd/calligra-2.7.2/libs/flake/tools/KoPathConnectionPointStrategy_p.h:36
#10 KoPathConnectionPointStrategy::KoPathConnectionPointStrategy (this=0x34d4120, tool=0x3cd6000, shape=0x0, handleId=5) at /build/buildd/calligra-2.7.2/libs/flake/tools/KoPathConnectionPointStrategy.cpp:36
#11 0x00007f24745ac78b in ConnectionTool::mousePressEvent (this=0x3cd6000, event=<optimized out>) at /build/buildd/calligra-2.7.2/plugins/defaultTools/connectionTool/ConnectionTool.cpp:343
#12 0x00007f24887caf12 in KoToolProxy::mousePressEvent (this=this@entry=0x2ebb8c0, ev=ev@entry=0x7fffbce56cb0) at /build/buildd/calligra-2.7.2/libs/flake/KoToolProxy.cpp:227
#13 0x00007f24887cb08b in KoToolProxy::mousePressEvent (this=0x2ebb8c0, event=event@entry=0x7fffbce57200, point=...) at /build/buildd/calligra-2.7.2/libs/flake/KoToolProxy.cpp:246
#14 0x00007f248b17eeda in KarbonCanvas::mousePressEvent (this=0x2edc600, e=0x7fffbce57200) at /build/buildd/calligra-2.7.2/karbon/ui/widgets/KarbonCanvas.cpp:215
#15 0x00007f248a349191 in QWidget::event (this=0x2edc600, event=0x7fffbce57200) at kernel/qwidget.cpp:8371
#16 0x00007f248a2f9dfc in QApplicationPrivate::notify_helper (this=this@entry=0x20cfb50, receiver=receiver@entry=0x2edc600, e=e@entry=0x7fffbce57200) at kernel/qapplication.cpp:4567
#17 0x00007f248a3005ad in QApplication::notify (this=<optimized out>, receiver=receiver@entry=0x2edc600, e=e@entry=0x7fffbce57200) at kernel/qapplication.cpp:4110
#18 0x00007f248ae3e928 in KoApplication::notify (this=<optimized out>, receiver=0x2edc600, event=0x7fffbce57200) at /build/buildd/calligra-2.7.2/libs/main/KoApplication.cpp:556
#19 0x00007f24899088bd in QCoreApplication::notifyInternal (this=0x7fffbce579f0, receiver=receiver@entry=0x2edc600, event=event@entry=0x7fffbce57200) at kernel/qcoreapplication.cpp:946
#20 0x00007f248a2ffd63 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#21 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x2edc600, event=event@entry=0x7fffbce57200, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x2edc600, buttonDown=buttonDown@entry=0x7f248adde2f8 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#22 0x00007f248a3747db in QETWidget::translateMouseEvent (this=this@entry=0x2edc600, event=event@entry=0x7fffbce57580) at kernel/qapplication_x11.cpp:4631
#23 0x00007f248a374079 in QApplication::x11ProcessEvent (this=0x7fffbce579f0, event=event@entry=0x7fffbce57580) at kernel/qapplication_x11.cpp:3624
#24 0x00007f248a39b922 in x11EventSourceDispatch (s=0x20d03b0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#25 0x00007f248576c3a6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f248576c6f8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f248576c79c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f2489935a55 in QEventDispatcherGlib::processEvents (this=0x1fe97b0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#29 0x00007f248a39b9d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007f24899075ef in QEventLoop::processEvents (this=this@entry=0x7fffbce57960, flags=...) at kernel/qeventloop.cpp:149
#31 0x00007f24899078e5 in QEventLoop::exec (this=this@entry=0x7fffbce57960, flags=...) at kernel/qeventloop.cpp:204
#32 0x00007f248990ce5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#33 0x00007f248a2f834c in QApplication::exec () at kernel/qapplication.cpp:3828
#34 0x00007f248b76ae11 in kdemain (argc=<optimized out>, argv=0x7fffbce57b08) at /build/buildd/calligra-2.7.2/karbon/main.cpp:79
#35 0x00007f248b3c3de5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=1, ubp_av=0x7fffbce57b08, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffbce57af8) at libc-start.c:260
#36 0x00000000004006fe in _start ()

Reported using DrKonqi
Comment 1 Paweł 2013-10-19 11:44:19 UTC
I am using nvidia 331 beta driver.
Comment 2 Anthony Fieroni 2016-11-26 05:50:13 UTC
Git commit f3f26b78c7b792e9f5de480d2fd00c98a48d8ba2 by Anthony Fieroni.
Committed on 26/11/2016 at 05:32.
Pushed by anthonyfieroni into branch 'master'.

[connectionTool] Check dynamic_cast result pointer

REVIEW: 129514

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

M  +4    -1    plugins/defaultTools/connectionTool/ConnectionTool.cpp

https://commits.kde.org/calligra/f3f26b78c7b792e9f5de480d2fd00c98a48d8ba2