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

List:       kde-bugs-dist
Subject:    [kdevelop] [Bug 264931] KDevelop crashes when I change a method iinterface in the .h file and click 
From:       Milian Wolff <mail () milianw ! de>
Date:       2014-08-09 17:33:34
Message-ID: bug-264931-17878-ZGDngE339n () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=264931

Milian Wolff <mail@milianw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |http://commits.kde.org/kdev
                   |                            |platform/5d1e162f4b624be896
                   |                            |efb9dad8e952d9596f8424

--- Comment #15 from Milian Wolff <mail@milianw.de> ---
Git commit 5d1e162f4b624be896efb9dad8e952d9596f8424 by Milian Wolff.
Committed on 09/08/2014 at 17:29.
Pushed by mwolff into branch '1.7'.

Delay final cleanup of DataRepositories until end of DUChain shutdown.

This is required, as otherwise non-disk-refcounted items might get
deleted but then later-on accessed again. This is a reason for
random crashes during shutdown, which only occur for complicated
DUChain structures. Only then would further cleanup happen after
the call to ItemRepo's finalCleanup, and DUContexts still lie
around in memory...

Thankfully we had a reproducible test case with the code completion
unit test in kdev-qmljs (master) which is fixed by this patch.
Logically, I'm also confident that this is the correct approach.

M  +5    -6    language/duchain/duchain.cpp

http://commits.kde.org/kdevplatform/5d1e162f4b624be896efb9dad8e952d9596f8424

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

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