Bug 329335

Summary: Stage crashes when double clicking in notes field
Product: [Applications] calligrastage Reporter: kdeuser56
Component: generalAssignee: T Zachmann <t.zachmann>
Status: RESOLVED DUPLICATE    
Severity: crash CC: halla
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
URL: http://ubuntuone.com/0lmqyHb1x5TEsND1I21U8Q
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description kdeuser56 2013-12-28 19:14:07 UTC
Calligra Stage version 2.7.2.
crash if selecting the notes tab and double clicking in field to add notes. 



Reproducible: Always

Steps to Reproduce:
1.Open stage and select "Blue Orange Vector" template
2.Go to notes tab
3.Double click "Double click to add notes" field 
Actual Results:  
Stage crashes.

Expected Results:  
Stage should allow me to add notes without crashes.

Backtrace:

Application: Stage (calligrastage), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f8979a4a7c0 (LWP 9764))]

Thread 3 (Thread 0x7f895997a700 (LWP 9765)):
#0  0x00007f897938ef7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f8973e53694 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8973e5379c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8977aa4a76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f8977a765ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f8977a768e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f897797588f in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f8977a57d13 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f8977977f2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f897432bf6e in start_thread (arg=0x7f895997a700) at pthread_create.c:311
#10 0x00007f897939b9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f8953b97700 (LWP 9766)):
#0  0x00007f897938ef7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f8973e53694 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8973e5379c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8977aa4a76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f8977a765ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f8977a768e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f897797588f in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f8977a57d13 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f8977977f2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f897432bf6e in start_thread (arg=0x7f8953b97700) at pthread_create.c:311
#10 0x00007f897939b9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f8979a4a7c0 (LWP 9764)):
[KCrash Handler]
#5  0x00007f8962bc6941 in KoPADocument::removeShape(KoShape*) () from /usr/lib/libkopageapp.so.12
#6  0x00007f8976408fe7 in KoShapeDeleteCommand::redo() () from /usr/lib/libflake.so.12
#7  0x00007f8975561a90 in KUndo2Command::redo() () from /usr/lib/libkundo2.so.12
#8  0x00007f89755631dd in KUndo2QStack::push(KUndo2Command*) () from /usr/lib/libkundo2.so.12
#9  0x00007f8962ea5c2b in ?? () from /usr/lib/libcalligrastageprivate.so.12
#10 0x00007f89763c89ed in KoToolManager::Private::postSwitchTool(bool) () from /usr/lib/libflake.so.12
#11 0x00007f89763c9f92 in KoToolManager::Private::switchTool(KoToolBase*, bool) () from /usr/lib/libflake.so.12
#12 0x00007f89763cc68f in KoToolManager::Private::switchTool(QString const&, bool) () from /usr/lib/libflake.so.12
#13 0x00007f89763a8e4a in KoShapeManager::suggestChangeTool(KoPointerEvent*) () from /usr/lib/libflake.so.12
#14 0x00007f89763d112b in KoToolProxy::mouseDoubleClickEvent(QMouseEvent*, QPointF const&) () from /usr/lib/libflake.so.12
#15 0x00007f8962bd1ed5 in KoPACanvas::mouseDoubleClickEvent(QMouseEvent*) () from /usr/lib/libkopageapp.so.12
#16 0x00007f89784b845e in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#17 0x00007f8978468dfc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#18 0x00007f897846f5ad in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#19 0x00007f8978fad928 in KoApplication::notify(QObject*, QEvent*) () from /usr/lib/libkomain.so.12
#20 0x00007f8977a778bd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#21 0x00007f897846ed63 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#22 0x00007f89784e37db in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#23 0x00007f89784e3079 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#24 0x00007f897850a922 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#25 0x00007f8973e533a6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f8973e536f8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f8973e5379c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f8977aa4a76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#29 0x00007f897850a9d6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#30 0x00007f8977a765ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#31 0x00007f8977a768e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#32 0x00007f8977a7be5b in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#33 0x00007f897966b065 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_calligrastage.so
#34 0x00007f89792c2de5 in __libc_start_main (main=0x4006d0, argc=1, ubp_av=0x7fffbc2a5e48, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffbc2a5e38) at libc-start.c:260
#35 0x00000000004006fe in _start ()
Comment 1 Halla Rempt 2013-12-28 19:54:37 UTC
I can confirm in 2.8:

