Bug 297132 - KMail crashes after clicking to show mail as HTML
Summary: KMail crashes after clicking to show mail as HTML
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.8
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-30 18:57 UTC by mm-schade
Modified: 2012-08-16 07:07 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (3.96 KB, text/plain)
2012-06-09 23:00 UTC, John
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mm-schade 2012-03-30 18:57:17 UTC
Application: kontact (4.8.0)
KDE Platform Version: 4.8.1 (4.8.1) "release 483"
Qt Version: 4.8.0
Operating System: Linux 3.1.9-1.4-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
I display mail in text format. If I click to show it as HTML, KMail crashes everytime.
My computer is connected through a proxy server with authentication. The proxy server is maintened in KDE settings as manual configuration. The computer has a fixed IP address and the network is set up by systemd not by the NetworkManager.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f6663290760 (LWP 28236))]

Thread 5 (Thread 0x7f664ac8e700 (LWP 28237)):
#0  0x00007f665b123e6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f665fab2c12 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f665fab2c49 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f665b11ff05 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f66607a410d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f664a375700 (LWP 28239)):
#0  0x00007f666079aff3 in poll () from /lib64/libc.so.6
#1  0x00007f665ac10a98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f665ac10f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f6660f11956 in QEventDispatcherGlib::processEvents (this=0x7f66440008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f6660ee1682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f6660ee18d7 in QEventLoop::exec (this=0x7f664a374e20, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f6660de2537 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f6660de555b in QThreadPrivate::start (arg=0x815df0) at thread/qthread_unix.cpp:298
#8  0x00007f665b11ff05 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f66607a410d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f65ee08d700 (LWP 28298)):
#0  0x00007f666079aff3 in poll () from /lib64/libc.so.6
#1  0x00007f665ac10a98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f665ac10f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f6660f11956 in QEventDispatcherGlib::processEvents (this=0x7f65e40008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f6660ee1682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f6660ee18d7 in QEventLoop::exec (this=0x7f65ee08cdf0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f6660de2537 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f665dcedd9e in KIO::NameLookUpThread::run (this=0x19de280) at /usr/src/debug/kdelibs-4.8.1/kio/kio/hostinfo.cpp:226
#8  0x00007f6660de555b in QThreadPrivate::start (arg=0x19de280) at thread/qthread_unix.cpp:298
#9  0x00007f665b11ff05 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f66607a410d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f65fd069700 (LWP 11300)):
#0  0x00007f665b123e6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6660de5a6b in wait (time=18446744073709551615, this=0x7f65f80aee00) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x7f65f809fbe0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f6660de1894 in QSemaphore::acquire (this=0x7f65fd067d90, n=1) at thread/qsemaphore.cpp:144
#4  0x00007f6660ef6c5c in QMetaObject::activate (sender=0x3789320, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7f65fd067e00) at kernel/qobject.cpp:3534
#5  0x00007f665c0eaf47 in QHttpThreadDelegate::proxyAuthenticationRequired (this=<optimized out>, _t1=<optimized out>, _t2=0x7f65f80af350) at .moc/release-shared/moc_qhttpthreaddelegate_p.cpp:185
#6  0x00007f665c0eb460 in QHttpThreadDelegate::qt_static_metacall (_o=0x3789320, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/release-shared/moc_qhttpthreaddelegate_p.cpp:105
#7  0x00007f6660ef6761 in QMetaObject::activate (sender=0x7f65f802cdc0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7f65fd068030) at kernel/qobject.cpp:3556
#8  0x00007f665c0e9a77 in QHttpNetworkReply::proxyAuthenticationRequired (this=<optimized out>, _t1=<optimized out>, _t2=0x7f65f80af350) at .moc/release-shared/moc_qhttpnetworkreply_p.cpp:185
#9  0x00007f665c044679 in QHttpNetworkConnectionPrivate::handleAuthenticateChallenge (this=0x7f65f80a7310, socket=0x7f65f801df50, reply=0x7f65f802cdc0, isProxy=true, resend=@0x7f65fd0682cf) at access/qhttpnetworkconnection.cpp:381
#10 0x00007f665c049ee4 in QHttpNetworkConnectionChannel::handleStatus (this=0x7f65f80af2e8) at access/qhttpnetworkconnectionchannel.cpp:824
#11 0x00007f665c04a65a in QHttpNetworkConnectionChannel::allDone (this=0x7f65f80af2e8) at access/qhttpnetworkconnectionchannel.cpp:699
#12 0x00007f665c04b16b in QHttpNetworkConnectionChannel::_q_receiveReply (this=0x7f65f80af2e8) at access/qhttpnetworkconnectionchannel.cpp:504
#13 0x00007f665c04bc52 in QHttpNetworkConnectionChannel::_q_readyRead (this=0x7f65f80af2e8) at access/qhttpnetworkconnectionchannel.cpp:968
#14 0x00007f6660ef6761 in QMetaObject::activate (sender=0x7f65f801df50, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#15 0x00007f665c0bc79f in QAbstractSocketPrivate::canReadNotification (this=0x7f65f80c3710) at socket/qabstractsocket.cpp:651
#16 0x00007f665c0c42f1 in event (this=<optimized out>, e=<optimized out>) at socket/qnativesocketengine.cpp:1151
#17 QReadNotifier::event (this=<optimized out>, e=<optimized out>) at socket/qnativesocketengine.cpp:1148
#18 0x00007f66618f5e84 in notify_helper (e=0x7f65fd068c10, receiver=0x7f65f8002010, this=0x639030) at kernel/qapplication.cpp:4550
#19 QApplicationPrivate::notify_helper (this=0x639030, receiver=0x7f65f8002010, e=0x7f65fd068c10) at kernel/qapplication.cpp:4522
#20 0x00007f66618fad03 in QApplication::notify (this=0x7fff6634cf70, receiver=0x7f65f8002010, e=0x7f65fd068c10) at kernel/qapplication.cpp:4411
#21 0x00007f666263a656 in KApplication::notify (this=0x7fff6634cf70, receiver=0x7f65f8002010, event=0x7f65fd068c10) at /usr/src/debug/kdelibs-4.8.1/kdeui/kernel/kapplication.cpp:311
#22 0x00007f6660ee289c in QCoreApplication::notifyInternal (this=0x7fff6634cf70, receiver=0x7f65f8002010, event=0x7f65fd068c10) at kernel/qcoreapplication.cpp:876
#23 0x00007f6660f10f47 in sendEvent (event=0x7f65fd068c10, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#24 socketNotifierSourceDispatch (source=0x7f65f80b7140) at kernel/qeventdispatcher_glib.cpp:110
#25 0x00007f665ac1058d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#26 0x00007f665ac10d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#27 0x00007f665ac10f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f6660f118ef in QEventDispatcherGlib::processEvents (this=0x7f65f8094070, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#29 0x00007f6660ee1682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#30 0x00007f6660ee18d7 in QEventLoop::exec (this=0x7f65fd068e20, flags=...) at kernel/qeventloop.cpp:204
#31 0x00007f6660de2537 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#32 0x00007f6660de555b in QThreadPrivate::start (arg=0x33635b0) at thread/qthread_unix.cpp:298
#33 0x00007f665b11ff05 in start_thread () from /lib64/libpthread.so.0
#34 0x00007f66607a410d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f6663290760 (LWP 28236)):
[KCrash Handler]
#6  lockInline (this=0x74007100580a31) at ../../src/corelib/thread/qmutex.h:187
#7  QMutexLocker (m=0x74007100580a31, this=0x7fff6634c520) at ../../src/corelib/thread/qmutex.h:109
#8  QNetworkAccessAuthenticationManager::fetchCachedProxyCredentials (this=0x74007100580a01, p=<optimized out>, authenticator=<optimized out>) at access/qnetworkaccessauthenticationmanager.cpp:203
#9  0x00007f665c05020c in QNetworkAccessManagerPrivate::proxyAuthenticationRequired (this=0x1e314f0, backend=0x48b5a50, proxy=..., authenticator=0x7f65f80af350) at access/qnetworkaccessmanager.cpp:1104
#10 0x00007f6660efb926 in QObject::event (this=0x48b5a50, e=<optimized out>) at kernel/qobject.cpp:1204
#11 0x00007f66618f5e84 in notify_helper (e=0x7f65f80afee0, receiver=0x48b5a50, this=0x639030) at kernel/qapplication.cpp:4550
#12 QApplicationPrivate::notify_helper (this=0x639030, receiver=0x48b5a50, e=0x7f65f80afee0) at kernel/qapplication.cpp:4522
#13 0x00007f66618fad03 in QApplication::notify (this=0x7fff6634cf70, receiver=0x48b5a50, e=0x7f65f80afee0) at kernel/qapplication.cpp:4411
#14 0x00007f666263a656 in KApplication::notify (this=0x7fff6634cf70, receiver=0x48b5a50, event=0x7f65f80afee0) at /usr/src/debug/kdelibs-4.8.1/kdeui/kernel/kapplication.cpp:311
#15 0x00007f6660ee289c in QCoreApplication::notifyInternal (this=0x7fff6634cf70, receiver=0x48b5a50, event=0x7f65f80afee0) at kernel/qcoreapplication.cpp:876
#16 0x00007f6660ee613a in sendEvent (event=0x7f65f80afee0, receiver=0x48b5a50) at kernel/qcoreapplication.h:231
#17 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60da60) at kernel/qcoreapplication.cpp:1500
#18 0x00007f6660f114c3 in sendPostedEvents () at kernel/qcoreapplication.h:236
#19 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#20 0x00007f665ac1058d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#21 0x00007f665ac10d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#22 0x00007f665ac10f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#23 0x00007f6660f118ef in QEventDispatcherGlib::processEvents (this=0x60d320, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#24 0x00007f66619992de in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#25 0x00007f6660ee1682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#26 0x00007f6660ee18d7 in QEventLoop::exec (this=0x7fff6634cf00, flags=...) at kernel/qeventloop.cpp:204
#27 0x00007f6660ee6435 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#28 0x0000000000403919 in ?? ()
#29 0x00007f66606ea23d in __libc_start_main () from /lib64/libc.so.6
#30 0x0000000000403e51 in _start ()

Reported using DrKonqi
Comment 1 John 2012-06-09 23:00:11 UTC
Created attachment 71691 [details]
New crash information added by DrKonqi

kmail (4.8.3) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.2

- What I was doing when the application crashed:
Checking messages from my two gmail accounts.  When flipping from one to another, kmail crashes with bug.
- Custom settings of the application:
At this moment, HTML is set to on in settings, but if set to off, no crashes during mail flipping.

-- Backtrace (Reduced):
#8  0x00007f9e59591856 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007f9e59aae344 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#10 0x00007f9e59ab2e1f in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#11 0x00007f9e5b319b76 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#12 0x00007f9e5957cbcb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
Comment 2 Laurent Montel 2012-07-26 12:40:21 UTC
Fixed in 4.8.5