Bug 269574 - Copying and Pasting
Summary: Copying and Pasting
Status: RESOLVED FIXED
Alias: None
Product: calligrastage
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: T Zachmann
URL:
Keywords:
: 265348 286697 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-03-27 23:26 UTC by William Potash
Modified: 2011-11-22 22:07 UTC (History)
3 users (show)

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


Attachments
New crash information added by DrKonqi (6.81 KB, text/plain)
2011-03-27 23:30 UTC, William Potash
Details

Note You need to log in before you can comment on or make changes to this bug.
Description William Potash 2011-03-27 23:26:57 UTC
Application: kpresenter (2.3.3)
KDE Platform Version: 4.6.1 (4.6.1)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-7-generic x86_64
Distribution: Ubuntu Natty (development branch)

-- Information about the crash:
When I was using the application (KPresenter) I attempted to copy a PNG file when KPresenter crashed. This doesn't happen if I paste, but it does every time I copy or cut a PNG. I plan on trying it with a JPEG later.

The crash can be reproduced every time.

-- Backtrace:
Application: KPresenter (kpresenter), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fcd0bddb7a0 (LWP 4901))]

Thread 3 (Thread 0x7fccfca3c700 (LWP 4902)):
#0  0x00007fcd0b727e33 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fcd061a0104 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fcd061a09f2 in g_main_loop_run () from /lib/libglib-2.0.so.0
#3  0x00007fccfd39bd44 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007fcd061c73e4 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007fcd0666bd8c in start_thread (arg=0x7fccfca3c700) at pthread_create.c:304
#6  0x00007fcd0b734f7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fcce0abf700 (LWP 4904)):
#0  0x00007fcd0b727e33 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fcd061a0104 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fcd061a0639 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fcd09e83446 in QEventDispatcherGlib::processEvents (this=0xd9e410, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fcd09e57882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fcd09e57abc in QEventLoop::exec (this=0x7fcce0abedb0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fcd09d6e924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007fcd09e39c2f in QInotifyFileSystemWatcherEngine::run (this=0xd9c630) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fcd09d71175 in QThreadPrivate::start (arg=0xd9c630) at thread/qthread_unix.cpp:320
#9  0x00007fcd0666bd8c in start_thread (arg=0x7fcce0abf700) at pthread_create.c:304
#10 0x00007fcd0b734f7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fcd0bddb7a0 (LWP 4901)):
[KCrash Handler]
#6  KoShapeSavingContext::saveDataCenter (this=0x17dc050, store=0x1627fc0, manifestWriter=0x1740e90) at ../../../libs/flake/KoShapeSavingContext.cpp:226
#7  0x00007fcd0803006f in KoDrag::setOdf (this=0x7fff59b78c90, mimeType=0x7fcd07d702c0 "application/vnd.oasis.opendocument.text", helper=...) at ../../../libs/flake/KoDrag.cpp:104
#8  0x00007fcce4453717 in DefaultTool::copy (this=<value optimized out>) at ../../../plugins/defaultTools/defaulttool/DefaultTool.cpp:785
#9  0x00007fcd07fdd825 in KoCopyController::qt_metacall (this=0x1701cb0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff59b78dc0) at ./KoCopyController.moc:82
#10 0x00007fcd09e6d5f8 in QMetaObject::activate (sender=0x15fddb0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff59b78dc0) at kernel/qobject.cpp:3287
#11 0x00007fcd0a811112 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#12 0x00007fcd0a8112ff in QAction::activate (this=0x15fddb0, event=<value optimized out>) at kernel/qaction.cpp:1257
#13 0x00007fcd0a81146f in QAction::event (this=<value optimized out>, e=<value optimized out>) at kernel/qaction.cpp:1183
#14 0x00007fcd0711251a in KAction::event (this=<value optimized out>, event=0x7fff59b79400) at ../../kdeui/actions/kaction.cpp:131
#15 0x00007fcd0a8179e4 in QApplicationPrivate::notify_helper (this=0x913ee0, receiver=0x15fddb0, e=0x7fff59b79400) at kernel/qapplication.cpp:4462
#16 0x00007fcd0a81c3aa in QApplication::notify (this=<value optimized out>, receiver=0x15fddb0, e=0x7fff59b79400) at kernel/qapplication.cpp:4341
#17 0x00007fcd071f0866 in KApplication::notify (this=0x7fff59b7a8a0, receiver=0x15fddb0, event=0x7fff59b79400) at ../../kdeui/kernel/kapplication.cpp:311
#18 0x00007fcd09e5849c in QCoreApplication::notifyInternal (this=0x7fff59b7a8a0, receiver=0x15fddb0, event=0x7fff59b79400) at kernel/qcoreapplication.cpp:731
#19 0x00007fcd0a849be0 in sendEvent (this=<value optimized out>, e=0x7fff59b799d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#20 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7fff59b799d0) at kernel/qshortcutmap.cpp:879
#21 0x00007fcd0a84b088 in QShortcutMap::tryShortcutEvent (this=0x914008, o=<value optimized out>, e=0x7fff59b799d0) at kernel/qshortcutmap.cpp:364
#22 0x00007fcd0a81dd15 in QApplication::notify (this=0x7fff59b7a8a0, receiver=0x10bbbd0, e=0x7fff59b799d0) at kernel/qapplication.cpp:3904
#23 0x00007fcd071f0866 in KApplication::notify (this=0x7fff59b7a8a0, receiver=0x10bbbd0, event=0x7fff59b799d0) at ../../kdeui/kernel/kapplication.cpp:311
#24 0x00007fcd09e5849c in QCoreApplication::notifyInternal (this=0x7fff59b7a8a0, receiver=0x10bbbd0, event=0x7fff59b799d0) at kernel/qcoreapplication.cpp:731
#25 0x00007fcd0a8bace9 in QKeyMapper::sendKeyEvent (keyWidget=0x10bbbd0, grab=<value optimized out>, type=QEvent::KeyPress, code=67, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=54, nativeVirtualKey=99, nativeModifiers=4) at kernel/qkeymapper_x11.cpp:1865
#26 0x00007fcd0a8bb166 in QFlags (this=0x94dcd0, keyWidget=0x10bbbd0, event=0x7fff59b7a560, grab=false) at ../../include/QtCore/../../src/corelib/global/qglobal.h:2190
#27 QKeyMapperPrivate::translateKeyEvent (this=0x94dcd0, keyWidget=0x10bbbd0, event=0x7fff59b7a560, grab=false) at kernel/qkeymapper_x11.cpp:1836
#28 0x00007fcd0a896ee3 in QApplication::x11ProcessEvent (this=0x7fff59b7a8a0, event=0x7fff59b7a560) at kernel/qapplication_x11.cpp:3569
#29 0x00007fcd0a8bf152 in x11EventSourceDispatch (s=0x917e70, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#30 0x00007fcd0619fbcd in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#31 0x00007fcd061a03a8 in ?? () from /lib/libglib-2.0.so.0
#32 0x00007fcd061a0639 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#33 0x00007fcd09e833ef in QEventDispatcherGlib::processEvents (this=0x8bf340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#34 0x00007fcd0a8bedee in QFlags (this=0xdc2350, flags=...) at ../../include/QtCore/../../src/corelib/global/qglobal.h:2190
#35 QGuiEventDispatcherGlib::processEvents (this=0xdc2350, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#36 0x00007fcd09e57882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007fcd09e57abc in QEventLoop::exec (this=0x7fff59b7a860, flags=...) at kernel/qeventloop.cpp:201
#38 0x00007fcd09e5becb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#39 0x00007fcd0b9f60bd in kdemain (argc=<value optimized out>, argv=0x7fff59b7aa38) at ../../../kpresenter/part/main.cpp:44
#40 0x00007fcd0b66deff in __libc_start_main (main=0x400730 <main(int, char**)>, argc=1, ubp_av=0x7fff59b7aa38, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff59b7aa28) at libc-start.c:226
#41 0x0000000000400659 in _start ()

