Bug 304411 - Adding a spreadsheet flake and editing it crashes Flow
Summary: Adding a spreadsheet flake and editing it crashes Flow
Status: RESOLVED DUPLICATE of bug 304422
Alias: None
Product: calligraflow
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.5 RC
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Yue Liu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-02 00:23 UTC by Christian Weilbach
Modified: 2013-12-07 13:30 UTC (History)
1 user (show)

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


Attachments
New crash information added by DrKonqi (6.73 KB, text/plain)
2012-12-05 15:29 UTC, Jacob Riddle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Weilbach 2012-08-02 00:23:47 UTC
Application: calligraflow (2.5 RC)
KDE Platform Version: 4.8.90 (4.8.90)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-27-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I have been editing a diagram with several formatted Text flakes, some modelling elements and when I tried to add spreadsheet (table) and clicked on it (selected a cell), then double clicked on it (I think), it crashed.

-- Backtrace:
Application: Flow (calligraflow), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1a93394780 (LWP 11588))]

Thread 3 (Thread 0x7f1a72748700 (LWP 11589)):
#0  0x00007f1a92ce7b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f1a8d2aa036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1a8d2aa164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1a913bc426 in QEventDispatcherGlib::processEvents (this=0x7f1a6c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f1a9138bc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f1a9138bed7 in QEventLoop::exec (this=0x7f1a72747dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f1a9128afa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f1a9136b9ff in QInotifyFileSystemWatcherEngine::run (this=0x2551d90) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f1a9128dfcb in QThreadPrivate::start (arg=0x2551d90) at thread/qthread_unix.cpp:298
#9  0x00007f1a8d776e9a in start_thread (arg=0x7f1a72748700) at pthread_create.c:308
#10 0x00007f1a92cf34bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f1a7102a700 (LWP 11593)):
#0  0x00007f1a92ce60bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f1a8d2e48cf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1a8d2a9ba4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1a8d2a9fd6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f1a8d2aa164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f1a913bc426 in QEventDispatcherGlib::processEvents (this=0x7f1a640008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f1a9138bc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f1a9138bed7 in QEventLoop::exec (this=0x7f1a71029dd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f1a9128afa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f1a9136b9ff in QInotifyFileSystemWatcherEngine::run (this=0x21ca4b0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f1a9128dfcb in QThreadPrivate::start (arg=0x21ca4b0) at thread/qthread_unix.cpp:298
#11 0x00007f1a8d776e9a in start_thread (arg=0x7f1a7102a700) at pthread_create.c:308
#12 0x00007f1a92cf34bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1a93394780 (LWP 11588)):
[KCrash Handler]
#6  Calligra::Sheets::ExternalEditor::applyAction (this=0x0) at /build/buildd/calligra-2.4.92/sheets/ui/ExternalEditor.cpp:200
#7  0x00007f1a4ff379b7 in Calligra::Sheets::CellToolBase::deleteEditor (this=0x4fff6b0, saveChanges=true, expandMatrix=false) at /build/buildd/calligra-2.4.92/sheets/ui/CellToolBase.cpp:1469
#8  0x00007f1a4fe665d0 in qt_static_metacall (_a=0x7fffa573e1d0, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /build/buildd/calligra-2.4.92/obj-x86_64-linux-gnu/sheets/moc_CellToolBase.cpp:255
#9  Calligra::Sheets::CellToolBase::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fffa573e1d0) at /build/buildd/calligra-2.4.92/obj-x86_64-linux-gnu/sheets/moc_CellToolBase.cpp:246
#10 0x00007f1a913a1281 in QMetaObject::activate (sender=0x5ce3340, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa573e1d0) at kernel/qobject.cpp:3547
#11 0x00007f1a4ff6d500 in Calligra::Sheets::Selection::closeEditor (this=<optimized out>, _t1=true, _t2=false) at /build/buildd/calligra-2.4.92/obj-x86_64-linux-gnu/sheets/Selection.moc:164
#12 0x00007f1a4ff71f37 in Calligra::Sheets::SelectionStrategy::SelectionStrategy (this=0x5db9a00, cellTool=0x4fff6b0, documentPos=..., modifiers=...) at /build/buildd/calligra-2.4.92/sheets/ui/SelectionStrategy.cpp:106
#13 0x00007f1a4ff41a74 in Calligra::Sheets::CellToolBase::createStrategy (this=0x4fff6b0, event=0x7fffa573e680) at /build/buildd/calligra-2.4.92/sheets/ui/CellToolBase.cpp:1257
#14 0x00007f1a8f47dc69 in KoInteractionTool::mousePressEvent (this=<optimized out>, event=0x7fffa573e680) at /build/buildd/calligra-2.4.92/libs/flake/tools/KoInteractionTool.cpp:51
#15 0x00007f1a8f41fd95 in KoToolProxy::mousePressEvent (this=0x345b4d0, ev=0x7fffa573e680) at /build/buildd/calligra-2.4.92/libs/flake/KoToolProxy.cpp:227
#16 0x00007f1a8f41feeb in KoToolProxy::mousePressEvent (this=0x345b4d0, event=<optimized out>, point=...) at /build/buildd/calligra-2.4.92/libs/flake/KoToolProxy.cpp:246
#17 0x00007f1a7c64e581 in KoPACanvas::mousePressEvent (this=0x296bb90, event=0x7fffa573ef80) at /build/buildd/calligra-2.4.92/libs/kopageapp/KoPACanvas.cpp:113
#18 0x00007f1a91dd8429 in QWidget::event (this=0x296bb90, event=0x7fffa573ef80) at kernel/qwidget.cpp:8358
#19 0x00007f1a91d87894 in notify_helper (e=0x7fffa573ef80, receiver=0x296bb90, this=0x1f700b0) at kernel/qapplication.cpp:4559
#20 QApplicationPrivate::notify_helper (this=0x1f700b0, receiver=0x296bb90, e=0x7fffa573ef80) at kernel/qapplication.cpp:4531
#21 0x00007f1a91d8d0bf in QApplication::notify (this=<optimized out>, receiver=0x296bb90, e=0x7fffa573ef80) at kernel/qapplication.cpp:4102
#22 0x00007f1a8e3709e6 in KApplication::notify (this=0x7fffa573fc30, receiver=0x296bb90, event=0x7fffa573ef80) at ../../kdeui/kernel/kapplication.cpp:311
#23 0x00007f1a9138ce9c in QCoreApplication::notifyInternal (this=0x7fffa573fc30, receiver=0x296bb90, event=0x7fffa573ef80) at kernel/qcoreapplication.cpp:876
#24 0x00007f1a91d88862 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#25 QApplicationPrivate::sendMouseEvent (receiver=0x296bb90, event=0x7fffa573ef80, alienWidget=0x0, nativeWidget=0x296bb90, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#26 0x00007f1a91e07bf5 in QETWidget::translateMouseEvent (this=0x296bb90, event=<optimized out>) at kernel/qapplication_x11.cpp:4617
#27 0x00007f1a91e06bae in QApplication::x11ProcessEvent (this=0x7fffa573fc30, event=0x7fffa573f850) at kernel/qapplication_x11.cpp:3732
#28 0x00007f1a91e300d2 in x11EventSourceDispatch (s=0x1f6fd90, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#29 0x00007f1a8d2a9d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f1a8d2aa0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f1a8d2aa164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f1a913bc3bf in QEventDispatcherGlib::processEvents (this=0x1ef2b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#33 0x00007f1a91e2fd5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f1a9138bc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007f1a9138bed7 in QEventLoop::exec (this=0x7fffa573fbf0, flags=...) at kernel/qeventloop.cpp:204
#36 0x00007f1a91390f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#37 0x00007f1a92fbf425 in kdemain (argc=<optimized out>, argv=0x7fffa573fdc8) at /build/buildd/calligra-2.4.92/flow/part/main.cpp:40
#38 0x00007f1a92c2276d in __libc_start_main (main=0x400640 <main(int, char**)>, argc=1, ubp_av=0x7fffa573fdc8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffa573fdb8) at libc-start.c:226
#39 0x0000000000400671 in _start ()

