Summary: | pop3: mails are often not deleted on the server (web.de) -> I get many duplicate messages | ||
---|---|---|---|
Product: | [Unmaintained] kmail | Reporter: | Arne Babenhauserheide <arne_bab> |
Component: | pop3 | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | arne_bab, bjoern, dc, ianseeks, kde-bugs, kfunk, michael, Samuele.Kaplun, sven-ola |
Priority: | NOR | ||
Version: | 1.13.1 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
POP3 Mail session, one with error next is OK. Also patch for my debug hacks.
Fix for POP3 ioslave buffer handling Fix for POP3 ioslave buffer handling (the correct one) |
Description
Arne Babenhauserheide
2010-03-09 10:31:29 UTC
*** Bug 230390 has been marked as a duplicate of this bug. *** After some more time, I have the vague impression that this problem tends to appear, when the computer is working heavily. Specifically, the Nepomuk Strigi File Indexer seems to cause or exacerbate a system state where the problem is more likely to occur. The immediate cause I can think of is that some process, such as strigi, consumes so much CPU or IO bandwidth that POP3 operations time out or otherwise don't execute properly. Any updates on this? Tbh, I also think that this bug depends on system load. Created attachment 48654 [details]
POP3 Mail session, one with error next is OK. Also patch for my debug hacks.
Hey, bug also shows up on Kubuntu/Lynx (1.13.2), "Leave mail on server", Sometimes got "Invalid response from server", sometimes not. Have added some fprintf() to pop3.cpp in the pop3 KIO-Slave. Probably an error in the myReadLine() function. I'll attached (see above) the outcome of my fprintf's together with a source diff and snarfed pop3 sessions using tcpflow for investigation. May be a duplicate of these: https://bugs.kde.org/show_bug.cgi?id=232245 https://bugs.kde.org/show_bug.cgi?id=238800 https://bugs.kde.org/show_bug.cgi?id=242933 Needed a bit, because sometimes anything work. The culprit seems to be overlapping-buffer-mixing-by-memcpy. I'll attach a patch that should fix the POP3 kioslave. Signed-off-by: Sven-Ola Tuecke <sven-ola-aet-gmx.de> Created attachment 49229 [details]
Fix for POP3 ioslave buffer handling
Signed-off-by: Sven-Ola Tuecke <sven-ola-aet.gmx.de>
Created attachment 49236 [details]
Fix for POP3 ioslave buffer handling (the correct one)
Signed-of-By: Sven-Ola
*** Bug 232245 has been marked as a duplicate of this bug. *** SVN commit 1156867 by tmcguire: Fix POP3 mailcheck aborting because of internal memory errors. We were using memcpy() with overlapping memory regions, which does not work. Now, use memmove(). Thanks to Sven-Ola Tuecke <sven-ola at gmx dot de> for finding and fixing this problem! BUG: 230072 M +2 -2 pop3.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1156867 will the fix be backported into current kdepim, or will it go only into 4.5.1? @Arne, this patch was applied to the 4.5 branch, and merged to current trunk. Thanks for fixing this, Thomas Kmail does not retrieve all emails from my POP3 mailboxes, it replaces a lost email with a dummy email with strange content. Between the "===" lines is a copy of the content of the strange email substitute. ============================== Status: R X-Status: N X-KMail-EncryptionState: X-KMail-SignatureState: X-KMail-MDN-Sent: Subject: Date: Sunday 07 Feb 2106 From: To: 1 UID35-1224801402 2 UID36-1224801402 3 UID37-1224801402 ======================================= The "lost" email remains on the ISP mailbox as "read". If i set it back to unread Kmail still will not get it. reported on bug 245943 - happens on kmail 1.13.5 *** Bug 234832 has been marked as a duplicate of this bug. *** *** Bug 238800 has been marked as a duplicate of this bug. *** On Tuesday 07 September 2010 08:54:02 Kevin Funk wrote:
> https://bugs.kde.org/show_bug.cgi?id=230072
>
>
> Kevin Funk <krf@electrostorm.net> changed:
>
> What |Removed |Added
> ---------------------------------------------------------------------------
> - CC| |philschmidt@gmx.net
>
>
>
>
> --- Comment #14 from Kevin Funk <krf electrostorm net> 2010-09-07 09:53:59
> --- *** Bug 234832 has been marked as a duplicate of this bug. ***
Thats unfortunate. Ingo told me that the kmail team is too small to
check/deal with the bug list so it may take a long time before its looked at.
I've got a major bug in the list where it does not even retrieve the emails,
it gives me a weird email instead of the actual email.
Patience is your friend
regards
Ian
I get no more duplicate emails since the last update. Many thanks! |