Reported using DrKonqi
Comment 1 William Potash 2011-03-27 23:30:55 UTC
Created attachment 58380 [details]
New crash information added by DrKonqi

kpresenter (2.3.3) on KDE Platform 4.6.1 (4.6.1) using Qt 4.7.2

The crash I just reported happened again, when I tried it with a JPEG.

-- Backtrace (Reduced):
#6  KoShapeSavingContext::saveDataCenter (this=0x1833f10, store=0x12416e0, manifestWriter=0x1340010) at ../../../libs/flake/KoShapeSavingContext.cpp:226
#7  0x00007fb84398006f in KoDrag::setOdf (this=0x7fff258cfed0, mimeType=0x7fb8436c02c0 "application/vnd.oasis.opendocument.text", helper=...) at ../../../libs/flake/KoDrag.cpp:104
#8  0x00007fb81fd2c717 in DefaultTool::copy (this=<value optimized out>) at ../../../plugins/defaultTools/defaulttool/DefaultTool.cpp:785
#9  0x00007fb84392d825 in KoCopyController::qt_metacall (this=0x174afa0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff258d0000) at ./KoCopyController.moc:82
[...]
#11 0x00007fb846161112 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
Comment 2 T Zachmann 2011-03-28 05:37:42 UTC
Unfortunately I don't have kpresenter 2.3.3 to test the problem. The problem does not happen in trunk at least.

Did you install kpresenter from packages?

Thorsten
Comment 3 William Potash 2011-03-28 12:50:22 UTC
It's from the Ubuntu 11.04 repos.
Comment 4 Camilla Boemann 2011-04-08 16:27:19 UTC
*** Bug 265348 has been marked as a duplicate of this bug. ***
Comment 5 T Zachmann 2011-06-13 08:24:38 UTC
Looks like the bug has been fixed in the mean time as I'm not able to reproduce with the latest development version. The fix is in the upcomming snapshot and will be part of calligrastage when it is released.
Comment 6 Myriam Schweingruber 2011-11-22 22:07:16 UTC
*** Bug 286697 has been marked as a duplicate of this bug. ***