Bug 99589

Summary: crash after 'unable to complete LIST operation'
Product: [Unmaintained] kmail Reporter: Zsolt Rizsanyi <rizsanyi>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Zsolt Rizsanyi 2005-02-17 11:45:23 UTC
Version:            (using KDE KDE 3.3.2)
Installed from:    Debian testing/unstable Packages
Compiler:          gcc 3.3.5? standard debian package
OS:                Linux

Hi!

It occasionally occurs with my kmail, that when trying to retrieve mail from a POP account (I think always the same one, but I'm not sure), that it writes out 'unable to complete LIST operation'. This happens to me once in about a month, and I check my mail every half our on that mailbox.
If I remember correctly the same was happening to me with kmail 1.6 and maybe even earlier. I'm using kmail 1.7.1 currently.

After the 'unable to complete LIST operation' message appears in a message box, the transaction seems to linger forever. If I try to close it with the terminate button it changes its state to Aborting but the aborting is never finished. You cannot get your mail from that mailbox anymore (because one transaction is already in progress).

If you try to exit kmail it crashes. Here is the backtrace:
(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1233321856 (LWP 6020)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#3  0x0806e070 in ?? ()
#4  0xb5f9aec1 in KMAcctExpPop::~KMAcctExpPop ()
   from /usr/lib/libkmailprivate.so.0
#5  0xb5f1925e in QPtrList<KMAccount>::deleteItem ()
   from /usr/lib/libkmailprivate.so.0
#6  0xb7235a6e in QGList::clear () from /usr/lib/libqt-mt.so.3
#7  0xb5f16765 in KMAcctMgr::~KMAcctMgr () from /usr/lib/libkmailprivate.so.0
#8  0xb5fa8d55 in KMKernel::cleanup () from /usr/lib/libkmailprivate.so.0
#9  0xb6131c75 in KMailPart::~KMailPart ()
   from /usr/lib/kde3/libkmailpart.so.1
#10 0x08059ed8 in ?? ()
#11 0x0830b318 in ?? ()
#12 0x081c4c70 in ?? ()
#13 0x08c87ba0 in ?? ()
#14 0xb73e4fdc in ?? () from /usr/lib/libqt-mt.so.3
#15 0x08068f68 in vtable for QPtrList<KParts::Part> ()
#16 0x0019d500 in ?? ()
#17 0x08199fe8 in ?? ()
#18 0x094b2458 in ?? ()
#19 0x08199fe8 in ?? ()
#20 0x00000000 in ?? ()
#21 0x00000005 in ?? ()
#22 0x00000000 in ?? ()
#23 0x000000c5 in ?? ()
#24 0x000000ab in ?? ()
#25 0x000004b0 in ?? ()
#26 0xb73e4fdc in ?? () from /usr/lib/libqt-mt.so.3
#27 0x081a4040 in ?? ()
#28 0x08c87ba0 in ?? ()
#29 0xbffff588 in ?? ()
#30 0xb6f7bdfc in QObject::event () from /usr/lib/libqt-mt.so.3
#31 0xb6f7bdfc in QObject::event () from /usr/lib/libqt-mt.so.3
#32 0xb6fb46af in QWidget::event () from /usr/lib/libqt-mt.so.3
#33 0xb7072d12 in QMainWindow::event () from /usr/lib/libqt-mt.so.3
#34 0xb6f21bff in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#35 0xb6f211fe in QApplication::notify () from /usr/lib/libqt-mt.so.3
#36 0xb74d0e03 in KApplication::notify () from /usr/lib/libkdecore.so.4
#37 0xb6f229f6 in QApplication::sendPostedEvents ()
   from /usr/lib/libqt-mt.so.3
#38 0xb6f33f3c in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#39 0xb6f33e08 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#40 0xb6f21e51 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#41 0x080590fb in ?? ()
#42 0xbffff9c0 in ?? ()
#43 0x00000001 in ?? ()
#44 0x00000001 in ?? ()
#45 0x00000000 in ?? ()
#46 0x00000000 in ?? ()
#47 0x00000001 in ?? ()
#48 0x08066480 in _IO_stdin_used ()
#49 0x00000000 in ?? ()
#50 0x08065976 in _IO_stdin_used ()
#51 0x08065962 in _IO_stdin_used ()
#52 0xbffff9e8 in ?? ()
#53 0xb7e2c2fe in operator new () from /usr/lib/libstdc++.so.5
#54 0xb7c4f904 in __libc_start_main () from /lib/tls/libc.so.6
#55 0x080588b1 in ?? ()



Note: I have found some very similar bugs: 51413, 48483 and 61226, but all of them were closed, saying that it is unreproducible. I know that it is hard to reproduce, because it happens very infrequently (and probably only when the POP3 server fails), but still it occurs with all the grave consequences.

Thanks,
Zsolt
Comment 1 Laur Ivan 2005-07-12 17:08:28 UTC
This happens when the header is malformed. and it's quite reproductible.

----------------------------
retr 1
+OK 665 octets
Return-Path: descendent@agh.com
X-Mmdf-To: laur
Received: from doc-209-33-38-58.shamrock.tx.cebridge.net by www.corvil.com
          with SMTP id <aa57000@www>; 12 Jul 2005 05:33:21 +0100 (IST)
Message-ID: <200507u23h98.8797obn3@crowley>
From: Pablo Tidwell <descendent@agh.com>
To: bobobob@corvil.com
Subject: Thank you for your loan request
Date: Tue, 12 Jul 2005 11:30:05 +0600
MIME-Version: 1.0
Content-Type: multipart/alternative;
    boundary="-----=102_9153_4W403P51.29HM022L"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express V6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
X-UIDL:
Status: RO


.
--------------------------------------------

Can't figure out where it gets stuck, but it does. Also, the message is spam.
Comment 2 t. heisecke 2005-11-04 09:59:22 UTC
hello,

i am from germany an i have the same bug. For me as the admin it is a big problem because i have 100 users wich become daily these mails. In kshowmail there is no problem with these mails. I can delete them with kshowmail. But why does kmail can`t list these mail. Here is a sample mail:

From 462missirli@about.com  Fri Oct  7 07:04:14 2005
X-UIDL:
From 462missirli@about.com  Fri Oct  7 07:04:14 2005
Return-Path: <462missirli@about.com>
Delivered-To: testname@localhost.mydomain.de
Received: from localhost (localhost [127.0.0.1])
        by mydomain.de (Mail-Server MY-GmbH) with ESMTP id E0F26D5859
        for <testname@localhost>; Fri,  7 Oct 2005 07:04:13 +0200 (MEST)
Delivery-Date: Thu, 06 Oct 2005 19:14:19 +0200
Received: from pop.1und1.com
        by localhost with POP3 (fetchmail-5.2.0)
        for cmeyer@localhost (single-drop); Fri, 07 Oct 2005 07:04:14 +0200 (MEST)
Received: from [80.98.225.44] (helo=catv-5062e12c.catv.broadband.hu)
        by mxeu9.kundenserver.de with ESMTP (Nemesis),
        id 0MKt64-1ENZJv1u4e-0000up for testname@mydomain.de; Thu, 06 Oct 2005 19:14:15 +0200
Message-ID: <e5f801c5ca97$82f568bf$29dbdc30@about.com>
From: Paul A.Davis <462missirli@about.com>
To: testname@mydomain.de
Subject: =?iso-8859-1?B?Q2lhbGlzIC0gTE9XIHByaWNlIQ==?=
Date: Thu, 06 Oct 2005 17:02:22 +0000
MIME-Version: 1.0
Content-Type: multipart/related;
    type="multipart/alternative";
    boundary="----=_NextPart_000_0000_2BE7045A.9DF8E161"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express V6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Envelope-To: testname@mydomain.de
Status: U
Comment 3 BackFromHell 2005-11-18 13:45:12 UTC
Hello,

I have the bug on kmail 1.8.2 and more. 
It happend at each time I download my mails and I choose to delete mail from the server. If I choose to leave mails on the server I don't have the bug.

If I could find howto debug the kmail, I am agree to resolv this bug.
Comment 4 David Holland 2007-02-28 04:20:00 UTC
I can reproduce this bug every time. 
Kontact V1.1.2
KDE 3.4.2 level "b"
Kernel 2.6.13-15.8-default
Distro SUSE 10.0

This just started to occur and it will not clear.

I have mail accounts on 3 servers configured in my Kmail. Two of the 3 work fine, but the third exibits this "List operation failure -> SIGSEGV" behavior every time I try to fetch mail from that account. I used another client to retrieve mail from that server to isolate the problem. I also tried deleting and recreating the account in Kmail, but the behavior persists. 

Backtrace:
(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 1104263104 (LWP 19307)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#4  0x00000000 in ?? ()
#5  0x425ed87d in KMAcctExpPop::~KMAcctExpPop ()
   from /opt/kde3/lib/libkmailprivate.so
#6  0x426f649e in QPtrList<KMAccount>::deleteItem ()
   from /opt/kde3/lib/libkmailprivate.so
#7  0x41248d2d in QGList::clear () from /usr/lib/qt3/lib/libqt-mt.so.3
#8  0x4258b425 in KMAcctMgr::~KMAcctMgr ()
   from /opt/kde3/lib/libkmailprivate.so
#9  0x426aaed0 in KMKernel::cleanup () from /opt/kde3/lib/libkmailprivate.so
#10 0x4219e930 in KMailPart::~KMailPart ()
   from /opt/kde3/lib/kde3/libkmailpart.so
#11 0x0805bc58 in ?? ()
#12 0x083723f8 in ?? ()
#13 0x08273c60 in ?? ()
#14 0xbfbefc08 in ?? ()
#15 0x08065e28 in typeinfo name for QPtrList<KAction> ()
#16 0xbfbefb00 in ?? ()
#17 0x08449480 in ?? ()
#18 0x08449480 in ?? ()
#19 0x08449480 in ?? ()
#20 0x00000000 in ?? ()
#21 0x00000001 in ?? ()
#22 0x00000000 in ?? ()
#23 0x413d680c in ?? () from /usr/lib/qt3/lib/libqt-mt.so.3
#24 0x0815c708 in ?? ()
#25 0x0864cc58 in ?? ()
#26 0xbfbefc28 in ?? ()
#27 0x40f8c028 in QObject::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#28 0x40f8c028 in QObject::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#29 0x40fc5cac in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#30 0x41081812 in QMainWindow::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#31 0x40f2caa1 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#32 0x40f2d419 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#33 0x40c3e97e in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#34 0x40f2e477 in QApplication::sendPostedEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#35 0x40f43a06 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#36 0x40f43896 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#37 0x40f2c3ef in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#38 0x0805a1bb in ?? ()
#39 0xbfbf0000 in ?? ()
#40 0x00000001 in ?? ()
#41 0x00000001 in ?? ()
#42 0x00000000 in ?? ()
#43 0x00000000 in ?? ()
#44 0x00000001 in ?? ()
#45 0x08066cd8 in typeinfo name for QPtrList<KAction> ()
#46 0x00000000 in ?? ()
#47 0x08066320 in typeinfo name for QPtrList<KAction> ()
#48 0x0806630c in typeinfo name for QPtrList<KAction> ()
#49 0x00000021 in ?? ()
#50 0x415fb8b0 in main_arena () from /lib/tls/libc.so.6
#51 0x00000004 in ?? ()
#52 0x00000020 in ?? ()
#53 0x41543241 in _int_malloc () from /lib/tls/libc.so.6
#54 0x414f3ea0 in __libc_start_main () from /lib/tls/libc.so.6
#55 0x08057991 in ?? ()

Comment 5 Thomas McGuire 2007-04-20 12:49:18 UTC

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