<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>147779</bug_id>
          
          <creation_ts>2007-07-11 10:29:28 +0000</creation_ts>
          <short_desc>KMail crashes while parsing new mail when charset is not set</short_desc>
          <delta_ts>2007-07-11 10:39:49 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kmail</product>
          <component>general</component>
          <version>1.9.6</version>
          <rep_platform>Compiled Sources</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>140543</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Martin Koehn">koehn</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>535825</commentid>
    <comment_count>0</comment_count>
    <who name="Martin Koehn">koehn</who>
    <bug_when>2007-07-11 10:29:28 +0000</bug_when>
    <thetext>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 &quot;/lib/libthread_db.so.1&quot;.
[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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>535826</commentid>
    <comment_count>1</comment_count>
    <who name="Tommi Tervo">tommi.tervo</who>
    <bug_when>2007-07-11 10:39:49 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 140543 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>