Bug 346119 - crash in spellchecker corrupting markupRangesMap
Summary: crash in spellchecker corrupting markupRangesMap
Status: RESOLVED WORKSFORME
Alias: None
Product: calligrawords
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Words Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-04-12 19:52 UTC by RJVB
Modified: 2018-11-30 04:05 UTC (History)
1 user (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 RJVB 2015-04-12 19:52:08 UTC
Application: calligrawords (2.9.2)
KDE Platform Version: 4.14.4 (Compiled from sources)
Qt Version: 4.8.6
Operating System: Linux 3.13.11.15-ckt15-ck1-kubuntu-amdf10-rjvb x86_64
Distribution: Ubuntu 14.04.2 LTS

-- Information about the crash:
- What I was doing when the application crashed:

I was composing a document and had just saved (or was about to save) it on the NFS share from which I had loaded it (impossible to say if the save operation had completed or was about to begin).
The calling terminal showed this output:

QGraphicsWidget::setAttribute: unsupported attribute 14
ASSERT: "d->markupRangesMap[type].isEmpty() || d->markupRangesMap[type].last().lastChar < firstChar" in file /home/bertin/work/src/Scratch/KDE/calligra/calligra-2.9.2/libs/kotext/KoTextBlockData.cpp, line 84
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = calligrawords path = /usr/bin pid = 20774
KCrash: Arguments: /usr/bin/calligrawords --nocrashhandler 
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
KCrash: Connect sock_file=/home/bertin/.kde/socket-patux/kdeinit4__0

-- Backtrace:
Application: Calligra Words (calligrawords), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fca8471f7c0 (LWP 20774))]

