[Akonadi] [Bug 358559] akonadi_imap_resource incorrectly handles RFC 5464

Alexander bugzilla_noreply at kde.org
Fri Feb 24 10:12:55 GMT 2017


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

--- Comment #3 from Alexander <cookie170 at web.de> ---
(In reply to Daniel Vrátil from comment #2)
> Could you please run the following in terminal:
> 
> export KIMAP_LOGFILE=/tmp/kimap.log
> akonadictl restart
> 
> 
> Then reproduce the issue again (wait until you see the error in terminal).
> After that look into /tmp folder, you should see several files starting with
> kimap.log - find the one that contains the error line and paste it here.
> Please also include a few (5 or so) lines above the error. If there are any
> sensitive information (folder names for instance), you can sanitize them.

Done as you suggested + ctrl-l in kmail to fetch emails.

Content of kimap.log.32676.1:

C: A000004 CAPABILITY
S: * CAPABILITY IMAP4rev1 CHILDREN ENABLE ID IDLE LIST-EXTENDED LIST-STATUS
LITERAL+ MOVE NAMESPACE QUOTA SASL-IR SORT SPECIAL-USE THREAD=ORDEREDSUBJECT
UIDPLUS UNSELECT WITHIN APPENDLIMIT=140000000
S: A000004 OK CAPABILITY completed
C: A000005 NAMESPACE
S: * NAMESPACE ( ("" "/") ) ( ) ( )
S: A000005 OK NAMESPACE completed
C: A000006 ID ("name" "Kontact IMAP Resource")
S: A000006 OK ID completed
C: A000007 LIST "" *
S: * LIST ( \Drafts \HasNoChildren ) / Entw&APw-rfe
S: * LIST ( \Sent \HasNoChildren ) / Gesendete Objekte
S: * LIST ( \HasNoChildren ) / INBOX
S: * LIST ( \Trash \HasNoChildren ) / Papierkorb
S: * LIST ( \HasNoChildren ) / Safe
S: * LIST ( \Junk \HasNoChildren ) / Spam
S: * LIST ( \HasNoChildren ) / Versendet
S: A000007 OK LIST completed
C: A000008 SELECT "INBOX"
S: * 332 EXISTS
S: * 0 RECENT
S: * FLAGS ( \Answered \Flagged \Deleted \Seen \Draft $FORWARDED )
S: * OK Unlimited [ PERMANENTFLAGS ( \Answered \Flagged \Draft \Deleted \Seen
$FORWARDED \* )  ]
S: * OK Predicted next UID [ UIDNEXT 6075  ]
S: * OK UIDs valid [ UIDVALIDITY 1320704810  ]
S: A000008 OK SELECT completed [ READ-WRITE  ]
C: A000009 IDLE
S: + idling

=======================

And on the console window (in this case: yakuake):

AW at linux-k2bd:~> export KIMAP_LOGFILE=/tmp/kimap.log
AW at linux-k2bd:~> akonadictl restart &
[1] 32598
AW at linux-k2bd:~> Settings(0x19c3500)
Settings(0x1b92050)
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_pop3_resource' exited
normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_archivemail_agent'
exited normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_ical_resource' exited
normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_ical_resource' exited
normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_notes_agent' exited
normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_birthdays_resource'
exited normally...
org.kde.pim.akonadicontrol: Application
'/usr/bin/akonadi_followupreminder_agent' exited normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_contacts_resource'
exited normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_akonotes_resource'
exited normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_migration_agent'
exited normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_imap_resource' exited
normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_ical_resource' exited
normally...
org.kde.pim.akonadicontrol: Application
'/usr/bin/akonadi_newmailnotifier_agent' exited normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_contacts_resource'
exited normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_ical_resource' exited
normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_ical_resource' exited
normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_sendlater_agent'
exited normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_akonotes_resource'
exited normally...
org.kde.pim.akonadicontrol: ProcessControl: Application
"/usr/bin/akonadi_indexing_agent" stopped unexpectedly ( "Process crashed" )
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_indexing_agent'
crashed. No restart!
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_mailfilter_agent'
exited normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_maildispatcher_agent'
exited normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_pop3_resource' exited
normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_imap_resource' exited
normally...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_maildir_resource'
exited normally...
KCrash: Application 'akonadiserver' crashing...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0
QSocketNotifier: Invalid socket 65 and type 'Read', disabling...
QSocketNotifier: Invalid socket 69 and type 'Read', disabling...
QSocketNotifier: Invalid socket 73 and type 'Read', disabling...
QSocketNotifier: Invalid socket 76 and type 'Read', disabling...
QSocketNotifier: Invalid socket 67 and type 'Read', disabling...
QSocketNotifier: Invalid socket 75 and type 'Read', disabling...
QSocketNotifier: Invalid socket 71 and type 'Read', disabling...
QSocketNotifier: Invalid socket 77 and type 'Read', disabling...
QSocketNotifier: Invalid socket 6 and type 'Read', disabling...
QSocketNotifier: Invalid socket 24 and type 'Read', disabling...
QSocketNotifier: Invalid socket 218 and type 'Read', disabling...
QSocketNotifier: Invalid socket 17 and type 'Read', disabling...
QSocketNotifier: Invalid socket 203 and type 'Read', disabling...
QProcess: Destroyed while process ("akonadiserver") is still running.
org.kde.pim.akonadicontrol: ProcessControl: Application "akonadiserver" stopped
unexpectedly ( "Process crashed" )
org.kde.pim.akonadicontrol: Application 'akonadiserver' crashed. No restart!
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
org.kde.pim.akonadiserver: mysqld for Akonadi is already running, trying to
connect to it.
akonadi.collectionattributetable                   OK
akonadi.collectionmimetyperelation                 OK
akonadi.collectionpimitemrelation                  OK
akonadi.collectiontable                            OK
akonadi.flagtable                                  OK
akonadi.mimetypetable                              OK
akonadi.parttable                                  OK
akonadi.parttypetable                              OK
akonadi.pimitemflagrelation                        OK
akonadi.pimitemtable                               OK
akonadi.pimitemtagrelation                         OK
akonadi.relationtable                              OK
akonadi.relationtypetable                          OK
akonadi.resourcetable                              OK
akonadi.schemaversiontable                         OK
akonadi.tagattributetable                          OK
akonadi.tagremoteidresourcerelationtable           OK
akonadi.tagtable                                   OK
akonadi.tagtypetable                               OK
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
The hash has changed.
false
org.kde.pim.akonadicontrol: "AgentManager::agentInstanceSynchronizeCollection" 
Agent instance  "akonadi_imap_resource_2"  has no resource interface!
org.kde.pim.akonadiserver: "Cannot connect to agent instance with identifier
'akonadi_imap_resource_2', error message: ''"
QDBusConnection: name 'org.freedesktop.Akonadi.Control' had owner '' but we
thought it was ':1.1413'
org.kde.pim.kcalcore: The incidence didn't have any UID! Report a bug  to the
application that generated this file. 

org.kde.pim.akonadiserver: Received ModifySubscription command before
RegisterSubscriber
org.kde.pim.akonadicore: "QLocalSocket: Remote closed"
"/tmp/akonadi-AW.P0kd6E/akonadiserver-ntf.socket"
Pass a valid window to KWallet::Wallet::openWallet().
Pass a valid window to KWallet::Wallet::openWallet().
org.kde.akonadi.ETM: GEN true false false
org.kde.akonadi.ETM: collection: QVector()
org.kde.akonadi.ETM: 
org.kde.akonadi.ETM: Subtree:  17 QSet(17, 23, 22, 21, 20, 24, 19, 18)
org.kde.akonadi.ETM: Subtree:  1 QSet(1, 90)
org.kde.akonadi.ETM: Subtree:  73 QSet(84, 75, 74, 73, 79, 78, 77, 76, 83, 82,
81, 80, 87, 86)
org.kde.akonadi.ETM: Subtree:  28 QSet(85, 89, 88, 95, 94, 93, 92, 31, 30, 29,
28, 96, 35, 32, 39, 38, 37, 36, 42, 41, 47, 46, 45, 44, 51, 50, 49, 48, 55, 54,
53, 52, 59, 58, 57, 56, 62, 61, 65, 60, 68)
org.kde.akonadi.ETM: Fetch job took  39 msec
org.kde.akonadi.ETM: was collection fetch job: collections: 65
org.kde.akonadi.ETM: first fetched collection: "Search"
org.kde.akonadi.ETM: Fetch job took  41 msec
org.kde.akonadi.ETM: was collection fetch job: collections: 13
org.kde.akonadi.ETM: first fetched collection: "Search"
org.kde.akonadi.ETM: GEN true false false
org.kde.akonadi.ETM: collection: QVector()
org.kde.akonadi.ETM: 
org.kde.akonadi.ETM: Subtree:  1 QSet(1, 90)
org.kde.akonadi.ETM: Subtree:  17 QSet(24, 21, 20, 23, 22, 17, 19, 18)
org.kde.akonadi.ETM: Subtree:  73 QSet(84, 87, 86, 81, 80, 83, 82, 77, 76, 79,
78, 73, 75, 74)
org.kde.akonadi.ETM: Subtree:  28 QSet(93, 92, 95, 29, 94, 89, 28, 88, 31, 30,
68, 65, 53, 52, 55, 54, 49, 48, 51, 50, 61, 60, 62, 57, 56, 59, 58, 37, 36, 96,
39, 38, 32, 35, 45, 44, 47, 46, 41, 42, 85)
org.kde.akonadi.ETM: Fetch job took  130 msec
org.kde.akonadi.ETM: was collection fetch job: collections: 65
org.kde.akonadi.ETM: first fetched collection: "Search"
org.kde.akonadi.ETM: Fetch job took  131 msec
org.kde.akonadi.ETM: was collection fetch job: collections: 13
org.kde.akonadi.ETM: first fetched collection: "Search"
false
false
QVariant(QString, "2457023") 2457023
QVariant(QString, "2457388") 2457388
Pass a valid window to KWallet::Wallet::openWallet().
Pass a valid window to KWallet::Wallet::openWallet().
org.kde.pim.imapresource: Get metadata failed:  "GetMetaData fehlgeschlagen,
die Serverantwort lautet: A000010 BAD Error in IMAP command GETMETADATA: Value
1/1 of DEPTH is not numeric and positive or infinity . ( RFC 5464 Section 4.2.2
) ( 0.000 + 0.000 secs ) . "
org.kde.pim.imapresource: Get metadata failed:  "GetMetaData fehlgeschlagen,
die Serverantwort lautet: A000015 BAD Error in IMAP command GETMETADATA: Value
1/1 of DEPTH is not numeric and positive or infinity . ( RFC 5464 Section 4.2.2
) ( 0.000 + 0.000 secs ) . "
org.kde.pim.imapresource: Get metadata failed:  "GetMetaData fehlgeschlagen,
die Serverantwort lautet: A000020 BAD Error in IMAP command GETMETADATA: Value
1/1 of DEPTH is not numeric and positive or infinity . ( RFC 5464 Section 4.2.2
) ( 0.000 + 0.000 secs ) . "
org.kde.pim.imapresource: Get metadata failed:  "GetMetaData fehlgeschlagen,
die Serverantwort lautet: A000025 BAD Error in IMAP command GETMETADATA: Value
1/1 of DEPTH is not numeric and positive or infinity . ( RFC 5464 Section 4.2.2
) ( 0.000 + 0.000 secs ) . "
org.kde.pim.imapresource: Get metadata failed:  "GetMetaData fehlgeschlagen,
die Serverantwort lautet: A000030 BAD Error in IMAP command GETMETADATA: Value
1/1 of DEPTH is not numeric and positive or infinity . ( RFC 5464 Section 4.2.2
) ( 0.000 + 0.000 secs ) . "
org.kde.pim.imapresource: Get metadata failed:  "GetMetaData fehlgeschlagen,
die Serverantwort lautet: A000035 BAD Error in IMAP command GETMETADATA: Value
1/1 of DEPTH is not numeric and positive or infinity . ( RFC 5464 Section 4.2.2
) ( 0.000 + 0.000 secs ) . "
org.kde.pim.imapresource: Get metadata failed:  "GetMetaData fehlgeschlagen,
die Serverantwort lautet: A000040 BAD Error in IMAP command GETMETADATA: Value
1/1 of DEPTH is not numeric and positive or infinity . ( RFC 5464 Section 4.2.2
) ( 0.000 + 0.000 secs ) . "
org.kde.pim.imapresource: Get metadata failed:  "GetMetaData fehlgeschlagen,
die Serverantwort lautet: A000045 BAD Error in IMAP command GETMETADATA: Value
1/1 of DEPTH is not numeric and positive or infinity . ( RFC 5464 Section 4.2.2
) ( 0.000 + 0.000 secs ) . "
org.kde.pim.imapresource: Get metadata failed:  "GetMetaData fehlgeschlagen,
die Serverantwort lautet: A000050 BAD Error in IMAP command GETMETADATA: Value
1/1 of DEPTH is not numeric and positive or infinity . ( RFC 5464 Section 4.2.2
) ( 0.000 + 0.000 secs ) . "
org.kde.pim.imapresource: Get metadata failed:  "GetMetaData fehlgeschlagen,
die Serverantwort lautet: A000055 BAD Error in IMAP command GETMETADATA: Value
1/1 of DEPTH is not numeric and positive or infinity . ( RFC 5464 Section 4.2.2
) ( 0.000 + 0.000 secs ) . "
org.kde.pim.imapresource: Get metadata failed:  "GetMetaData fehlgeschlagen,
die Serverantwort lautet: A000060 BAD Error in IMAP command GETMETADATA: Value
1/1 of DEPTH is not numeric and positive or infinity . ( RFC 5464 Section 4.2.2
) ( 0.000 + 0.000 secs ) . "
org.kde.pim.imapresource: Get metadata failed:  "GetMetaData fehlgeschlagen,
die Serverantwort lautet: A000065 BAD Error in IMAP command GETMETADATA: Value
1/1 of DEPTH is not numeric and positive or infinity . ( RFC 5464 Section 4.2.2
) ( 0.000 + 0.000 secs ) . "
org.kde.pim.imapresource: Get metadata failed:  "GetMetaData fehlgeschlagen,
die Serverantwort lautet: A000070 BAD Error in IMAP command GETMETADATA: Value
1/1 of DEPTH is not numeric and positive or infinity . ( RFC 5464 Section 4.2.2
) ( 0.000 + 0.000 secs ) . "
org.kde.pim.akonadicore: Got a stale notification for an item which was already
removed. 173334 ""
org.kde.pim.akonadicore: Got a stale notification for an item which was already
removed. 173334 ""
QVariant(QString, "2457023") 2457023
QVariant(QString, "2457388") 2457388

====================================

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Kdepim-bugs mailing list