[Akonadi] [Bug 319226] New: produces 1-byte-sized files on failed move attempts while filtering

Martin Steigerwald Martin at Lichtvoll.de
Thu May 2 15:57:48 BST 2013


https://bugs.kde.org/show_bug.cgi?id=319226

            Bug ID: 319226
           Summary: produces 1-byte-sized files on failed move attempts
                    while filtering
    Classification: Unclassified
           Product: Akonadi
           Version: 4.10
          Platform: Debian unstable
                OS: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: NOR
         Component: Maildir Resource
          Assignee: kdepim-bugs at kde.org
          Reporter: Martin at Lichtvoll.de

It may also be mail filter related, but since 1-byte sized files happened on a
move between mixed maildir resource and pure maildir resource, I´d chosen
maildir resource for now (bug #319175).

After having experienced mentioned bug and bug #318290, I thought I better
check for 1-byte sized files, and unfortunately I found some. As I checked I
had a POP3 retrieval and filtering in running. And I got a popup that it
couldn´t move a mile with the name of a maildir file. And then I got another
1-byte sized file.

I am sorry, but Akonadi seems to loose data - unless the mail is moved at
another time. With a single maildir resource and on Ext4. On this fifth
migration attempt I just copied the contents of my old KMail-1 maildir (no mbox
files in it) attempt to ~/.local/share/local-mail and started KMail 2 and
filter rules from scratch.

Reproducible: Sometimes

Steps to Reproduce:
1. Have a POP3 maildir resource with lots of mails and folders in it.
2. Have mailing lists, including high volume mailing lists flowing into it.
3. Have some 20-30 filter rules at least.
4. Do a POP3 retrieval after some mails piled up.
Actual Results:  
On first check for one byte sized files I got:

martin at merkaba:~/.local/share/local-mail> find -size 1c              
./.Lichtvoll.directory/.Debian.directory/hurd-ml/new/1367483178.R504.merkaba
./.Lichtvoll.directory/.Debian.directory/hurd-ml/new/1367483178.R989.merkaba
./.Lichtvoll.directory/.Debian.directory/hurd-ml/new/1367483178.R335.merkaba
./.Lichtvoll.directory/.Debian.directory/hurd-ml/cur/1367483178.R30.merkaba:2,S

(the last file seems to be from KMail-1. Dunno whats happening there)

martin at merkaba:~/.local/share/local-mail> find -size 1c
./.Lichtvoll.directory/.Amiga.directory/[…]/new/1367505273.R463.merkaba
./.Lichtvoll.directory/.Linux.directory/kernel-ml/new/1367505281.R162.merkaba
./.Lichtvoll.directory/.Linux.directory/kernel-ml/new/1367505281.R263.merkaba
./.Lichtvoll.directory/.Debian.directory/hurd-ml/new/1367483178.R504.merkaba
./.Lichtvoll.directory/.Debian.directory/hurd-ml/new/1367483178.R989.merkaba
./.Lichtvoll.directory/.Debian.directory/hurd-ml/new/1367483178.R335.merkaba
./.Lichtvoll.directory/.Debian.directory/hurd-ml/cur/1367483178.R30.merkaba:2,S

The debian-hurd folder has four mails with no subject. The Linux kernel ml
folder has two such messages in it, and the Amiga related folder one.

martin at merkaba:~/.local/share/local-mail> find -size 1c | xargs hd
00000000  0a 0a 0a 0a 0a 0a 0a                              |.......|
00000007

Seven files, seven line feeds.


Expected Results:  
No mail data loss at all.

martin at merkaba:~> apt-show-versions | egrep "(mysql|akonadi|kmail)"
akonadi-backend-mysql/experimental uptodate 1.9.1-2
akonadi-backend-postgresql/experimental uptodate 1.9.1-2
akonadi-backend-sqlite/experimental uptodate 1.9.1-2
akonadi-server/experimental uptodate 1.9.1-2
akonadiconsole/experimental uptodate 4:4.10.2-2
kmail/experimental uptodate 4:4.10.2-2
libakonadi-calendar4/experimental uptodate 4:4.10.2-2
libakonadi-contact4/experimental uptodate 4:4.10.2-2
libakonadi-kabc4/experimental uptodate 4:4.10.2-2
libakonadi-kcal4/experimental uptodate 4:4.10.2-2
libakonadi-kde4/experimental uptodate 4:4.10.2-2
libakonadi-kmime4/experimental uptodate 4:4.10.2-2
libakonadi-notes4/experimental uptodate 4:4.10.2-2
libakonadiprotocolinternals1/experimental uptodate 1.9.1-2
libdbd-mysql-perl/sid uptodate 4.021-1+b1
libmysqlclient-dev/sid uptodate 5.5.30+dfsg-1.1
libmysqlclient18/sid uptodate 5.5.30+dfsg-1.1
libqt4-sql-mysql/sid uptodate 4:4.8.2+dfsg-11
mysql-client/sid uptodate 5.5.30+dfsg-1.1
mysql-client-5.5/sid uptodate 5.5.30+dfsg-1.1
mysql-common/sid uptodate 5.5.30+dfsg-1.1
mysql-server-core-5.5/sid uptodate 5.5.30+dfsg-1.1
python-mysqldb/sid uptodate 1.2.3-2

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list