Backtrace excerpt: Thread 1 "kdevelop" received signal SIGSEGV, Segmentation fault. 0x00007fffecaff850 in Sonnet::GuessLanguagePrivate::guessFromDictionaries (this=0x10be220, sentence="\"<qt><dl>\"", candidates=Python Exception <class 'RuntimeError'> Type is not a template.: ) at /home/kfunk/devel/src/kf5/sonnet/src/core/guesslanguage.cpp:827 (gdb) bt 20 #0 0x00007fffecaff850 in Sonnet::GuessLanguagePrivate::guessFromDictionaries (this=0x10be220, sentence="\"<qt><dl>\"", candidates=Python Exception <class 'RuntimeError'> Type is not a template.: ) at /home/kfunk/devel/src/kf5/sonnet/src/core/guesslanguage.cpp:827 #1 0x00007fffecafe9ce in Sonnet::GuessLanguage::identify (this=0x10bde30, text="\"<qt><dl>\"", suggestionsListIn=Python Exception <class 'RuntimeError'> Type is not a template.: ) at /home/kfunk/devel/src/kf5/sonnet/src/core/guesslanguage.cpp:606 #2 0x00007fffecb0a19b in Sonnet::LanguageFilter::language (this=0x118abe0) at /home/kfunk/devel/src/kf5/sonnet/src/core/languagefilter.cpp:105 #3 0x00007fffecb0a324 in Sonnet::LanguageFilter::isSpellcheckable (this=0x118abe0) at /home/kfunk/devel/src/kf5/sonnet/src/core/languagefilter.cpp:123 #4 0x00007fffecafa304 in BackgroundCheckerPrivate::checkNext (this=0x118abd0) at /home/kfunk/devel/src/kf5/sonnet/src/core/backgroundchecker.cpp:62 #5 0x00007fffecb0ab6d in BackgroundCheckerPrivate::qt_static_metacall (_o=0x118abd0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x14c8260) at src/core/KF5SonnetCore_automoc.dir/moc_backgroundchecker_p.cpp:82 #6 0x00007ffff3e5e329 in QObject::event (this=0x118abd0, e=<optimized out>) at /home/kfunk/devel/src/qt5.6/qtbase/src/corelib/kernel/qobject.cpp:1256 #7 0x00007ffff47cbe3c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x118abd0, e=0x160f710) at /home/kfunk/devel/src/qt5.6/qtbase/src/widgets/kernel/qapplication.cpp:3804 #8 0x00007ffff47d1376 in QApplication::notify (this=0x7fffffffcad8, receiver=0x118abd0, e=0x160f710) at /home/kfunk/devel/src/qt5.6/qtbase/src/widgets/kernel/qapplication.cpp:3561 #9 0x00007ffff3e30f08 in QCoreApplication::notifyInternal2 (receiver=0x118abd0, event=event@entry=0x160f710) at /home/kfunk/devel/src/qt5.6/qtbase/src/corelib/kernel/qcoreapplication.cpp:1015 #10 0x00007ffff3e32dca in QCoreApplication::sendEvent (event=0x160f710, receiver=<optimized out>) at ../../include/QtCore/../../../../../src/qt5.6/qtbase/src/corelib/kernel/qcoreapplication.h:225 #11 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x45efc0) at /home/kfunk/devel/src/qt5.6/qtbase/src/corelib/kernel/qcoreapplication.cpp:1650 #12 0x00007ffff3e33288 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at /home/kfunk/devel/src/qt5.6/qtbase/src/corelib/kernel/qcoreapplication.cpp:1508 #13 0x00007ffff3e85ba3 in postEventSourceDispatch (s=0x4a1980) at /home/kfunk/devel/src/qt5.6/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:270 #14 0x00007fffeb6891a7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #15 0x00007fffeb689400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #16 0x00007fffeb6894ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #17 0x00007ffff3e85faf in QEventDispatcherGlib::processEvents (this=0x4a1f30, flags=...) at /home/kfunk/devel/src/qt5.6/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:417 #18 0x00007ffff3e2ec5a in QEventLoop::exec (this=0x7fffffffa7f8, flags=...) at /home/kfunk/devel/src/qt5.6/qtbase/src/corelib/kernel/qeventloop.cpp:204 #19 0x00007ffff4d3dfd6 in KJob::exec (this=0x20847a0) at /home/kfunk/devel/src/kf5/kcoreaddons/src/lib/jobs/kjob.cpp:198 Reproducible: Always
I think this should resolve it: https://quickgit.kde.org/?p=sonnet.git&a=commit&h=de8e963e9eaa2c729b2ebadd125d220956a3c0f0
*** Bug 370470 has been marked as a duplicate of this bug. ***