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

aheinecke issues at kolab.org
Tue Aug 26 17:57:30 CEST 2014


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 <issues at kolab.org>
<https://roundup.kolab.org/issue4873>
______________________________________


More information about the devel mailing list