[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: [kdelibs] solid/solid/backends/fstab: Fix crash during the
From:       David Faure <faure () kde ! org>
Date:       2011-01-31 10:23:14
Message-ID: 201101311123.14809.faure () kde ! org
[Download RAW message or body]

On Monday 31 January 2011, Mario Bensi wrote:
> Git commit 42d40d1d351588a71bef0af1d62a8f6dc586f141 by Mario Bensi.
> Pushed by bensi into branch 'master'.
> 
> Fix crash during the QFileSystemWatcher destruction
> 
> The QFileSystemWatcher doesn't work correctly in a singleton
> The solution so far was to destroy the QFileSystemWatcher when the
> application quits but we have some crash with this solution.
> For the moment to workaround the problem, we detach the
> QFileSystemWatcher from the parent effectively leaking it on purpose.

I had the same issue in KDirWatch and I solved it in r1215435
See cleanupQFSWatcher in kdelibs/kdecore/io/kdirwatch.cpp. Maybe this helps?

-- 
David Faure, faure@kde.org, http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. Konqueror (http://www.konqueror.org).
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic