Bug 271377 - Disconnected imap empties INBOX of account, leaving subfolders intact
Summary: Disconnected imap empties INBOX of account, leaving subfolders intact
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: disconnected IMAP (show other bugs)
Version: 1.13.6
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-20 21:40 UTC by Friedrich Goetze
Modified: 2015-04-12 09:47 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Friedrich Goetze 2011-04-20 21:40:32 UTC
Version:           1.13.6 (using KDE 4.6.2) 
OS:                Linux

I am using two disconnected imap accounts on two different servers. I sometimes have to switch vpn connection from ipsec to openvpn. It happened 5 times in the 
last days that after synchronization of account A, checking for mail in B leads
to 
1. questioning certificates again
2. long delay, while folder structures were reloaded
3. displaying  inbox with 0 mails 
    (and remain 0 mails when synchronizing again)  
   (there had been 15.000 mails before,
     which still exist in the inbox on the server, when checking with
    other mail clients)
4. subfolders remain intact and may be synchronized

5. Quitting kmail/kontact before this happens leads to kontact and 
   kontact-slaves still running

So far deleting and renewing acoount seemed the only solution, wasting
1-2 hours synchronizing around  30.000 emails again on a dsl line.    

Result:  Have to switch to another email client.

Some messages, when starting kontact in a terminal:

kontact(14265)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 

kontact(399) KMReaderWin::message: Attempt to reference invalid serial number 8201702
Application asked to unregister timer 0xe000050 which is not registered in this thread. Fix application.

KMail::MessageListView::StorageModel::releaseMessage: Trying to release a message at row 14443 that no longer exists in the folder 

kontact(14265)/kdecore (KLibrary) kde4Factory: The library "/usr/lib64/kde4/kcm_kmail.so" does not offer a qt_plugin_instance function.
kontact(14265)/kdecore (KLibrary) kde3Factory: The library "/usr/lib64/kde4/kcm_kmail.so" does not offer an "init_kcm_kmail" function.
ontact(14889) KMFolderDir::reload: Found dir without associated folder: ".1463791014.directory" , recreating the folder "1463791014" 
kontact(14889) KMFolderIndex::updateIndexStreamPtr: utime( "/home/goetze/.kde4/share/apps/kmail/dimap/.1463791014.index.ids" , 0) failed (KMMsgDict::getFolderIdsLocation( *this )) 
kontact(14889) KMFolderIndex::updateIndexStreamPtr: utime( "/home/goetze/.kde4/share/apps/kmail/dimap/.1463791014.index.ids" , 0) failed (KMMsgDict::getFolderIdsLocation( *this )) 
kontact(14889) KMFolderDir::reload: Found dir without associated folder: ".INBOX.directory" , recreating the folder "INBOX" 
kontact(14889) KMFolderIndex::updateIndexStreamPtr: utime( "/home/goetze/.kde4/share/apps/kmail/dimap/.1463791014.directory/.INBOX.index.ids" , 0) failed (KMMsgDict::getFolderIdsLocation( *this )) 
kontact(14889) KMFolderIndex::updateIndexStreamPtr: utime( "/home/goetze/.kde4/share/apps/kmail/dimap/.1463791014.directory/.INBOX.index.ids" , 0) failed (KMMsgDict::getFolderIdsLocation( *this )) 
kontact(14889) KMFolderDir::reload: Found dir without associated folder: ".1457653328.directory" , recreating the folder "1457653328" 
kontact(14889) KMFolderIndex::updateIndexStreamPtr: utime( "/home/goetze/.kde4/share/apps/kmail/dimap/.1457653328.index.ids" , 0) failed (KMMsgDict::getFolderIdsLocation( *this )) 
kontact(14889) KMFolderIndex::updateIndexStreamPtr: utime( "/home/goetze/.kde4/share/apps/kmail/dimap/.1457653328.index.ids" , 0) failed (KMMsgDict::getFolderIdsLocation( *this )) 
kontact(14889) KMFolderDir::reload: Found dir without associated folder: ".INBOX.directory" , recreating the folder "INBOX" 
kontact(14889) KMFolderIndex::updateIndexStreamPtr: utime( "/home/goetze/.kde4/share/apps/kmail/dimap/.1457653328.directory/.INBOX.index.ids" , 0) failed (KMMsgDict::getFolderIdsLocation( *this )) 
kontact(14889) KMFolderIndex::updateIndexStreamPtr: utime( "/home/goetze/.kde4/share/apps/kmail/dimap/.1457653328.directory/.INBOX.index.ids" , 0) failed (KMMsgDict::getFolderIdsLocation( *this )) 
kontact(14889) KMFolderDir::reload: Found dir without associated folder: ".journals.directory" , recreating the folder "journals" 
kontact(14889) KMFolderIndex::updateIndexStreamPtr: utime( "/home/goetze/.kde4/share/apps/kmail/dimap/.1457653328.directory/.INBOX.directory/.journals.index.ids" , 0) failed (KMMsgDict::getFolderIdsLocation( *this )) 
kontact(14889) KMFolderIndex::updateIndexStreamPtr: utime( "/home/goetze/.kde4/share/apps/kmail/dimap/.1457653328.directory/.INBOX.directory/.journals.index.ids" , 0) failed (KMMsgDict::getFolderIdsLocation( *this )) 
kontact(14889) KMFolderDir::reload: Found dir without associated folder: ".EJP.directory" , recreating the folder "EJP" 
kontact(14889) KMFolderIndex::updateIndexStreamPtr: utime( "/home/goetze/.kde4/share/apps/kmail/dimap/.1457653328.directory/.INBOX.directory/.journals.directory/.EJP.index.ids" , 0) failed (KMMsgDict::getFolderIdsLocation( *this )) 
kontact(14889) KMFolderIndex::updateIndexStreamPtr: utime( "/home/goetze/.kde4/share/apps/kmail/dimap/.1457653328.directory/.INBOX.directory/.journals.directory/.EJP.index.ids" , 0) failed (KMMsgDict::getFolderIdsLocation( *this )) 
kontact(14889) KMFolderMgr::removeFolderAux: Can not find parent folder for  1463791014 
kontact(14889) KMFolderMgr::removeFolderAux: Can not find parent folder for  1457653328 


Reproducible: Sometimes
Comment 1 Laurent Montel 2015-04-12 09:47:46 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.