[Bug 277110] New: kmail continuously recreate index

Nicolas Jungers kbug at jungers.net
Tue Jul 5 07:36:38 BST 2011


https://bugs.kde.org/show_bug.cgi?id=277110

           Summary: kmail continuously recreate index
           Product: kmail2
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: kbug at jungers.net


Application: kmail (1.13.6)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic x86_64
Distribution: Ubuntu 11.04

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

when launching Kmail with moderatly sized inbox (between 200-20000 mainly short
mails), kmail keeps crashing and complaining that the index is corrupted. The
kde folder is on a smb share.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f62c5f0c840 (LWP 9391))]

Thread 3 (Thread 0x7f62a7631700 (LWP 9393)):
#0  0x00007f62c2e62f03 in __poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=<value optimized out>) at
../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f62bad6b104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f62bad6b9f2 in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f62b1f9cc44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f62bad923e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f62c0a1fd8c in start_thread (arg=0x7f62a7631700) at
pthread_create.c:304
#6  0x00007f62c2e7004d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f629d16b700 (LWP 9397)):
#0  0x00007f62c2e62f03 in __poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=<value optimized out>) at
../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f62bad6b104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f62bad6b639 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f62c37c0446 in QEventDispatcherGlib::processEvents (this=0x1cc00b0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f62c3794882 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f62c3794abc in QEventLoop::exec (this=0x7f629d16ad10, flags=...) at
kernel/qeventloop.cpp:201
#6  0x00007f62c36ab924 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:492
#7  0x00007f62c3776c2f in QInotifyFileSystemWatcherEngine::run (this=0x1ceb890)
at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f62c36ae175 in QThreadPrivate::start (arg=0x1ceb890) at
thread/qthread_unix.cpp:320
#9  0x00007f62c0a1fd8c in start_thread (arg=0x7f629d16b700) at
pthread_create.c:304
#10 0x00007f62c2e7004d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f62c5f0c840 (LWP 9391)):
[KCrash Handler]
#6  rewind (fp=0x0) at rewind.c:36
#7  0x00007f62c4aec42d in KMFolderIndex::readIndex (this=0x14ba250) at
../../kmail/kmfolderindex.cpp:220
#8  0x00007f62c4aedc97 in KMFolderIndex::recreateIndex (this=0x14ba250) at
../../kmail/kmfolderindex.cpp:514
#9  0x00007f62c4994856 in KMMsgBase::getLongPart (this=0x1d2de40,
t=KMMsgBase::MsgSizePart) at ../../kmail/kmmsgbase.cpp:1058
#10 0x00007f62c49951b2 in KMMsgBase::asIndexString (this=0x1d2de40,
length=@0x7fff2e63d78c) at ../../kmail/kmmsgbase.cpp:1188
#11 0x00007f62c4aedd7d in KMFolderIndex::writeMessages (this=0x14ba250,
msg=0x0, flush=false, indexStream=0x14f2510) at
../../kmail/kmfolderindex.cpp:526
#12 0x00007f62c4aee2a4 in KMFolderIndex::writeIndex (this=0x14ba250,
createEmptyIndex=false) at ../../kmail/kmfolderindex.cpp:130
#13 0x00007f62c49c04ed in KMFolderMbox::reallyDoClose (this=0x14ba250) at
../../kmail/kmfoldermbox.cpp:289
#14 0x00007f62c49105bc in KMFolder::~KMFolder (this=0x14be390, __in_chrg=<value
optimized out>) at ../../kmail/kmfolder.cpp:167
#15 0x00007f62c4910909 in KMFolder::~KMFolder (this=0x14be390, __in_chrg=<value
optimized out>) at ../../kmail/kmfolder.cpp:171
#16 0x00007f62c4955b26 in qDeleteAll<QList<KMFolderNode*>::iterator>
(this=0x14c1000, __in_chrg=<value optimized out>) at
/usr/include/qt4/QtCore/qalgorithms.h:322
#17 KMFolderDir::~KMFolderDir (this=0x14c1000, __in_chrg=<value optimized out>)
at ../../kmail/kmfolderdir.cpp:91
#18 0x00007f62c4955b89 in KMFolderDir::~KMFolderDir (this=0x14c1000,
__in_chrg=<value optimized out>) at ../../kmail/kmfolderdir.cpp:93
#19 0x00007f62c4955c1e in qDeleteAll<QList<KMFolderNode*>::iterator>
(this=0x149c758, __in_chrg=<value optimized out>) at
/usr/include/qt4/QtCore/qalgorithms.h:322
#20 KMFolderRootDir::~KMFolderRootDir (this=0x149c758, __in_chrg=<value
optimized out>) at ../../kmail/kmfolderdir.cpp:37
#21 0x00007f62c4958324 in KMFolderMgr::~KMFolderMgr (this=0x149c740,
__in_chrg=<value optimized out>) at ../../kmail/kmfoldermgr.cpp:51
#22 0x00007f62c49583d9 in KMFolderMgr::~KMFolderMgr (this=0x149c740,
__in_chrg=<value optimized out>) at ../../kmail/kmfoldermgr.cpp:54
#23 0x00007f62c4a1d3bd in KMKernel::cleanup (this=0x7fff2e63db50) at
../../kmail/kmkernel.cpp:1800
#24 0x0000000000403181 in main (argc=<value optimized out>, argv=<value
optimized out>) at ../../kmail/main.cpp:160

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list