Bug 114197 - KMail Composer crashed between accepting GnuPG passphrase and prompting for PoP/SMTP password
Summary: KMail Composer crashed between accepting GnuPG passphrase and prompting for P...
Status: RESOLVED FIXED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR crash (vote)
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-10 23:27 UTC by Bruce Miller
Modified: 2006-09-17 19:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bruce Miller 2005-10-10 23:27:13 UTC
Version:           KMail 1.7.2 (using KDE KDE 3.3.2)
Installed from:    Debian stable Packages
Compiler:          gcc - Debian stable/sarge 
OS:                Linux

system backtrace as follows:

bruce@linux_P4:~$ cat crash_reports/kmail_crash_200510101715.txt
(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1229057920 (LWP 11417)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#3  0xb7f12dfd in KPIM::ProgressItem::setComplete ()
   from /usr/lib/libkdepim.so.1
#4  0xb640d58b in KMAcctExpPop::slotJobFinished ()
   from /usr/lib/libkmailprivate.so.0
#5  0xb641088e in KMAcctExpPop::slotResult ()
   from /usr/lib/libkmailprivate.so.0
#6  0xb6410cd7 in KMAcctExpPop::qt_invoke ()
   from /usr/lib/libkmailprivate.so.0
#7  0xb71aa5ac in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#8  0xb7c781ea in KIO::Job::result () from /usr/lib/libkio.so.4
#9  0xb7c614fc in KIO::Job::emitResult () from /usr/lib/libkio.so.4
#10 0xb7c629fc in KIO::SimpleJob::slotFinished () from /usr/lib/libkio.so.4
#11 0xb7c65e4e in KIO::TransferJob::slotFinished () from /usr/lib/libkio.so.4
#12 0xb7c7a1cd in KIO::TransferJob::qt_invoke () from /usr/lib/libkio.so.4
#13 0xb71aa5ac in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#14 0xb71aa3d4 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#15 0xb7c5788e in KIO::SlaveInterface::finished () from /usr/lib/libkio.so.4
#16 0xb7c56409 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4
#17 0xb7c55929 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4
#18 0xb7c5335b in KIO::Slave::gotInput () from /usr/lib/libkio.so.4
#19 0xb7c55078 in KIO::Slave::qt_invoke () from /usr/lib/libkio.so.4
#20 0xb71aa5ac in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#21 0xb71aa70d in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#22 0xb74e9092 in QSocketNotifier::activated () from /usr/lib/libqt-mt.so.3
#23 0xb71c6d70 in QSocketNotifier::event () from /usr/lib/libqt-mt.so.3
#24 0xb714dbff in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#25 0xb714d1fe in QApplication::notify () from /usr/lib/libqt-mt.so.3
#26 0xb76fce43 in KApplication::notify () from /usr/lib/libkdecore.so.4
#27 0xb713d5fa in QEventLoop::activateSocketNotifiers ()
   from /usr/lib/libqt-mt.so.3
#28 0xb70f6c23 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#29 0xb715ff58 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#30 0xb714deb1 in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
#31 0xb73345a0 in QDialog::exec () from /usr/lib/libqt-mt.so.3
#32 0xb7ca9032 in KIO::PasswordDialog::getNameAndPassword ()
   from /usr/lib/libkio.so.4
#33 0xb639b4f2 in KMSendSMTP::send () from /usr/lib/libkmailprivate.so.0
#34 0xb639871b in KMSender::doSendMsgAux () from /usr/lib/libkmailprivate.so.0
#35 0xb6398531 in KMSender::sendProcStarted ()
   from /usr/lib/libkmailprivate.so.0
#36 0xb639c590 in KMSender::qt_invoke () from /usr/lib/libkmailprivate.so.0
#37 0xb71aa5ac in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#38 0xb71aabe0 in QObject::activate_signal_bool () from /usr/lib/libqt-mt.so.3
#39 0xb639c80b in KMSendProc::started () from /usr/lib/libkmailprivate.so.0
#40 0xb6399d78 in KMSendProc::start () from /usr/lib/libkmailprivate.so.0
#41 0xb63977f8 in KMSender::doSendMsg () from /usr/lib/libkmailprivate.so.0
#42 0xb6396cb7 in KMSender::sendQueued () from /usr/lib/libkmailprivate.so.0
#43 0xb6396ae7 in KMSender::send () from /usr/lib/libkmailprivate.so.0
#44 0xb6349118 in KMComposeWin::slotContinueDoSend ()
   from /usr/lib/libkmailprivate.so.0
#45 0xb6330632 in KMComposeWin::qt_invoke ()
   from /usr/lib/libkmailprivate.so.0
#46 0xb71aa5ac in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#47 0xb71aabe0 in QObject::activate_signal_bool () from /usr/lib/libqt-mt.so.3
#48 0xb632ff9b in KMComposeWin::applyChangesDone ()
   from /usr/lib/libkmailprivate.so.0
#49 0xb634081b in KMComposeWin::slotComposerDone ()
   from /usr/lib/libkmailprivate.so.0
#50 0xb633061a in KMComposeWin::qt_invoke ()
   from /usr/lib/libkmailprivate.so.0
#51 0xb71aa5ac in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#52 0xb71aabe0 in QObject::activate_signal_bool () from /usr/lib/libqt-mt.so.3
#53 0xb64e05fa in MessageComposer::done () from /usr/lib/libkmailprivate.so.0
#54 0xb64d5dfb in MessageComposer::doNextJob ()
   from /usr/lib/libkmailprivate.so.0
#55 0xb64d5ed8 in MessageComposer::slotDoNextJob ()
   from /usr/lib/libkmailprivate.so.0
#56 0xb64e0668 in MessageComposer::qt_invoke ()
   from /usr/lib/libkmailprivate.so.0
#57 0xb71aa5ac in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#58 0xb74e826a in QSignal::signal () from /usr/lib/libqt-mt.so.3
#59 0xb71c478d in QSignal::activate () from /usr/lib/libqt-mt.so.3
#60 0xb71cbf73 in QSingleShotTimer::event () from /usr/lib/libqt-mt.so.3
#61 0xb714dbff in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#62 0xb714d1fe in QApplication::notify () from /usr/lib/libqt-mt.so.3
#63 0xb76fce43 in KApplication::notify () from /usr/lib/libkdecore.so.4
#64 0xb713d425 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#65 0xb70f6c6b in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#66 0xb715ff58 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#67 0xb715fe08 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#68 0xb714de51 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#69 0x0805919b in ?? ()
#70 0xbffff9d0 in ?? ()
#71 0x00000001 in ?? ()
#72 0x00000001 in ?? ()
#73 0x00000000 in ?? ()
#74 0x00000000 in ?? ()
#75 0x00000001 in ?? ()
#76 0x08066560 in _IO_stdin_used ()
#77 0x00000000 in ?? ()
#78 0x08065a56 in _IO_stdin_used ()
#79 0x08065a42 in _IO_stdin_used ()
#80 0xbffff9f8 in ?? ()
#81 0x414a26be in operator new () from /usr/lib/libstdc++.so.5
#82 0x4102e974 in __libc_start_main () from /lib/tls/libc.so.6
#83 0x08058951 in ?? ()
bruce@linux_P4:~$
Comment 1 Andreas Kling 2006-09-17 19:50:46 UTC
SVN commit 585670 by kling:

Use a QGuardedPtr for the KPIM::ProgressItem in KMAccount.
Fixes a bazillion crashes when dereferencing deleted items.

BUG: 105701
BUG: 114953
BUG: 114197
BUG: 117475
BUG: 118083
BUG: 128131
BUG: 129007
BUG: 133023
BUG: 133745


 M  +1 -1      kmaccount.h  


--- branches/KDE/3.5/kdepim/kmail/kmaccount.h #585669:585670
@@ -309,7 +309,7 @@
   QValueList<KMMessage*> mReceipts;
   QPtrList<FolderJob>  mJobList;
   bool mHasInbox : 1;
-  ProgressItem *mMailCheckProgressItem;
+  QGuardedPtr<ProgressItem> mMailCheckProgressItem;
 
 private:
     /**