Bug 147779 - KMail crashes while parsing new mail when charset is not set
Summary: KMail crashes while parsing new mail when charset is not set
Status: RESOLVED DUPLICATE of bug 140543
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.9.6
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-11 10:29 UTC by Martin Koehn
Modified: 2007-07-11 10:39 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 Martin Koehn 2007-07-11 10:29:28 UTC
Version:           1.9.6 (using KDE KDE 3.5.6)
Installed from:    Compiled From Sources
OS:                Linux

Hi,

KMail crashed while reading email from inbox (Account type Maildir). The following line seem to be the problem:
Content-Type: text/plain; charset=
If this line is removed, everything works fine. 

The content of the backtrace follows:

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1251809584 (LWP 13245)]
[New Thread -1278461040 (LWP 13249)]
[New Thread -1270068336 (LWP 13248)]
[New Thread -1261675632 (LWP 13247)]
[New Thread -1253282928 (LWP 13246)]
[KCrash handler]
#6  0xb7cd5b7c in KMFolderMaildir::readFileHeaderIntern (this=0x8764e58,
    dir=@0xbfbe792c, file=@0xbfbe7928, status=1) at kmfoldermaildir.cpp:737
#7  0xb7cd6d0a in KMFolderMaildir::createIndexFromContents (this=0x8764e58)
    at kmfoldermaildir.cpp:917
#8  0xb7cd98a6 in KMFolderMaildir::open (this=0x8764e58)
    at kmfoldermaildir.cpp:141
#9  0xb7c0ef5c in KMFolder::open (this=0xbfbe7a08) at kmfolder.cpp:473
#10 0xb7d22101 in KMAcctMaildir::processNewMail (this=0x81c68d0)
    at kmacctmaildir.cpp:130
#11 0xb7c44a90 in KMail::AccountManager::processNextCheck (this=0x8186c50,
    _newMail=false) at accountmanager.cpp:197
#12 0xb7c44ba8 in KMail::AccountManager::singleCheckMail (this=0x8186c50,
    account=0x81c68d0, interactive=true) at accountmanager.cpp:125
#13 0xb7c44f50 in KMail::AccountManager::checkMail (this=0x8186c50,
    _interactive=true) at accountmanager.cpp:313
#14 0xb7d7d656 in KMMainWidget::slotCheckMail (this=0x8469448)
    at kmmainwidget.cpp:818
#15 0xb7d81b72 in KMMainWidget::qt_invoke (this=0x8469448, _id=49,
    _o=0xbfbe7e18) at kmmainwidget.moc:502
#16 0xb5f0b8fd in QObject::activate_signal ()
   from /usr/local/kde35/qt/lib/libqt-mt.so.3
#17 0xb5f0c50d in QObject::activate_signal ()
   from /usr/local/kde35/qt/lib/libqt-mt.so.3
#18 0xb67acdc9 in KAction::activated ()
   from /usr/local/kde35/lib/libkdeui.so.4
#19 0xb67ef272 in KAction::slotActivated ()
   from /usr/local/kde35/lib/libkdeui.so.4
#20 0xb68b34df in KAction::qt_invoke ()
   from /usr/local/kde35/lib/libkdeui.so.4
#21 0xb5f0b8fd in QObject::activate_signal ()
   from /usr/local/kde35/qt/lib/libqt-mt.so.3
#22 0xb5f0c50d in QObject::activate_signal ()
   from /usr/local/kde35/qt/lib/libqt-mt.so.3
#23 0xb64ec109 in KAccelPrivate::menuItemActivated ()
   from /usr/local/kde35/lib/libkdecore.so.4
#24 0xb653bba7 in KAccelPrivate::emitActivatedSignal ()
   from /usr/local/kde35/lib/libkdecore.so.4
#25 0xb65c714e in KAccelPrivate::eventFilter ()
   from /usr/local/kde35/lib/libkdecore.so.4
#26 0xb5f0b20c in QObject::activate_filters ()
   from /usr/local/kde35/qt/lib/libqt-mt.so.3
#27 0xb5f0b27b in QObject::event () from /usr/local/kde35/qt/lib/libqt-mt.so.3
#28 0xb5f43ccc in QWidget::event () from /usr/local/kde35/qt/lib/libqt-mt.so.3
#29 0xb5ffc4d2 in QMainWindow::event ()
   from /usr/local/kde35/qt/lib/libqt-mt.so.3
#30 0xb5eadac7 in QApplication::internalNotify ()
   from /usr/local/kde35/qt/lib/libqt-mt.so.3
#31 0xb5eaecb9 in QApplication::notify ()
   from /usr/local/kde35/qt/lib/libqt-mt.so.3
#32 0xb65cd762 in KApplication::notify ()
   from /usr/local/kde35/lib/libkdecore.so.4
#33 0xb6548039 in KAccelEventHandler::x11Event ()
   from /usr/local/kde35/lib/libkdecore.so.4
#34 0xb65cbb93 in KApplication::x11EventFilter ()
   from /usr/local/kde35/lib/libkdecore.so.4
#35 0xb5e3f6a4 in qt_x11EventFilter ()
   from /usr/local/kde35/qt/lib/libqt-mt.so.3
#36 0xb5e4e36b in QApplication::x11ProcessEvent ()
   from /usr/local/kde35/qt/lib/libqt-mt.so.3
#37 0xb5e5ea5a in QEventLoop::processEvents ()
   from /usr/local/kde35/qt/lib/libqt-mt.so.3
#38 0xb5ec4320 in QEventLoop::enterLoop ()
   from /usr/local/kde35/qt/lib/libqt-mt.so.3
#39 0xb5ec41d6 in QEventLoop::exec ()
   from /usr/local/kde35/qt/lib/libqt-mt.so.3
#40 0xb5ead72f in QApplication::exec ()
   from /usr/local/kde35/qt/lib/libqt-mt.so.3
#41 0x0804a82f in main (argc=1, argv=0xbfbe8974) at main.cpp:110

Martin Köhn
Comment 1 Tommi Tervo 2007-07-11 10:39:49 UTC

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