Bug 248794

Summary: Kile crashing after spell check
Product: [Applications] kile Reporter: Maarten <m_becker>
Component: generalAssignee: Michel Ludwig <michel.ludwig>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 2.0.83   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Maarten 2010-08-23 12:33:09 UTC
Application: kile (2.0.83)
KDE Platform Version: 4.4.4 (KDE 4.4.4) "release 2"
Qt Version: 4.6.3
Operating System: Linux 2.6.34-12-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
Usual use of german spell check within Kile. I couldn't  figure out what action caused the crash, but I crashed reproducible.

 -- Backtrace:
Application: Kile (kile), signal: Segmentation fault
[KCrash Handler]
#5  key (this=0x34df8d0, linf=..., word=..., ci=..., gi=0x0, sfxopts=0, ppfx=0x0) at modules/speller/default/affix.cpp:133
#6  aspeller::AffixMgr::suffix_check (this=0x34df8d0, linf=..., word=..., ci=..., gi=0x0, sfxopts=0, ppfx=0x0) at modules/speller/default/affix.cpp:805
#7  0x00007fe9d779bbe2 in aspeller::AffixMgr::affix_check (this=0x34df8d0, linf=..., word=..., ci=..., gi=0x0) at modules/speller/default/affix.cpp:843
#8  0x00007fe9d776e338 in (anonymous namespace)::Working::try_word_n (this=0x7fff01da03e0, str=..., score=0) at modules/speller/default/suggest.cpp:413
#9  0x00007fe9d776f26c in try_word (this=0x7fff01da03e0) at modules/speller/default/suggest.cpp:227
#10 (anonymous namespace)::Working::try_one_edit_word (this=0x7fff01da03e0) at modules/speller/default/suggest.cpp:603
#11 0x00007fe9d7773e45 in get_suggestions (this=0x34f5d20, word=<value optimized out>) at modules/speller/default/suggest.cpp:316
#12 (anonymous namespace)::SuggestImpl::suggest (this=0x34f5d20, word=<value optimized out>) at modules/speller/default/suggest.cpp:1326
#13 0x00007fe9d7784c50 in aspeller::SpellerImpl::suggest (this=<value optimized out>, word=...) at modules/speller/default/speller_impl.cpp:125
#14 0x00007fe9d77b9b1e in acommon::aspell_speller_suggest (ths=0x34d6510, word=<value optimized out>, word_size=<value optimized out>) at lib/speller-c.cpp:148
#15 0x00007fe9d79ee441 in aspell_dict_suggest (me=<value optimized out>, word=<value optimized out>, len=<value optimized out>, out_n_suggs=0x7fff01da0958) at aspell_provider.c:136
#16 0x00007fe9d7df8b3d in enchant_dict_suggest (dict=0x34d29c0, word=0x3108408 "15", len=2, out_n_suggs=0x7fff01da09d8) at enchant.c:943
#17 0x00007fe9dc0e9b9f in QSpellEnchantDict::suggest (this=0x3214360, word=...) at /usr/src/debug/kdelibs-4.4.4/sonnet/plugins/enchant/enchantdict.cpp:63
#18 0x00007fe9eeb8184e in Sonnet::Speller::suggest (this=0x3433218, word=...) at /usr/src/debug/kdelibs-4.4.4/kdecore/sonnet/speller.cpp:126
#19 0x00007fe9eeb8186d in Sonnet::BackgroundEngine::suggest (this=<value optimized out>, word=<value optimized out>) at /usr/src/debug/kdelibs-4.4.4/kdecore/sonnet/backgroundengine.cpp:116
#20 0x00007fe9eeb81890 in Sonnet::BackgroundChecker::suggest (this=<value optimized out>, word=<value optimized out>) at /usr/src/debug/kdelibs-4.4.4/kdecore/sonnet/backgroundchecker.cpp:119
#21 0x00007fe9ef003212 in Sonnet::Dialog::updateDialog (this=0x31ab460, word=...) at /usr/src/debug/kdelibs-4.4.4/kdeui/sonnet/dialog.cpp:294
#22 0x00007fe9ef0f0e7b in Sonnet::Dialog::slotMisspelling (this=0x31ab460, word=..., start=<value optimized out>) at /usr/src/debug/kdelibs-4.4.4/kdeui/sonnet/dialog.cpp:417
#23 0x00007fe9ef103d5b in Sonnet::Dialog::qt_metacall (this=0x31ab460, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff01da0cd0)
    at /usr/src/debug/kdelibs-4.4.4/build/kdeui/dialog.moc:121
#24 0x00007fe9ee45aa1f in QMetaObject::activate (sender=0x34018d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff01da0cd0) at kernel/qobject.cpp:3295
#25 0x00007fe9eea82023 in Sonnet::BackgroundChecker::misspelling (this=<value optimized out>, _t1=<value optimized out>, _t2=33)
    at /usr/src/debug/kdelibs-4.4.4/build/kdecore/backgroundchecker.moc:105
