Bug 181735 - Attached mail causes kmail to freeze
Summary: Attached mail causes kmail to freeze
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.10.3
Platform: Mandriva RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-24 12:20 UTC by R. Sylte
Modified: 2009-08-23 01:01 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
E-mail causing freeze (5.87 KB, application/octet-stream)
2009-01-24 12:26 UTC, R. Sylte
Details

Note You need to log in before you can comment on or make changes to this bug.
Description R. Sylte 2009-01-24 12:20:35 UTC
Version:           1.10.3 (using KDE 4.1.3)
OS:                Linux
Installed from:    Mandriva RPMs

The attached e-mail causes kmail to freeze and become unresponsive. Moving the attached e-mail out of the mail directory fixes everything. Moving the attached e-mail back into the mail directory causes kmail to freeze again. Kmail does not freeze until the attached e-mail is selected.

The freeze first occured when going through unread mail, pressing the "not spam"-button (spamassasin) to mark the attached e-mail as not being spam.

Opening the e-mail file using File -> Open after moving it to my home directory also freezes kmail.
Comment 1 R. Sylte 2009-01-24 12:26:00 UTC
Created attachment 30558 [details]
E-mail causing freeze
Comment 2 Christophe Marin 2009-02-01 15:22:07 UTC
Confirmed in trunk.

Console log : 
kmail(16548) KMail::MessageListView::Core::View::slotSelectionChanged: Message selected [ [Mono-list] proselytizing ]
kmail(16548) KMReaderWin::setMsg: ( 9653 , last 0 ) "[Mono-list] proselytizing" "Vladimir Giszpenc" , readyToShow true
kmail(16548) KMMessage::findDwBodyPart: text   plain
kmail(16548) KMMessage::findDwBodyPart: text   html
kmail(16548) KMMessage::findDwBodyPart: application   x-pkcs7-signature
kmail(16548) KMMessage::findDwBodyPart: text   plain
kmail(16548) KMail::MessageListView::Core::View::slotSelectionChanged: Message selected [ [Mono-list] proselytizing ]
kmail(16548) KMReaderWin::setMsg: ( 9653 , last 9653 ) "[Mono-list] proselytizing" "Vladimir Giszpenc" , readyToShow true
kmail(16548) loadPlugins: BodyPartFormatterFactory: found 4  plugins.
kmail(16548) insertBodyPartFormatter: BodyPartFormatterFactory: overwriting previously registered formatter for " application / octet-stream "
kmail(16548) insertBodyPartFormatter: BodyPartFormatterFactory: instantiating new Subtype Registry for " text "
kmail(16548) <unnamed>::UrlHandler::UrlHandler: UrlHandler() (iCalendar)
kmail(16548) KMail::ObjectTreeParser::writeOpaqueOrMultipartSignedData: processing Multipart Signed data
kmail(16548) KMail::ObjectTreeParser::writeOpaqueOrMultipartSignedData: going to call CRYPTPLUG "SMIME"
kmail(16548) KMail::ObjectTreeParser::writeOpaqueOrMultipartSignedData: Converting LF to CRLF (see RfC 2633, 3.1.1 Canonicalization)
kmail(16548) KMail::ObjectTreeParser::writeOpaqueOrMultipartSignedData:                                                        done.
kmail(16548) KMail::KleoJobExecutor::exec: Starting detached verification job
GpgME::Data(): DataProvider supports: read, write, seek, release
GpgME::Data(): DataProvider supports: read, write, seek, release
kmail(16548) KMSystemTray::updateNewMessages: Removing folder from internal store "inbox"
kmail(16548) KMail::MessageListView::Core::Model::viewItemJobStepInternal: FILLED THE VIEW AT  0  MSG/SEC

--

what gdb shows : 

(gdb) bt                                                                                                                                                           
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb5b9b3e1 in select () from /lib/libc.so.6
#2  0xb69eee60 in QEventDispatcherUNIX::select (this=0x806e7e0, nfds=33, readfds=0x807cc3c, writefds=0x807ce50, exceptfds=0x807d064, timeout=0xbfe87bf0)
    at kernel/qeventdispatcher_unix.cpp:605
#3  0xb5f1838b in QEventDispatcherX11::select (this=0x806e7e0, nfds=134728764, readfds=0x807cc3c, writefds=0x807ce50, exceptfds=0x807d064, timeout=0xbfe87bf0)
    at kernel/qeventdispatcher_x11.cpp:183
#4  0xb69ef6af in QEventDispatcherUNIXPrivate::doSelect (this=0x807cb50, flags={i = -1075282952}, timeout=0xbfe87bf0) at kernel/qeventdispatcher_unix.cpp:165
#5  0xb69f0c21 in QEventDispatcherUNIX::processEvents (this=0x806e7e0, flags={i = -1075282792}) at kernel/qeventdispatcher_unix.cpp:899
#6  0xb5f18722 in QEventDispatcherX11::processEvents (this=0x806e7e0, flags={i = -1075282344}) at kernel/qeventdispatcher_x11.cpp:147
#7  0xb69c13da in QEventLoop::processEvents (this=0x8a34098, flags={i = -1075282280}) at kernel/qeventloop.cpp:144
#8  0xb69c181a in QEventLoop::exec (this=0x8a34098, flags={i = -1075282184}) at kernel/qeventloop.cpp:195
#9  0xb76ced27 in KMail::KleoJobExecutor::exec (this=0xbfe87fc0, job=0x8a6b5f8, signature=@0xbfe880a8, signedData=@0xbfe880ac)
    at /home/krop/kde/src/KDE/kdepim/kmail/kleojobexecutor.cpp:56