Thread 1 (Thread 0x7f9ecc3118c0 (LWP 27104)):
[KCrash Handler]
#5  0x00007f9eb0e536f7 in KoPADocument::removeShape (this=0x1dd3440, shape=0x1f553d0) at /home/boud/kde/src/2.8/libs/kopageapp/KoPADocument.cpp:564
#6  0x00007f9ecb027c64 in KoShapeDeleteCommand::redo (this=0x46a9d70) at /home/boud/kde/src/2.8/libs/flake/commands/KoShapeDeleteCommand.cpp:85
#7  0x00007f9ec8c0e666 in KUndo2Command::redo (this=0x2225e80) at /home/boud/kde/src/2.8/libs/kundo2/kundo2stack.cpp:213
#8  0x00007f9ec8c0ef10 in KUndo2QStack::push (this=0x1dd36d0, cmd=0x2225e80) at /home/boud/kde/src/2.8/libs/kundo2/kundo2stack.cpp:570
#9  0x00007f9ecbc25197 in KoDocument::addCommand (this=0x1dd3440, command=0x2225e80) at /home/boud/kde/src/2.8/libs/main/KoDocument.cpp:2355
#10 0x00007f9eb0e67ea4 in KoPACanvasBase::addCommand (this=0x2136848, command=0x2225e80) at /home/boud/kde/src/2.8/libs/kopageapp/KoPACanvasBase.cpp:126
#11 0x00007f9eb11795f6 in KPrPlaceholderTool::activate (this=0x24c7a30, toolActivation=KoToolBase::DefaultActivation, shapes=...) at /home/boud/kde/src/2.8/stage/part/tools/KPrPlaceholderTool.cpp:97
#12 0x00007f9ecafcbdac in KoToolManager::Private::postSwitchTool (this=0x248bd00, temporary=false) at /home/boud/kde/src/2.8/libs/flake/KoToolManager.cpp:332
#13 0x00007f9ecafcb40d in KoToolManager::Private::switchTool (this=0x248bd00, tool=0x24c7a30, temporary=false) at /home/boud/kde/src/2.8/libs/flake/KoToolManager.cpp:262
#14 0x00007f9ecafcb72f in KoToolManager::Private::switchTool (this=0x248bd00, id=..., temporary=false) at /home/boud/kde/src/2.8/libs/flake/KoToolManager.cpp:286
#15 0x00007f9ecafcf83f in KoToolManager::switchToolRequested (this=0x248bc30, id=...) at /home/boud/kde/src/2.8/libs/flake/KoToolManager.cpp:832
#16 0x00007f9ecaf9fe39 in KoShapeManager::suggestChangeTool (this=0x248aa10, event=0x7fff33d99910) at /home/boud/kde/src/2.8/libs/flake/KoShapeManager.cpp:576
#17 0x00007f9ecafda979 in KoToolProxy::mouseDoubleClickEvent (this=0x248ba40, event=0x7fff33d99910) at /home/boud/kde/src/2.8/libs/flake/KoToolProxy.cpp:334
#18 0x00007f9ecafda8e4 in KoToolProxy::mouseDoubleClickEvent (this=0x248ba40, event=0x7fff33d99ed0, point=...) at /home/boud/kde/src/2.8/libs/flake/KoToolProxy.cpp:326
#19 0x00007f9eb110e355 in KPrViewModeNotes::mouseDoubleClickEvent (this=0x40d2310, event=0x7fff33d99ed0, point=...) at /home/boud/kde/src/2.8/stage/part/KPrViewModeNotes.cpp:91
#20 0x00007f9eb0e64d61 in KoPACanvas::mouseDoubleClickEvent (this=0x2136820, event=0x7fff33d99ed0) at /home/boud/kde/src/2.8/libs/kopageapp/KoPACanvas.cpp:125
#21 0x00007f9ec7b16f3e in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#22 0x00007f9eb0e648c8 in KoPACanvas::event (this=0x2136820, e=0x7fff33d99ed0) at /home/boud/kde/src/2.8/libs/kopageapp/KoPACanvas.cpp:96
#23 0x00007f9ec7ac78ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#24 0x00007f9ec7acdfad in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#25 0x00007f9ecbc14326 in KoApplication::notify (this=0x7fff33d9a670, receiver=0x2136820, event=0x7fff33d99ed0) at /home/boud/kde/src/2.8/libs/main/KoApplication.cpp:549
#26 0x00007f9ec6be20ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#27 0x00007f9ec7acd763 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4
#28 0x00007f9ec7b3ef7b in ?? () from /usr/lib64/libQtGui.so.4
#29 0x00007f9ec7b3d9ec in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#30 0x00007f9ec7b64882 in ?? () from /usr/lib64/libQtGui.so.4
#31 0x00007f9ec0fd2316 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f9ec0fd2668 in ?? () from /usr/lib64/libglib-2.0.so.0
#33 0x00007f9ec0fd270c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#34 0x00007f9ec6c0ed55 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#35 0x00007f9ec7b64936 in ?? () from /usr/lib64/libQtGui.so.4
#36 0x00007f9ec6be0d0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#37 0x00007f9ec6be1005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#38 0x00007f9ec6be613b in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#39 0x00007f9ecbf466f2 in kdemain (argc=1, argv=0x7fff33d9a858) at /home/boud/kde/src/2.8/stage/app/main.cpp:44
#40 0x0000000000400a52 in main (argc=1, argv=0x7fff33d9a858) at /home/boud/kde/build/2.8/stage/app/calligrastage_dummy.cpp:3
Comment 2 Christoph Feck 2013-12-31 00:40:16 UTC
PLEASE use "crash" for crashes, not "critical". We know that crashes _are_ critical, but they are still handled separately in bugzilla.
Comment 3 Christoph Feck 2013-12-31 00:43:05 UTC
Oh, just noted that you already reported it before the Word crashes...
Comment 4 kdeuser56 2013-12-31 00:49:22 UTC
@Christoph Feck, Thank you for clarification, I will consider that for future bug reports. Sorry for the inconvenience!
Comment 5 kdeuser56 2014-01-05 15:34:07 UTC
Backtracke of v.2.7.5 with debugging symbols installed:

