Version: 1.10.3 (using 4.1.3 (KDE 4.1.3), Kubuntu packages) Compiler: cc OS: Linux (i686) release 2.6.27-7-generic Kmail often krasches on startup. running strace on kmail gives that the .mailboxname.ids is the last file opened before the crash. Removing resolves the crash issue. Both local mailboxes and IMAP can be affected. The local mailbox displayin the troubles has ~30K mails and the IMAP (uncached) has a subfolder with >100k mail. Not subscribing to the huge IMAP folder prevents crashes there.
Hi and thanks for your bugreport. Can you perhaps attach a backtrace for the crash? (See http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports)
crash dump (from kmail 4:4.1.3-0ubuntu1~intrepid2) Program: Kmail (kmail), signal SIGABRT [Thread debugging using libthread_db enabled] [New Thread 0xb42ba6c0 (LWP 6180)] [KCrash handler] #6 0xb80d8430 in __kernel_vsyscall () #7 0xb6541880 in raise () from /lib/tls/i686/cmov/libc.so.6 #8 0xb6543248 in abort () from /lib/tls/i686/cmov/libc.so.6 #9 0xb7ec6795 in qt_message_output () from /usr/lib/libQtCore.so.4 #10 0xb7ec6872 in qFatal () from /usr/lib/libQtCore.so.4 #11 0xb7ec6915 in qt_assert () from /usr/lib/libQtCore.so.4 #12 0xb76e53d5 in KMMsgDict::readFolderIds (this=0x839aa80, storage=@0x8481520) at /build/buildd/kdepim-4.1.3/kmail/kmmsgdict.cpp:476 #13 0xb76eb2f1 in FolderStorage::readFolderIdsFile (this=0x8481520) at /build/buildd/kdepim-4.1.3/kmail/folderstorage.cpp:1000 #14 0xb76bd073 in KMFolder (this=0x8480520, aParent=0x836ba34, aFolderName=@0xbf9d77d8, aFolderType=KMFolderTypeMbox, withIndex=true, exportedSernums=<value optimized out>) at /build/buildd/kdepim-4.1.3/kmail/kmfolder.cpp:146 #15 0xb771005f in KMFolderDir::reload (this=0x836ba34) at /build/buildd/kdepim-4.1.3/kmail/kmfolderdir.cpp:288 #16 0xb7714b71 in KMFolderMgr::setBasePath (this=0x836ba28, aBasePath=@0xbf9d7a54) at /build/buildd/kdepim-4.1.3/kmail/kmfoldermgr.cpp:163 #17 0xb7714f49 in KMFolderMgr (this=0x836ba28, aBasePath=@0xbf9d7a54, dirType=KMStandardDir) at /build/buildd/kdepim-4.1.3/kmail/kmfoldermgr.cpp:44 #18 0xb7802dea in KMKernel::init (this=0xbf9d7a9c) at /build/buildd/kdepim-4.1.3/kmail/kmkernel.cpp:1417 #19 0x0804a67a in main (argc=) at /build/buildd/kdepim-4.1.3/kmail/main.cpp:128 #0 0xb80d8430 in __kernel_vsyscall ()
The backtrace is very similar. *** This bug has been marked as a duplicate of bug 174866 ***