Bug 271849 - When I try to save changes in kmymoney, sometimes it crashes and saves a zero-length file on the original file.
Summary: When I try to save changes in kmymoney, sometimes it crashes and saves a zero...
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.5.1
Platform: Slackware Linux
: NOR major
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
: 271846 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-27 15:23 UTC by I'm anonymous. Delete me.
Modified: 2011-05-13 22:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.