Application: Stage (calligrastage), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f706ee3d7c0 (LWP 4844))]

Thread 3 (Thread 0x7f7052725700 (LWP 4845)):
#0  0x00007f706e77b65d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f706923bcf4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f706923bdfc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f706ce916c6 in QEventDispatcherGlib::processEvents (this=0x7f704c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f706ce6327f in QEventLoop::processEvents (this=this@entry=0x7f7052724de0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f706ce63575 in QEventLoop::exec (this=this@entry=0x7f7052724de0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f706cd6285f in QThread::exec (this=this@entry=0x10b5db0) at thread/qthread.cpp:542
#7  0x00007f706ce44ab3 in QInotifyFileSystemWatcherEngine::run (this=0x10b5db0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f706cd64eff in QThreadPrivate::start (arg=0x10b5db0) at thread/qthread_unix.cpp:338
#9  0x00007f7069714182 in start_thread (arg=0x7f7052725700) at pthread_create.c:312
#10 0x00007f706e788a6d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f7050919700 (LWP 4849)):
#0  0x00007f706e779d5d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f706927b3d0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f706923b824 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f706923bc8b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f706923bdfc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f706ce916c6 in QEventDispatcherGlib::processEvents (this=0x7f70440008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f706ce6327f in QEventLoop::processEvents (this=this@entry=0x7f7050918de0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f706ce63575 in QEventLoop::exec (this=this@entry=0x7f7050918de0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f706cd6285f in QThread::exec (this=this@entry=0x180c6b0) at thread/qthread.cpp:542
#9  0x00007f706ce44ab3 in QInotifyFileSystemWatcherEngine::run (this=0x180c6b0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f706cd64eff in QThreadPrivate::start (arg=0x180c6b0) at thread/qthread_unix.cpp:338
#11 0x00007f7069714182 in start_thread (arg=0x7f7050919700) at pthread_create.c:312
#12 0x00007f706e788a6d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f706ee3d7c0 (LWP 4844)):
[KCrash Handler]
#6  KoPADocument::removeShape (this=0x11ed0b0, shape=0x1a29270) at /build/buildd/calligra-2.7.5/libs/kopageapp/KoPADocument.cpp:564
#7  0x00007f706b7f5fe7 in KoShapeDeleteCommand::redo (this=0x4440560) at /build/buildd/calligra-2.7.5/libs/flake/commands/KoShapeDeleteCommand.cpp:85
#8  0x00007f706a94da90 in KUndo2Command::redo (this=0x3751680) at /build/buildd/calligra-2.7.5/libs/kundo2/kundo2stack.cpp:213
#9  0x00007f706a94f1dd in KUndo2QStack::push (this=0x11e8d60, cmd=0x3751680) at /build/buildd/calligra-2.7.5/libs/kundo2/kundo2stack.cpp:570
#10 0x00007f705b9e2beb in KPrPlaceholderTool::activate (this=0x1d69580, toolActivation=<optimized out>, shapes=...) at /build/buildd/calligra-2.7.5/stage/part/tools/KPrPlaceholderTool.cpp:97
#11 0x00007f706b7b59ed in KoToolManager::Private::postSwitchTool (this=this@entry=0x1d39420, temporary=temporary@entry=false) at /build/buildd/calligra-2.7.5/libs/flake/KoToolManager.cpp:332
#12 0x00007f706b7b6f92 in switchTool (temporary=false, tool=0x1d69580, this=0x1d39420) at /build/buildd/calligra-2.7.5/libs/flake/KoToolManager.cpp:262
#13 KoToolManager::Private::switchTool (this=0x1d39420, tool=0x1d69580, temporary=<optimized out>) at /build/buildd/calligra-2.7.5/libs/flake/KoToolManager.cpp:249
#14 0x00007f706b7b968f in KoToolManager::Private::switchTool (this=0x1d39420, id=..., temporary=temporary@entry=false) at /build/buildd/calligra-2.7.5/libs/flake/KoToolManager.cpp:286
#15 0x00007f706b7b99f0 in KoToolManager::switchToolRequested (this=<optimized out>, id=...) at /build/buildd/calligra-2.7.5/libs/flake/KoToolManager.cpp:822
#16 0x00007f706b7beca8 in KoToolProxy::mouseReleaseEvent (this=<optimized out>, event=<optimized out>, point=...) at /build/buildd/calligra-2.7.5/libs/flake/KoToolProxy.cpp:327
#17 0x00007f705b70fcd8 in KoPACanvas::mouseReleaseEvent (this=0x1d30900, event=0x7fff8f287cc0) at /build/buildd/calligra-2.7.5/libs/kopageapp/KoPACanvas.cpp:135
#18 0x00007f706d8a529a in QWidget::event (this=0x1d30900, event=0x7fff8f287cc0) at kernel/qwidget.cpp:8375
#19 0x00007f706d855dac in QApplicationPrivate::notify_helper (this=this@entry=0x1008090, receiver=receiver@entry=0x1d30900, e=e@entry=0x7fff8f287cc0) at kernel/qapplication.cpp:4567
#20 0x00007f706d85c55d in QApplication::notify (this=<optimized out>, receiver=receiver@entry=0x1d30900, e=e@entry=0x7fff8f287cc0) at kernel/qapplication.cpp:4110
#21 0x00007f706e39a928 in KoApplication::notify (this=<optimized out>, receiver=0x1d30900, event=0x7fff8f287cc0) at /build/buildd/calligra-2.7.5/libs/main/KoApplication.cpp:556
#22 0x00007f706ce6454d in QCoreApplication::notifyInternal (this=0x7fff8f2884a0, receiver=receiver@entry=0x1d30900, event=event@entry=0x7fff8f287cc0) at kernel/qcoreapplication.cpp:946
#23 0x00007f706d85bd13 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#24 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x1d30900, event=event@entry=0x7fff8f287cc0, alienWidget=alienWidget@entry=0x1d30900, nativeWidget=nativeWidget@entry=0x1d33190, buttonDown=buttonDown@entry=0x7f706e33a2f8 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#25 0x00007f706d8d06eb in QETWidget::translateMouseEvent (this=this@entry=0x1d33190, event=event@entry=0x7fff8f288040) at kernel/qapplication_x11.cpp:4631
#26 0x00007f706d8cff89 in QApplication::x11ProcessEvent (this=0x7fff8f2884a0, event=event@entry=0x7fff8f288040) at kernel/qapplication_x11.cpp:3624
#27 0x00007f706d8f7812 in x11EventSourceDispatch (s=0x1010b00, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#28 0x00007f706923bb14 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f706923bd58 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f706923bdfc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f706ce916a5 in QEventDispatcherGlib::processEvents (this=0x100ab10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#32 0x00007f706d8f78c6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007f706ce6327f in QEventLoop::processEvents (this=this@entry=0x7fff8f288410, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007f706ce63575 in QEventLoop::exec (this=this@entry=0x7fff8f288410, flags=...) at kernel/qeventloop.cpp:204
#35 0x00007f706ce68ad9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#36 0x00007f706d8542fc in QApplication::exec () at kernel/qapplication.cpp:3828
#37 0x00007f706ea57065 in kdemain (argc=<optimized out>, argv=0x7fff8f2885b8) at /build/buildd/calligra-2.7.5/stage/app/main.cpp:44
#38 0x00007f706e6afed5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=1, argv=0x7fff8f2885b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff8f2885a8) at libc-start.c:287
#39 0x00000000004006fe in _start ()
Comment 6 kdeuser56 2014-01-06 09:32:34 UTC
libglib debugging symbols were not installed in the last backtrace, so most precise backtrace using stage 2.7.5:

