Bug 367758 - Crash when starting kdevelop [Sonnet::GuessLanguagePrivate::guessFromDictionaries]
Summary: Crash when starting kdevelop [Sonnet::GuessLanguagePrivate::guessFromDictiona...
Status: RESOLVED FIXED
Alias: None
Product: frameworks-sonnet
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Martin Sandsmark
URL:
Keywords:
: 370470 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-08-24 13:17 UTC by Kevin Funk
Modified: 2016-10-11 22:35 UTC (History)
3 users (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 Kevin Funk 2016-08-24 13:17:41 UTC
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
Comment 1 Martin Sandsmark 2016-08-27 20:18:11 UTC
I think this should resolve it: https://quickgit.kde.org/?p=sonnet.git&a=commit&h=de8e963e9eaa2c729b2ebadd125d220956a3c0f0
Comment 2 Kevin Funk 2016-10-11 22:35:36 UTC
*** Bug 370470 has been marked as a duplicate of this bug. ***