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, "\0", 1) = -1 EBADF (Bad file descriptor) rt_sigreturn(0x8) = 12651 exit_group(253) = ? => many strange close() calls! Martin
yikes. thanks for your report!
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.
Recompiled! Sorry, how do I generate a backtrace?
Great, thanks for taking that on. Just make KArm crash, and KDE will generate a backtrace. You can then upload it here.
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 && reinstall. Does this help at you, too ?
*** Bug 105445 has been marked as a duplicate of this bug. ***
I checked this in and backported it yesterday. The tests of make check still succeed. The fix will be in tomorrow's KDE 3.4.1. What a luck - this bug blocked my karm-kontact-plugin-testing.
Just installed 3.4.1. Upon adding a new task, it says: "Error storing new task. Your changes were not saved." 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
With the help of #106737, it works now! Had to delete the lock file manually. So my problem concerns #106737 only.
*** Bug 110697 has been marked as a duplicate of this bug. ***