Version: (using KDE KDE 3.5.6) Installed from: Unlisted Binary Package Compiler: gcc 4.1.x OS: Linux When I recieve a mail from a 'new' person and want to add it to the addressbook, I do a righmouseclick on the mailadress, and choose 'add to addressbook. Kmail not only doesn't do that (as I can see in the addressbook) but it kind'a hangs. It doesn't accept input, just waits. I can resize the window, and it repaints, but I can't click anything, mouseovers don't work etcetera. I have to kill Kmail (or kill kontact, but it doesn't matter if I do this from Kontact or Kmail seperately). I use archlinux packages with KDE 3.5.6, but I've been having this problem for a long while - was too lazy to report it...
*** Bug 141926 has been marked as a duplicate of this bug. ***
Could you please try to run in KMail in GDB and send a kill signal whenever it happens and post a backtrace here? (BTW, changing severity to normal, it's not a crash after all. There seems to be a rule for that in BKO).
Created attachment 19750 [details] gdb, didnt' seem to work?!?
Please use the packages with debugging symbols. And try running kmail with --nofork ( call "set args --nofork" before "run" in gdb )
Hmm, sorry, don't have debug packages. You can't reproduce it? It's fairly easy - open a mail, rightmouseclick on the sender's address, add to addressbook - now try to open another mail, do anything. Here, that would be impossible...
Created attachment 19769 [details] second try, with --nofork
I tried it and it works properly. It most probably hangs while querying for resources ( a corrupt resource file, an invalid server etc). Could you try with a new user, with a single addressbook resource?
I fixed it by exporting my current addressbook to a vcf file, removing the std.vcf, and choosing the new vcf as default addressbook. Now I can add ppl to it without any hangs. If you want, I can email the std.vcf which lead to crashes - but if you think that's pretty useless (with akonadi & friends upcoming), say so, and (let me) close the bug.
I think we would like to see the std.vcf that caused the hang. If you still have the file. But it will surely get lost unless you can attach it to this bug report. It's up to you if you want to do that.
Created attachment 19894 [details] problem file 1 I get the problem when I add these two files as active to my addressbook (as you see, it doesn't make sense, as they are practically the same so you get everything doubled, but at least it reliably reproduces the crash...)
Created attachment 19895 [details] problem file 2
I hope it helps debugging the problem ;-)
I experience the same problem. One of my resources is LDAP users directory (1000+ entries), which is cached locally. Disabling (unchecking it) and restarting kontact helps. Cannot GDB it (GDB finishes while kmail is running, fork()? ).
>Cannot GDB it (GDB finishes while kmail is running, fork()? ). Use --nofork as argument to KMail
Still happening in KDE 4.3+?
Nope, doesn't... Guessing with all the rewriting this ain't relevant anymore. I've closed it as fixed. Thanks for reminding me!