Bug 261750 - kontact crashed after moving an IMAP folder to another account
Summary: kontact crashed after moving an IMAP folder to another account
Status: RESOLVED DUPLICATE of bug 239859
Alias: None
Product: kmail
Classification: Applications
Component: IMAP (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-31 21:45 UTC by sam
Modified: 2011-02-14 13:48 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 sam 2010-12-31 21:45:18 UTC
Application: kontact (4.4.6)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-24-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:

* was moving an IMAP folder from one account to another on the same kolab server
* accidentally selected the wrong destination
* thought that the move was completed and that the destination folder was in the wrong place...
* tried to move the folder once again (from the root of the account to the INBOX)
* got an error message from kmail saying that the (second) move could not be completed because the (first) move was still in progress.
* closed the error dialog
* found another dialog under the first which reported that the original folder could no longer be found (this is probably another minor bug - right-clicking on a folder selects that folder and, after the move is completed, the folder in the local cache is no longer valid so an error message appears.)
* attempted to close the second error dialog.
* kontact crashed (not necessarily related to the second error dialog mentioned above.)

HTH,
Thanks, as always, for your excellent service,
Happy New Year!

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fc8125d0780 (LWP 18240))]

Thread 2 (Thread 0x7fc7e5a93700 (LWP 18282)):
#0  0x00007fc808383a14 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#1  0x00007fc808383e78 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fc80838445c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fc80fd551e6 in QEventDispatcherGlib::processEvents (this=0x2fdb950, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007fc80fd27a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fc80fd27dec in QEventLoop::exec (this=0x7fc7e5a92d90, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fc80fc322fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007fc80fd075f8 in QInotifyFileSystemWatcherEngine::run (this=0x2fdaef0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fc80fc3527e in QThreadPrivate::start (arg=0x2fdaef0) at thread/qthread_unix.cpp:266
#9  0x00007fc80a713971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007fc80f61d92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc8125d0780 (LWP 18240)):
[KCrash Handler]
#6  0x0000000011173ee8 in ?? ()
#7  0x00007fc7f4023b2c in KMail::MessageListView::StorageModel::slotFolderCleared (this=0x7777870) at ../../kmail/messagelistview/storagemodel.cpp:622
#8  0x00007fc7f3c1bdf4 in KMail::MessageListView::StorageModel::qt_metacall (this=0x7777870, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff740d66a0) at moc_storagemodel.cpp:93
#9  0x00007fc80fd40b27 in QMetaObject::activate (sender=0x236d570, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x17e00) at kernel/qobject.cpp:3280
#10 0x00007fc7f3cf5c5a in KMFolder::qt_metacall (this=0x236d570, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff740d6810) at ./kmfolder.moc:124
#11 0x00007fc80fd40b27 in QMetaObject::activate (sender=0x236d730, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x17e00) at kernel/qobject.cpp:3280
#12 0x00007fc7f3d1e102 in FolderStorage::closed (this=0x77778b8, _t1=0x236d570) at ./folderstorage.moc:191
#13 0x00007fc7f3d21573 in FolderStorage::remove (this=0x236d730) at ../../kmail/folderstorage.cpp:802
#14 0x00007fc7f3ddcba4 in KMFolderCachedImap::remove (this=0x236d730) at ../../kmail/kmfoldercachedimap.cpp:433
#15 0x00007fc7f3d44523 in KMFolderMgr::remove (this=0x1d57a80, aFolder=0x236d570) at ../../kmail/kmfoldermgr.cpp:354
#16 0x00007fc7f3fa247d in KMail::RenameJob::folderCopyComplete (this=0x2546840, success=<value optimized out>) at ../../kmail/renamejob.cpp:250
#17 0x00007fc7f3fa2a63 in KMail::RenameJob::qt_metacall (this=0x2546840, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff740d6d30) at ./renamejob.moc:81
#18 0x00007fc80fd40b27 in QMetaObject::activate (sender=0x7ef4090, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x17e00) at kernel/qobject.cpp:3280
#19 0x00007fc7f3ffe84f in KMail::CopyFolderJob::folderCopyComplete (this=0x77778b8, _t1=true) at ./copyfolderjob.moc:107
#20 0x00007fc7f40001cb in KMail::CopyFolderJob::slotCopyCompleted (this=0x7ef4090, command=0x8728c20) at ../../kmail/copyfolderjob.cpp:127
#21 0x00007fc7f40004c8 in KMail::CopyFolderJob::qt_metacall (this=0x7ef4090, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff740d6ed0) at ./copyfolderjob.moc:91
#22 0x00007fc80fd40b27 in QMetaObject::activate (sender=0x8728c20, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x17e00) at kernel/qobject.cpp:3280
#23 0x00007fc7f3eaf7e2 in KMCommand::completed (this=0x77778b8, _t1=0x8728c20) at ./kmcommands.moc:115
#24 0x00007fc7f3eb751b in KMCopyCommand::execute (this=0x8728c20) at ../../kmail/kmcommands.cpp:2077
#25 0x00007fc7f3eb267a in KMCommand::slotPostTransfer (this=0x8728c20, result=KMCommand::OK) at ../../kmail/kmcommands.cpp:295
#26 0x00007fc7f3ebe963 in KMCommand::qt_metacall (this=0x8728c20, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff740d71d0) at ./kmcommands.moc:93
#27 0x00007fc7f3ebecd0 in KMCopyCommand::qt_metacall (this=0x77778b8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x17e00) at ./kmcommands.moc:1906
#28 0x00007fc80fd40b27 in QMetaObject::activate (sender=0x8728c20, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x17e00) at kernel/qobject.cpp:3280
#29 0x00007fc7f3eaf81e in KMCommand::messagesTransfered (this=0x77778b8, _t1=KMCommand::OK) at ./kmcommands.moc:108
#30 0x00007fc7f3ec611c in KMCommand::transferSelectedMsgs (this=0x8728c20) at ../../kmail/kmcommands.cpp:393
#31 0x00007fc7f3ec6338 in KMCommand::slotStart (this=0x8728c20) at ../../kmail/kmcommands.cpp:287
#32 0x00007fc7f3ebe946 in KMCommand::qt_metacall (this=0x8728c20, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x8662b00) at ./kmcommands.moc:92
#33 0x00007fc7f3ebecd0 in KMCopyCommand::qt_metacall (this=0x77778b8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x17e00) at ./kmcommands.moc:1906
#34 0x00007fc80fd3abde in QObject::event (this=0x8728c20, e=0x77778b8) at kernel/qobject.cpp:1219
#35 0x00007fc8106defdc in QApplicationPrivate::notify_helper (this=0x12c0b40, receiver=0x8728c20, e=0x9926650) at kernel/qapplication.cpp:4396
#36 0x00007fc8106e4aed in QApplication::notify (this=0x7fff740d7df0, receiver=0x8728c20, e=0x9926650) at kernel/qapplication.cpp:4277
#37 0x00007fc811431156 in KApplication::notify (this=0x7fff740d7df0, receiver=0x8728c20, event=0x9926650) at ../../kdeui/kernel/kapplication.cpp:310
#38 0x00007fc80fd28cdc in QCoreApplication::notifyInternal (this=0x7fff740d7df0, receiver=0x8728c20, event=0x9926650) at kernel/qcoreapplication.cpp:732
#39 0x00007fc80fd2bc22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1294380) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#40 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1294380) at kernel/qcoreapplication.cpp:1373
#41 0x00007fc80fd55653 in sendPostedEvents (s=0x12ca6a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#42 postEventSourceDispatch (s=0x12ca6a0) at kernel/qeventdispatcher_glib.cpp:277
#43 0x00007fc808380342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#44 0x00007fc8083842a8 in ?? () from /lib/libglib-2.0.so.0
#45 0x00007fc80838445c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#46 0x00007fc80fd55193 in QEventDispatcherGlib::processEvents (this=0x1293e90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#47 0x00007fc810791a4e in QGuiEventDispatcherGlib::processEvents (this=0x77778b8, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x00007fc80fd27a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#49 0x00007fc80fd27dec in QEventLoop::exec (this=0x7fff740d7d30, flags=) at kernel/qeventloop.cpp:201
#50 0x00007fc80fd2bebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#51 0x0000000000403b4e in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:224

