Bug 163113 - Crash while loading attached eml mail
Summary: Crash while loading attached eml mail
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: SVN trunk (KDE 4)
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-03 07:59 UTC by Tsokar
Modified: 2008-06-05 11:27 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 Tsokar 2008-06-03 07:59:58 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
 Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
OS:                Linux

When an eml mail is attached, kmail crashes when trying to open it.

Here is what the terminal says :
kmail(31694)/khtml (part) KHTMLPart::urlSelected: KHTMLPart(0x9c7780, name = "mViewer")  urlSelected: complete URL: "file:///tmp/kde-legrain/kmailI31694.3/TA%20mmcon.eml"  target= ""                             
kmail(31694) KMReaderWin::setMsg: ( 0 , last 0 ) "TA mmcon" "Cliquet Vincent" , readyToShow true                                                                
kmail(31694) KMReaderWin::overrideCodec:  mOverrideEncoding == ' "" '           
kmail(31694) KMReaderWin::overrideCodec:  mOverrideEncoding == ' "" '           
kmail(31694) KMReaderWin::parseMsg: aMsg == aMsg )                              
kmail(31694) partNode::dump: "" + "Text" / "Plain"                              
kmail(31694) partNode::fillMimePartTree:       Inserting one item into MimePartTree                                                                             
kmail(31694) partNode::fillMimePartTree:                 Content-Type: "Text/Plain"                                                                             
kmail(31694) partNode::findType: Is looking at Text / Plain                     
kmail(31694) partNode::findType: Is looking at Text / Plain                     
kmail(31694) KMail::SpamHeaderAnalyzer::getSpamScores:                          
kmail(31694)/kdepimlibs (kabc) KABC::StdAddressBook::self:                      
kmail(31694) KMail::FancyHeaderStyle::format: Multiple / No addressees matched email address; Count is 0                                                        
kmail(31694) KMail::ObjectTreeParser::parseObjectTree: node OK,  showOnlyOneMimePart:  FALSE                                                                    
kmail(31694) KMReaderWin::overrideCodec:  mOverrideEncoding == ' "" '           
kmail(31694) KMReaderWin::parseMsg: Finished parsing and displaying of message. 
ASSERT failure in QVector<T>::operator[]: "index out of range", file /scratch/kde-devel/qt4/include/QtCore/qvector.h, line 331                                  
kDebugStream called after destruction (from bool KABC::StdAddressBook::Private::saveAll() file /scratch/kde-devel/kde4/kdepimlibs/kabc/stdaddressbook.cpp line 159)                                                                             

kDebugStream called after destruction (from KABC::Ticket* KABC::AddressBook::requestSaveTicket(KABC::Resource*) file /scratch/kde-devel/kde4/kdepimlibs/kabc/addressbook.cpp line 509)                                                          

kDebugStream called after destruction (from virtual KABC::Ticket* KABC::ResourceFile::requestSaveTicket() file /scratch/kde-devel/kde4/kdepimlibs/kabc/plugins/file/resourcefile.cpp line 133)                                                  

kDebugStream called after destruction (from virtual bool KABC::Lock::lock() file /scratch/kde-devel/kde4/kdepimlibs/kabc/lock.cpp line 110)                     
-- lock name: "/home/legrain/.kde/share/apps/kabc/lock/_home_users_struct_legrain_.kde_share_apps_kabc_std.vcf.lock"                               
kDebugStream called after destruction (from virtual bool KABC::Lock::lock() file /scratch/kde-devel/kde4/kdepimlibs/kabc/lock.cpp line 134)                     
-- lock unique name: "/home/legrain/.kde/share/apps/kabc/lock/_home_users_struct_legrain_.kde_share_apps_kabc_std.vcfyjFtD0qr"                     
kDebugStream called after destruction (from bool KABC::AddressBook::save(KABC::Ticket*) file /scratch/kde-devel/kde4/kdepimlibs/kabc/addressbook.cpp line 380)  

kDebugStream called after destruction (from virtual bool KABC::ResourceFile::save(KABC::Ticket*) file /scratch/kde-devel/kde4/kdepimlibs/kabc/plugins/file/resourcefile.cpp line 248)                                                           

kDebugStream called after destruction (from bool KDirWatchPrivate::stopEntryScan(KDirWatch*, KDirWatchPrivate::Entry*) file /scratch/kde-devel/kde4/kdelibs/kio/kio/kdirwatch.cpp line 902)                                                     
"KDirWatch-1" stopped scanning "/home/legrain/.kde/share/apps/kabc/distlists" (now 0 watchers)                                                     
kDebugStream called after destruction (from bool KDirWatchPrivate::stopEntryScan(KDirWatch*, KDirWatchPrivate::Entry*) file /scratch/kde-devel/kde4/kdelibs/kio/kio/kdirwatch.cpp line 902)                                                     
"KDirWatch-1" stopped scanning "/home/legrain/.kde/share/apps/kabc/std.vcf" (now 0 watchers)                                                       
kDebugStream called after destruction (from void KABC::ResourceFile::saveDistributionLists() file /scratch/kde-devel/kde4/kdepimlibs/kabc/plugins/file/resourcefile.cpp line 341)                                                               

