[Kolab-devel] [issue3720] Online imap hang in select of KIO::SlaveBase::dispatchLoop under certain network conditions

Bernhard Reiter kolab-issues at intevation.de
Tue Jun 30 14:29:14 CEST 2009


New submission from Bernhard Reiter <bernhard at intevation.de>:

Online IMAP Account can hang on email check
then it does not display the contents of the INBOX folder anymore
even if the kio_imap4 slave is killed.
See 20090630-kontact-hang-1.png which has the progress bar that does not
go away anymore.

Architecture: i386
Source: kdepim
Version: 4:3.5.10.enterprise.0.20090522.971351-kk2

1 S uxr      12205 32520  0  80   0 - 14864 -      01:35 ?        00:00:16 
kio_imap4 [kdeinit] 
imaps /tmp/ksocket-uxr/klauncherJpnNLa.slave-socket /tmp/ksocket-uxr/kontact7Vnlkc.slave-socket

strace gives me only one line:
select(6, [5], NULL, NULL, NULL <unfinished ...>

Killing 12205 does not help to get the view of emails back, stopping and 
restarting Kontact does.

gdb) bt
#0  0xb7d36cd7 in select () from /lib/tls/libc.so.6
#1  0xb7ab3bbb in KIO::SlaveBase::dispatchLoop (this=0x808b898) 
at /build/buildd/kdelibs-3.5.5a.dfsg.1/./kio/kio/slavebase.cpp:282
#2  0xb663fc3c in kdemain (argc=4, argv=0x805b538) at imap4.cc:135
#3  0x0804e457 in launch (argc=4, _name=0x8079a74 "kio_imap4", 
args=0x8079add "", cwd=0x0, envc=0, envs=0x8079ae2 "", reset_env=false, 
tty=0x0, avoid_loops=false,
    startup_id_str=0x8050d2e "0") 
at /build/buildd/kdelibs-3.5.5a.dfsg.1/./kinit/kinit.cpp:673
        #4  0x0804ecf9 in handle_launcher_request (sock=11) 
at /build/buildd/kdelibs-3.5.5a.dfsg.1/./kinit/kinit.cpp:1240
        #5  0x0804f092 in handle_requests (waitForPid=0) 
at /build/buildd/kdelibs-3.5.5a.dfsg.1/./kinit/kinit.cpp:1443
        #6  0x080502b1 in main (argc=5, argv=0xbfc3c054, envp=0xbfc3c06c) 
at /build/buildd/kdelibs-3.5.5a.dfsg.1/./kinit/kinit.cpp:1909
        #7  0xb7c86ea8 in __libc_start_main () from /lib/tls/libc.so.6
        #8  0x0804b911 in _start () at ../sysdeps/i386/elf/start.S:119

It seems there is a code path where there is no timeout on the used select().

----------
assignedto: allen
files: 20090630-kontact-hang-1.png
messages: 20712
nosy: allen, bernhard, ludwig, till
priority: bug
status: unread
title: Online imap hang in select of KIO::SlaveBase::dispatchLoop under certain network conditions
topic: enterprise35, kde client
___________________________________________________
Kolab issue tracker <kolab-issues at intevation.de>
<https://www.intevation.de/roundup/kolab/issue3720>
___________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20090630-kontact-hang-1.png
Type: image/png
Size: 21477 bytes
Desc: not available
URL: <http://lists.kolab.org/pipermail/devel/attachments/20090630/bf58dc5f/attachment.png>


More information about the devel mailing list