[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 93965] newimap "Unexpected Program Termination"
From:       leopardi () bigpond ! net ! au
Date:       2005-01-29 5:44:43
Message-ID: 20050129054443.22599.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=93965         




------- Additional Comments From leopardi bigpond net au  2005-01-29 06:44 -------
I've now compiled with debug and in addition have started to take a look at debug output, eg.

kmail: processNextCheck, remaining 1
kmail: for host mail.maths.unsw.edu.au current connections=0 and limit is 0
kmail: connection limit reached: false
kmail: processing next mail check for maths
kmail: processNextCheck, remaining 0
kmail: account maths finished check
kmail: connections to server mail.maths.unsw.edu.au now -1
kmail: check mail started - connections for host mail.maths.unsw.edu.au now is 0

The relevant code seems to be that in kmail/kmacctmgr.cpp near line 148:

      if ( !hostname.isEmpty() ) {
        if ( mServerConnections.find( hostname ) != mServerConnections.end() ) {
          mServerConnections[hostname] -= 1;
          kdDebug(5006) << "connections to server " << hostname
                        << " now " << mServerConnections[hostname] << endl;
        }
      }

Should mServerConnections[hostname] ever go negative? What are the consequences of it going negative?
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic