Bug 287836 - KPresenter crashed when cutting (Ctrl-X) an image
Summary: KPresenter crashed when cutting (Ctrl-X) an image
Status: RESOLVED WORKSFORME
Alias: None
Product: calligrastage
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: T Zachmann
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-29 13:14 UTC by Andreas Nordal
Modified: 2011-12-07 11:06 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 Andreas Nordal 2011-11-29 13:14:12 UTC
Application: kpresenter (2.3.1)
KDE Platform Version: 4.7.2 (4.7.2) "release 5"
Qt Version: 4.7.4
Operating System: Linux 3.1.0-1.2-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

I had just opened a saved presentation, and then imported an image. Unfortunately, the image appeared separately on a new slide, instead of in the one I was working on, so I decided to cut the image out of the new slide and paste it into the old.

I clicked on the image, and when I pressed Ctrl-X, KPresenter crashed immediately.

-- Backtrace:
Application: KPresenter (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f861d3f2760 (LWP 5677))]

Thread 2 (Thread 0x7f85f7f88700 (LWP 5932)):
#0  0x00007f861aa6a423 in poll () from /lib64/libc.so.6
#1  0x00007f861785fa98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f861785ff59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f861c07c576 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007f861c050a22 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f861c050c1f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f861bf685df in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007f861c033aef in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007f861bf6b025 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f860d09a25a in ?? () from /usr/lib64/libGL.so.1
#10 0x00007f861bcdaf05 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f861aa7353d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f861d3f2760 (LWP 5677)):
[KCrash Handler]
#6  0x00007f86078d9c4a in KoShapeSavingContext::saveDataCenter (this=0x1827f70, store=0x1495f50, manifestWriter=0x17d3980) at /usr/src/debug/koffice-2.3.1/libs/flake/KoShapeSavingContext.cpp:226
#7  0x00007f86078e5a66 in KoDrag::setOdf (this=0x7fff83eaa980, mimeType=0x7f8607627060 "application/vnd.oasis.opendocument.text", helper=...) at /usr/src/debug/koffice-2.3.1/libs/flake/KoDrag.cpp:104
#8  0x00007f85fc5b80d9 in DefaultTool::copy (this=<optimized out>) at /usr/src/debug/koffice-2.3.1/plugins/defaultTools/defaulttool/DefaultTool.cpp:785
#9  0x00007f86078be28d in KoToolBase::cut (this=0x13145a0) at /usr/src/debug/koffice-2.3.1/libs/flake/KoToolBase.cpp:216
#10 0x00007f86078921dd in KoCopyController::qt_metacall (this=0x1442ba0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff83eaaab0) at /usr/src/debug/koffice-2.3.1/build/libs/flake/KoCopyController.moc:83
#11 0x00007f861c06459a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#12 0x00007f861b1fd5d2 in QAction::triggered(bool) () from /usr/lib64/libQtGui.so.4
#13 0x00007f861b1fd7bf in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQtGui.so.4
#14 0x00007f861b1fd92f in QAction::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#15 0x00007f861ccfdcda in KAction::event (this=<optimized out>, event=0x7fff83eab0d0) at /usr/src/debug/kdelibs-4.7.2/kdeui/actions/kaction.cpp:131
#16 0x00007f861b203be4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#17 0x00007f861b208a71 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#18 0x00007f861cde3e36 in KApplication::notify (this=0x7fff83eac560, receiver=0x1442710, event=0x7fff83eab0d0) at /usr/src/debug/kdelibs-4.7.2/kdeui/kernel/kapplication.cpp:311
#19 0x00007f861c05181c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#20 0x00007f861b235bc9 in ?? () from /usr/lib64/libQtGui.so.4
#21 0x00007f861b2370bd in ?? () from /usr/lib64/libQtGui.so.4
#22 0x00007f861b20a6d9 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#23 0x00007f861cde3e36 in KApplication::notify (this=0x7fff83eac560, receiver=0x1101d50, event=0x7fff83eab670) at /usr/src/debug/kdelibs-4.7.2/kdeui/kernel/kapplication.cpp:311
#24 0x00007f861c05181c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#25 0x00007f861b2a2f09 in ?? () from /usr/lib64/libQtGui.so.4
#26 0x00007f861b2a337b in ?? () from /usr/lib64/libQtGui.so.4
#27 0x00007f861b27f564 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#28 0x00007f861b2a72a2 in ?? () from /usr/lib64/libQtGui.so.4
#29 0x00007f861785f58d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#30 0x00007f861785fd88 in ?? () from /usr/lib64/libglib-2.0.so.0
#31 0x00007f861785ff59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f861c07c50f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#33 0x00007f861b2a6f2e in ?? () from /usr/lib64/libQtGui.so.4
#34 0x00007f861c050a22 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#35 0x00007f861c050c1f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#36 0x00007f861c054de7 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#37 0x00007f8608e9715d in kdemain (argc=<optimized out>, argv=0x70cea0) at /usr/src/debug/koffice-2.3.1/kpresenter/part/main.cpp:44
#38 0x0000000000408897 in _start ()

Reported using DrKonqi
Comment 1 Andreas Nordal 2011-11-29 13:29:56 UTC
I tried the same procedure with 10 different images, and KPresenter crashed all 10 times.

How am I supposed to put images in my presentation?
Comment 2 Blagovest Zlatev 2011-11-30 15:43:27 UTC
I couldn't reproduce the bug and I found no duplicates. :S
Comment 3 Andreas Nordal 2011-11-30 20:12:15 UTC
I inserted the image using the top toolbar menu.

There is an excellent workaround:
If I use the toolbox on the right to insert the image, I can Ctrl-X and Ctrl-V it to a different slide (but I don't have to since it appears where I want).
Comment 4 Myriam Schweingruber 2011-12-07 11:06:44 UTC
Thank you for triaging :)
A. Nordal: I tried with the 2.4 snapshot of calligrastage and was not able to reproduce this, so I assume it is solved.