Summary: | kmail crashes when I try change the name of an imap account | ||
---|---|---|---|
Product: | [Unmaintained] kmail | Reporter: | Torquil Macdonald Sørensen <torquil> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | 1.5.1 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
The KDE Crash Handler backtrace
Output from strace started just before clicking OK |
Description
Torquil Macdonald Sørensen
2003-03-25 18:02:18 UTC
Created attachment 1242 [details]
The KDE Crash Handler backtrace
Created attachment 1243 [details]
Output from strace started just before clicking OK
I started strace just before clicking OK for the last time, and stopped it when
the Crash Handler appeared
Subject: KDE_3_1_BRANCH: kdenetwork/kmail CVS commit by burghard: Fix bug #56393, we had a dangling pointer. CCMAIL: 56393-done@bugs.kde.org M +7 -4 kmacctimap.cpp 1.111.2.5 M +1 -1 kmacctimap.h 1.49.2.2 --- kdenetwork/kmail/kmacctimap.cpp #1.111.2.4:1.111.2.5 @@ -552,8 +552,11 @@ void KMAcctImap::slotSimpleResult(KIO::J void KMAcctImap::slotUpdateFolderList() { + if (mFolder && mFolder->child()) + { QStringList strList; mMailCheckFolders.clear(); kernel->imapFolderMgr()->createFolderList(&strList, &mMailCheckFolders, mFolder->child(), QString::null, false); + } } --- kdenetwork/kmail/kmacctimap.h #1.49.2.1:1.49.2.2 @@ -244,5 +244,5 @@ protected: KIO::MetaData mSlaveConfig; QPtrList<KMImapJob> mJobList; - KMFolderImap *mFolder; + QGuardedPtr<KMFolderImap> mFolder; int mCountUnread, mCountLastUnread; int mCountRemainChecks; |