Bug 171448

Summary: Broken inbox attachment filenames using GMail/IMAP
Product: [Applications] kmail Reporter: Victor Yacovlev <V.Yacovlev>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED NOT A BUG    
Severity: crash    
Priority: NOR    
Version: 1.10.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Victor Yacovlev 2008-09-22 13:56:33 UTC
Version:           1.10.0 (using KDE 4.1.1)
OS:                Linux
Installed from:    SuSE RPMs

Unable to get attached files with non-latin (russian) filenames while using GMail account via IMAP.

After clicking on message in list, there are shown list of attachments at the bottom with correct filenames, but after message text fully downloaded, these attachments filenames changes to something like "=E1=E7.doc".

If try to open these attachments, kmail crashes (SIGSEGV).

Application: KMail (kmail), signal SIGSEGV
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0xb7b72634 in KMLoadPartsCommand::slotPartRetrieved ()
   from /usr/lib/libkmailprivate.so.4
#7  0xb7b7292d in KMLoadPartsCommand::qt_metacall ()
   from /usr/lib/libkmailprivate.so.4
#8  0xb5cdcbb0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#9  0xb5cdd932 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#10 0xb7bb5169 in ?? () from /usr/lib/libkmailprivate.so.4
#11 0xb7bc03fe in ?? () from /usr/lib/libkmailprivate.so.4
#12 0xb7bc5184 in ?? () from /usr/lib/libkmailprivate.so.4
#13 0xb5cdcbb0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#14 0xb5cdd932 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb6031393 in KJob::result () from /usr/lib/libkdecore.so.5
#16 0xb6031832 in KJob::emitResult () from /usr/lib/libkdecore.so.5
#17 0xb6552155 in KIO::SimpleJob::slotFinished () from /usr/lib/libkio.so.5
#18 0xb6552ce3 in KIO::TransferJob::slotFinished () from /usr/lib/libkio.so.5
#19 0xb6553d6b in KIO::TransferJob::qt_metacall () from /usr/lib/libkio.so.5
#20 0xb5cdcbb0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#21 0xb5cdd932 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#22 0xb65fcad7 in KIO::SlaveInterface::finished () from /usr/lib/libkio.so.5
#23 0xb65ff5ef in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.5
#24 0xb65fd377 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.5
#25 0xb65eff80 in KIO::Slave::gotInput () from /usr/lib/libkio.so.5
#26 0xb65f02f3 in KIO::Slave::qt_metacall () from /usr/lib/libkio.so.5
#27 0xb5cdcbb0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#28 0xb5cdd932 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#29 0xb6521b87 in KIO::Connection::readyRead () from /usr/lib/libkio.so.5
#30 0xb65235c2 in ?? () from /usr/lib/libkio.so.5
#31 0xb6523c16 in KIO::Connection::qt_metacall () from /usr/lib/libkio.so.5
#32 0xb5cd5cfb in QMetaCallEvent::placeMetaCall () from /usr/lib/libQtCore.so.4
#33 0xb5cd78b9 in QObject::event () from /usr/lib/libQtCore.so.4
#34 0xb4efd10c in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#35 0xb4f04fae in QApplication::notify () from /usr/lib/libQtGui.so.4
#36 0xb632268d in KApplication::notify () from /usr/lib/libkdeui.so.5
#37 0xb5cc7f91 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#38 0xb5cc8b55 in QCoreApplicationPrivate::sendPostedEvents ()
   from /usr/lib/libQtCore.so.4
#39 0xb5cf528a in QEventDispatcherUNIX::processEvents ()
   from /usr/lib/libQtCore.so.4
#40 0xb4f963c2 in ?? () from /usr/lib/libQtGui.so.4
#41 0xb5cc666a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#42 0xb5cc682a in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#43 0xb5cc8e15 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#44 0xb4efcf87 in QApplication::exec () from /usr/lib/libQtGui.so.4
#45 0x0804a880 in _start ()
Comment 1 Thomas McGuire 2008-09-22 19:50:27 UTC
The invalid filename is a bug in the Google IMAP server, which they promised to fix (which apparently didn't happen yet).
I guess the crash is just a result of that unexpected data sent to KMail.
Comment 2 Thomas McGuire 2008-09-22 20:10:55 UTC
BTW, a workaround is probably to disable load attachments on demand for that account.