OOM kills and crashing due to recent changes?
Kevin Funk
kfunk at kde.org
Fri Nov 4 14:52:28 UTC 2016
On Friday, 4 November 2016 15:10:47 CET René J.V. Bertin wrote:
> 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) ...
This is tracked here:
https://bugs.kde.org/show_bug.cgi?id=372032
... and fixed now I think.
Cheers,
Kevin
> ... 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-k
> devplatform-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-k
> devplatform-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-k
> devplatform-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-k
> devplatform-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-k
> devplatform-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-k
> devplatform-devel/work/kf5-kdevplatform-5/plugins/problemreporter/problemrep
> ortermodel.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-k
> devplatform-devel/work/kf5-kdevplatform-5/plugins/problemreporter/problemrep
> ortermodel.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-k
> devplatform-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.
--
Kevin Funk | kfunk at kde.org | http://kfunk.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20161104/6d4f980c/attachment.sig>
More information about the KDevelop-devel
mailing list