Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45012 - Kmail crashes when deleting messages from IMAP after having sent mail
Summary: Kmail crashes when deleting messages from IMAP after having sent mail
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-18 04:32 UTC by Gerry
Modified: 2004-05-26 08:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerry 2004-03-18 04:32:36 UTC
Kmail 1.6.1 suddenly started crashing when deleting messages from an IMAP mailbox, after having sent an email. Restarting Kmail didn't have any effect. Then I noticed two unsent messages in my outbox, one was titled the same as a message I'd sent earlier, and one was unnamed. When I clicked the one I'd sent earlier, that one became unnamed as well. Both messages were empty. I deleted them without a problem, and after this deleting from IMAP worked as well. I went through this same procedure again, with the exact same results.

Reproducible: Always
Steps to Reproduce:
1. Send an email.
2. Delete a message (any one) from the IMAP account (crash every time).
3. Crashes.
Actual Results:  
Kmail crashed whenever I deleted messages from IMAP

Expected Results:  
Not crash

Steps to fix:
1. Delete the two empty messages that popped up in the outbox.
2. Now deleting messages from the IMAP account doesn't crash.
Comment 1 Alwyn Schoeman 2004-03-29 06:34:48 UTC
I have similar symptoms, except I don't have messages that appear in outbox.
They end up in trash.

Will check tomorrow if your fix works, but it appears as if my kmail just
crashes all over the place. Will try to compile with debug.

Using qt 3.3?
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2004-03-30 05:11:42 UTC
Please please ensure that kmail is not loading in libraries from 3.1. These libraries do not work with kmail and cause great instability. The KDEDIRS variable in the environment should NOT contain /usr/kde/3.1 or /usr/kde/3.2
Comment 3 Gerry 2004-03-30 05:56:49 UTC
It's not loading any 3.1 libraries. In fact, I did a clean reinstall of gentoo not too long ago (for various reasons), so KDE 3.2 was the first KDE version to be installed here (later I upgraded to KDE 3.2.1).

kde* 3.2.1, qt 3.3.0-r1
Comment 4 Alwyn Schoeman 2004-04-12 02:59:45 UTC
My KDEDIRS is just /usr.  Is that ok?

Doing an ldd on kmail gives:
        linux-gate.so.1 =>  (0xffffd000)
        libkmailprivate.so.0 => /usr/kde/3.2/lib/libkmailprivate.so.0 (0x40017000)
        libkhtml.so.4 => /usr/kde/3.2/lib/libkhtml.so.4 (0x403c4000)
        libkjs.so.1 => /usr/kde/3.2/lib/libkjs.so.1 (0x406b5000)
        libpcreposix.so.0 => /usr/lib/libpcreposix.so.0 (0x40738000)
        libpcre.so.0 => /usr/lib/libpcre.so.0 (0x4073b000)
        libkdeprint.so.4 => /usr/kde/3.2/lib/libkdeprint.so.4 (0x4074b000)
        libkparts.so.2 => /usr/kde/3.2/lib/libkparts.so.2 (0x40814000)
        libkutils.so.1 => /usr/kde/3.2/lib/libkutils.so.1 (0x40857000)
        libkwalletclient.so.1 => /usr/kde/3.2/lib/libkwalletclient.so.1 (0x408a6000)
        libkdenetwork.so.2 => /usr/kde/3.2/lib/libkdenetwork.so.2 (0x408b6000)
        libkspell.so.4 => /usr/kde/3.2/lib/libkspell.so.4 (0x40983000)
        libkdepim.so.1 => /usr/kde/3.2/lib/libkdepim.so.1 (0x40986000)
        libmimelib.so.1 => /usr/kde/3.2/lib/libmimelib.so.1 (0x409e2000)
        libktnef.so.1 => /usr/kde/3.2/lib/libktnef.so.1 (0x40a18000)
        libksieve.so.0 => /usr/kde/3.2/lib/libksieve.so.0 (0x40a2b000)
        libkcal.so.2 => /usr/kde/3.2/lib/libkcal.so.2 (0x40a38000)
        libkabc.so.1 => /usr/kde/3.2/lib/libkabc.so.1 (0x40b0d000)
        libvcard.so.0 => /usr/kde/3.2/lib/libvcard.so.0 (0x40bb0000)
        libkresources.so.1 => /usr/kde/3.2/lib/libkresources.so.1 (0x40bd5000)
        libkio.so.4 => /usr/kde/3.2/lib/libkio.so.4 (0x40bf7000)
        libkdeui.so.4 => /usr/kde/3.2/lib/libkdeui.so.4 (0x40efd000)
        libkdesu.so.4 => /usr/kde/3.2/lib/libkdesu.so.4 (0x4119b000)
        libkdecore.so.4 => /usr/kde/3.2/lib/libkdecore.so.4 (0x411b5000)
        libDCOP.so.4 => /usr/kde/3.2/lib/libDCOP.so.4 (0x4139b000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x413cf000)
        libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0x413e1000)
        libkdefx.so.4 => /usr/kde/3.2/lib/libkdefx.so.4 (0x413f7000)
        libqt-mt.so.3 => /usr/qt/3/lib/libqt-mt.so.3 (0x41422000)
        libmng.so.1 => /usr/lib/libmng.so.1 (0x41afa000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x41b3f000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x41b5d000)
        libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x41b65000)
        libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x41b69000)
        libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x41b72000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x41b84000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x41bac000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x41c16000)
        libdl.so.2 => /lib/libdl.so.2 (0x41c3c000)
        libpng.so.3 => /usr/lib/libpng.so.3 (0x41c3f000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x41c6a000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x41c78000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x41d57000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x41d60000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x41d77000)
        libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x41d87000)
        libutil.so.1 => /lib/libutil.so.1 (0x41d8f000)
        libz.so.1 => /lib/libz.so.1 (0x41d92000)
        libfam.so.0 => /usr/lib/libfam.so.0 (0x41da4000)
        libstdc++.so.5 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libstdc++.so.5 (0x41dac000)
        libgcc_s.so.1 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libgcc_s.so.1 (0x41e62000)
        libm.so.6 => /lib/libm.so.6 (0x41e6b000)
        libc.so.6 => /lib/libc.so.6 (0x41e8d000)
Comment 5 Paul de Vrieze (RETIRED) gentoo-dev 2004-04-12 03:55:40 UTC
KDEDIR looks ok. I have no clue as what causes this. You might try to delete the cache from the .kde/share/apps/kmail. but I cannot reproduce it at all. Could it be that you connect to a broken IMAP server?
Comment 6 Alwyn Schoeman 2004-04-13 03:15:02 UTC
A friend just lost all his mail using kmail, sounds like Evolution (:

My kmail worked ok now for awhile until I started filtering mail to local folders, then crashed again.

The mail server is exchange 2000.  It is a different server than the one my friend used.  His kmail was a lot more stable than mine until today.

Will try to delete the cache.

PS. I'm using 2.6.5 kernel and NPTL, also QT 3.3. Could that be a problem?
Comment 7 Paul de Vrieze (RETIRED) gentoo-dev 2004-04-13 03:23:25 UTC
I'm using a similar setup and still have to experience any mail loss due to imap/kmail. I do however not use kmail's filters, so I can't say anything about that. Exchange might also be a part of the problem. (although novell's imap server is even crappier)
Comment 8 Caleb Tennis (RETIRED) gentoo-dev 2004-05-26 08:58:56 UTC
can't recreate with latest versions of kmail - if it persists, you should contact the kmail developers as they'd be very interested to know about it.