--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: kmail: 10,000+ message imap folder causes infinte loop (race condition?)
- From: Bob Tanner <tanner@real-time.com>
- Date: Wed, 16 May 2007 13:31:29 -0500
- Message-id: <20070516183129.27081.76953.reportbug@localhost.localdomain>
Package: kmail
Version: 4:3.5.6.dfsg.1-2
Severity: normal
I have several imap folders with over 10,000 message in them. Attempting to view
these huge(?) folders causes 100% CPU utilization and unresponsive kmail.
I've let kmail grind away for hours and it never comes back. Point strace at it
I have the following output:
ioctl(6, FIONREAD, [1]) = 0
gettimeofday({1179339626, 995979}, NULL) = 0
gettimeofday({1179339626, 996523}, NULL) = 0
gettimeofday({1179339626, 996950}, NULL) = 0
gettimeofday({1179339626, 997279}, NULL) = 0
gettimeofday({1179339626, 997663}, NULL) = 0
gettimeofday({1179339626, 998042}, NULL) = 0
gettimeofday({1179339626, 998387}, NULL) = 0
gettimeofday({1179339626, 998787}, NULL) = 0
gettimeofday({1179339626, 999159}, NULL) = 0
gettimeofday({1179339626, 999560}, NULL) = 0
gettimeofday({1179339627, 2}, NULL) = 0
gettimeofday({1179339627, 384}, NULL) = 0
ioctl(6, FIONREAD, [1]) = 0
gettimeofday({1179339627, 1166}, NULL) = 0
gettimeofday({1179339627, 1707}, NULL) = 0
gettimeofday({1179339627, 2110}, NULL) = 0
gettimeofday({1179339627, 2436}, NULL) = 0
gettimeofday({1179339627, 2820}, NULL) = 0
gettimeofday({1179339627, 3202}, NULL) = 0
gettimeofday({1179339627, 3546}, NULL) = 0
gettimeofday({1179339627, 3944}, NULL) = 0
gettimeofday({1179339627, 79356}, NULL) = 0
gettimeofday({1179339627, 79865}, NULL) = 0
gettimeofday({1179339627, 80304}, NULL) = 0
gettimeofday({1179339627, 80683}, NULL) = 0
Killing kmail with SIGSEGV or SIGKILL I get the following:
This backtrace appears to be of no use.
This is probably because your packages are built in a way which prevents
creation of proper backtraces, or the stack frame was seriously corrupted in the
crash.
Using host libthread_db library "/lib/libthread_db.so.1".
/space/debian/gdb/build-area/gdb-6.6.dfsg/gdb/linux-nat.c:1026: internal-error:
linux_nat_attach: Assertion `pid == GET_PID (inferior_ptid) && WIFSTOPPED
(status) && WSTOPSIG (status) == SIGSTOP' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) [answered Y; input not from terminal]
/space/debian/gdb/build-area/gdb-6.6.dfsg/gdb/linux-nat.c:1026: internal-error:
linux_nat_attach: Assertion `pid == GET_PID (inferior_ptid) && WIFSTOPPED
(status) && WSTOPSIG (status) == SIGSTOP' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) [answered Y; input not from terminal]
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.20-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages kmail depends on:
ii kdebase-kio-plugins 4:3.5.6.dfsg.2-2 core I/O slaves for KDE
ii kdelibs4c2a 4:3.5.6.r1.dfsg.1-4 core libraries and binaries for al
ii kdepim-kio-plugins 4:3.5.6.dfsg.1-2 KDE pim I/O Slaves
ii libart-2.0-2 2.3.19-3 Library of functions for 2D graphi
ii libaudio2 1.9-2 The Network Audio System (NAS). (s
ii libc6 2.5-7 GNU C Library: Shared libraries
ii libfontconfig1 2.4.2-1.2 generic font configuration library
ii libfreetype6 2.2.1-5 FreeType 2 font engine, shared lib
ii libgcc1 1:4.1.2-7 GCC support library
ii libice6 1:1.0.3-2 X11 Inter-Client Exchange library
ii libidn11 0.6.5-1 GNU libidn library, implementation
ii libjpeg62 6b-13 The Independent JPEG Group's JPEG
ii libkcal2b 4:3.5.6.dfsg.1-2 KDE calendaring library
ii libkdepim1a 4:3.5.6.dfsg.1-2 KDE PIM library
ii libkleopatra1 4:3.5.6.dfsg.1-2 KDE GnuPG interface libraries
ii libkmime2 4:3.5.6.dfsg.1-2 KDE MIME interface library
ii libkpimidentities1 4:3.5.6.dfsg.1-2 KDE PIM user identity information
ii libksieve0 4:3.5.6.dfsg.1-2 KDE mail/news message filtering li
ii libmimelib1c2a 4:3.5.6.dfsg.1-2 KDE mime library
ii libpng12-0 1.2.15~beta5-1 PNG library - runtime
ii libqt3-mt 3:3.3.7-4+b1 Qt GUI Library (Threaded runtime v
ii libsm6 2:1.0.3-1 X11 Session Management library
ii libstdc++6 4.1.2-7 The GNU Standard C++ Library v3
ii libx11-6 2:1.0.3-7 X11 client-side library
ii libxcursor1 1:1.1.8-2 X cursor management library
ii libxext6 1:1.0.3-2 X11 miscellaneous extension librar
ii libxft2 2.1.12-2 FreeType-based font drawing librar
ii libxi6 1:1.0.1-4 X11 Input extension library
ii libxinerama1 1:1.0.2-1 X11 Xinerama extension library
ii libxrandr2 2:1.2.1-1 X11 RandR extension library
ii libxrender1 1:0.9.2-1 X Rendering Extension client libra
ii libxt6 1:1.0.5-2 X11 toolkit intrinsics library
ii perl 5.8.8-7 Larry Wall's Practical Extraction
ii zlib1g 1:1.2.3-14 compression library - runtime
Versions of packages kmail recommends:
ii procmail 3.22-16 Versatile e-mail processor
-- no debconf information
--- End Message ---