[opensuse-kde3] Re: kmail imap issues with 12.1
Hi, I'd like to know if there are any news on the problem reported by Hans-Peter Jansen in November last year? Yesterday I ran into the same problem for the second time with a clean, new installation. The first time I experienced this was in December last year, and when I reverted to the 32bit system like Hans-Peter did, everything was fine. But now, for the second machine with 8GB RAM, 32bit is not really an option... I installed opensuse from the DVD image, used the 1-click install for KDE3 applied all available updates. Then I started to set up the IMAP accounts in kmail in order to check if this issue has been solved in the meantime, but as soon as I added the second account, again I got stuck with endless "Retrieving folder contents" and kio_imap4 at 100%. Deleting the second account again did not help. Cheers, Carolin -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On Thursday 08 March 2012 16:30:33 Carolin Liefke wrote:
Hi,
I'd like to know if there are any news on the problem reported by Hans-Peter Jansen in November last year?
Yesterday I ran into the same problem for the second time with a clean, new installation. The first time I experienced this was in December last year, and when I reverted to the 32bit system like Hans-Peter did, everything was fine. But now, for the second machine with 8GB RAM, 32bit is not really an option...
I installed opensuse from the DVD image, used the 1-click install for KDE3 applied all available updates. Then I started to set up the IMAP accounts in kmail in order to check if this issue has been solved in the meantime, but as soon as I added the second account, again I got stuck with endless "Retrieving folder contents" and kio_imap4 at 100%. Deleting the second account again did not help.
Cheers, Carolin
Try this patch: http://git.overlays.gentoo.org/gitweb/?p=proj/kde-sunset.git;a=blob_plain;f=... -- Serghei -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On Thursday 08 March 2012 18:35:16 Serghei Amelian wrote:
I'd like to know if there are any news on the problem reported by Hans-Peter Jansen in November last year?
Yesterday I ran into the same problem for the second time with a clean, new installation. The first time I experienced this was in December last year, and when I reverted to the 32bit system like Hans-Peter did, everything was fine. But now, for the second machine with 8GB RAM, 32bit is not really an option...
I installed opensuse from the DVD image, used the 1-click install for KDE3 applied all available updates. Then I started to set up the IMAP accounts in kmail in order to check if this issue has been solved in the meantime, but as soon as I added the second account, again I got stuck with endless "Retrieving folder contents" and kio_imap4 at 100%. Deleting the second account again did not help.
Cheers, Carolin
Try this patch:
http://git.overlays.gentoo.org/gitweb/?p=proj/kde-sunset.git;a=blob_plain;f=...
Thanks, Serghei! I applied your patch, it is rebuilding now. Those who use imap, please report the outcome. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
Thanks, Serghei! I applied your patch, it is rebuilding now.
Those who use imap, please report the outcome.
Hi Ilya, hi Serghei, unfortunately, no, it didn't help. I even tried with a new user, setting up the udated kmail for the first time. At first everything seemed fine, but now I'm again still retrieving and retrieving... Cheers, Carolin -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On Sunday 11 March 2012 21:36:51 Carolin Liefke wrote:
Thanks, Serghei! I applied your patch, it is rebuilding now.
Those who use imap, please report the outcome.
Hi Ilya, hi Serghei,
unfortunately, no, it didn't help. I even tried with a new user, setting up the udated kmail for the first time. At first everything seemed fine, but now I'm again still retrieving and retrieving...
Check if is the same bug (100% cpu load).
Cheers, Carolin
-- Serghei -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On Sunday 11 March 2012 22:18:01 Serghei Amelian wrote:
On Sunday 11 March 2012 21:36:51 Carolin Liefke wrote:
Thanks, Serghei! I applied your patch, it is rebuilding now.
Those who use imap, please report the outcome.
Hi Ilya, hi Serghei,
unfortunately, no, it didn't help. I even tried with a new user, setting up the udated kmail for the first time. At first everything seemed fine, but now I'm again still retrieving and retrieving...
Check if is the same bug (100% cpu load).
[...] I think is this old and very annoying bug: https://bugs.kde.org/show_bug.cgi?id=77862 -- Serghei -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On Sunday 11 March 2012 23:36:51 Carolin Liefke wrote:
Those who use imap, please report the outcome.
Hi Ilya, hi Serghei,
unfortunately, no, it didn't help. I even tried with a new user, setting up the udated kmail for the first time. At first everything seemed fine, but now I'm again still retrieving and retrieving...
I added one more patch for imap. Please report back if it works. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On Monday 12 March 2012 21:46:12 Carolin Liefke wrote:
Hi Ilya,
I added one more patch for imap. Please report back if it works.
unfortunately, it's still the same...
Cheers, Carolin
In this case, we need a bigger hammer :) Install gdb and debug packages for kdepim and kdelibs. Then, when kio_imap4 hangs, open a terminal and run (PID_OF_IMAP4 is pid of kio_imap4, of course): gdb kio_imap4 PID_OF_IMAP4 gdb will attach to kio_imap4, and now we will ask it for backtrace. Type bt and you should see something like this: (gdb) bt #0 0xffffe424 in __kernel_vsyscall () #1 0xb66a3621 in select () at ../sysdeps/unix/syscall-template.S:82 #2 0xb74d2dea in KIO::SlaveBase::dispatchLoop (this=0x80a0208) at /var/tmp/portage/kde3-base/kdelibs-9999/work/kdelibs/kio/kio/slavebase.cpp:286 #3 0xb5b79672 in kdemain (argc=4, argv=0x8080678) at /var/tmp/portage/kde3-base/kdepim-kioslaves-9999/work/kdepim/kioslaves/imap4/imap4.cc:135 #4 0x08050060 in launch (argc=4, _name=0x808a35c "kio_imap4", args=0x808a3cc "", cwd=0x0, envc=0, envs=0x808a3d0 "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x8054ea2 "0") at /var/tmp/portage/kde3-base/kdelibs-9999/work/kdelibs/kinit/kinit.cpp:662 #5 0x08051670 in handle_launcher_request (sock=9) at /var/tmp/portage/kde3-base/kdelibs-9999/work/kdelibs/kinit/kinit.cpp:1229 #6 0x08051ceb in handle_requests (waitForPid=0) at /var/tmp/portage/kde3-base/kdelibs-9999/work/kdelibs/kinit/kinit.cpp:1432 #7 0x08053395 in main (argc=5, argv=0xbfe336d4, envp=0xbfe336ec) at /var/tmp/portage/kde3-base/kdelibs-9999/work/kdelibs/kinit/kinit.cpp:1893 (gdb) Give me the backtrace and I will try to figure out what happens. -- Serghei -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
Hi Serghei,
In this case, we need a bigger hammer :)
ok, then let's nail it down :-) This is what I get: #0 0x00007fa235879140 in __strlen_sse42 () from /lib64/libc.so.6 #1 0x00007fa230bd0cd3 in KMime::addQuotes(QCString&, bool) () from /opt/kde3/lib64/libkmime.so.2 #2 0x00007fa2310561a3 in mailAddress::getStr (this=0x7730f0) at mailaddress.cc:206 #3 0x00007fa231077536 in mailHeader::getAddressStr (aList=0x711800) at mailheader.cc:197 #4 0x00007fa231077a94 in mailHeader::outputHeader (this=0x711610, useIO=...) at mailheader.cc:139 #5 0x00007fa231057bf2 in mimeHeader::outputPart (this=0x711610, useIO=...) at mimeheader.cc:439 #6 0x00007fa2310680ed in IMAP4Protocol::get (this=0x674d60, _url=<optimized out>) at imap4.cc:370 #7 0x00007fa2373bbaec in KIO::SlaveBase::dispatch (this=0x674d60, command=<optimized out>, data=...) at kio/kio/slavebase.cpp:1046 #8 0x00007fa23739e7b8 in KIO::SlaveBase::dispatchLoop (this=0x674d60) at kio/kio/slavebase.cpp:301 #9 0x00007fa23105c912 in kdemain (argc=<optimized out>, argv=<optimized out>) at imap4.cc:135 #10 0x0000000000408754 in launch (argc=4, _name=<optimized out>, args=<optimized out>, cwd=0x0, envc=<optimized out>, envs=<optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x40a9e9 "0") at kinit/kinit.cpp:673 #11 0x00000000004092fe in handle_launcher_request (sock=<optimized out>) at kinit/kinit.cpp:1240 #12 0x0000000000409b0a in handle_requests (waitForPid=0) at kinit/kinit.cpp:1443 #13 0x0000000000405b4c in main (argc=5, argv=0x7fff82a39222, envp=0x7fff00000001) at kinit/kinit.cpp:1908 I also noticed that the CPU use of kio_imap4 drops to zero within a few seconds after I start gdb, and goes back to 100% when I quit it. Is that normal? (I use gdb for the first time...) Cheers, Carolin -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On Monday 12 March 2012 22:27:06 Carolin Liefke wrote:
Hi Serghei,
In this case, we need a bigger hammer :)
ok, then let's nail it down :-)
This is what I get:
[...]
#6 0x00007fa2310680ed in IMAP4Protocol::get (this=0x674d60, _url=<optimized out>) at imap4.cc:370
[...] I think I found the offending function, but I can't reproduce the bug. When exactly it happens?
I also noticed that the CPU use of kio_imap4 drops to zero within a few seconds after I start gdb, and goes back to 100% when I quit it. Is that normal? (I use gdb for the first time...)
I'm not sure, i think gdb freeze the process.
Cheers, Carolin
-- Serghei -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
Hi Serghei,
#6 0x00007fa2310680ed in IMAP4Protocol::get (this=0x674d60, _url=<optimized out>) at imap4.cc:370
[...]
I think I found the offending function, but I can't reproduce the bug. When exactly it happens?
it seems to be some sort of indexing problem for the content of the different IMAP folders and subfolders. At the very beginning, everything looks quite normal. I can see the IMAP accounts and their folders on the left. I also can access some folders, and read the emails they contain. But at some point, retrieving the folder contents of a certain folder (it does not matter which one oder from which account) stops with the number displayed in the size column much smaller than in other instances of kmail. I also can see that the other kmail instances seem to do the indexing in the background at start up, and at some point all folders are listed on the left with their size, while the 12.1 version only starts collecting this information when I start accessing folders. I have to say that one of my mailboxes tends to have a size close to 1 GB. Once kmail is stuck in this loop, it's very difficult to get it back to normal. Quitting kmail, logging out or even a reboot does not help. Sometimes changing to a folder from one of the other accounts does. Cheers Carolin -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
participants (3)
-
Carolin Liefke
-
Ilya Chernykh
-
Serghei Amelian