Bug 496357

Summary: KDevelop corrupts *.kdev4 files during crash
Product: [Applications] kdevelop Reporter: Dominik Kummer <admin>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version First Reported In: 6.1.241180   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Dominik Kummer 2024-11-16 19:09:28 UTC
Probably auto-saves are performed during regular operations?
Its the second time this happens to me, first time in front of audience a month ago. Thank you Murphys Law.

This time the crash was so heavy that even the Kdevelop Crash Handler afterwards crashed itself as I was going
to look at the Developer Information.

Just before the initial crash I performed a variable name replacement with Search Tool across several c++ project files.

Maybe autosaves should be singular events during kdevelop session lifetime where all other threads are blocked
for the time save operation is running, so autosaves should at earliest be performed when all other threads are done.

maybe this helps.
Comment 1 Dominik Kummer 2024-11-17 02:10:13 UTC
I had to clean the kdevelop cache, and get the huge coredump down from /tmp