#10 0xb751bb9f in KMail::ObjectTreeParser::writeOpaqueOrMultipartSignedData (this=0xbfe8846c, data=0x88c7358, sign=@0x84246b8, fromAddress=@0x88c72a8, doCheck=true,
    cleartextData=0x0, paramSignatures=
          {<std::_Vector_base<GpgME::Signature, std::allocator<GpgME::Signature> >> = {_M_impl = {<std::allocator<GpgME::Signature>> = {<__gnu_cxx::new_allocator<GpgME::Signature>> = {<No data fields>}, <No data fields>}, _M_start = 0xbfe88354, _M_finish = 0x0, _M_end_of_storage = 0xbfe88328}}, <No data fields>}, hideErrors=false)
    at /home/krop/kde/src/KDE/kdepim/kmail/objecttreeparser.cpp:458
#11 0xb751ee5b in KMail::ObjectTreeParser::processMultiPartSignedSubtype (this=0xbfe8846c, node=0x88c72d0) at /home/krop/kde/src/KDE/kdepim/kmail/objecttreeparser.cpp:1201
#12 0xb752690d in process (this=0x8a13c30, otp=0xbfe8846c, node=0x88c72d0, result=@0xbfe883fc) at /home/krop/kde/src/KDE/kdepim/kmail/bodypartformatter.cpp:120
#13 0xb751758f in KMail::ObjectTreeParser::parseObjectTree (this=0xbfe8846c, node=0x88c72d0) at /home/krop/kde/src/KDE/kdepim/kmail/objecttreeparser.cpp:282
#14 0xb7517675 in KMail::ObjectTreeParser::stdChildHandling (this=0xbfe886b0, child=0x88c72d0) at /home/krop/kde/src/KDE/kdepim/kmail/objecttreeparser.cpp:1104
#15 0xb7517a48 in KMail::ObjectTreeParser::processMultiPartMixedSubtype (this=0xbfe886b0, node=0x88c7248) at /home/krop/kde/src/KDE/kdepim/kmail/objecttreeparser.cpp:1117
#16 0xb7526971 in process (this=0x8a46d28, otp=0xbfe886b0, node=0x88c7248, result=@0xbfe8856c) at /home/krop/kde/src/KDE/kdepim/kmail/bodypartformatter.cpp:118
#17 0xb751758f in KMail::ObjectTreeParser::parseObjectTree (this=0xbfe886b0, node=0x88c7248) at /home/krop/kde/src/KDE/kdepim/kmail/objecttreeparser.cpp:282
#18 0xb7376964 in KMReaderWin::parseMsg (this=0x8348408, aMsg=0x8992d70) at /home/krop/kde/src/KDE/kdepim/kmail/kmreaderwin.cpp:1622
#19 0xb736803e in KMReaderWin::displayMessage (this=0x8348408) at /home/krop/kde/src/KDE/kdepim/kmail/kmreaderwin.cpp:1555
#20 0xb73681d8 in KMReaderWin::updateReaderWin (this=0x8348408) at /home/krop/kde/src/KDE/kdepim/kmail/kmreaderwin.cpp:1495
#21 0xb736ce64 in KMReaderWin::qt_metacall (this=0x8348408, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfe88a28)
    at /home/krop/kde/build/KDE/kdepim/kmail/kmreaderwin.moc:165
#22 0xb69d8fa8 in QMetaObject::activate (sender=0x8348458, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3064
#23 0xb69da722 in QMetaObject::activate (sender=0x8348458, m=0xb6ab79c4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3136
#24 0xb6a131e7 in QTimer::timeout (this=0x8348458) at .moc/release-shared/moc_qtimer.cpp:128
#25 0xb69dea5e in QTimer::timerEvent (this=0x8348458, e=0xbfe88eac) at kernel/qtimer.cpp:256
#26 0xb69d344f in QObject::event (this=0x8348458, e=0xbfe88eac) at kernel/qobject.cpp:1077
#27 0xb5e78acc in QApplicationPrivate::notify_helper (this=0x807c880, receiver=0x8348458, e=0xbfe88eac) at kernel/qapplication.cpp:4047
#28 0xb5e80d7e in QApplication::notify (this=0xbfe892d8, receiver=0x8348458, e=0xbfe88eac) at kernel/qapplication.cpp:3594
---Type <return> to continue, or q <return> to quit---
#29 0xb7d723fd in KApplication::notify(QObject*, QEvent*) () from /usr/share/qt4/lib/libkdeui.so.5
#30 0xb69c2dbb in QCoreApplication::notifyInternal (this=0xbfe892d8, receiver=0x8348458, event=0xbfe88eac) at kernel/qcoreapplication.cpp:594
#31 0xb69f09f1 in QTimerInfoList::activateTimers (this=0x807d1e4) at kernel/qcoreapplication.h:208
#32 0xb69f0c8b in QEventDispatcherUNIX::processEvents (this=0x806e7e0, flags={i = -1075277912}) at kernel/qeventdispatcher_unix.cpp:903
#33 0xb5f18722 in QEventDispatcherX11::processEvents (this=0x806e7e0, flags={i = -1075277464}) at kernel/qeventdispatcher_x11.cpp:147
#34 0xb69c13da in QEventLoop::processEvents (this=0xbfe891e0, flags={i = -1075277400}) at kernel/qeventloop.cpp:144
#35 0xb69c181a in QEventLoop::exec (this=0xbfe891e0, flags={i = -1075277336}) at kernel/qeventloop.cpp:195
#36 0xb69c3c19 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:872
#37 0xb5e78947 in QApplication::exec () at kernel/qapplication.cpp:3522
#38 0x0804b559 in main (argc=2, argv=0xbfe893b4) at /home/krop/kde/src/KDE/kdepim/kmail/main.cpp:146


Comment 3 Martin Koller 2009-08-23 01:01:58 UTC
does not freeze in KDE 4.3