Bug 188616

Summary: Kmail 4.2.1 crashes when starting and receiving mail
Product: [Unmaintained] kmail Reporter: Iñaki Baz Castillo <ibc>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Iñaki Baz Castillo 2009-04-01 21:07:49 UTC
Version:           desconocido (using 4.2.1 (KDE 4.2.1), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.27-11-generic

I was using Kmail 4.2.1 from varios days with no problems. I have a POP and a DIMAP accounts configured from the beggining. Today Kmail crashes when starting and receiving mail.

Running Kmail from a terminal I get the following error:

--------------
kmail: /build/buildd/kdepim-4.2.1/kmail/kmmsgbase.cpp:1035: off_t KMMsgBase::getLongPart(KMMsgBase::MsgPartType) const: Afirmación `sizeOfLong == len' fallida.
*** KMail got signal 6 (Crashing)
KCrash: Application 'kmail' crashing...
----------------

Note that "Afirmación `sizeOfLong == len' fallida" means "Assertion `sizeOfLong == len' failed".
Comment 1 Iñaki Baz Castillo 2009-04-01 21:15:15 UTC
I've removed my DIMAP account by editing kmailrc and the crash remains (I think it occurs when receiving some specific mail via POP).
Comment 2 Iñaki Baz Castillo 2009-04-01 22:10:40 UTC
Probably related to this bug:
  http://mail.kde.org/pipermail/kdepim-bugs/2009-March/014242.html
Comment 3 Iñaki Baz Castillo 2009-04-01 22:12:11 UTC
And this is probably a duplicate report:
  https://bugs.kde.org/show_bug.cgi?id=182582
Comment 4 Iñaki Baz Castillo 2009-04-01 22:36:54 UTC
I've deleted some "*.index", "*.index.ids" and "*index.sort" and now Kmail works again.
Comment 5 Dario Andres 2009-04-01 23:18:19 UTC
Yes, it is indeed the same crash as bug 182582. Thanks

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