Reported using DrKonqi
Comment 1 Jacob Riddle 2012-12-05 15:29:46 UTC
Created attachment 75639 [details]
New crash information added by DrKonqi

calligraflow (2.5.4) on KDE Platform 4.9.3 using Qt 4.8.3

- What I was doing when the application crashed:

I had created a new document and added a spreadsheet object to it (it was one of the first few things I needed).  I could try to enter text into a cell, but when I tried to commit changes to the spreadsheet (by loss of focus or pressing Enter), the program would crash.

I tried this a few times to make sure it wasn't a fluke.

-- Backtrace (Reduced):
#6  Calligra::Sheets::ExternalEditor::applyAction (this=0x0) at /build/buildd/calligra-2.5.4/sheets/ui/ExternalEditor.cpp:200
#7  0x00007f1e8fffc3e7 in Calligra::Sheets::CellToolBase::deleteEditor (this=0x5075a10, saveChanges=<optimized out>, expandMatrix=<optimized out>) at /build/buildd/calligra-2.5.4/sheets/ui/CellToolBase.cpp:1469
#8  0x00007f1e8ff3c61f in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /build/buildd/calligra-2.5.4/obj-x86_64-linux-gnu/sheets/moc_CellToolBase.cpp:255
#9  Calligra::Sheets::CellToolBase::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fffff38dd20) at /build/buildd/calligra-2.5.4/obj-x86_64-linux-gnu/sheets/moc_CellToolBase.cpp:246
[...]
#11 0x00007f1e9002e710 in Calligra::Sheets::Selection::closeEditor (this=<optimized out>, _t1=true, _t2=false) at /build/buildd/calligra-2.5.4/obj-x86_64-linux-gnu/sheets/Selection.moc:164
Comment 2 Jekyll Wu 2013-12-07 13:24:53 UTC

*** This bug has been marked as a duplicate of bug 304222 ***
Comment 3 Jekyll Wu 2013-12-07 13:30:25 UTC

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