Bug 165874

Summary: Crash when selecting message with certain "From" header field
Product: [Unmaintained] kmail Reporter: Oleg Atamanenko <oleg.atamanenko+kde>
Component: mimeAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 1.9.9   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Oleg Atamanenko 2008-07-06 18:30:49 UTC
Version:            (using KDE 3.5.9)
Installed from:    Debian testing/unstable Packages

[KCrash handler]
#5  0x00000000 in ?? ()
#6  0x46592f7d in KPIM::normalizeAddressesAndDecodeIDNs ()
   from /usr/lib/libkdepim.so.1
#7  0x46f7a527 in KMMessage::from () from /usr/lib/libkmailprivate.so
#8  0x46f7a59f in KMMessage::fromStrip () from /usr/lib/libkmailprivate.so
#9  0x47055a28 in KMReaderWin::setMsg () from /usr/lib/libkmailprivate.so
#10 0x471c2cfe in KMMainWidget::slotMsgSelected ()
   from /usr/lib/libkmailprivate.so
#11 0x471d38dd in KMMainWidget::qt_invoke () from /usr/lib/libkmailprivate.so
#12 0x4b4a64cd in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#13 0x46ffbb5e in KMHeaders::selected () from /usr/lib/libkmailprivate.so
#14 0x47002f8b in KMHeaders::highlightMessage ()
   from /usr/lib/libkmailprivate.so
#15 0x470033cc in KMHeaders::highlightMessage ()
   from /usr/lib/libkmailprivate.so
#16 0x4700ca7a in KMHeaders::qt_invoke () from /usr/lib/libkmailprivate.so
#17 0x4b4a64cd in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#18 0x4b7e3a31 in QListView::currentChanged () from /usr/lib/libqt-mt.so.3
#19 0x4b583dee in QListView::setCurrentItem () from /usr/lib/libqt-mt.so.3
#20 0x4700329e in KMHeaders::setCurrentItemByIndex ()
   from /usr/lib/libkmailprivate.so
#21 0x47009584 in KMHeaders::readSortOrder () from /usr/lib/libkmailprivate.so
#22 0x4700ac7e in KMHeaders::updateMessageList ()
   from /usr/lib/libkmailprivate.so
#23 0x4700e293 in KMHeaders::setFolder () from /usr/lib/libkmailprivate.so
#24 0x471cc898 in KMMainWidget::folderSelected ()
   from /usr/lib/libkmailprivate.so
#25 0x471d3967 in KMMainWidget::qt_invoke () from /usr/lib/libkmailprivate.so
#26 0x4b4a6431 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#27 0x46fe304e in KMFolderTree::folderSelected ()
   from /usr/lib/libkmailprivate.so
#28 0x46fe3780 in KMFolderTree::doFolderSelected ()
   from /usr/lib/libkmailprivate.so
#29 0x46fe389d in KMFolderTree::showFolder () from /usr/lib/libkmailprivate.so
#30 0x471bfc17 in KMMainWidget::slotShowStartupFolder ()
   from /usr/lib/libkmailprivate.so
#31 0x471d2f8b in KMMainWidget::qt_invoke () from /usr/lib/libkmailprivate.so
#32 0x4b4a64cd in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#33 0x4b7d05be in QSignal::signal () from /usr/lib/libqt-mt.so.3
#34 0x4b4c1e27 in QSignal::activate () from /usr/lib/libqt-mt.so.3
#35 0x4b4c8ef3 in QSingleShotTimer::event () from /usr/lib/libqt-mt.so.3
#36 0x4b4486ea in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#37 0x4b4494d6 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#38 0x4adc7062 in KApplication::notify () from /usr/lib/libkdecore.so.4
#39 0x4b43dace in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#40 0x4b3f78a8 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#41 0x4b45f0e0 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#42 0x4b4481cf in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
#43 0x4b624f29 in QDialog::exec () from /usr/lib/libqt-mt.so.3
#44 0x4bc6e9c7 in KMessageBox::createKMessageBox ()
   from /usr/lib/libkdeui.so.4
#45 0x4bc6f117 in KMessageBox::createKMessageBox ()
   from /usr/lib/libkdeui.so.4
#46 0x4bc70fb0 in KMessageBox::errorListWId () from /usr/lib/libkdeui.so.4
#47 0x4bc71153 in KMessageBox::error () from /usr/lib/libkdeui.so.4
#48 0x470d72ca in KMail::ImapAccountBase::makeConnection ()
   from /usr/lib/libkmailprivate.so
#49 0x470dcbab in KMAcctImap::makeConnection ()
   from /usr/lib/libkmailprivate.so
#50 0x470df366 in KMAcctImap::processNewMail ()
   from /usr/lib/libkmailprivate.so
#51 0x47077214 in KMail::AccountManager::processNextCheck ()
   from /usr/lib/libkmailprivate.so
#52 0x470773d0 in KMail::AccountManager::singleCheckMail ()
   from /usr/lib/libkmailprivate.so
#53 0x470776d5 in KMail::AccountManager::checkMail ()
   from /usr/lib/libkmailprivate.so
#54 0x471ba686 in KMMainWidget::slotCheckMail ()
   from /usr/lib/libkmailprivate.so
#55 0x471d397e in KMMainWidget::qt_invoke () from /usr/lib/libkmailprivate.so
#56 0x4b4a64cd in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#57 0x4b7d05be in QSignal::signal () from /usr/lib/libqt-mt.so.3
#58 0x4b4c1e27 in QSignal::activate () from /usr/lib/libqt-mt.so.3
#59 0x4b4c8ef3 in QSingleShotTimer::event () from /usr/lib/libqt-mt.so.3
#60 0x4b4486ea in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#61 0x4b4494d6 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#62 0x4adc7062 in KApplication::notify () from /usr/lib/libkdecore.so.4
#63 0x4b43dace in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#64 0x4b3f78a8 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#65 0x4b45f0e0 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#66 0x4b45ef76 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#67 0x4b44825f in QApplication::exec () from /usr/lib/libqt-mt.so.3
#68 0x0805be82 in ?? ()
#69 0xbfaddb08 in ?? ()
#70 0x00000001 in ?? ()
#71 0x00000001 in ?? ()
#72 0x00000000 in ?? ()
Comment 1 Thomas McGuire 2008-07-08 16:16:27 UTC
This seems to be caused by a specific message in your inbox (there seems to be a problem with the "From" header field).
Comment 2 Oleg Atamanenko 2008-07-08 16:45:54 UTC
But I don't know how to investigate this header... Any help?
Comment 3 Thomas McGuire 2008-07-08 16:58:35 UTC
> But I don't know how to investigate this header... Any help?

I guess the mail with that header is in your inbox. Open your KMail config 
file ($HOME/.kde/share/config/kmailrc) in an editor, go to the inbox folder 
section. There, you'll see the entries "Current" and "CurrentSerialNum", 
change them to some other value, it should select another message at startup 
then and not crash (until you select the message, of course).
Alternativly, you can move away the message, it should be stored in 
$HOME/.kde/share/apps/kmail/mail/inbox/cur, with a bit trial&error you'll find 
the message that causes the problems.
Comment 4 Jaime Torres 2009-04-03 19:19:52 UTC
The bug is already solved in kmail 1.11.x (kde 4.2.x).

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