Bug 319126 - Words crashed after deleting the text of a document
Summary: Words crashed after deleting the text of a document
Status: RESOLVED WORKSFORME
Alias: None
Product: calligrawords
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.6.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Words Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-30 16:26 UTC by fsanchez
Modified: 2013-08-03 17:26 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fsanchez 2013-04-30 16:26:07 UTC
Application: calligrawords (2.6.1)
KDE Platform Version: 4.10.2
Qt Version: 4.8.2
Operating System: Linux 3.2.0-40-generic x86_64
Distribution: Ubuntu 12.04.2 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I have a short document with 6 paragraphs in it. I deleted all the text selecting it and presing backspace and Words crashed. 

I can't reproduce it right now, but the only 2 things I did between open it and after the crash were that I've described, and previously, I changed the inteline of first paragraph from 100% to proportional of 135%. Just that.

-- Backtrace:
Application: Calligra Words (kdeinit4), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f7abcdaf780 (LWP 13778))]

Thread 3 (Thread 0x7f7a94b98700 (LWP 13779)):
#0  0x00007f7aba5d8313 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f7ab76ea036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7ab76ea164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7abba28926 in QEventDispatcherGlib::processEvents (this=0x7f7a900008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f7abb9f7e62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f7abb9f80b7 in QEventLoop::exec (this=0x7f7a94b97d10, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f7abb8f7077 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f7abb9d7b6f in QInotifyFileSystemWatcherEngine::run (this=0x244bdf0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f7abb8fa09b in QThreadPrivate::start (arg=0x244bdf0) at thread/qthread_unix.cpp:307
#9  0x00007f7aaaf20764 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007f7ab7fc0e9a in start_thread (arg=0x7f7a94b98700) at pthread_create.c:308
#11 0x00007f7aba5e3ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f7a8efa7700 (LWP 13785)):
#0  pthread_mutex_unlock (mutex=0x7f7a88000a90) at forward.c:184
#1  0x00007f7ab77255d1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7ab76e9aee in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7ab76e9fd6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f7ab76ea164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f7abba28926 in QEventDispatcherGlib::processEvents (this=0x7f7a880008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f7abb9f7e62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f7abb9f80b7 in QEventLoop::exec (this=0x7f7a8efa6d10, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f7abb8f7077 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f7abb9d7b6f in QInotifyFileSystemWatcherEngine::run (this=0x27aaed0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f7abb8fa09b in QThreadPrivate::start (arg=0x27aaed0) at thread/qthread_unix.cpp:307
#11 0x00007f7aaaf20764 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#12 0x00007f7ab7fc0e9a in start_thread (arg=0x7f7a8efa7700) at pthread_create.c:308
#13 0x00007f7aba5e3ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7abcdaf780 (LWP 13778)):
[KCrash Handler]
#6  QFragmentMapData<QTextBlockData>::next (this=0x1dbfe38, n=170802540) at ../../include/QtGui/private/../../../src/gui/text/qfragmentmap_p.h:298
#7  0x00007f7abaff2e43 in next (n=<optimized out>, this=0x1dbfe38) at ../../include/QtGui/private/../../../src/gui/text/qfragmentmap_p.h:862
#8  QTextFrame::iterator::operator++ (this=0x7fff5f3e5130) at text/qtextobject.cpp:732
#9  0x00007f7aa5689d48 in KoTextLayoutArea::hitTest (this=0x484b400, p=..., accuracy=Qt::FuzzyHit) at /build/buildd/calligra-2.6.1/libs/textlayout/KoTextLayoutArea.cpp:171
#10 0x00007f7a970723a5 in TextTool::hitTest (this=0x327dea0, point=...) at /build/buildd/calligra-2.6.1/plugins/textshape/TextTool.cpp:1209
#11 0x00007f7a9707b66d in TextTool::mouseMoveEvent (this=0x327dea0, event=0x7fff5f3e55b0) at /build/buildd/calligra-2.6.1/plugins/textshape/TextTool.cpp:1267
#12 0x00007f7aa4be7982 in KoToolProxy::mouseMoveEvent (this=0x324bc30, event=0x7fff5f3e5e90, point=...) at /build/buildd/calligra-2.6.1/libs/flake/KoToolProxy.cpp:277
#13 0x00007f7a9d76a941 in KWCanvas::mouseMoveEvent (this=0x324a560, e=0x7fff5f3e5e90) at /build/buildd/calligra-2.6.1/words/part/KWCanvas.cpp:91
#14 0x00007f7abadcafe8 in QWidget::event (this=0x324a560, event=0x7fff5f3e5e90) at kernel/qwidget.cpp:8356
#15 0x00007f7abad7a7b4 in notify_helper (e=0x7fff5f3e5e90, receiver=0x324a560, this=0x1d36260) at kernel/qapplication.cpp:4556
#16 QApplicationPrivate::notify_helper (this=0x1d36260, receiver=0x324a560, e=0x7fff5f3e5e90) at kernel/qapplication.cpp:4528
#17 0x00007f7abad7ff2f in QApplication::notify (this=<optimized out>, receiver=0x324a560, e=0x7fff5f3e5e90) at kernel/qapplication.cpp:4099
#18 0x00007f7aa643d7ee in KoApplication::notify (this=<optimized out>, receiver=0x324a560, event=0x7fff5f3e5e90) at /build/buildd/calligra-2.6.1/libs/main/KoApplication.cpp:522
#19 0x00007f7abb9f932c in QCoreApplication::notifyInternal (this=0x7fff5f3e6b40, receiver=0x324a560, event=0x7fff5f3e5e90) at kernel/qcoreapplication.cpp:915
#20 0x00007f7abad7b782 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#21 QApplicationPrivate::sendMouseEvent (receiver=0x324a560, event=0x7fff5f3e5e90, alienWidget=0x324a560, nativeWidget=0x2d10e90, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3167
#22 0x00007f7abadfab15 in QETWidget::translateMouseEvent (this=0x2d10e90, event=<optimized out>) at kernel/qapplication_x11.cpp:4617
#23 0x00007f7abadf9ace in QApplication::x11ProcessEvent (this=0x7fff5f3e6b40, event=0x7fff5f3e6760) at kernel/qapplication_x11.cpp:3732
#24 0x00007f7abae23052 in x11EventSourceDispatch (s=0x1d38b90, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#25 0x00007f7ab76e9d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f7ab76ea0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f7ab76ea164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f7abba288bf in QEventDispatcherGlib::processEvents (this=0x1ae87d0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#29 0x00007f7abae22cde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007f7abb9f7e62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#31 0x00007f7abb9f80b7 in QEventLoop::exec (this=0x7fff5f3e6b00, flags=...) at kernel/qeventloop.cpp:204
#32 0x00007f7abb9fd407 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#33 0x00007f7aa67aa295 in kdemain (argc=<optimized out>, argv=0x1b9a010) at /build/buildd/calligra-2.6.1/words/part/main.cpp:43
#34 0x000000000040866c in launch (argc=1, _name=0x1c289d8 "/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=0x1c28a0a "Francisco-NB;1367338349;33335;1927_TIME7932382") at ../../kinit/kinit.cpp:738
#35 0x00000000004099c6 in handle_launcher_request (sock=8, who=<optimized out>) at ../../kinit/kinit.cpp:1230
#36 0x0000000000409ef7 in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1423
#37 0x000000000040534f in main (argc=4, argv=0x7fff00000001, envp=0x7fff5f3e7eb0) at ../../kinit/kinit.cpp:1911

This bug may be a duplicate of or related to bug 309173.

Possible duplicates by query: bug 309173, bug 304132.

Reported using DrKonqi
Comment 1 Camilla Boemann 2013-08-03 17:26:59 UTC
please reopen if you can reproduce