Bug 306324 - crash when clicking on spreadsheet shape while the editor is open
Summary: crash when clicking on spreadsheet shape while the editor is open
Status: RESOLVED DUPLICATE of bug 310268
Alias: None
Product: calligrasheets
Classification: Applications
Component: general (show other bugs)
Version: Git
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Sheets (KSpread) Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-06 06:00 UTC by Franz Trischberger
Modified: 2013-04-10 09:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Franz Trischberger 2012-09-06 06:00:50 UTC
Application: calligrawords (2.5.1)
KDE Platform Version: 4.9.1 (Compiled from sources)
Qt Version: 4.8.2
Operating System: Linux 3.5.1-gentoo x86_64
Distribution: "Gentoo Base System release 2.1"

-- Information about the crash:
- What I was doing when the application crashed:
* Open a new empty document
* Add a spreadsheet shape
* double click on the shape to go into editing mode
* Then do one of the following:
   - directly start typing some chars, hit enter
   - or double click a cell so the editor opens, then click into the spreadsheep shape again
* words crashes with the attached backtrace

The crash can be reproduced every time.

-- Backtrace:
Application: Calligra Words (kdeinit4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f0fbce45780 (LWP 2924))]

Thread 2 (Thread 0x7f0f9cb26700 (LWP 2925)):
#0  0x00007f0fba417da3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f0fb73233d6 in g_main_context_poll (n_fds=1, fds=0x7f0f98002bb0, timeout=-1, context=0x7f0f980009a0, priority=<optimized out>) at gmain.c:3440
#2  g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x7f0f980009a0, self=<optimized out>) at gmain.c:3141
#3  g_main_context_iterate (context=0x7f0f980009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3083
#4  0x00007f0fb7323504 in g_main_context_iteration (context=0x7f0f980009a0, may_block=1) at gmain.c:3207
#5  0x00007f0fbba7b516 in QEventDispatcherGlib::processEvents (this=0x7f0f980008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f0fbba4bbb2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f0fbba4be07 in QEventLoop::exec (this=0x7f0f9cb25dd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f0fbb94dc17 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f0fbba2c0bf in QInotifyFileSystemWatcherEngine::run (this=0x237e400) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f0fbb950c3b in QThreadPrivate::start (arg=0x237e400) at thread/qthread_unix.cpp:307
#11 0x00007f0fbb6baec6 in start_thread () from /lib64/libpthread.so.0
#12 0x00007f0fba4209bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f0fbce45780 (LWP 2924)):
[KCrash Handler]
#6  0x00007f0f949f216c in Calligra::Sheets::ExternalEditor::applyAction (this=0x0) at /var/tmp/paludis/app-office-calligra-2.5.1/work/calligra-2.5.1/sheets/ui/ExternalEditor.cpp:200
#7  0x00007f0f949c1fbc in Calligra::Sheets::CellToolBase::deleteEditor (this=0x2430400, saveChanges=true, expandMatrix=false) at /var/tmp/paludis/app-office-calligra-2.5.1/work/calligra-2.5.1/sheets/ui/CellToolBase.cpp:1469
#8  0x00007f0f948be800 in Calligra::Sheets::CellToolBase::qt_static_metacall (_o=0x2430400, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fff8c89a2b0) at /var/tmp/paludis/app-office-calligra-2.5.1/work/calligra-2.5.1_build/sheets/moc_CellToolBase.cpp:255
#9  0x00007f0fbba609f9 in QMetaObject::activate (sender=0x5642130, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff8c89a2b0) at kernel/qobject.cpp:3547
#10 0x00007f0f949ffa2f in Calligra::Sheets::Selection::closeEditor (this=0x5642130, _t1=true, _t2=false) at /var/tmp/paludis/app-office-calligra-2.5.1/work/calligra-2.5.1_build/sheets/Selection.moc:164
#11 0x00007f0f949fe148 in Calligra::Sheets::Selection::emitCloseEditor (this=0x5642130, saveChanges=true, expandMatrix=false) at /var/tmp/paludis/app-office-calligra-2.5.1/work/calligra-2.5.1/sheets/ui/Selection.cpp:913
#12 0x00007f0f94a00c53 in Calligra::Sheets::SelectionStrategy::SelectionStrategy (this=0x5652f90, cellTool=0x2430400, documentPos=..., modifiers=...) at /var/tmp/paludis/app-office-calligra-2.5.1/work/calligra-2.5.1/sheets/ui/SelectionStrategy.cpp:106
#13 0x00007f0f949c0735 in Calligra::Sheets::CellToolBase::createStrategy (this=0x2430400, event=0x7fff8c89a910) at /var/tmp/paludis/app-office-calligra-2.5.1/work/calligra-2.5.1/sheets/ui/CellToolBase.cpp:1257
#14 0x00007f0faa0df02f in KoInteractionTool::mousePressEvent (this=0x2430400, event=0x7fff8c89a910) at /var/tmp/paludis/app-office-calligra-2.5.1/work/calligra-2.5.1/libs/flake/tools/KoInteractionTool.cpp:51
#15 0x00007f0f949be225 in Calligra::Sheets::CellToolBase::mousePressEvent (this=0x2430400, event=0x7fff8c89a910) at /var/tmp/paludis/app-office-calligra-2.5.1/work/calligra-2.5.1/sheets/ui/CellToolBase.cpp:890
#16 0x00007f0faa06c545 in KoToolProxy::mousePressEvent (this=0x2daa830, ev=0x7fff8c89a910) at /var/tmp/paludis/app-office-calligra-2.5.1/work/calligra-2.5.1/libs/flake/KoToolProxy.cpp:227
#17 0x00007f0faa06c612 in KoToolProxy::mousePressEvent (this=0x2daa830, event=0x7fff8c89b440, point=...) at /var/tmp/paludis/app-office-calligra-2.5.1/work/calligra-2.5.1/libs/flake/KoToolProxy.cpp:246
#18 0x00007f0fa3b9a43c in KWCanvas::mousePressEvent (this=0x2bddf10, e=0x7fff8c89b440) at /var/tmp/paludis/app-office-calligra-2.5.1/work/calligra-2.5.1/words/part/KWCanvas.cpp:96
#19 0x00007f0fbac12b13 in QWidget::event (this=0x2bddf10, event=0x7fff8c89b440) at kernel/qwidget.cpp:8367
#20 0x00007f0fa3b9a706 in KWCanvas::event (this=0x2bddf10, e=0x7fff8c89b440) at /var/tmp/paludis/app-office-calligra-2.5.1/work/calligra-2.5.1/words/part/KWCanvas.cpp:118
#21 0x00007f0fbabc0054 in notify_helper (e=0x7fff8c89b440, receiver=0x2bddf10, this=0x1ddef70) at kernel/qapplication.cpp:4551
#22 QApplicationPrivate::notify_helper (this=0x1ddef70, receiver=0x2bddf10, e=0x7fff8c89b440) at kernel/qapplication.cpp:4523
#23 0x00007f0fbabc6129 in QApplication::notify (this=<optimized out>, receiver=0x2bddf10, e=0x7fff8c89b440) at kernel/qapplication.cpp:4094
#24 0x00007f0fbc82e446 in KApplication::notify (this=0x7fff8c89bf40, receiver=0x2bddf10, event=0x7fff8c89b440) at /var/tmp/paludis/kde-base-kdelibs-4.9.1/work/kdelibs-4.9.1/kdeui/kernel/kapplication.cpp:311
#25 0x00007f0fbba4d04c in QCoreApplication::notifyInternal (this=0x7fff8c89bf40, receiver=0x2bddf10, event=0x7fff8c89b440) at kernel/qcoreapplication.cpp:915
#26 0x00007f0fbabc1012 in sendEvent (event=<optimized out>, receiver=<optimized out>) at /usr/include/qt4/QtCore/qcoreapplication.h:231
#27 QApplicationPrivate::sendMouseEvent (receiver=0x2bddf10, event=0x7fff8c89b440, alienWidget=0x0, nativeWidget=0x2bddf10, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3162
#28 0x00007f0fbac3bb08 in QETWidget::translateMouseEvent (this=0x2bddf10, event=<optimized out>) at kernel/qapplication_x11.cpp:4502
#29 0x00007f0fbac3a91a in QApplication::x11ProcessEvent (this=0x7fff8c89bf40, event=0x7fff8c89bb60) at kernel/qapplication_x11.cpp:3625
#30 0x00007f0fbac61dea in x11EventSourceDispatch (s=0x1de1800, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#31 0x00007f0fb73230f3 in g_main_dispatch (context=0x1de0220) at gmain.c:2539
#32 g_main_context_dispatch (context=0x1de0220) at gmain.c:3075
#33 0x00007f0fb7323440 in g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x1de0220, self=<optimized out>) at gmain.c:3146
#34 g_main_context_iterate (context=0x1de0220, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3083
#35 0x00007f0fb7323504 in g_main_context_iteration (context=0x1de0220, may_block=1) at gmain.c:3207
#36 0x00007f0fbba7b4af in QEventDispatcherGlib::processEvents (this=0x1c577d0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#37 0x00007f0fbac61a8e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007f0fbba4bbb2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007f0fbba4be07 in QEventLoop::exec (this=0x7fff8c89bef0, flags=...) at kernel/qeventloop.cpp:204
#40 0x00007f0fbba50af5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#41 0x00007f0fabb04164 in kdemain (argc=1, argv=0x1cb9e30) at /var/tmp/paludis/app-office-calligra-2.5.1/work/calligra-2.5.1/words/part/main.cpp:43
#42 0x0000000000408ac4 in launch (argc=1, _name=0x1cda4d8 "/usr/bin/calligrawords", args=<optimized out>, cwd=0x0, envc=<optimized out>, envs=<optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x1cda50a "desktop_franz;1346910696;838461;2374_TIME3141836") at /var/tmp/paludis/kde-base-kdelibs-4.9.1/work/kdelibs-4.9.1/kinit/kinit.cpp:734
#43 0x0000000000409ba6 in handle_launcher_request (sock=7, who=<optimized out>) at /var/tmp/paludis/kde-base-kdelibs-4.9.1/work/kdelibs-4.9.1/kinit/kinit.cpp:1226
#44 0x000000000040a0e3 in handle_requests (waitForPid=0) at /var/tmp/paludis/kde-base-kdelibs-4.9.1/work/kdelibs-4.9.1/kinit/kinit.cpp:1419
#45 0x0000000000405b1e in main (argc=2, argv=0x7fff8c89cd20, envp=0x7fff8c89cff0) at /var/tmp/paludis/kde-base-kdelibs-4.9.1/work/kdelibs-4.9.1/kinit/kinit.cpp:1907

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-03-04 03:39:24 UTC

*** This bug has been marked as a duplicate of bug 310268 ***
Comment 2 Jekyll Wu 2013-04-10 09:23:15 UTC
*** Bug 318125 has been marked as a duplicate of this bug. ***