Summary: | KMail freezes when trying to send email | ||
---|---|---|---|
Product: | [Unmaintained] kmail | Reporter: | Marcus Hardt <marcus.hardt> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | crash | CC: | dmakovey, jtappin, null, rigo, yu210148 |
Priority: | NOR | ||
Version: | 1.13.3 | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Processes after kmail was killed within ssh session initiated from pc to notebook
Processes running on notebook after kmail was started on pc processes running on notebook after kmail was terminated Processes after ssh connection from pc to notebook was terminated |
Description
Marcus Hardt
2010-06-08 09:27:29 UTC
I was able to fix it by killing all processes found by ps auxww | grep akona| awk '{ print $2 }' | xargs kill ; killall -9 akonadiserver Has this issue been fixed? Well, at least it didn't occur to me for about one month. Marcus, thats strange but when I launch Kontact, I get the "usual" akonadi self test report (with tons of errors) and upon clicking Close, I return to Konatct. At that moment, ps -A will give nothing related to akonadi... I am not a programmer or a degugger but I cant find anything akonadi related. How did you ended up killing akonadi with the command specified in your first comment? Heres the output of ps -A for me: PID TTY TIME CMD 1 ? 00:00:01 init 2 ? 00:00:00 kthreadd 3 ? 00:00:00 migration/0 4 ? 00:00:00 ksoftirqd/0 5 ? 00:00:00 watchdog/0 6 ? 00:00:00 migration/1 7 ? 00:00:00 ksoftirqd/1 8 ? 00:00:00 watchdog/1 9 ? 00:00:00 events/0 10 ? 00:00:00 events/1 11 ? 00:00:00 khelper 14 ? 00:00:00 netns 17 ? 00:00:00 async/mgr 18 ? 00:00:00 pm 134 ? 00:00:00 sync_supers 136 ? 00:00:00 bdi-default 138 ? 00:00:00 kblockd/0 139 ? 00:00:00 kblockd/1 141 ? 00:00:00 kacpid 142 ? 00:00:00 kacpi_notify 143 ? 00:00:00 kacpi_hotplug 300 ? 00:00:00 ata/0 301 ? 00:00:00 ata/1 302 ? 00:00:00 ata_aux 303 ? 00:00:00 ksuspend_usbd 308 ? 00:00:00 khubd 311 ? 00:00:00 kseriod 342 ? 00:00:00 rpciod/0 343 ? 00:00:00 rpciod/1 370 ? 00:00:00 khungtaskd 371 ? 00:00:00 kswapd0 423 ? 00:00:00 aio/0 424 ? 00:00:00 aio/1 427 ? 00:00:00 nfsiod 432 ? 00:00:00 crypto/0 433 ? 00:00:00 crypto/1 704 ? 00:00:00 scsi_tgtd/0 705 ? 00:00:00 scsi_tgtd/1 715 ? 00:00:00 iscsi_eh 725 ? 00:00:00 scsi_eh_0 728 ? 00:00:00 scsi_eh_1 731 ? 00:00:00 scsi_eh_2 739 ? 00:00:00 scsi_eh_3 742 ? 00:00:00 scsi_eh_4 822 ? 00:00:00 kstriped 902 ? 00:00:00 reiserfs/0 903 ? 00:00:00 reiserfs/1 934 ? 00:00:00 udevd 1182 ? 00:00:00 kpsmoused 1196 ? 00:00:00 cfg80211 1237 ? 00:00:00 iwlagn 1238 ? 00:00:00 phy0 1276 ? 00:00:00 kmmcd 1295 ? 00:00:00 hd-audio0 1296 ? 00:00:00 khpsbpkt 1351 ? 00:00:00 knodemgrd_0 1389 ? 00:00:00 usbhid_resumer 1448 ? 00:00:00 bluetooth 1479 ? 00:00:00 flush-9:0 1573 ? 00:00:00 kondemand/0 1574 ? 00:00:00 kondemand/1 1648 ? 00:00:00 flush-8:16 1649 ? 00:00:00 flush-8:0 1650 ? 00:00:00 flush-9:1 1652 ? 00:00:00 syslogd 1656 ? 00:00:00 klogd 1741 ? 00:00:00 dhcpcd 1811 ? 00:00:00 rpc.portmap 1815 ? 00:00:00 rpc.statd 1825 ? 00:00:00 inetd 1832 ? 00:00:00 udevd 1833 ? 00:00:00 sshd 1843 ? 00:00:00 acpid 1855 ? 00:00:00 dbus-daemon 1860 ? 00:00:00 hald 1861 ? 00:00:00 hald-runner 1883 ? 00:00:00 hald-addon-inpu 1885 ? 00:00:00 hald-addon-rfki 1906 ? 00:00:00 hald-addon-gene 1910 ? 00:00:00 hald-addon-stor 1911 ? 00:00:00 hald-addon-cpuf 1912 ? 00:00:00 hald-addon-acpi 1930 ? 00:00:00 bluetoothd 1944 ? 00:00:00 krfcommd 1966 ? 00:00:00 cupsd 1971 ? 00:00:00 crond 1973 ? 00:00:00 atd 1998 ? 00:00:00 udevd 2003 tty6 00:00:00 agetty 2004 ? 00:00:00 kdm 2006 tty7 00:00:08 X 2008 ? 00:00:00 kdm 2014 ? 00:00:00 dbus-launch 2015 ? 00:00:00 dbus-daemon 2023 ? 00:00:00 console-kit-dae 2093 ? 00:00:00 startkde 2147 ? 00:00:00 dbus-launch 2148 ? 00:00:00 dbus-daemon 2155 ? 00:00:00 start_kdeinit 2156 ? 00:00:00 kdeinit4 2157 ? 00:00:00 klauncher 2159 ? 00:00:00 kded4 2161 ? 00:00:00 gam_server 2185 ? 00:00:00 kwrapper4 2186 ? 00:00:00 ksmserver 2188 ? 00:00:01 kwin 2190 ? 00:00:00 kglobalaccel 2193 ? 00:00:00 knotify4 2194 ? 00:00:02 plasma-desktop 2195 ? 00:00:00 kio_desktop 2196 ? 00:00:00 kio_trash 2197 ? 00:00:00 kio_file 2206 ? 00:00:01 krunner 2208 ? 00:00:00 blueman-applet 2209 ? 00:00:00 python 2215 ? 00:00:00 polkit-kde-auth 2216 ? 00:00:00 kmix 2218 ? 00:00:00 polkitd 2220 ? 00:00:00 guidance-power- 2221 ? 00:00:00 python 2222 ? 00:00:00 python 2230 ? 00:00:00 obex-data-serve 2233 ? 00:00:04 kontact 2251 ? 00:00:00 kwalletd 2253 ? 00:00:00 korgac 2254 ? 00:00:00 kio_file 2256 ? 00:00:00 kio_file 2257 ? 00:00:00 kio_file 2258 ? 00:00:00 kio_file 2259 ? 00:00:00 kio_file 2260 ? 00:00:00 kio_file 2261 ? 00:00:00 kio_file 2262 ? 00:00:00 kio_file 2263 ? 00:00:00 kio_file 2264 ? 00:00:00 kio_file 2265 ? 00:00:00 kio_file 2266 ? 00:00:00 kio_file 2268 ? 00:00:00 kwalletmanager 2269 ? 00:00:00 kio_pop3 2273 ? 00:00:00 firefox 2287 ? 00:00:00 run-mozilla.sh 2291 ? 00:00:03 firefox-bin 2299 ? 00:00:00 gconfd-2 2312 ? 00:00:00 konsole 2314 pts/1 00:00:00 bash 2327 pts/1 00:00:00 bash 2328 pts/1 00:00:00 ps Created attachment 51005 [details]
Processes after kmail was killed within ssh session initiated from pc to notebook
Created attachment 51007 [details]
Processes running on notebook after kmail was started on pc
Created attachment 51008 [details]
processes running on notebook after kmail was terminated
Created attachment 51009 [details]
Processes after ssh connection from pc to notebook was terminated
Good news: I did manage to reproduce the problem. 01: start kmail on notebook 02: ssh into notebook from pc 03: run "killall kmail" in ssh session, killing ssh on notebook. (Processes see attached 01*.txt) 04: start kmail in ssh session (Processes see attached 01*.txt) 05: check mail => invokes kwallet on the pc (!) 06: unlock wallet 07: check mail, send mail works fine now 08: terminate kmail (using c-q) 09: process that are running now on notebook see attached 03*.txt Most noteworthy: Akonadi processes are still there 10: back at the notebook's desktop: start kmail 11: send an email: still works 12: terminate the ssh session (and also the wallet) 13: sending emails will freeze kmail from now on For me, to reproduce the problem, I only have to launch Kmail, kwallet popup asking for password, I open the wallet, akonadi shows a error report saying that, among other errors, it is not registered with D-Bus, and I close the error report. Kmail works fine until I create a new email and click send... Until I click send, I did not experience any other problems. Kalendar is working fine, The contacts are not accessible (because of akonadi not started) and thats about it. I can receive emails w/o problems. All that time, no akonadi instance in the processes list. I can confirm this. My solution: If you send email, in "top" you'll see one instance of virtuoso-t with 100% CPU or near 100%. I kill this instance of virtuoso-t and now Kontact runs perfectly until restarted. So you don't need to kill all akonadi or all nepomuk. Just this specific instance of virtuoso-t. This suggests that the bug is with nepomuk and akonadi I tried what you suggested, and while kontact was frozen, waiting to be killed, here was the content of ps -A. Like you can see, there is nothing about virtuoso ... Important to mention kontact does not really freeze as the cursor still blinks, and I can switch from the email window to the main interface... The UI just no longer function. Buttons are like pictures, and textboxes are too like pictures, sytatic images... Cant even change the focus from element to element. PID TTY TIME CMD 1 ? 00:00:03 init 2 ? 00:00:00 kthreadd 3 ? 00:00:00 migration/0 4 ? 00:00:02 ksoftirqd/0 5 ? 00:00:00 watchdog/0 6 ? 00:00:00 migration/1 7 ? 00:00:02 ksoftirqd/1 8 ? 00:00:00 watchdog/1 9 ? 00:00:02 events/0 10 ? 00:00:03 events/1 11 ? 00:00:00 khelper 14 ? 00:00:00 netns 17 ? 00:00:00 async/mgr 18 ? 00:00:00 pm 134 ? 00:01:10 sync_supers 136 ? 00:00:00 bdi-default 138 ? 00:00:01 kblockd/0 139 ? 00:00:02 kblockd/1 141 ? 00:00:00 kacpid 142 ? 00:00:00 kacpi_notify 143 ? 00:00:00 kacpi_hotplug 301 ? 00:00:17 ata/0 302 ? 00:00:16 ata/1 303 ? 00:00:00 ata_aux 304 ? 00:00:00 ksuspend_usbd 309 ? 00:00:00 khubd 312 ? 00:00:00 kseriod 343 ? 00:00:03 rpciod/0 344 ? 00:00:03 rpciod/1 371 ? 00:00:00 khungtaskd 372 ? 00:00:24 kswapd0 424 ? 00:00:00 aio/0 425 ? 00:00:00 aio/1 428 ? 00:00:13 nfsiod 433 ? 00:00:00 crypto/0 434 ? 00:00:00 crypto/1 705 ? 00:00:00 scsi_tgtd/0 706 ? 00:00:00 scsi_tgtd/1 716 ? 00:00:00 iscsi_eh 726 ? 00:00:00 scsi_eh_0 729 ? 00:00:00 scsi_eh_1 732 ? 00:00:00 scsi_eh_2 740 ? 00:01:10 scsi_eh_3 743 ? 00:00:00 scsi_eh_4 823 ? 00:00:00 kstriped 903 ? 00:00:00 reiserfs/0 904 ? 00:00:00 reiserfs/1 935 ? 00:00:00 udevd 1175 ? 00:00:00 kpsmoused 1185 ? 00:00:00 cfg80211 1212 ? 00:00:00 iwlagn 1213 ? 00:00:00 phy0 1249 ? 00:00:00 hd-audio0 1312 ? 00:00:00 kmmcd 1324 ? 00:00:00 khpsbpkt 1333 ? 00:00:00 knodemgrd_0 1374 ? 00:00:00 usbhid_resumer 1431 ? 00:00:00 bluetooth 1556 ? 00:01:56 kondemand/0 1557 ? 00:01:54 kondemand/1 1635 ? 00:00:00 syslogd 1639 ? 00:00:00 klogd 1724 ? 00:00:00 dhcpcd 1794 ? 00:00:00 rpc.portmap 1798 ? 00:00:00 rpc.statd 1808 ? 00:00:00 inetd 1817 ? 00:00:00 sshd 1827 ? 00:00:00 acpid 1839 ? 00:01:27 dbus-daemon 1844 ? 00:02:18 hald 1845 ? 00:00:00 hald-runner 1867 ? 00:00:01 hald-addon-inpu 1869 ? 00:00:00 hald-addon-rfki 1890 ? 00:00:00 hald-addon-gene 1905 ? 00:01:23 hald-addon-stor 1906 ? 00:00:08 hald-addon-cpuf 1907 ? 00:00:00 hald-addon-acpi 1914 ? 00:00:00 bluetoothd 1928 ? 00:00:00 krfcommd 1949 ? 00:00:01 cupsd 1955 ? 00:00:00 crond 1957 ? 00:00:00 atd 1991 tty6 00:00:00 agetty 1992 ? 00:00:00 kdm 1994 tty7 00:36:07 X 1998 ? 00:00:00 kdm 2003 ? 00:00:00 dbus-launch 2004 ? 00:00:00 dbus-daemon 2015 ? 00:00:00 console-kit-dae 2085 ? 00:00:00 startkde 2139 ? 00:00:00 dbus-launch 2140 ? 00:00:35 dbus-daemon 2147 ? 00:00:00 start_kdeinit 2148 ? 00:00:01 kdeinit4 2149 ? 00:00:02 klauncher 2151 ? 00:00:36 kded4 2153 ? 00:00:00 gam_server 2157 ? 00:00:02 flush-8:0 2180 ? 00:00:00 kwrapper4 2181 ? 00:00:01 ksmserver 2183 ? 00:01:06 kwin 2185 ? 00:00:01 kglobalaccel 2188 ? 00:00:02 knotify4 2189 ? 00:04:06 plasma-desktop 2193 ? 00:00:56 flush-8:16 2204 ? 00:00:37 krunner 2210 ? 00:00:00 blueman-applet 2213 ? 00:00:01 python 2219 ? 00:00:00 polkit-kde-auth 2220 ? 00:00:01 kmix 2222 ? 00:00:00 polkitd 2224 ? 00:00:01 python 2225 ? 00:00:12 python 2226 ? 00:03:01 guidance-power- 2234 ? 00:00:00 obex-data-serve 2318 ? 00:00:15 kio_http_cache_ 8046 ? 00:00:00 kio_trash 8055 ? 00:00:00 kio_trash 8355 ? 00:00:00 kio_trash 8356 ? 00:00:00 kio_trash 8357 ? 00:00:00 kio_trash 8360 ? 00:00:00 kdesud 8374 ? 00:00:00 dbus-launch 8375 ? 00:00:00 dbus-daemon 19668 ? 04:14:47 ktorrent 19699 ? 00:00:55 nspluginviewer 20768 ? 00:00:00 udevd 20769 ? 00:00:00 udevd 27008 ? 00:00:01 python <defunct> 27500 ? 00:00:00 flush-9:0 29188 ? 00:00:00 kio_http 29189 ? 00:00:00 kio_http 29237 ? 00:00:00 kio_http 29238 ? 00:00:00 kio_http 29297 ? 00:00:00 firefox 29310 ? 00:00:00 run-mozilla.sh 29314 ? 00:00:14 firefox-bin 29322 ? 00:00:00 gconfd-2 29325 ? 00:00:00 flush-9:1 29337 ? 00:00:00 kio_file 29353 ? 00:00:07 kontact 29371 ? 00:00:00 kwalletd 29373 ? 00:00:00 korgac 29375 ? 00:00:00 kio_file 29376 ? 00:00:00 kio_file 29377 ? 00:00:00 kio_file 29378 ? 00:00:00 kio_file 29381 ? 00:00:00 kio_file 29382 ? 00:00:00 kio_file 29385 ? 00:00:00 kio_file 29387 ? 00:00:00 kio_pop3 29388 ? 00:00:00 kwalletmanager 29396 ? 00:00:00 kio_http 29397 ? 00:00:00 kio_http 29398 ? 00:00:00 kio_http 29399 ? 00:00:00 kio_http 29400 ? 00:00:00 kio_http 29401 ? 00:00:00 kio_http 29402 ? 00:00:00 kio_http 29403 ? 00:00:00 kio_http 29404 ? 00:00:00 kio_http 29405 ? 00:00:00 kio_http 29406 ? 00:00:00 kio_http 29407 ? 00:00:00 kio_http 29408 ? 00:00:00 kio_http 29409 ? 00:00:00 kio_http 29410 ? 00:00:00 kio_http 29411 ? 00:00:00 kio_http 29412 ? 00:00:00 kio_http 29413 ? 00:00:00 kio_http 29414 ? 00:00:00 kio_http 29415 ? 00:00:00 kio_http 29416 ? 00:00:00 kio_trash 29417 ? 00:00:00 kio_file 29498 ? 00:00:01 dolphin 29499 ? 00:00:00 kio_trash 29500 ? 00:00:00 kio_thumbnail 29506 ? 00:00:00 konsole 29508 pts/1 00:00:00 bash 29521 pts/1 00:00:00 ps I ran into this with Kmail 1.13.2 on Kbuntu 10.04 LTS running KDE 4.4.2 but the suggestion in Comment #1 From Marcus Hardt seems to do the trick for me to get it working again. Got this very same behavior (and workaround from above works too) on Fedora Core 14 with: KMail Version 1.13.5 Using KDE Development Platform 4.5.3 (KDE 4.5.3) Hopefully akonadi rewrites in 4.6 KDEPIM will resolve this, otherwise it is very well the main source of my frustrations with otherwise pretty well functioning KDE environment. One trigger for this problem seems to be a stuck strigi indexer. Look for the strigi symbol persisting in the system tray and constantly showing the same file within the mail hierarchy. Could the real issue be a race condition within strigi? Thank you for your report. Kmail1 is currently unmaintained and the code has changed sufficiently in Kmail2 so the backtraces are not really useful anymore. Should you experience the same crash in Kmail 4.8.5 or later, please open a new report for Kmail2. Thank you for your understanding |