Comment 0 for bug 556829

Revision history for this message
In , Jhorak (jhorak) wrote :

Crash occurs in nsImapIncomingServer.cpp:
nsImapIncomingServer::OnStopRunningUrl(nsIURI *url, nsresult exitCode):
...
    case nsIImapUrl::nsImapFolderStatus:
    {
      PRInt32 folderCount = m_foldersToStat.Count();
      nsCOMPtr<nsIMsgFolder> msgFolder(
-> do_QueryInterface(m_foldersToStat[folderCount - 1]));

when m_foldersToStat array is empty. I'm unable to reproduce but we have couple of automatic reports at https://bugzilla.redhat.com/show_bug.cgi?id=570391 (please see for full backtrace). I can reproduce only by manually setting folderCount variable to 0.