Bug 204694

Summary: kmail (in kontact) sometimes hangs when trying to send a mail
Product: [Applications] kmail Reporter: Martin Steigerwald <Martin>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: bjoern
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: strace of the first thread of kontact
strace of the second thread of kontact

Description Martin Steigerwald 2009-08-21 20:36:59 UTC
Version:            (using KDE 4.3.0)
OS:                Linux
Installed from:    Debian testing/unstable Packages

Sometimes when I try to send a mail with Kontact the application just hangs after entering the KWallet password. The mail compose window is dimmed a bit as if a dialog window has been opened, but there is none - I just double checked by moving every window on every virtual desktop out of the way. Its currently still hanging and I made an

strace -ff -p 12179 -o Zeit/kontact-strace-2009-08-21.txt

I attach the strace results in a moment.

My current workaround is to kill Kontact and hope that KMail will remember the mail I was about to send. Upto now this has worked, but it is extremely annoying cause the issue does happen quite often - but not everytime.

I have no idea on how to provide further debug information. If you have one, please tell me.

shambhala:~> apt-show-versions | egrep "(kmail|kdepim|kdelibs)"
kdelibs/squeeze uptodate 4:3.5.10.dfsg.1-2
kdelibs-bin/sid uptodate 4:4.3.0-1
kdelibs-data/squeeze uptodate 4:3.5.10.dfsg.1-2
kdelibs-dbg/squeeze uptodate 4:3.5.10.dfsg.1-2
kdelibs4c2a/squeeze uptodate 4:3.5.10.dfsg.1-2
kdelibs5/sid uptodate 4:4.3.0-1
kdelibs5-data/sid uptodate 4:4.3.0-1
kdelibs5-dbg/sid uptodate 4:4.3.0-1
kdelibs5-dev/sid uptodate 4:4.3.0-1
kdepim/sid uptodate 4:4.3.0-1
kdepim-dbg/sid uptodate 4:4.3.0-1
kdepim-groupware/sid uptodate 4:4.3.0-1
kdepim-kresources/sid uptodate 4:4.3.0-1
kdepim-runtime/sid uptodate 4:4.3.0-1
kdepim-runtime-dbg/sid uptodate 4:4.3.0-1
kdepim-strigi-plugins/sid uptodate 4:4.3.0-1
kdepim-wizards/sid uptodate 4:4.3.0-1
kdepimlibs-data/sid uptodate 4:4.3.0-1
kdepimlibs-dbg/sid uptodate 4:4.3.0-1
kdepimlibs5/sid uptodate 4:4.3.0-1
kdepimlibs5-dev/sid uptodate 4:4.3.0-1
kmail/sid uptodate 4:4.3.0-1
libkdepim4/sid uptodate 4:4.3.0-1
Comment 1 Martin Steigerwald 2009-08-21 20:37:53 UTC
Created attachment 36336 [details]
strace of the first thread of kontact
Comment 2 Martin Steigerwald 2009-08-21 20:40:00 UTC
Created attachment 36337 [details]
strace of the second thread of kontact

it just select()'s and appears to wait on something. Kontact uses up to 4-6 % of CPU on my IBM ThinkPad T42 with Pentium M 1.8 GHz CPU.
Comment 3 Johannes Wolter 2009-10-03 14:41:24 UTC
I'm having the same problem; I think it started one month ago and it's really annoying since every second E-Mail gets stuck. If needed I can provide a strace or other debug info too.
Comment 4 Johannes Wolter 2009-10-13 10:23:56 UTC
*** Bug 210414 has been marked as a duplicate of this bug. ***
Comment 5 Björn Ruberg 2010-03-05 00:17:21 UTC
Do you still have this with updated kmail versions now?
Comment 6 Johannes Wolter 2010-03-05 00:25:24 UTC
No, I didn't experience kmail/kontact hanging after/whie sending an email any more.
Comment 7 Björn Ruberg 2010-03-05 00:29:35 UTC
May have been a bug in early 4.3? Closing for the moment, just reopen in case the problem returns