Bug 144264 - crash when using 2.3.8 cyrus-imapd server.
Summary: crash when using 2.3.8 cyrus-imapd server.
Status: RESOLVED DUPLICATE of bug 150038
Alias: None
Product: kmail
Classification: Applications
Component: IMAP (show other bugs)
Version: 1.9.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-15 19:30 UTC by Jim Ramsey
Modified: 2007-09-20 14:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Backtrace from KMail IMAP crash (6.03 KB, text/plain)
2007-04-23 23:59 UTC, Philip Nelson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Ramsey 2007-04-15 19:30:04 UTC
Version:           1.9.5 (using KDE KDE 3.5.6)
Installed from:    SuSE RPMs
OS:                Linux

This was first seen when I upgraded my cyrus-imap server (running Fedora Core 6) from 2.3.7 to 2.3.8.

The problem was first seen with kontact but the same problem occurs with kmail.

I first disabled periodic checks for new mail on the IMAP server and still had the crash.
Second, I switched from kontact to kmail and still had the crash.

My system is a fully updated OpenSUSE 10.2 system.

Here is the backtrace.


System configuration startup check disabled.

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found) -------------- repeated 24 times
[Thread debugging using libthread_db enabled]
[New Thread -1248401712 (LWP 6545)]
[New Thread -1278616688 (LWP 6549)]
[New Thread -1270223984 (LWP 6548)]
[New Thread -1261831280 (LWP 6547)]
[New Thread -1253438576 (LWP 6546)]
(no debugging symbols found) -------------- repeated 56 times
[KCrash handler]
#9  0xb7cfe8e6 in KMMsgBase::storage () from /opt/kde3/lib/libkmailprivate.so
#10 0xb7d35ff4 in KMFolderImap::deleteMessage ()
   from /opt/kde3/lib/libkmailprivate.so
#11 0xb7d36774 in KMFolderImap::removeMsg ()
   from /opt/kde3/lib/libkmailprivate.so
#12 0xb7c7d7b6 in KMFolder::removeMsg () from /opt/kde3/lib/libkmailprivate.so
#13 0xb7dd68bc in KMMoveCommand::execute ()
   from /opt/kde3/lib/libkmailprivate.so
#14 0xb7dce349 in KMCommand::slotPostTransfer ()
   from /opt/kde3/lib/libkmailprivate.so
#15 0xb7dd52c6 in KMCommand::qt_invoke () from /opt/kde3/lib/libkmailprivate.so
#16 0xb7dd55ab in KMMenuCommand::qt_invoke ()
   from /opt/kde3/lib/libkmailprivate.so
#17 0xb7dd5637 in KMMoveCommand::qt_invoke ()
   from /opt/kde3/lib/libkmailprivate.so
#18 0xb73703cd in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0xb7dcce9e in KMCommand::messagesTransfered ()
   from /opt/kde3/lib/libkmailprivate.so
#20 0xb7dd6181 in KMCommand::transferSelectedMsgs ()
   from /opt/kde3/lib/libkmailprivate.so
#21 0xb7dd62e7 in KMCommand::slotStart () from /opt/kde3/lib/libkmailprivate.so
#22 0xb7dd52d8 in KMCommand::qt_invoke () from /opt/kde3/lib/libkmailprivate.so
#23 0xb7dd55ab in KMMenuCommand::qt_invoke ()
   from /opt/kde3/lib/libkmailprivate.so
#24 0xb7dd5637 in KMMoveCommand::qt_invoke ()
   from /opt/kde3/lib/libkmailprivate.so