Application: Stage (calligrastage), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fbb2e5267c0 (LWP 2638))]

Thread 3 (Thread 0x7fbb11d0d700 (LWP 2639)):
#0  0x00007fbb2de6965d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fbb28929cf4 in g_main_context_poll (priority=2147483647, n_fds=2, fds=0x7fbb0c002bb0, timeout=-1, context=0x7fbb0c0009a0) at /build/buildd/glib2.0-2.39.2/./glib/gmain.c:4008
#2  g_main_context_iterate (context=context@entry=0x7fbb0c0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.39.2/./glib/gmain.c:3709
#3  0x00007fbb28929dfc in g_main_context_iteration (context=0x7fbb0c0009a0, may_block=1) at /build/buildd/glib2.0-2.39.2/./glib/gmain.c:3775
#4  0x00007fbb2c57f6c6 in QEventDispatcherGlib::processEvents (this=0x7fbb0c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fbb2c55127f in QEventLoop::processEvents (this=this@entry=0x7fbb11d0cde0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fbb2c551575 in QEventLoop::exec (this=this@entry=0x7fbb11d0cde0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fbb2c45085f in QThread::exec (this=this@entry=0x142f090) at thread/qthread.cpp:542
#8  0x00007fbb2c532ab3 in QInotifyFileSystemWatcherEngine::run (this=0x142f090) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007fbb2c452eff in QThreadPrivate::start (arg=0x142f090) at thread/qthread_unix.cpp:338
#10 0x00007fbb28e02182 in start_thread (arg=0x7fbb11d0d700) at pthread_create.c:312
#11 0x00007fbb2de76a6d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fbb0a792700 (LWP 2642)):
#0  0x00007fbb2de6965d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fbb28929cf4 in g_main_context_poll (priority=2147483647, n_fds=2, fds=0x7fbb040029b0, timeout=-1, context=0x7fbb040009a0) at /build/buildd/glib2.0-2.39.2/./glib/gmain.c:4008
#2  g_main_context_iterate (context=context@entry=0x7fbb040009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.39.2/./glib/gmain.c:3709
#3  0x00007fbb28929dfc in g_main_context_iteration (context=0x7fbb040009a0, may_block=1) at /build/buildd/glib2.0-2.39.2/./glib/gmain.c:3775
#4  0x00007fbb2c57f6c6 in QEventDispatcherGlib::processEvents (this=0x7fbb040008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fbb2c55127f in QEventLoop::processEvents (this=this@entry=0x7fbb0a791de0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fbb2c551575 in QEventLoop::exec (this=this@entry=0x7fbb0a791de0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fbb2c45085f in QThread::exec (this=this@entry=0x1b2ac60) at thread/qthread.cpp:542
#8  0x00007fbb2c532ab3 in QInotifyFileSystemWatcherEngine::run (this=0x1b2ac60) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007fbb2c452eff in QThreadPrivate::start (arg=0x1b2ac60) at thread/qthread_unix.cpp:338
#10 0x00007fbb28e02182 in start_thread (arg=0x7fbb0a792700) at pthread_create.c:312
#11 0x00007fbb2de76a6d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fbb2e5267c0 (LWP 2638)):
[KCrash Handler]
#6  KoPADocument::removeShape (this=0x15d6510, shape=0x1e70910) at /build/buildd/calligra-2.7.5/libs/kopageapp/KoPADocument.cpp:564
#7  0x00007fbb2aee3fe7 in KoShapeDeleteCommand::redo (this=0x1477180) at /build/buildd/calligra-2.7.5/libs/flake/commands/KoShapeDeleteCommand.cpp:85
#8  0x00007fbb2a03ba90 in KUndo2Command::redo (this=0x32f6950) at /build/buildd/calligra-2.7.5/libs/kundo2/kundo2stack.cpp:213
#9  0x00007fbb2a03d1dd in KUndo2QStack::push (this=0x15d6870, cmd=0x32f6950) at /build/buildd/calligra-2.7.5/libs/kundo2/kundo2stack.cpp:570
#10 0x00007fbb1b0cabeb in KPrPlaceholderTool::activate (this=0x21b3d10, toolActivation=<optimized out>, shapes=...) at /build/buildd/calligra-2.7.5/stage/part/tools/KPrPlaceholderTool.cpp:97
#11 0x00007fbb2aea39ed in KoToolManager::Private::postSwitchTool (this=this@entry=0x2183d40, temporary=temporary@entry=false) at /build/buildd/calligra-2.7.5/libs/flake/KoToolManager.cpp:332
#12 0x00007fbb2aea4f92 in switchTool (temporary=false, tool=0x21b3d10, this=0x2183d40) at /build/buildd/calligra-2.7.5/libs/flake/KoToolManager.cpp:262
#13 KoToolManager::Private::switchTool (this=0x2183d40, tool=0x21b3d10, temporary=<optimized out>) at /build/buildd/calligra-2.7.5/libs/flake/KoToolManager.cpp:249
#14 0x00007fbb2aea768f in KoToolManager::Private::switchTool (this=0x2183d40, id=..., temporary=temporary@entry=false) at /build/buildd/calligra-2.7.5/libs/flake/KoToolManager.cpp:286
#15 0x00007fbb2aea79f0 in KoToolManager::switchToolRequested (this=<optimized out>, id=...) at /build/buildd/calligra-2.7.5/libs/flake/KoToolManager.cpp:822
#16 0x00007fbb2ae83e4a in KoShapeManager::suggestChangeTool (this=0x217f8b0, event=event@entry=0x7fff2c348c90) at /build/buildd/calligra-2.7.5/libs/flake/KoShapeManager.cpp:571
#17 0x00007fbb2aeac0f6 in KoToolProxy::mouseDoubleClickEvent (this=this@entry=0x21836e0, event=event@entry=0x7fff2c348c90) at /build/buildd/calligra-2.7.5/libs/flake/KoToolProxy.cpp:260
#18 0x00007fbb2aeac12b in KoToolProxy::mouseDoubleClickEvent (this=0x21836e0, event=<optimized out>, point=...) at /build/buildd/calligra-2.7.5/libs/flake/KoToolProxy.cpp:252
#19 0x00007fbb1adf7ed5 in KoPACanvas::mouseDoubleClickEvent (this=0x2182e10, event=0x7fff2c3491a0) at /build/buildd/calligra-2.7.5/libs/kopageapp/KoPACanvas.cpp:125
#20 0x00007fbb2cf933de in QWidget::event (this=0x2182e10, event=0x7fff2c3491a0) at kernel/qwidget.cpp:8379
#21 0x00007fbb2cf43dac in QApplicationPrivate::notify_helper (this=this@entry=0x136a2d0, receiver=receiver@entry=0x2182e10, e=e@entry=0x7fff2c3491a0) at kernel/qapplication.cpp:4567
#22 0x00007fbb2cf4a55d in QApplication::notify (this=<optimized out>, receiver=receiver@entry=0x2182e10, e=e@entry=0x7fff2c3491a0) at kernel/qapplication.cpp:4110
#23 0x00007fbb2da88928 in KoApplication::notify (this=<optimized out>, receiver=0x2182e10, event=0x7fff2c3491a0) at /build/buildd/calligra-2.7.5/libs/main/KoApplication.cpp:556
#24 0x00007fbb2c55254d in QCoreApplication::notifyInternal (this=0x7fff2c349980, receiver=receiver@entry=0x2182e10, event=event@entry=0x7fff2c3491a0) at kernel/qcoreapplication.cpp:946
#25 0x00007fbb2cf49d13 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#26 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x2182e10, event=event@entry=0x7fff2c3491a0, alienWidget=alienWidget@entry=0x2182e10, nativeWidget=nativeWidget@entry=0x2182da0, buttonDown=buttonDown@entry=0x7fbb2da282f8 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#27 0x00007fbb2cfbe6eb in QETWidget::translateMouseEvent (this=this@entry=0x2182da0, event=event@entry=0x7fff2c349520) at kernel/qapplication_x11.cpp:4631
#28 0x00007fbb2cfbdf89 in QApplication::x11ProcessEvent (this=0x7fff2c349980, event=event@entry=0x7fff2c349520) at kernel/qapplication_x11.cpp:3624
#29 0x00007fbb2cfe5812 in x11EventSourceDispatch (s=0x135da70, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#30 0x00007fbb28929b14 in g_main_dispatch (context=0x135c880) at /build/buildd/glib2.0-2.39.2/./glib/gmain.c:3068
#31 g_main_context_dispatch (context=context@entry=0x135c880) at /build/buildd/glib2.0-2.39.2/./glib/gmain.c:3643
#32 0x00007fbb28929d58 in g_main_context_iterate (context=context@entry=0x135c880, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.39.2/./glib/gmain.c:3714
#33 0x00007fbb28929dfc in g_main_context_iteration (context=0x135c880, may_block=1) at /build/buildd/glib2.0-2.39.2/./glib/gmain.c:3775
#34 0x00007fbb2c57f6a5 in QEventDispatcherGlib::processEvents (this=0x135ab50, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#35 0x00007fbb2cfe58c6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007fbb2c55127f in QEventLoop::processEvents (this=this@entry=0x7fff2c3498f0, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007fbb2c551575 in QEventLoop::exec (this=this@entry=0x7fff2c3498f0, flags=...) at kernel/qeventloop.cpp:204
#38 0x00007fbb2c556ad9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#39 0x00007fbb2cf422fc in QApplication::exec () at kernel/qapplication.cpp:3828
#40 0x00007fbb2e145065 in kdemain (argc=<optimized out>, argv=0x7fff2c349a98) at /build/buildd/calligra-2.7.5/stage/app/main.cpp:44
#41 0x00007fbb2dd9ded5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=1, argv=0x7fff2c349a98, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff2c349a88) at libc-start.c:287
#42 0x00000000004006fe in _start ()
Comment 7 Halla Rempt 2014-01-06 09:46:28 UTC
I get a crash, too, but a different backtrace:


