<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>271849</bug_id>
          
          <creation_ts>2011-04-27 15:23:13 +0000</creation_ts>
          <short_desc>When I try to save changes in kmymoney, sometimes it crashes and saves a zero-length file on the original file.</short_desc>
          <delta_ts>2011-05-13 22:42:36 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kmymoney</product>
          <component>general</component>
          <version>4.5.1</version>
          <rep_platform>Slackware</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="I&apos;m anonymous. Delete me.">xeyefo9277</reporter>
          <assigned_to name="KMyMoney Devel Mailing List">kmymoney-devel</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1111954</commentid>
    <comment_count>0</comment_count>
    <who name="I&apos;m anonymous. Delete me.">xeyefo9277</who>
    <bug_when>2011-04-27 15:23:13 +0000</bug_when>
    <thetext>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&apos;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&apos;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&apos;t Reproduce

Steps to Reproduce:
Try to save changes to a kmymoney file.
But the bug isn&apos;t reproducible since I don&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1111956</commentid>
    <comment_count>1</comment_count>
    <who name="I&apos;m anonymous. Delete me.">xeyefo9277</who>
    <bug_when>2011-04-27 15:23:59 +0000</bug_when>
    <thetext>*** Bug 271846 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1113119</commentid>
    <comment_count>2</comment_count>
    <who name="Thomas Baumgart">tbaumgart</who>
    <bug_when>2011-04-30 16:09:11 +0000</bug_when>
    <thetext>Try to build version 4.5.3 since a lot of things have been fixed in the meantime.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1118923</commentid>
    <comment_count>3</comment_count>
    <who name="Cristian Oneț">onet.cristian</who>
    <bug_when>2011-05-13 22:42:36 +0000</bug_when>
    <thetext>http://websvn.kde.org/?revision=1215760&amp;view=revision this commit should prevent cases like this in the future.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>