Bug 188625

Summary: Kmail in Kontact hangs while trying to display an email, crashes afterwards
Product: [Unmaintained] kmail Reporter: Arne Schmitz <arne.schmitz>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: 1.11.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Backtrace of Kontact mail reading crash

Description Arne Schmitz 2009-04-01 23:12:57 UTC
Version:           1.11.1 (using 4.2.1 (KDE 4.2.1) "release 104", KDE:KDE4:Factory:Desktop / openSUSE_11.1)
Compiler:          gcc
OS:                Linux (i686) release 2.6.27.19-3.2-pae

What I did:

I tried to read an email on my IMAP account.

What I expected:

I expected Kmail / Kontact to show me the email

What I got instead:

Kmail hangs, does not react to any input. When clicking the Close-button (X), it crashes with the attached backtrace.
Comment 1 Arne Schmitz 2009-04-01 23:13:29 UTC
Created attachment 32526 [details]
Backtrace of Kontact mail reading crash
Comment 2 Dario Andres 2009-04-01 23:22:47 UTC
Pasted backtrace from comment 1:
-------

Anwendung: Kontact (kontact), Signal SIGSEGV
[?1034h[Thread debugging using libthread_db enabled]
[Current thread is 1 (Thread 0xb4943700 (LWP 11200))]

Thread 2 (Thread 0xb06f2b90 (LWP 11206)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6652f62 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb66b284c in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb66a79c6 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb66b185e in ?? () from /usr/lib/libQtCore.so.4
#5  0xb664f1b5 in start_thread () from /lib/libpthread.so.0
#6  0xb5a643be in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb4943700 (LWP 11200)):
[KCrash Handler]
#6  0x00000000 in ?? ()
#7  0xb107008d in KMail::ObjectTreeParser::processMultiPartSignedSubtype (this=0xbfb6d7d0, node=0x8751cb8) at /usr/src/debug/kdepim-4.2.1/kmail/objecttreeparser.cpp:1188
#8  0xb10744db in process (this=0x8bc9b00, otp=0xbfb6d7d0, node=0x8751cb8, result=@0xbfb6d6b8) at /usr/src/debug/kdepim-4.2.1/kmail/bodypartformatter.cpp:120
#9  0xb1068110 in KMail::ObjectTreeParser::parseObjectTree (this=0xbfb6d7d0, node=0x8751cb8) at /usr/src/debug/kdepim-4.2.1/kmail/objecttreeparser.cpp:282
#10 0xb0ef19b9 in KMReaderWin::parseMsg (this=0x8748630, aMsg=0x8b76ec0) at /usr/src/debug/kdepim-4.2.1/kmail/kmreaderwin.cpp:1622
#11 0xb0ee2ae8 in KMReaderWin::displayMessage (this=0x8748630) at /usr/src/debug/kdepim-4.2.1/kmail/kmreaderwin.cpp:1555
#12 0xb0ee2d00 in KMReaderWin::updateReaderWin (this=0x8748630) at /usr/src/debug/kdepim-4.2.1/kmail/kmreaderwin.cpp:1495
#13 0xb0ee3120 in KMReaderWin::update (this=0x8748630, observable=0xbfb6d4a4) at /usr/src/debug/kdepim-4.2.1/kmail/kmreaderwin.cpp:919
#14 0xb110c534 in KMail::ISubject::notify (this=0x8b76edc) at /usr/src/debug/kdepim-4.2.1/kmail/isubject.cpp:29
#15 0xb0df68aa in KMMessage::updateBodyPart (this=0x8b76ec0, partSpecifier=
      {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 9129}, alloc = 0, size = 0, data = 0x804e262, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 269}, alloc = 0, size = 0, data = 0xb688a46e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xbfb6dab0, static codecForCStrings = 0x0}, data=@0x8aed468) at /usr/src/debug/kdepim-4.2.1/kmail/kmmessage.cpp:4126
