Summary: | crash after selecting more than one table and pressing Ctrl+C | ||
---|---|---|---|
Product: | [Applications] calligrawords | Reporter: | Jure Repinc <jlp> |
Component: | general | Assignee: | Calligra Words Bugs <calligra-words-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | cbo, pinaraf |
Priority: | NOR | Keywords: | drkonqi |
Version: | 2.7.5 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
URL: | http://europass.cedefop.europa.eu/sl/documents/curriculum-vitae/templates-instructions/templates/odt.odt | ||
Latest Commit: | http://commits.kde.org/calligra/3e5052b560d8cdf5ccfdd40101dc16363e31af0b | Version Fixed In: |
Description
Jure Repinc
2014-01-22 12:21:45 UTC
I was wrong about what I was doing to cause the crash. What you actually have to do is 1. Open this file http://europass.cedefop.europa.eu/sl/documents/curriculum-vitae/templates-instructions/templates/odt.odt 2. Select 4 table cels from "DODATNI PODATKI" diagonaly to right and down. 3. Press Ctrl+C to try to copy these 4 cells And with this it always crashes. I can confirm. Thanks for making the description more correct In fact just creating two empty tables in an empty document and selecting them and the "copy" will cause the crash This bug has been solved in words since last year, I can not reproduce it with 2.9. I can still reproduce Application: Calligra Words (calligrawords), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [KCrash Handler] #5 0x00007f9580955cbc in QTextTableCell::column() const () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #6 0x00007f9584191a0e in KoTextWriter::write (this=0x7fff32f975e0, document=0x1d38400, from=1, to=18) at /home/cbo/devel/calligra/libs/kotext/opendocument/KoTextWriter.cpp:155 #7 0x00007f95840c191b in KoTextOdfSaveHelper::writeBody (this=0x7fff32f97940) at /home/cbo/devel/calligra/libs/kotext/KoTextOdfSaveHelper.cpp:76 #8 0x00007f95841aeafe in KoTextDrag::setOdf (this=0x7fff32f97930, mimeType=0x7f958256aa50 "application/vnd.oasis.opendocument.text", helper=...) at /home/cbo/devel/calligra/libs/kotext/KoTextDrag.cpp:110 #9 0x00007f956659973b in TextTool::generateMimeData (this=0x25919f0) at /home/cbo/devel/calligra/plugins/textshape/TextTool.cpp:1091 #10 0x00007f9566599c7c in TextTool::copy (this=0x25919f0) at /home/cbo/devel/calligra/plugins/textshape/TextTool.cpp:1128 #11 0x00007f9583d4b0af in KoToolProxy::copy (this=0x1e6c910) at /home/cbo/devel/calligra/libs/flake/KoToolProxy.cpp:527 #12 0x00007f9583ccd9c6 in KoCopyControllerPrivate::copy (this=0x291a230) at /home/cbo/devel/calligra/libs/flake/KoCopyController.cpp:63 #13 0x00007f9583ccdd73 in KoCopyController::qt_static_metacall (_o=0x2919fa0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff32f97be0) at /home/cbo/devel/buildcalligra/libs/flake/KoCopyController.moc:58 #14 0x00007f957f7abf4c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #15 0x00007f9580684af2 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #16 0x00007f9580686677 in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #17 0x00007f9580686bec in QAction::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #18 0x00007f958131cb72 in KAction::event(QEvent*) () from /usr/lib/libkdeui.so.5 #19 0x00007f958068b29c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #20 0x00007f9580691da8 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #21 0x00007f95847b3a20 in KoApplication::notify (this=0x7fff32f98d40, receiver=0x29184e0, event=0x7fff32f98000) at /home/cbo/devel/calligra/libs/main/KoApplication.cpp:623 #22 0x00007f957f796f8d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #23 0x00007f95806bedfb in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #24 0x00007f95806bef64 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #25 0x00007f958069357e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #26 0x00007f95847b3a20 in KoApplication::notify (this=0x7fff32f98d40, receiver=0x1e63040, event=0x7fff32f98390) at /home/cbo/devel/calligra/libs/main/KoApplication.cpp:623 #27 0x00007f957f796f8d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #28 0x00007f958072cf63 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #29 0x00007f958072d402 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #30 0x00007f9580706e0f in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #31 0x00007f958072fad2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #32 0x00007f957a5f7c5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #33 0x00007f957a5f7f48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #34 0x00007f957a5f7ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #35 0x00007f957f7c64ed in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #36 0x00007f958072fb96 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #37 0x00007f957f795ae1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #38 0x00007f957f795e45 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #39 0x00007f957f79b8b9 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #40 0x00007f9584a97394 in kdemain (argc=1, argv=0x7fff32f98f38) at /home/cbo/devel/calligra/words/app/main.cpp:44 #41 0x0000000000400968 in main (argc=1, argv=0x7fff32f98f38) at /home/cbo/devel/buildcalligra/words/app/calligrawords_dummy.cpp:3 It may be a qt thing though Git commit 3e5052b560d8cdf5ccfdd40101dc16363e31af0b by C. Boemann. Committed on 29/03/2015 at 13:37. Pushed by boemann into branch 'calligra/2.9'. When copying two tables we would get a crash as we were assuming it was all one table. But trying to fix that it turns out we had a bigger issue. We couldn't copy a part of a table, so I fixed that instead keeping in mind that we could have selected more than on table. Related: bug 275990 M +13 -27 libs/kotext/opendocument/KoTextWriter.cpp M +17 -6 libs/kotext/opendocument/KoTextWriter_p.cpp M +1 -1 libs/kotext/opendocument/KoTextWriter_p.h http://commits.kde.org/calligra/3e5052b560d8cdf5ccfdd40101dc16363e31af0b |