Bug 90157

Summary: kmail crashes while asking for a password when sending mail via smtp
Product: [Unmaintained] kmail Reporter: Erik Schnetter <schnetter>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 1.6.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Erik Schnetter 2004-09-24 11:53:56 UTC
Version:           1.6.2 (using KDE 3.2.3,  (testing/unstable))
Compiler:          gcc version 3.3.3 (Debian 20040422)
OS:                Linux (i686) release 2.6.8-1-686

When asking for the mail server's password while sending mail through smpt, kmail sometimes crashes.  These crashes happen maybe once a day or so.  It does not ask me whether I want a stack backtrace; instead, all kmail windows just close.  When I restart kmail, the "edit mail" window is opened with a not-quite-uptodate version of the email that I was composing, and a complete copy of the email is in the "outgoing" folder.

I think that this crash is maybe different from other reports in bugzilla, because these reports include stack backtraces, while I cannot produce these.

Kmail crashes while I type the smtp password into the popup window.  My smtp server settings are:

[General]
Host: mailserver.aei.mpg.de
Port: 25
Server requires authentication: yes
Login: eschnett
Store SMTP password in config file: no
[Security]
Encryption: TLS
Authentication Method: PLAIN
(This is what kmail says the server supports)
Comment 1 Erik Schnetter 2004-10-08 19:10:00 UTC
kmail leaves a core file.  gdb gives me the following backtrace:

#0  0x40a18877 in DwEntity::Headers () from /usr/lib/libmimelib.so.1
#1  0x4013683c in KMMessage::setCharset () from /usr/lib/libkmailprivate.so.0
#2  0x401d1f1f in KMComposeWin::applyChanges ()
   from /usr/lib/libkmailprivate.so.0
#3  0x401ca68e in KMComposeWin::deadLetter ()
   from /usr/lib/libkmailprivate.so.0
#4  0x402bb095 in KMKernel::dumpDeadLetters ()
   from /usr/lib/libkmailprivate.so.0
#5  0x4031fc01 in kmcrashHandler () from /usr/lib/libkmailprivate.so.0
#6  0x413e5e36 in KCrash::defaultCrashHandler () from /usr/lib/libkdecore.so.4
#7  <signal handler called>
#8  0x40a18877 in DwEntity::Headers () from /usr/lib/libmimelib.so.1
#9  0x4013683c in KMMessage::setCharset () from /usr/lib/libkmailprivate.so.0
#10 0x401d1f1f in KMComposeWin::applyChanges ()
   from /usr/lib/libkmailprivate.so.0
#11 0x401ca68e in KMComposeWin::deadLetter ()
   from /usr/lib/libkmailprivate.so.0
#12 0x402bb095 in KMKernel::dumpDeadLetters ()
   from /usr/lib/libkmailprivate.so.0
#13 0x402bc903 in KMKernel::qt_invoke () from /usr/lib/libkmailprivate.so.0
#14 0x4188c52c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#15 0x4188c354 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#16 0x41bcc27b in QTimer::timeout () from /usr/lib/libqt-mt.so.3
#17 0x418add42 in QTimer::event () from /usr/lib/libqt-mt.so.3
#18 0x4182fbcf in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#19 0x4182f1ce in QApplication::notify () from /usr/lib/libqt-mt.so.3
#20 0x41360af9 in KApplication::notify () from /usr/lib/libkdecore.so.4
#21 0x4181f405 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#22 0x417d8c4b in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#23 0x41841f28 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#24 0x4182fe81 in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
#25 0x41a16570 in QDialog::exec () from /usr/lib/libqt-mt.so.3
#26 0x40d74f52 in KIO::PasswordDialog::getNameAndPassword ()
   from /usr/lib/libkio.so.4
#27 0x40237902 in KMSendSMTP::send () from /usr/lib/libkmailprivate.so.0
#28 0x40234eeb in KMSender::doSendMsgAux () from /usr/lib/libkmailprivate.so.0
#29 0x40234d01 in KMSender::sendProcStarted ()
   from /usr/lib/libkmailprivate.so.0
#30 0x40238a20 in KMSender::qt_invoke () from /usr/lib/libkmailprivate.so.0
#31 0x4188c52c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#32 0x4188cb60 in QObject::activate_signal_bool () from /usr/lib/libqt-mt.so.3
#33 0x40238ccb in KMSendProc::started () from /usr/lib/libkmailprivate.so.0
#34 0x402361e8 in KMSendProc::start () from /usr/lib/libkmailprivate.so.0
#35 0x00000001 in ?? ()
#36 0x00000000 in ?? ()
#37 0x403c704c in ?? () from /usr/lib/libkmailprivate.so.0
#38 0x0827ab08 in ?? ()
#39 0x403c704c in ?? () from /usr/lib/libkmailprivate.so.0
#40 0xbfffe858 in ?? ()
#41 0x402341ef in KMSender::doSendMsg () from /usr/lib/libkmailprivate.so.0
Comment 2 Till Adam 2004-12-14 08:56:18 UTC
aaaaand another one

*** This bug has been marked as a duplicate of 90467 ***