#16 0xb10e505a in KMail::ImapJob::slotGetMessageResult (this=0x83bf478, job=0x8ae80a0) at /usr/src/debug/kdepim-4.2.1/kmail/imapjob.cpp:435
#17 0xb10e9844 in KMail::ImapJob::qt_metacall (this=0x83bf478, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfb6dbbc) at /usr/src/debug/kdepim-4.2.1/build/kmail/imapjob.moc:81
#18 0xb67b6580 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#19 0xb67b7302 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#20 0xb69c1e03 in KJob::result (this=0x8ae80a0, _t1=0x8ae80a0) at /usr/src/debug/kdelibs-4.2.1/build/kdecore/kjob.moc:186
#21 0xb69c22a9 in KJob::emitResult (this=0x8ae80a0) at /usr/src/debug/kdelibs-4.2.1/kdecore/jobs/kjob.cpp:294
#22 0xb6fe5f45 in KIO::SimpleJob::slotFinished (this=0x8ae80a0) at /usr/src/debug/kdelibs-4.2.1/kio/kio/job.cpp:489
#23 0xb6fe7513 in KIO::TransferJob::slotFinished (this=0x8ae80a0) at /usr/src/debug/kdelibs-4.2.1/kio/kio/job.cpp:966
#24 0xb6fe859b in KIO::TransferJob::qt_metacall (this=0x8ae80a0, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbfb6ddf8) at /usr/src/debug/kdelibs-4.2.1/build/kio/jobclasses.moc:336
#25 0xb67b6580 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#26 0xb67b7302 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#27 0xb7097547 in KIO::SlaveInterface::finished (this=0x8812ee8) at /usr/src/debug/kdelibs-4.2.1/build/kio/slaveinterface.moc:163
#28 0xb709a19f in KIO::SlaveInterface::dispatch (this=0x8812ee8, _cmd=104, rawdata=@0xbfb6df94) at /usr/src/debug/kdelibs-4.2.1/kio/kio/slaveinterface.cpp:175
#29 0xb7097b57 in KIO::SlaveInterface::dispatch (this=0x8812ee8) at /usr/src/debug/kdelibs-4.2.1/kio/kio/slaveinterface.cpp:91
#30 0xb708a470 in KIO::Slave::gotInput (this=0x8812ee8) at /usr/src/debug/kdelibs-4.2.1/kio/kio/slave.cpp:322
#31 0xb708a7e3 in KIO::Slave::qt_metacall (this=0x8812ee8, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfb6e088) at /usr/src/debug/kdelibs-4.2.1/build/kio/slave.moc:75
#32 0xb67b6580 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#33 0xb67b7302 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#34 0xb6fb3377 in KIO::Connection::readyRead (this=0x881b8a0) at /usr/src/debug/kdelibs-4.2.1/build/kio/connection.moc:84
#35 0xb6fb4da3 in KIO::ConnectionPrivate::dequeue (this=0x881b908) at /usr/src/debug/kdelibs-4.2.1/kio/kio/connection.cpp:82
#36 0xb6fb53f6 in KIO::Connection::qt_metacall (this=0x881b8a0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x89202a8) at /usr/src/debug/kdelibs-4.2.1/build/kio/connection.moc:72
#37 0xb67af71b in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4
#38 0xb67b1281 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#39 0xb5d378fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#40 0xb5d3f75e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#41 0xb6d42b1d in KApplication::notify (this=0xbfb6e858, receiver=0x881b8a0, event=0x89df398) at /usr/src/debug/kdelibs-4.2.1/kdeui/kernel/kapplication.cpp:307
#42 0xb67a1961 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#43 0xb67a25d5 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#44 0xb67a27cd in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#45 0xb67cc36f in ?? () from /usr/lib/libQtCore.so.4
#46 0xb513f9a8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#47 0xb5143063 in ?? () from /usr/lib/libglib-2.0.so.0
#48 0xb5143221 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#49 0xb67cbfb8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#50 0xb5dd07c5 in ?? () from /usr/lib/libQtGui.so.4
#51 0xb67a001a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#52 0xb67a01da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#53 0xb67a2895 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#54 0xb5d37777 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#55 0x0804bf8f in main (argc=1, argv=0xbfb6eb54) at /usr/src/debug/kdepim-4.2.1/kontact/src/main.cpp:218
Comment 3 Dario Andres 2009-04-01 23:25:22 UTC
What is your "libgpgme"/"gpgme" version ?
This is probably a duplicate of bug 179216. (gpg bug)
Thanks
Comment 4 Dario Andres 2009-05-07 02:43:29 UTC
Marking as NEEDSINFO
Comment 5 Myriam Schweingruber 2012-08-21 07:49:22 UTC
Closing as there was no feedback. Please feel free to reopen this report if you can reproduce it with Kmail 4.8.5 or later and provide a new backtrace.