[Bug 148498] New: Disabling interval mail checking on IMAP account causes kmail to get stuck in loop of checks

Al Muckart silver at where.else.net.nz
Sat Aug 4 08:42:48 BST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=148498         
           Summary: Disabling interval mail checking on IMAP account causes
                    kmail to get stuck in loop of checks
           Product: kmail
           Version: 1.9.7
          Platform: unspecified
        OS/Version: FreeBSD
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs kde org
        ReportedBy: silver where else net nz


Version:           1.9.7 (using KDE 3.5.7, compiled sources)
Compiler:          gcc version 3.4.6 [FreeBSD] 20060305
OS:                FreeBSD (i386) release 6.2-STABLE

I am logging this as a crash rather than a bug because there is an eventual crash.

I have checked Bug 28623 and Bug 27848 both of which sound similar (but not identical) and are listed as being closed against older versions of kmail, but I am seeing this on version 1.9.7 using KDE 3.5.7.

I have an IMAP account pointing to a courier IMAP server. I disabled automatic mail checking because I am generating tcpdump logs trying to gather information on a different bug. Previously mail checking had been configured with a 5 minute check interval.

Intervail mail checking still happened and not only did it still happen, it got stuck in a loop of checks, immediately that one check finished another one started. I clicked the up arrow button to see the detailed progress and I could see it repeatedly looping through checks on the same folders over and over. Attempting to abort the checks did not work I had to quit kmail to stop it. 

This is repeatable on my install. When I did File > Quit the kmail process stuck around spawning kio_imap4 processes untill I killed the PID, only then (I think) did the kmail icon dissappear from my system tray but the main app window had gone.

When I restarted kmail after the first time it did this and then clicked on my IMAP inbox it started a check and then the application crashed. There was no drkonqui crash log either, the app just dissappeared - literally without a trace. Unfortunately despite having WANT_KDE_DEBUG=yes in my /etc/make.conf on FreeBSD it doesn't seem to have built with debugging symbols so I don't have a backtrace for you. I tried running it out of gdb the second time but it crashed instantly with the following output:


(gdb) run
Starting program: /usr/local/bin/kmail
warning: Unable to get location for thread creation breakpoint: generic error
[New LWP 100052]
ERROR: Communication problem with kmail, it probably crashed.

Program exited with code 0377.


It did this every time I tried to run it from gdb. It ran fine though from the command line. Was I doing something wrong with gdb?

I have attached a script session of the terminal output showing the repeated IMAP checks and the gdb output.

Thanks.



More information about the Kdepim-bugs mailing list