This bug may be a duplicate of or related to bug 239859.

Possible duplicates by query: bug 239859.

Reported using DrKonqi
Comment 1 sam 2010-12-31 21:48:47 UTC
In case it helps:

* On restarting Kontact and clicking on the Sync Mail button for the new IMAP account I got the following (edited) message:

Error while uploading folder
Could not make the folder .Archived Index on the server.
This could be because you do not have permission to do this, or because the folder is already present on the server; the error message from the server communication is here:
Could Not Create Folder
An attempt to create the requested folder failed.
Details of the request:
URL: (unknown)
Date and time: Friday, December 31, 2010 15:45
Additional information: imap://[...]/INBOX/ArchivedMail/.Archived Index/
Possible causes:
Your access permissions may be inadequate to perform the requested operation on this resource.
The location where the folder was to be created may not exist.
A protocol error or incompatibility may have occurred.
Possible solutions:
Retry the request.
Check your access permissions on this resource.
Comment 2 sam 2010-12-31 22:06:24 UTC
FYI it seems that the folders I was trying to move have disappeared completely (I've also checked in /var/spool/cyrus/mail on the kolab server - the files are gone.) The emails that were moved to the inbox on the new account are still there. HTH, thanks again, --Sam.
Comment 3 Christophe Marin 2011-02-14 13:48:26 UTC

*** This bug has been marked as a duplicate of bug 239859 ***