#25 0xb73703cd in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0xb76aa1ae in QSignal::signal () from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0xb738c497 in QSignal::activate () from /usr/lib/qt3/lib/libqt-mt.so.3
#28 0xb7393823 in QSingleShotTimer::event ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#29 0xb7311647 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#30 0xb73124f9 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#31 0xb79ce1f2 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#32 0xb7306663 in QEventLoop::activateTimers ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#33 0xb72c0bd0 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#34 0xb73280e0 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#35 0xb7327f76 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#36 0xb731100f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#37 0x0804a0eb in QObject::checkConnectArgs ()
#38 0xbfe32244 in ?? ()
#39 0xbfe32430 in ?? ()
#40 0x00000000 in ?? ()
Comment 1 Jim Ramsey 2007-04-15 19:33:52 UTC
I must have miss-typed something.  I'm running KDE 3.5.5 not 3.5.6
I can't figure out how change this.
Comment 2 Thomas McGuire 2007-04-15 19:36:43 UTC
Looks like bug 143250.
Please try the SVN version (3.5 branch) or the KDE 3.5.7 version (as soon as it is released) and see if the problem is fixed.
Comment 3 Thomas McGuire 2007-04-15 19:38:02 UTC
>I can't figure out how change this. 
You can't, but it does not matter. The KMail version (1.9.5) is correct.
Comment 4 Jim Ramsey 2007-04-15 21:52:06 UTC
OK.

I'm hunting around now in hopes of finding a test openSUSE repository.
I'd like to avoid to the full build myself if I can.


On Sunday 15 April 2007, Thomas McGuire wrote:
[bugs.kde.org quoted mail]
Comment 5 Jim Ramsey 2007-04-16 00:13:26 UTC
Hmmm.  I looked for version 3.5.7 and found version 3.5.6 which didn't
help.  I also found version 3.8 but that is apparently the kde4 beta.

Should I be looking to grab an svn snapshot ?   How?


On Sunday 15 April 2007, Thomas McGuire wrote:
[bugs.kde.org quoted mail]
Comment 6 Jim Ramsey 2007-04-16 05:35:35 UTC
This is very interesting.

I wasn't able to find kde 3.5.7, so I decided to try version 3.5.6
I'm running it now.

Initially, I had the same failure.  I didn't even save the trace back.
Then I decided to run it again and looked at the traceback, and noticed
this interesting part.

[KCrash handler]
#9  0xb7cf0c16 in KMMsgBase::storage () from /opt/kde3/lib/libkmailprivate.so
#10 0xb7d2b101 in KMFolderImap::deleteMessage ()
   from /opt/kde3/lib/libkmailprivate.so
#11 0xb7d2b874 in KMFolderImap::removeMsg ()
   from /opt/kde3/lib/libkmailprivate.so

The interesting part is that I had disabled periodic checks for new messages.

Then it hit me  ---- Expired messages.

I have many sub-folders under my IMAP Account.  I added some expire rules.
That struck as a bit odd at the time, but I couldn't see a way to do this
using sieve.  Anyway, kontact / kmail let me do it.

Just now I went through all my sub-folders and removed all the expire rules,
and surprise, surprise I'm up and staying up. I've been up now for 2hrs and 20
minutes.  Previously, I would stay of for 5 or 10 minutes and then crash.

I'm going to re-enable periodic checks for new mail.  Manual checks work,
so I am hopefull.

I'm also hopefull that this is a clue.






On Sunday 15 April 2007 13:38:03 Thomas McGuire wrote:
[bugs.kde.org quoted mail]
Comment 7 Thomas McGuire 2007-04-16 15:35:24 UTC
>Should I be looking to grab an svn snapshot ?   How? 
I couldn't find a document explaining how to do this, so better wait until 3.5.7 is released, which it should be at May 8th.

About the expire settings: The expire settings by default delete the mail. Since deleting mail causes the crash (see bug 143250), switching off those settings prevents the periodic crashes.
Comment 8 Jim Ramsey 2007-04-16 16:25:51 UTC
But the interesting part is that deleting mail from an IMAP account folder
just normally works fine.


On Monday 16 April 2007 09:35:25 Thomas McGuire wrote:
[bugs.kde.org quoted mail]
Comment 9 Philip Nelson 2007-04-23 23:59:21 UTC
Created attachment 20367 [details]
Backtrace from KMail IMAP crash
Comment 10 Philip Nelson 2007-04-24 00:02:39 UTC
I get this crash when I am going through my Inbox message list and deleting messages.   If the list of IMAP messages is updated while I am doing this KMail will crash.    the IMAP messages will be updated using a combination of Fetchmail / Postfix / Cyrus IMAP.     The KMail, running inside Kontact, is on the same box as the IMAP server.

I don't get crashes with KMail in "disconnected IMAP" mode on another box.

Comment 11 Tommi Tervo 2007-09-20 14:42:19 UTC
bug #150038 has better backtrace

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