[Kolab-devel] [issue4873] Crash when moving folder with subfolders from dimap to imap account (RT#10270)

aheinecke <[email protected]>
Newsgroups gmane.comp.kde.devel.kolab
Message-ID <1409068650.75.0.446080291316.issue4873__46586.6635939621$1409068671$gmane$org@kolab.org>
To reproduce

1. Create a folder with a subfolder and a sub subfolder. On a dimap account.
2. Put some mails into this folder.
3. Sync
4. Move the folder to an online imap account.

-> Sometimes (not always) the job hangs in the online imap account on
"Retrieving folder contents of the new folder". If you touch the account
configuration (open the account config and close it again) the hang is resolved
but a segmentation fault occurs.

It is possible that the segfault would also occur when the job timeouts as the
"Opening account config" trick was not part of the Original Report.


kmail: Failed to copy one subfolder, let's not continue:  aheinecke2 online
imap/inbox/testfolder2/folder1/testfolder2
kmail: [void KMail::RenameJob::folderCopyComplete(bool)] false
kmail: WARNING: [void KMail::RenameJob::folderCopyComplete(bool)] could not copy
folder
kmail: [void KMFolderMgr::slotRenameDone(QString, bool)] false
kmail: [void KMail::RenameJob::folderCopyComplete(bool)] false
kmail: WARNING: [void KMail::RenameJob::folderCopyComplete(bool)] could not copy
folder
kmail: [void KMFolderMgr::slotRenameDone(QString, bool)] false
kmail: [void KMail::RenameJob::folderCopyComplete(bool)] true
kmail: deleting old folder
kmail: [void KMFolderMgr::slotRenameDone(QString, bool)] true

Program received signal SIGSEGV, Segmentation fault.
0x00007fffe8a331ab in FolderStorage::close (this=0x71, owner=0x7fffe8da708d
"copyfolder", aForced=false)
    at ../../kmail/folderstorage.cpp:104
104       if (mOpenCount <= 0) return;
(gdb) bt
#0  0x00007fffe8a331ab in FolderStorage::close (this=0x71, owner=0x7fffe8da708d
"copyfolder", aForced=false)
    at ../../kmail/folderstorage.cpp:104
#1  0x00007fffe8a0fae0 in KMFolder::close (this=0xf64530, owner=0x7fffe8da708d
"copyfolder", force=false)
    at ../../kmail/kmfolder.cpp:493

----------
assignedto: aheinecke
keyword: enterprise35, kde client
messages: 28851
nosy: aheinecke, emanuel
priority: critical
status: in-progress
title: Crash when moving folder with subfolders from dimap to imap account (RT#10270)

______________________________________
Kolab issue tracker <[email protected]>
<https://roundup.kolab.org/issue4873>
______________________________________
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.