Thread 1 (Thread 0x7faac6d748c0 (LWP 3686)):
[KCrash Handler]
#5  KoPADocument::removeShape (this=0xcb5990, shape=0x11147d0) at /home/boud/kde/src/2.8/libs/kopageapp/KoPADocument.cpp:564
#6  0x00007faac5b30664 in KoShapeDeleteCommand::redo (this=0x29d1640) at /home/boud/kde/src/2.8/libs/flake/commands/KoShapeDeleteCommand.cpp:85
#7  0x00007faac37d645f in KUndo2Command::redo (this=0x21dcac0) at /home/boud/kde/src/2.8/libs/kundo2/kundo2stack.cpp:213
#8  0x00007faac37d808f in KUndo2QStack::push (this=0xcb5bd0, cmd=0x21dcac0) at /home/boud/kde/src/2.8/libs/kundo2/kundo2stack.cpp:570
#9  0x00007faaaba2d0cd in KPrPlaceholderTool::activate (this=0x1007880, toolActivation=<optimized out>, shapes=...) at /home/boud/kde/src/2.8/stage/part/tools/KPrPlaceholderTool.cpp:97
#10 0x00007faac5adace0 in KoToolManager::Private::postSwitchTool (this=this@entry=0x11bfa00, temporary=temporary@entry=false) at /home/boud/kde/src/2.8/libs/flake/KoToolManager.cpp:332
#11 0x00007faac5adba3b in KoToolManager::Private::switchTool (this=0x11bfa00, tool=0x1007880, temporary=<optimized out>) at /home/boud/kde/src/2.8/libs/flake/KoToolManager.cpp:262
#12 0x00007faac5adfcc5 in KoToolManager::Private::switchTool (this=0x11bfa00, id=..., temporary=temporary@entry=false) at /home/boud/kde/src/2.8/libs/flake/KoToolManager.cpp:286
#13 0x00007faac5ae08aa in KoToolManager::switchToolRequested (this=0x11bf9d0, id=...) at /home/boud/kde/src/2.8/libs/flake/KoToolManager.cpp:832
#14 0x00007faac5ab06bb in KoShapeManager::suggestChangeTool (this=<optimized out>, event=event@entry=0x7fff8cc59e90) at /home/boud/kde/src/2.8/libs/flake/KoShapeManager.cpp:576
#15 0x00007faac5ae68b6 in KoToolProxy::mouseDoubleClickEvent (this=this@entry=0x11c4fe0, event=event@entry=0x7fff8cc59e90) at /home/boud/kde/src/2.8/libs/flake/KoToolProxy.cpp:334
#16 0x00007faac5ae68ec in KoToolProxy::mouseDoubleClickEvent (this=0x11c4fe0, event=<optimized out>, point=...) at /home/boud/kde/src/2.8/libs/flake/KoToolProxy.cpp:326
#17 0x00007faaab73284c in KoPACanvas::mouseDoubleClickEvent (this=0x113fd70, event=0x7fff8cc5a3b0) at /home/boud/kde/src/2.8/libs/kopageapp/KoPACanvas.cpp:125
#18 0x00007faac26def3e in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#19 0x00007faac268f8ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#20 0x00007faac2695fad in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#21 0x00007faac66a6aa7 in KoApplication::notify (this=<optimized out>, receiver=0x113fd70, event=0x7fff8cc5a3b0) at /home/boud/kde/src/2.8/libs/main/KoApplication.cpp:549
#22 0x00007faac17aa0ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#23 0x00007faac2695763 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4
#24 0x00007faac2706f7b in ?? () from /usr/lib64/libQtGui.so.4
#25 0x00007faac27059ec in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#26 0x00007faac272c882 in ?? () from /usr/lib64/libQtGui.so.4
#27 0x00007faabbbb4316 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#28 0x00007faabbbb4668 in ?? () from /usr/lib64/libglib-2.0.so.0
#29 0x00007faabbbb470c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#30 0x00007faac17d6d55 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#31 0x00007faac272c936 in ?? () from /usr/lib64/libQtGui.so.4
#32 0x00007faac17a8d0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#33 0x00007faac17a9005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#34 0x00007faac17ae13b in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#35 0x00007faac69b2525 in kdemain (argc=<optimized out>, argv=<optimized out>) at /home/boud/kde/src/2.8/stage/app/main.cpp:44
#36 0x00007faac085bbe5 in __libc_start_main () from /lib64/libc.so.6
#37 0x0000000000400951 in _start () at ../sysdeps/x86_64/start.S:122
Comment 8 kdeuser56 2014-01-06 13:53:45 UTC
strange ... what distribution are you using? maybe you could try 2.7.5 and see if it makes a difference (as I see you use 2.8...) The last back trace was created with Stage 2.7.5 from official kubuntu 14.04 repositories ...
Comment 9 T Zachmann 2014-01-27 04:14:45 UTC

*** This bug has been marked as a duplicate of bug 327110 ***