kDebugStream called after destruction (from void KABC::ResourceFile::saveDistributionLists() file /scratch/kde-devel/kde4/kdepimlibs/kabc/plugins/file/resourcefile.cpp line 350)                                                               
  Saving ' "XFEM-xext" '                                                        
kDebugStream called after destruction (from void KABC::ResourceFile::saveDistributionLists() file /scratch/kde-devel/kde4/kdepimlibs/kabc/plugins/file/resourcefile.cpp line 350)                                                               
  Saving ' "XFEM-dev" '                                                         
kDebugStream called after destruction (from bool KDirWatchPrivate::restartEntryScan(KDirWatch*, KDirWatchPrivate::Entry*, bool) file /scratch/kde-devel/kde4/kdelibs/kio/kio/kdirwatch.cpp line 933)                                            
"KDirWatch-1" restarted scanning "/home/legrain/.kde/share/apps/kabc/distlists" (now 1 watchers)                                                   
kDebugStream called after destruction (from bool KDirWatchPrivate::restartEntryScan(KDirWatch*, KDirWatchPrivate::Entry*, bool) file /scratch/kde-devel/kde4/kdelibs/kio/kio/kdirwatch.cpp line 933)                                            
"KDirWatch-1" restarted scanning "/home/legrain/.kde/share/apps/kabc/std.vcf" (now 1 watchers)
kDebugStream called after destruction (from virtual KRES::ManagerImpl::~ManagerImpl() file /scratch/kde-devel/kde4/kdepimlibs/kresources/managerimpl.cpp line 90)

kDebugStream called after destruction (from void KDirWatchPrivate::removeEntry(KDirWatch*, const QString&, KDirWatchPrivate::Entry*) file /scratch/kde-devel/kde4/kdelibs/kio/kio/kdirwatch.cpp line 772)
path= "/home/legrain/.kde/share/apps/kabc/distlists" sub_entry: 0x0
kDebugStream called after destruction (from void KDirWatchPrivate::removeEntry(KDirWatch*, KDirWatchPrivate::Entry*, KDirWatchPrivate::Entry*) file /scratch/kde-devel/kde4/kdelibs/kio/kio/kdirwatch.cpp line 822)
Cancelled INotify (fd 42, 2) for "/home/legrain/.kde/share/apps/kabc/distlists"
kDebugStream called after destruction (from void KDirWatchPrivate::removeEntry(KDirWatch*, KDirWatchPrivate::Entry*, KDirWatchPrivate::Entry*) file /scratch/kde-devel/kde4/kdelibs/kio/kio/kdirwatch.cpp line 847)
Removed File "/home/legrain/.kde/share/apps/kabc/distlists" for ""["KDirWatch-1"]
kDebugStream called after destruction (from void KDirWatchPrivate::removeEntry(KDirWatch*, const QString&, KDirWatchPrivate::Entry*) file /scratch/kde-devel/kde4/kdelibs/kio/kio/kdirwatch.cpp line 772)
path= "/home/legrain/.kde/share/apps/kabc/std.vcf" sub_entry: 0x0
kDebugStream called after destruction (from void KDirWatchPrivate::removeEntry(KDirWatch*, KDirWatchPrivate::Entry*, KDirWatchPrivate::Entry*) file /scratch/kde-devel/kde4/kdelibs/kio/kio/kdirwatch.cpp line 822)
Cancelled INotify (fd 42, 1) for "/home/legrain/.kde/share/apps/kabc/std.vcf"
kDebugStream called after destruction (from void KDirWatchPrivate::removeEntry(KDirWatch*, KDirWatchPrivate::Entry*, KDirWatchPrivate::Entry*) file /scratch/kde-devel/kde4/kdelibs/kio/kio/kdirwatch.cpp line 847)
Removed File "/home/legrain/.kde/share/apps/kabc/std.vcf" for "" ["KDirWatch-1"]
zone still contained 5 blocks
Comment 1 Thomas McGuire 2008-06-04 20:02:42 UTC
I can not reproduce this, works fine for me.
Does it happen when attaching an eml file in the composer or when viewing an eml attachment in the message reader?

Please attach a backtrace, see http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Comment 2 Tsokar 2008-06-05 11:27:37 UTC
Works fine now, after erasing my .kde4 directory...

Sorry for the (bad) bug report :-)