Bug 153665 - kio_imap4 stalls when searching the "/ folder" of an imap account
Summary: kio_imap4 stalls when searching the "/ folder" of an imap account
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: imap (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-08 09:02 UTC by Thorsten Staerk
Modified: 2018-11-17 12:45 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
test case to reproduce (622.45 KB, application/x-gzip)
2007-12-08 22:50 UTC, Thorsten Staerk
Details
debugging output of non-blocking program (3.40 KB, application/octet-stream)
2007-12-08 23:52 UTC, Thorsten Staerk
Details
debugging output of blocking program (3.00 KB, application/octet-stream)
2007-12-08 23:53 UTC, Thorsten Staerk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thorsten Staerk 2007-12-08 09:02:28 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

As discussed in bug 153448, kio_imap4 stalls when searching the "/ folder" of an imap account.
Comment 1 Thorsten Staerk 2007-12-08 22:50:31 UTC
Created attachment 22415 [details]
test case to reproduce

this is a test case to reproduce, you will need a cyrus or exchange or dovecot
imap server on localhost and a user dummy with password password. Start the
program and click on the button. With strace you can see that kio_imap4 stalls
on a select operation.
Comment 2 Thorsten Staerk 2007-12-08 22:56:10 UTC
The relevant thing about Attachment #22415 [details] is that if you change the URL from "imap://dummy:password@localhost:143/;SECTION%3DHEADER%20Subject%20%22E%22" to
"imap://dummy:password@localhost:143/inbox;SECTION%3DHEADER%20Subject%20%22E%22"

it works perfectly. And otherwise, the kioslave stalls and prevents other folders from being searched and mails from being displayed.
Comment 3 Thorsten Staerk 2007-12-08 23:52:33 UTC
Created attachment 22417 [details]
debugging output of non-blocking program

I used https://svn.kde.org/home/kde/trunk/KDE/kdesdk/scripts/add_trace to
change all .cpp files in the imap kioslave, recompiled and used kdebugdialog
--fullmode to put all imap4 related debugging output into a file. Here it is,
it is from a non-blocking run (so, searching in /inbox).
Comment 4 Thorsten Staerk 2007-12-08 23:53:43 UTC
Created attachment 22418 [details]
debugging output of blocking program

I used https://svn.kde.org/home/kde/trunk/KDE/kdesdk/scripts/add_trace to
change all .cpp files in the imap kioslave, recompiled and used kdebugdialog
--fullmode to put all imap4 related debugging output into a file. Here it is,
it is from a blocking run (so, searching in /).
Comment 5 Thomas McGuire 2007-12-12 23:39:06 UTC
Reassigning the bugs of the SMTP, IMAP and POP ioslaves to kdepim-bugs.
Comment 6 Christophe Marin 2018-11-17 12:45:00 UTC
kio_imap4 doesn't exist anymore.