commit 804e54f83ade8a377d392d350981ead07f60a9d3 Author: David Faure Date: Tue Oct 2 20:27:03 2012 +0200 Fix crash when watchUserLimitReached() leads to deleting the KInotify instance ... which emitted the signal. So don't use a direct delete. BUG: 307388 FIXED-IN: 4.9.3 diff --git a/services/filewatch/nepomukfilewatch.cpp b/services/filewatch/nepomukfilewatch.cpp index 9fd5d9c..94db504 100644 --- a/services/filewatch/nepomukfilewatch.cpp +++ b/services/filewatch/nepomukfilewatch.cpp @@ -323,7 +323,8 @@ void Nepomuk2::FileWatch::connectToKDirWatch() void Nepomuk2::FileWatch::slotInotifyWatchUserLimitReached() { // we do it the brutal way for now hoping with new kernels and defaults this will never happen - delete m_dirWatch; + // Delete the KInotify and switch to KDirNotify dbus signals + m_dirWatch->deleteLater(); m_dirWatch = 0; connectToKDirWatch(); }