Bug 244622

Summary: kmail crash after moving emails
Product: [Applications] kontact Reporter: hector <mailbox>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: VERIFIED REMIND    
Severity: crash CC: bjoern
Priority: NOR    
Version: 4.4.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description hector 2010-07-14 17:21:18 UTC
Application: kontact (4.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-23-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Today kmail crash always (after some time, when I try to read a email or mark as span or other).
I've have this asame problem also more times some month ago, I don't found and fix, but some time later kmail works ok.
I've noted the kmail partially "freez" the system, bur the monitor have a time max of 10% dedicated to kmail and encfs (the mail folder is encrypted).
The same problem in the past when the mail folder was on cryptfs partition.

I can only noted that yesterday (before to shutdown), I've moved about 100 email from difernt folders to a new.

The crash can be reproduced some of the time.

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

Thread 2 (Thread 0x7f408186b710 (LWP 2472)):
#0  0x00007f40a5a7bf83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f409e5b04a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f409e5b08fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f40a6e67566 in QEventDispatcherGlib::processEvents (this=0x2f9c850, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f40a6e3c992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f40a6e3cd6c in QEventLoop::exec (this=0x7f408186ad90, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f40a6d46d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f40a6e1d178 in QInotifyFileSystemWatcherEngine::run (this=0x2fb0560) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f40a6d49775 in QThreadPrivate::start (arg=0x2fb0560) at thread/qthread_unix.cpp:248
#9  0x00007f40a0b279ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f40a5a886fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f40a89aa780 (LWP 2452)):
[KCrash Handler]
#5  KMFolder::open (this=0x7f4022222222, owner=0x7f408ef3c5ed "kmcommand") at ../../kmail/kmfolder.cpp:543
#6  0x00007f408ec7d003 in KMCommand::keepFolderOpen (this=0x3682180, folder=0x7f4022222222) at ../../kmail/kmcommands.cpp:479
#7  0x00007f408ec8f83a in KMCommand::slotStart (this=0x3682180) at ../../kmail/kmcommands.cpp:277
#8  0x00007f408ec87c66 in KMCommand::qt_metacall (this=0x3682180, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe21be5c0) at ./kmcommands.moc:92
#9  0x00007f40a6e50e3f in QMetaObject::activate (sender=0x34ae870, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3293
#10 0x00007f40a6e5865f in QSingleShotTimer::timerEvent (this=0x34ae870) at kernel/qtimer.cpp:308
#11 0x00007f40a6e4da63 in QObject::event (this=0x34ae870, e=0x7fffe21bed20) at kernel/qobject.cpp:1212
#12 0x00007f40a61f722c in QApplicationPrivate::notify_helper (this=0x1e57de0, receiver=0x34ae870, e=0x7fffe21bed20) at kernel/qapplication.cpp:4300
#13 0x00007f40a61fd6fb in QApplication::notify (this=0x7fffe21bffc0, receiver=0x34ae870, e=0x7fffe21bed20) at kernel/qapplication.cpp:4183
#14 0x00007f40a7826526 in KApplication::notify (this=0x7fffe21bffc0, receiver=0x34ae870, event=0x7fffe21bed20) at ../../kdeui/kernel/kapplication.cpp:302
#15 0x00007f40a6e3e06c in QCoreApplication::notifyInternal (this=0x7fffe21bffc0, receiver=0x34ae870, event=0x7fffe21bed20) at kernel/qcoreapplication.cpp:704
#16 0x00007f40a6e6ad42 in QCoreApplication::sendEvent (this=0x1e60130) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#17 QTimerInfoList::activateTimers (this=0x1e60130) at kernel/qeventdispatcher_unix.cpp:603
#18 0x00007f40a6e67824 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#19 0x00007f409e5ac8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#20 0x00007f409e5b0748 in ?? () from /lib/libglib-2.0.so.0
#21 0x00007f409e5b08fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#22 0x00007f40a6e67513 in QEventDispatcherGlib::processEvents (this=0x1e24d70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#23 0x00007f40a62a746e in QGuiEventDispatcherGlib::processEvents (this=0x7f4022222222, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#24 0x00007f40a6e40ba6 in QCoreApplication::processEvents (flags=) at kernel/qcoreapplication.cpp:924
#25 0x00007f408ec97ca2 in KMFilterActionCommand::execute (this=0x34c4240) at ../../kmail/kmcommands.cpp:1827
#26 0x00007f408ec7e34a in KMCommand::slotPostTransfer (this=0x34c4240, result=KMCommand::OK) at ../../kmail/kmcommands.cpp:291
#27 0x00007f408ec87c83 in KMCommand::qt_metacall (this=0x34c4240, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe21bf2d0) at ./kmcommands.moc:93
#28 0x00007f40a6e50e3f in QMetaObject::activate (sender=0x34c4240, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3293
#29 0x00007f408ec7901e in KMCommand::messagesTransfered (this=0x7f4022222222, _t1=KMCommand::OK) at ./kmcommands.moc:108
#30 0x00007f408ec8f64c in KMCommand::transferSelectedMsgs (this=0x34c4240) at ../../kmail/kmcommands.cpp:389
#31 0x00007f408ec8f858 in KMCommand::slotStart (this=0x34c4240) at ../../kmail/kmcommands.cpp:283
#32 0x00007f408ec87c66 in KMCommand::qt_metacall (this=0x34c4240, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe21bf500) at ./kmcommands.moc:92
#33 0x00007f40a6e50e3f in QMetaObject::activate (sender=0x3a603c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3293
#34 0x00007f40a6e5865f in QSingleShotTimer::timerEvent (this=0x3a603c0) at kernel/qtimer.cpp:308
#35 0x00007f40a6e4da63 in QObject::event (this=0x3a603c0, e=0x7fffe21bfc60) at kernel/qobject.cpp:1212
#36 0x00007f40a61f722c in QApplicationPrivate::notify_helper (this=0x1e57de0, receiver=0x3a603c0, e=0x7fffe21bfc60) at kernel/qapplication.cpp:4300
#37 0x00007f40a61fd6fb in QApplication::notify (this=0x7fffe21bffc0, receiver=0x3a603c0, e=0x7fffe21bfc60) at kernel/qapplication.cpp:4183
#38 0x00007f40a7826526 in KApplication::notify (this=0x7fffe21bffc0, receiver=0x3a603c0, event=0x7fffe21bfc60) at ../../kdeui/kernel/kapplication.cpp:302
#39 0x00007f40a6e3e06c in QCoreApplication::notifyInternal (this=0x7fffe21bffc0, receiver=0x3a603c0, event=0x7fffe21bfc60) at kernel/qcoreapplication.cpp:704
#40 0x00007f40a6e6ad42 in QCoreApplication::sendEvent (this=0x1e60130) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#41 QTimerInfoList::activateTimers (this=0x1e60130) at kernel/qeventdispatcher_unix.cpp:603
#42 0x00007f40a6e67824 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#43 0x00007f409e5ac8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#44 0x00007f409e5b0748 in ?? () from /lib/libglib-2.0.so.0
#45 0x00007f409e5b08fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#46 0x00007f40a6e67513 in QEventDispatcherGlib::processEvents (this=0x1e24d70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#47 0x00007f40a62a746e in QGuiEventDispatcherGlib::processEvents (this=0x7f4022222222, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x00007f40a6e3c992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#49 0x00007f40a6e3cd6c in QEventLoop::exec (this=0x7fffe21bff00, flags=) at kernel/qeventloop.cpp:201
#50 0x00007f40a6e40aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#51 0x0000000000403e8e in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:224

Possible duplicates by query: bug 243103, bug 225891, bug 225425, bug 223431, bug 218362.

Reported using DrKonqi
Comment 1 Björn Ruberg 2010-08-06 21:09:23 UTC

*** This bug has been marked as a duplicate of bug 176845 ***
Comment 2 hector 2010-08-09 15:53:46 UTC
At this time kmail work, but every time I open it, i'ts "freeze" fore about 60 seconds, the problem is with akonadi...
I've added the icon tray to stop the akonadi server,but it's restart when iopen kmail.
The problem is with akonadi not with kmail