Thread 2 (Thread 0x7fca58d64700 (LWP 20794)):
#0  0x00007fca7eaae860 in pthread_mutex_lock@plt () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fca7eb1e981 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fca7eadc699 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fca7eadcf03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fca7eadd0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fca826f91ee in QEventDispatcherGlib::processEvents (this=0x7fca540da290, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007fca826c504f in QEventLoop::processEvents (this=this@entry=0x7fca58d63de0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fca826c5395 in QEventLoop::exec (this=this@entry=0x7fca58d63de0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fca825a796d in QThread::exec (this=this@entry=0x2cc8010) at thread/qthread.cpp:538
#9  0x00007fca826a3f03 in QInotifyFileSystemWatcherEngine::run (this=0x2cc8010) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007fca825aa5a3 in QThreadPrivate::start (arg=0x2cc8010) at thread/qthread_unix.cpp:349
#11 0x00007fca7efbc182 in start_thread (arg=0x7fca58d64700) at pthread_create.c:312
#12 0x00007fca840a247d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fca8471f7c0 (LWP 20774)):
[KCrash Handler]
#6  0x00007fca83fdecc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007fca83fe20d8 in __GI_abort () at abort.c:89
#8  0x00007fca8259f058 in qt_message_output (msgType=<optimized out>, msgType@entry=QtFatalMsg, buf=0x3101ca8 "ASSERT: \"d->markupRangesMap[type].isEmpty() || d->markupRangesMap[type].last().lastChar < firstChar\" in file /home/bertin/work/src/Scratch/KDE/calligra/calligra-2.9.2/libs/kotext/KoTextBlockData.cpp, "...) at global/qglobal.cpp:2386
#9  0x00007fca8259f417 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=0x7fca82730f78 "ASSERT: \"%s\" in file %s, line %d", ap=ap@entry=0x7fff92d29568) at global/qglobal.cpp:2432
#10 0x00007fca8259fc74 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2615
#11 0x00007fca813ef771 in KoTextBlockData::appendMarkup(KoTextBlockData::MarkupType, int, int) () from /usr/lib/libkotext.so.14
#12 0x00007fca53df6298 in SpellCheck::highlightMisspelled(QString const&, int, bool) () from /usr/lib/kde4/calligra_textediting_spellcheck.so
#13 0x00007fca826dceb1 in QMetaObject::activate (sender=0x1801df0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff92d29840) at kernel/qobject.cpp:3638
#14 0x00007fca53df892f in BgSpellCheck::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/kde4/calligra_textediting_spellcheck.so
#15 0x00007fca826dceb1 in QMetaObject::activate (sender=0x1801df0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff92d29980) at kernel/qobject.cpp:3638
#16 0x00007fca82c21a79 in done (this=<optimized out>) at ./backgroundchecker.moc:124
#17 Sonnet::BackgroundChecker::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./backgroundchecker.moc:63
#18 0x00007fca826dceb1 in QMetaObject::activate (sender=0x181f000, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff92d29ac0) at kernel/qobject.cpp:3638
#19 0x00007fca82c2200e in misspelling (this=<optimized out>, _t1=..., _t2=0, _t2=0) at ./backgroundengine_p.moc:104
#20 Sonnet::BackgroundEngine::checkNext (this=0x181f000) at ../../kdecore/sonnet/backgroundengine.cpp:98
#21 0x00007fca82c22156 in Sonnet::BackgroundEngine::qt_static_metacall (_o=0x181f000, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./backgroundengine_p.moc:56
#22 0x00007fca826e1d39 in QObject::event (this=0x181f000, e=<optimized out>) at kernel/qobject.cpp:1222
#23 0x00007fca831d382c in QApplicationPrivate::notify_helper (this=0x732650, receiver=0x181f000, e=0x3101bb0) at kernel/qapplication.cpp:4570
#24 0x00007fca831d9d1b in QApplication::notify (this=0x7fff92d2a0d8, receiver=0x5126, e=0x3101bb0) at kernel/qapplication.cpp:4356
#25 0x00007fca83cc8f33 in KoApplication::notify(QObject*, QEvent*) () from /usr/lib/libkomain.so.14
#26 0x00007fca826c662c in QCoreApplication::notifyInternal (this=0x7fff92d2a0d8, receiver=receiver@entry=0x181f000, event=event@entry=0x3101bb0) at kernel/qcoreapplication.cpp:953
#27 0x00007fca826ca497 in sendEvent (event=0x3101bb0, receiver=0x181f000) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, receiver@entry=0x7fca826f9040 <postEventSourceDispatch(GSource*, GSourceFunc, gpointer)>, event_type=event_type@entry=0, data=0x6a2ce0) at kernel/qcoreapplication.cpp:1577
#29 0x00007fca826ca847 in QCoreApplication::sendPostedEvents (receiver=0x7fca826f9040 <postEventSourceDispatch(GSource*, GSourceFunc, gpointer)>, receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#30 0x00007fca826f9053 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#31 postEventSourceDispatch (s=0x7313b0) at kernel/qeventdispatcher_glib.cpp:287
#32 0x00007fca7eadce04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fca7eadd048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fca7eadd0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fca826f91cf in QEventDispatcherGlib::processEvents (this=0x6a4630, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#36 0x00007fca832720c6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007fca826c504f in QEventLoop::processEvents (this=this@entry=0x7fff92d2a090, flags=...) at kernel/qeventloop.cpp:149
#38 0x00007fca826c5395 in QEventLoop::exec (this=this@entry=0x7fff92d2a090, flags=...) at kernel/qeventloop.cpp:204
#39 0x00007fca826cb509 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#40 0x00007fca843722a3 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_calligrawords.so
#41 0x00007fca83fc9ec5 in __libc_start_main (main=0x400800 <main>, argc=1, argv=0x7fff92d2a248, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff92d2a238) at libc-start.c:287
#42 0x0000000000400719 in _start ()

Reported using DrKonqi
Comment 1 Camilla Boemann 2015-06-24 18:56:22 UTC
at least from the info you supplied i can say it's not related to  the nfs or saving

it's related to the spellchecking - if it continues to happen for you you can at least get around it by disabling the auto spellchecking
Comment 2 Andrew Crouthamel 2018-10-31 04:14:32 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2018-11-15 10:52:31 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2018-11-30 04:05:00 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!