OOM kills and crashing due to recent changes?

René J.V. Bertin rjvbertin at gmail.com
Fri Nov 4 14:10:47 UTC 2016


Hi,

Is it possible that certain recent kdevplatform changes have introduced a compatibility regression with existing parsing caches? I've seen one session get killed because of infinite recursion (in language/duchain/problem.cpp line 135) when clearing the cache/state, something that ultimately settled itself. Now I have a session that spewed lots of 

kdevplatform.language: item index out of bounds: 1081871 count: 8
kdevplatform.language: item index out of bounds: 38019 count: 8
kdevplatform.language: item index out of bounds: 50850048 count: 8
kdevplatform.language: item index out of bounds: 125 count: 8
kdevplatform.language: item index out of bounds: 4226 count: 8
kdevplatform.language: item index out of bounds: 105 count: 8
kdevplatform.language: item index out of bounds: 187625 count: 8
kdevplatform.language: item index out of bounds: 1325 count: 8


and then crashed with this partial backtrace:

Thread 1 (Thread 0x7fd9b19a2780 (LWP 12479)):
[KCrash Handler]
#6  (anonymous namespace)::addDiagnostics (node=node at entry=0x20d1020, diagnostics=...) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevplatform5/kf5-kdevplatform-devel/work/kf5-kdevplatform-5/shell/filteredproblemstore.cpp:39
#7  0x00007fd9b159666a in (anonymous namespace)::addDiagnostics (node=node at entry=0x20cfe50, diagnostics=...) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevplatform5/kf5-kdevplatform-devel/work/kf5-kdevplatform-5/shell/filteredproblemstore.cpp:39
#8  0x00007fd9b159690d in (anonymous namespace)::NoGroupingStrategy::addProblem (this=0x11789c0, problem=...) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevplatform5/kf5-kdevplatform-devel/work/kf5-kdevplatform-5/shell/filteredproblemstore.cpp:106
#9  0x00007fd9b1596007 in KDevelop::FilteredProblemStore::rebuild (this=0x1175550) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevplatform5/kf5-kdevplatform-devel/work/kf5-kdevplatform-5/shell/filteredproblemstore.cpp:263
#10 0x00007fd9b1592da3 in KDevelop::ProblemStore::setProblems (this=0x1175550, problems=...) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevplatform5/kf5-kdevplatform-devel/work/kf5-kdevplatform-5/shell/problemstore.cpp:91
#11 0x00007fd97c73173a in ProblemReporterModel::rebuildProblemList (this=0x11579f0) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevplatform5/kf5-kdevplatform-devel/work/kf5-kdevplatform-5/plugins/problemreporter/problemreportermodel.cpp:196
#12 0x00007fd9aef6308c in call (a=0x7ffdf26560f0, r=0x11579f0, this=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#13 QMetaObject::activate (sender=0x1175550, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qobject.cpp:3715
#14 0x00007fd9aef6308c in call (a=0x7ffdf26561f0, r=0x1175550, this=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#15 QMetaObject::activate (sender=0x1175bd0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qobject.cpp:3715
#16 0x00007fd97c7307d3 in ProblemReporterModel::setCurrentDocument (this=0x11579f0, doc=0x1af41a0) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevplatform5/kf5-kdevplatform-devel/work/kf5-kdevplatform-5/plugins/problemreporter/problemreportermodel.cpp:162
#17 0x00007fd9aef6308c in call (a=0x7ffdf26563e0, r=0x11579f0, this=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#18 QMetaObject::activate (sender=0xff1a80, signalOffset=<optimized out>, local_signal_index=local_signal_index at entry=0, argv=argv at entry=0x7ffdf26563e0) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qobject.cpp:3715
#19 0x00007fd9aef635a7 in QMetaObject::activate (sender=<optimized out>, m=m at entry=0x7fd9b0ff36a0 <KDevelop::IDocumentController::staticMetaObject>, local_signal_index=local_signal_index at entry=0, argv=argv at entry=0x7ffdf26563e0) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qobject.cpp:3595
#20 0x00007fd9b0de044f in KDevelop::IDocumentController::documentActivated (this=<optimized out>, _t1=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevplatform5/kf5-kdevplatform-devel/work/build/interfaces/moc_idocumentcontroller.cpp:502

I'm running KDevPlatform v5.0.2-243-g37884ec with KDevelop v4.90.91-644-gde20232, should I downgrade to a known earlier commit?

R.



More information about the KDevelop-devel mailing list