Version: (using KDE 4.2.0) OS: Linux Installed from: Ubuntu Packages Here the result of a strace when starting kmail I have try restart dbus and hal no more result. My os : kubuntu intrepid Kmail package name : kmail 4:4.2.0-0ubuntu1~intrepid~ppa3 ----------------------------------- mail(14693) KWallet::Wallet::openWallet: Pass a valid window to KWallet::Wallet::openWallet(). kmail(14693) Sonnet::Loader::loadPlugin: Successfully loaded plugin: "kspell_hspell.desktop" kmail(14693) Sonnet::Loader::loadPlugin: Successfully loaded plugin: "kspell_enchant.desktop" kmail: /build/buildd/kdepim-4.2.0/kmail/kmmsgbase.cpp:1035: off_t KMMsgBase::getLongPart(KMMsgBase::MsgPartType) const: Assertion `sizeOfLong == len' failed. KCrash: Application 'kmail' crashing... sock_file=/home/laradji/.kde/socket-PtiPanda/kdeinit4__0 kdeinit4: preparing to launch /usr/lib/kde4/libexec/drkonqi <unknown program name>(14692)/: Communication problem with "kmail" , it probably crashed. Error message was: "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" " ------------------------------------------- Application: KMail (kmail), signal SIGABRT 0x00007f91e96a15f0 in nanosleep () from /lib/libc.so.6 Thread 1 (Thread 0x7f91eeb8b6f0 (LWP 14693)): [KCrash Handler] #5 0x00007f91e962bfd5 in raise () from /lib/libc.so.6 #6 0x00007f91e962db43 in abort () from /lib/libc.so.6 #7 0x00007f91e9624d49 in __assert_fail () from /lib/libc.so.6 #8 0x00007f91ed7da42d in ?? () from /usr/lib/libkmailprivate.so.4 #9 0x00007f91ed77be05 in ?? () from /usr/lib/libkmailprivate.so.4 #10 0x00007f91ed953a1e in ?? () from /usr/lib/libkmailprivate.so.4 #11 0x00007f91ed955905 in ?? () from /usr/lib/libkmailprivate.so.4 #12 0x00007f91ed805484 in ?? () from /usr/lib/libkmailprivate.so.4 #13 0x00007f91ed9526b7 in ?? () from /usr/lib/libkmailprivate.so.4 #14 0x00007f91ed769a30 in ?? () from /usr/lib/libkmailprivate.so.4 #15 0x00007f91ed769ae0 in ?? () from /usr/lib/libkmailprivate.so.4 #16 0x00007f91ed73df61 in ?? () from /usr/lib/libkmailprivate.so.4 #17 0x00007f91ed78cd63 in ?? () from /usr/lib/libkmailprivate.so.4 #18 0x00007f91ed78cac0 in ?? () from /usr/lib/libkmailprivate.so.4 #19 0x00007f91ed78cac0 in ?? () from /usr/lib/libkmailprivate.so.4 #20 0x00007f91ed78cac0 in ?? () from /usr/lib/libkmailprivate.so.4 #21 0x00007f91ed791670 in ?? () from /usr/lib/libkmailprivate.so.4 #22 0x00007f91ed791a4f in ?? () from /usr/lib/libkmailprivate.so.4 #23 0x00007f91ed873838 in KMKernel::init () from /usr/lib/libkmailprivate.so.4 #24 0x0000000000403053 in _start ()
I have already used the kmail ,he is using a imap account + smtp. And some filtering.
Even the assertion where it fails is clear, it is not who is calling it. As you are able to trigger it at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? Thanks :)
Ok here the baacktrace : Application: KMail (kmail), signal SIGABRT 0x00007f007f9c15f0 in __nanosleep_nocancel () from /lib/libc.so.6 Thread 1 (Thread 0x7f0084eaa6f0 (LWP 20329)): [KCrash Handler] #5 0x00007f007f94bfd5 in raise () from /lib/libc.so.6 #6 0x00007f007f94db43 in abort () from /lib/libc.so.6 #7 0x00007f007f944d49 in __assert_fail () from /lib/libc.so.6 #8 0x00007f0083afa42d in KMMsgBase::getLongPart (this=0x2a0dbf0, t=KMMsgBase::MsgStatusPart) at /build/buildd/kdepim-4.2.0/kmail/kmmsgbase.cpp:1035 #9 0x00007f0083a9be05 in KMMsgInfo::status (this=0x2a0dbf0) at /build/buildd/kdepim-4.2.0/kmail/kmmsginfo.cpp:501 #10 0x00007f0083c73a1e in KMFolderIndex::readIndex (this=0x29b3420) at /build/buildd/kdepim-4.2.0/kmail/kmfolderindex.cpp:248 #11 0x00007f0083c75905 in KMFolderIndex::openInternal (this=0x29b3420, options={i = -1930497344}) at /build/buildd/kdepim-4.2.0/kmail/kmfolderindex_common.cpp:153 #12 0x00007f0083b25484 in KMFolderMbox::open (this=0x29b3420, owner=<value optimized out>) at /build/buildd/kdepim-4.2.0/kmail/kmfoldermbox.cpp:139 #13 0x00007f0083c726b7 in KMFolderIndex::fillMessageDict (this=0x4f69) at /build/buildd/kdepim-4.2.0/kmail/kmfolderindex.cpp:457 #14 0x00007f0083a89a30 in FolderStorage::invalidateFolder (this=0x29b3420) at /build/buildd/kdepim-4.2.0/kmail/folderstorage.cpp:1021 #15 0x00007f0083a89ae0 in FolderStorage::readFolderIdsFile (this=0x29b3420) at /build/buildd/kdepim-4.2.0/kmail/folderstorage.cpp:1009 #16 0x00007f0083a5df61 in KMFolder (this=0x2a12bf0, aParent=0x29bcab0, aFolderName=@0x7fff8ceef830, aFolderType=<value optimized out>, withIndex=<value optimized out>, exportedSernums=<value optimized out>) at /build/buildd/kdepim-4.2.0/kmail/kmfolder.cpp:147 #17 0x00007f0083aacd63 in KMFolderDir::reload (this=0x29bcab0) at /build/buildd/kdepim-4.2.0/kmail/kmfolderdir.cpp:288 #18 0x00007f0083aacac0 in KMFolderDir::reload (this=0x2838f90) at /build/buildd/kdepim-4.2.0/kmail/kmfolderdir.cpp:299 #19 0x00007f0083aacac0 in KMFolderDir::reload (this=0x2837c50) at /build/buildd/kdepim-4.2.0/kmail/kmfolderdir.cpp:299 #20 0x00007f0083aacac0 in KMFolderDir::reload (this=0x281c388) at /build/buildd/kdepim-4.2.0/kmail/kmfolderdir.cpp:299 #21 0x00007f0083ab1670 in KMFolderMgr::setBasePath (this=0x281c370, aBasePath=@0x7fff8cef0ba0) at /build/buildd/kdepim-4.2.0/kmail/kmfoldermgr.cpp:164 #22 0x00007f0083ab1a4f in KMFolderMgr (this=0x281c370, aBasePath=@0x7fff8cef0ba0, dirType=KMImapDir) at /build/buildd/kdepim-4.2.0/kmail/kmfoldermgr.cpp:45 #23 0x00007f0083b93838 in KMKernel::init (this=0x7fff8cef0d10) at /build/buildd/kdepim-4.2.0/kmail/kmkernel.cpp:1428 #24 0x0000000000403053 in main (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/kdepim-4.2.0/kmail/main.cpp:128
So, After doing this it worked . I think some stuff was corupted in the folder i remove ,it will be great if it can ,repair itself. laradji@PtiPanda:~/.kde/share/apps/kmail$ rm -fr imap/ laradji@PtiPanda:~/.kde/share/apps/kmail$ rm lock laradji@PtiPanda:~/.kde/share/apps/kmail$ kmail kmail(5630) KWallet::Wallet::openWallet: Pass a valid window to KWallet::Wallet::openWallet(). kmail(5630) Sonnet::Loader::loadPlugin: Successfully loaded plugin: "kspell_hspell.desktop" kmail(5630) Sonnet::Loader::loadPlugin: Successfully loaded plugin: "kspell_enchant.desktop" kmail(5630) KWallet::Wallet::openWallet: Pass a valid window to KWallet::Wallet::openWallet(). laradji@PtiPanda:~/.kde/share/apps/kmail$
The assertion message and the top part of the backtraces are identical. Thank you for taking the time to report this bug and helping to make KDE better. This particular bug has already been reported and is a duplicate of bug 182582, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find. *** This bug has been marked as a duplicate of bug 182582 ***