#26 0x00007fe9eeb814c0 in Sonnet::BackgroundChecker::qt_metacall (this=0x34018d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff01da0e10)
    at /usr/src/debug/kdelibs-4.4.4/build/kdecore/backgroundchecker.moc:86
#27 0x00007fe9ee45aa1f in QMetaObject::activate (sender=0x3433200, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff01da0e10) at kernel/qobject.cpp:3295
#28 0x00007fe9eea822a3 in Sonnet::BackgroundEngine::misspelling (this=<value optimized out>, _t1=<value optimized out>, _t2=33) at /usr/src/debug/kdelibs-4.4.4/build/kdecore/backgroundengine_p.moc:92
#29 0x00007fe9eeb819d6 in Sonnet::BackgroundEngine::checkNext (this=0x3433200) at /usr/src/debug/kdelibs-4.4.4/kdecore/sonnet/backgroundengine.cpp:98
#30 0x00007fe9eeb81a5c in Sonnet::BackgroundEngine::qt_metacall (this=0x3433200, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff01da0f20)
    at /usr/src/debug/kdelibs-4.4.4/build/kdecore/backgroundengine_p.moc:80
#31 0x00007fe9ee45aa1f in QMetaObject::activate (sender=0x3be8910, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3295
#32 0x00007fe9ee45fdbf in QSingleShotTimer::timerEvent (this=0x3be8910) at kernel/qtimer.cpp:308
#33 0x00007fe9ee45822e in QObject::event (this=0x3be8910, e=0x7fff01da16d0) at kernel/qobject.cpp:1212
#34 0x00007fe9ed61b4d4 in QApplicationPrivate::notify_helper (this=0xa8ca80, receiver=0x3be8910, e=0x7fff01da16d0) at kernel/qapplication.cpp:4302
#35 0x00007fe9ed623aca in QApplication::notify (this=<value optimized out>, receiver=0x3be8910, e=0x7fff01da16d0) at kernel/qapplication.cpp:4185
#36 0x00007fe9eef9fc06 in KApplication::notify (this=0x7fff01da1b10, receiver=0x3be8910, event=0x7fff01da16d0) at /usr/src/debug/kdelibs-4.4.4/kdeui/kernel/kapplication.cpp:302
#37 0x00007fe9ee446e4c in QCoreApplication::notifyInternal (this=0x7fff01da1b10, receiver=0x3be8910, event=0x7fff01da16d0) at kernel/qcoreapplication.cpp:726
#38 0x00007fe9ee4720c9 in sendEvent (this=0xa90430) at kernel/qcoreapplication.h:215
#39 QTimerInfoList::activateTimers (this=0xa90430) at kernel/qeventdispatcher_unix.cpp:618
#40 0x00007fe9ee46efd4 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#41 0x00007fe9e83efa93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#42 0x00007fe9e83f0270 in ?? () from /usr/lib64/libglib-2.0.so.0
#43 0x00007fe9e83f0510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#44 0x00007fe9ee46f67f in QEventDispatcherGlib::processEvents (this=0xa68e60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#45 0x00007fe9ed6bc14e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#46 0x00007fe9ee446292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#47 0x00007fe9ee446495 in QEventLoop::exec (this=0x7fff01da1a60, flags=...) at kernel/qeventloop.cpp:201
#48 0x00007fe9ee44a88b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#49 0x00000000005e6862 in main ()

Reported using DrKonqi
Comment 1 Michel Ludwig 2010-08-27 17:49:49 UTC
Can you check which version of aspell you are using?
Comment 2 Maarten 2010-08-27 20:34:29 UTC
Hi,

aspell -v
@(#) International Ispell Version 3.1.20 (but really Aspell 0.60.6)

It is the version opensuse10.3 comes with.

Maarten

On 08/27/2010 05:49 PM, Michel Ludwig wrote:
> https://bugs.kde.org/show_bug.cgi?id=248794
>
>
>
>
>
> --- Comment #1 from Michel Ludwig <michel ludwig gmail com>  2010-08-27 17:49:49 ---
> Can you check which version of aspell you are using?
>
>
Comment 3 Michel Ludwig 2010-08-29 10:32:36 UTC
(In reply to comment #2)
> aspell -v
> @(#) International Ispell Version 3.1.20 (but really Aspell 0.60.6)
> 
> It is the version opensuse10.3 comes with.

Ok, thanks. Can you maybe try to figure out which text causes the crash? Is is numbers like in bug 233026?
Comment 4 Christoph Feck 2010-09-06 18:40:44 UTC
Please add any more information you can provide to bug 233026.

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