<?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>100391</bug_id>
          
          <creation_ts>2005-02-27 19:40:03 +0000</creation_ts>
          <short_desc>crash when deleting a task</short_desc>
          <delta_ts>2005-08-27 14:51:02 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>ktimetracker</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>unspecified</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>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Martin Honermeyer">maze</reporter>
          <assigned_to name="Mark Bucciarelli">mark</assigned_to>
          <cc>dev+kde</cc>
    
    <cc>rscrawford</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>20</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>318994</commentid>
    <comment_count>0</comment_count>
    <who name="Martin Honermeyer">maze</who>
    <bug_when>2005-02-27 19:40:03 +0000</bug_when>
    <thetext>Version:           1.5.0 (using KDE 3.3.92 (beta2), Gentoo)
Compiler:          gcc version 3.4.3 (Gentoo Linux 3.4.3, ssp-3.4.3-0, pie-8.7.6.6)
OS:                Linux (x86_64) release 2.6.10-gentoo-r7

When I click on the delete button to delete a task, karm crashes. When I start it again, I can see that the task has been deleted though. Output from strace:

...
close(20)                               = -1 EBADF (Bad file descriptor)
close(21)                               = -1 EBADF (Bad file descriptor)
close(22)                               = -1 EBADF (Bad file descriptor)
close(23)                               = -1 EBADF (Bad file descriptor)
close(24)                               = -1 EBADF (Bad file descriptor)
close(25)                               = -1 EBADF (Bad file descriptor)
close(26)                               = -1 EBADF (Bad file descriptor)
close(27)                               = -1 EBADF (Bad file descriptor)
close(28)                               = -1 EBADF (Bad file descriptor)
...
--- SIGCHLD (Child exited) @ 0 (0) ---
write(8, &quot;\0&quot;, 1)                       = -1 EBADF (Bad file descriptor)
rt_sigreturn(0x8)                       = 12651
exit_group(253)                         = ?


=&gt; many strange close() calls!


Martin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>319009</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Bucciarelli">mark</who>
    <bug_when>2005-02-27 20:10:43 +0000</bug_when>
    <thetext>yikes.  thanks for your report!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>325878</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Bucciarelli">mark</who>
    <bug_when>2005-03-20 05:01:05 +0000</bug_when>
    <thetext>I cannot duplicate this with 3_4_BRANCH.

Would it be possible for you to compile with --enable-debug=full and generate a backtrace for me?

If not, please provide any information you think may be relevant so I can duplicate the behavior.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>338253</commentid>
    <comment_count>3</comment_count>
    <who name="Martin Honermeyer">maze</who>
    <bug_when>2005-04-28 21:47:07 +0000</bug_when>
    <thetext>Recompiled! Sorry, how do I generate a backtrace?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>338256</commentid>
    <comment_count>4</comment_count>
    <who name="Mark Bucciarelli">mark</who>
    <bug_when>2005-04-28 21:59:30 +0000</bug_when>
    <thetext>Great, thanks for taking that on.

Just make KArm crash, and KDE will generate  a backtrace.  You can then 
upload it here.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>343846</commentid>
    <comment_count>5</comment_count>
    <who name="Thorsten Staerk">dev</who>
    <bug_when>2005-05-20 17:51:15 +0000</bug_when>
    <thetext>I have this here, too. It occurs on about every 2nd deletion. The following seems to resolve the error:

get the sources.
In taskview.cpp, change the order of the lines
      save();
      deleteItemState( task );
so they look
      deleteItemState( task );
      save();
then, recompile &amp;&amp; reinstall.

Does this help at you, too ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>343958</commentid>
    <comment_count>6</comment_count>
    <who name="Thorsten Staerk">dev</who>
    <bug_when>2005-05-21 08:39:02 +0000</bug_when>
    <thetext>*** Bug 105445 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>343959</commentid>
    <comment_count>7</comment_count>
    <who name="Thorsten Staerk">dev</who>
    <bug_when>2005-05-21 08:48:07 +0000</bug_when>
    <thetext>I checked this in and backported it yesterday. The tests of make check still succeed. The fix will be in tomorrow&apos;s KDE 3.4.1.

What a luck - this bug blocked my karm-kontact-plugin-testing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>346961</commentid>
    <comment_count>8</comment_count>
    <who name="Martin Honermeyer">maze</who>
    <bug_when>2005-06-01 19:13:23 +0000</bug_when>
    <thetext>Just installed 3.4.1.

Upon adding a new task, it says: &quot;Error storing new task. Your changes were not saved.&quot;

My .xsession-errors says the following
* upon starting:
korgac: ERROR: Received DCOP: resource added for unknown resource Wjp98sv1Ui
kontact: ERROR: Received DCOP: resource added for unknown resource Wjp98sv1Ui

* upon exiting:
korgac: ERROR: Received DCOP: resource deleted for unknown resource Wjp98sv1Ui
kontact: ERROR: Received DCOP: resource deleted for unknown resource Wjp98sv1Ui


I should add that I am using a Kolab mail server (set up with kolabwizard), so I am using the contacts, calendar and notes resources from the IMAP server. Please also note that I am using an AMD64 machine!


Martin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>353584</commentid>
    <comment_count>9</comment_count>
    <who name="Martin Honermeyer">maze</who>
    <bug_when>2005-06-26 16:13:54 +0000</bug_when>
    <thetext>With the help of #106737, it works now! Had to delete the lock file manually. So my problem concerns #106737 only.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>369157</commentid>
    <comment_count>10</comment_count>
    <who name="Thorsten Staerk">dev</who>
    <bug_when>2005-08-27 14:51:02 +0000</bug_when>
    <thetext>*** Bug 110697 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>