Bug 271849

Summary: When I try to save changes in kmymoney, sometimes it crashes and saves a zero-length file on the original file.
Product: [Applications] kmymoney Reporter: I'm anonymous. Delete me. <xeyefo9277>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: major    
Priority: NOR    
Version: 4.5.1   
Target Milestone: ---   
Platform: Slackware   
OS: Linux   
Latest Commit: Version Fixed In:

Description I'm anonymous. Delete me. 2011-04-27 15:23:13 UTC
Version:           4.5.1 (using KDE 4.5.5) 
OS:                Linux

I built it using a slackbuild packaging script from http://slackbuilds.org

It used to crash a lot while editing a split transaction.
And several days ago, I tried to save changes to a kmymoney file.
It crashed and saved a zero-length file on the original file.
Since I didn't have any backup, I lost all my kmymoney data and have to make a
new kmymoney file again.

When it crashed while editing split transaction, it involved ibus(an input
method engine).
Because I forgot to record the crash report when it crashed, I can't verify if
this bug is also related to ibus, but I think it could be related to ibus.

This again reminded me of the importance of daily backup.

Please help fix this bug.

Reproducible: Couldn't Reproduce

Steps to Reproduce:
Try to save changes to a kmymoney file.
But the bug isn't reproducible since I don't know what conditions the bug
appears in.

Actual Results:  
A zero-length file is overwritten to the original file.

Expected Results:  
It should save changes to the file.
Comment 1 I'm anonymous. Delete me. 2011-04-27 15:23:59 UTC
*** Bug 271846 has been marked as a duplicate of this bug. ***
Comment 2 Thomas Baumgart 2011-04-30 16:09:11 UTC
Try to build version 4.5.3 since a lot of things have been fixed in the meantime.
Comment 3 Cristian OneČ› 2011-05-13 22:42:36 UTC
http://websvn.kde.org/?revision=1215760&view=revision this commit should prevent cases like this in the future.