Bug 325354 - KMail-Kontact crashed on switching e-mail to html read mode
Summary: KMail-Kontact crashed on switching e-mail to html read mode
Status: RESOLVED FIXED
Alias: None
Product: kontact
Classification: Applications
Component: mail (show other bugs)
Version: 4.11.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-09-27 05:24 UTC by Giuseppe Vinci
Modified: 2013-10-02 01:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.11.3


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Giuseppe Vinci 2013-09-27 05:24:52 UTC
Application: kontact (4.11.1)
KDE Platform Version: 4.11.1
Qt Version: 4.8.5
Operating System: Linux 3.7.10-1.16-desktop x86_64
Distribution: "openSUSE 12.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
I schwitched an opened an e-mail received few days ago to html mode

- Unusual behavior I noticed:
E-Mail-Kontact does not run any user defined oder system defined settings
- mail-list design
- read/unread symbol in mail list does not switch on read, when you have already opened it
- advanced mail search does not run: "unable to create persistent search"

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f27f49cc780 (LWP 4098))]

Thread 8 (Thread 0x7f27ef60b700 (LWP 4099)):
#0  0x00007f28015f5964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2804d1f770 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f2804d1f7a9 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f28015f1e0f in start_thread () from /lib64/libpthread.so.0
#4  0x00007f280744f7dd in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f27aecf0700 (LWP 4100)):
#0  0x00007f28015f5964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2804a9bf47 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f2804d46c9e in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f28015f1e0f in start_thread () from /lib64/libpthread.so.0
#4  0x00007f280744f7dd in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f279ad42700 (LWP 4108)):
#0  0x00007f280107aa99 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f280103dbce in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2807bc65d6 in QEventDispatcherGlib::processEvents (this=0x7f278c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#3  0x00007f2807b96bef in QEventLoop::processEvents (this=this@entry=0x7f279ad41e00, flags=...) at kernel/qeventloop.cpp:149
#4  0x00007f2807b96e78 in QEventLoop::exec (this=0x7f279ad41e00, flags=...) at kernel/qeventloop.cpp:204
#5  0x00007f2807a99110 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#6  0x00007f2807a9c0ec in QThreadPrivate::start (arg=0x12555a0) at thread/qthread_unix.cpp:338
#7  0x00007f28015f1e0f in start_thread () from /lib64/libpthread.so.0
#8  0x00007f280744f7dd in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f278bfff700 (LWP 4120)):
#0  0x00007f28015f5964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f27a2522fa7 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f27a2830660 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f27a2522fd9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f28015f1e0f in start_thread () from /lib64/libpthread.so.0
#4  0x00007f280744f7dd in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f2798c78700 (LWP 4133)):
#0  0x00007f28015f5d11 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2807a9c5a7 in wait (time=30000, this=0x186b420) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x186b6d8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f2807a8fd8f in QThreadPoolThread::run (this=0x187b430) at concurrent/qthreadpool.cpp:141
#4  0x00007f2807a9c0ec in QThreadPrivate::start (arg=0x187b430) at thread/qthread_unix.cpp:338
#5  0x00007f28015f1e0f in start_thread () from /lib64/libpthread.so.0
#6  0x00007f280744f7dd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f279bfff700 (LWP 4134)):
#0  0x00007f28015f5d11 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2807a9c5a7 in wait (time=30000, this=0x18b5de0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x18b5d58, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f2807a8fd8f in QThreadPoolThread::run (this=0x532f1a0) at concurrent/qthreadpool.cpp:141
#4  0x00007f2807a9c0ec in QThreadPrivate::start (arg=0x532f1a0) at thread/qthread_unix.cpp:338
#5  0x00007f28015f1e0f in start_thread () from /lib64/libpthread.so.0
#6  0x00007f280744f7dd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f2799479700 (LWP 4135)):
#0  0x00007f28015f5d11 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2807a9c5a7 in wait (time=30000, this=0x71e9ae0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x726a648, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f2807a8fd8f in QThreadPoolThread::run (this=0x6d59bf0) at concurrent/qthreadpool.cpp:141
#4  0x00007f2807a9c0ec in QThreadPrivate::start (arg=0x6d59bf0) at thread/qthread_unix.cpp:338
#5  0x00007f28015f1e0f in start_thread () from /lib64/libpthread.so.0
#6  0x00007f280744f7dd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f27f49cc780 (LWP 4098)):
[KCrash Handler]
#6  MessageViewer::ScamAttribute::isAScam (this=0x0) at /usr/src/debug/kdepim-4.11.1/messageviewer/scamdetection/scamattribute.cpp:76
#7  0x00007f27a4e8b0f0 in MessageViewer::ViewerPrivate::slotMessageMayBeAScam (this=0x7275a30) at /usr/src/debug/kdepim-4.11.1/messageviewer/viewer/viewer_p.cpp:3254
#8  0x00007f27a4e91801 in MessageViewer::ViewerPrivate::qt_static_metacall (_o=0x7275a30, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdepim-4.11.1/build/messageviewer/viewer_p.moc:224
#9  0x00007f2807bad44f in QMetaObject::activate (sender=0x5b81250, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#10 0x00007f27a4ea1e65 in MessageViewer::MailWebView::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdepim-4.11.1/build/messageviewer/mailwebview.moc:66
#11 0x00007f2807bad44f in QMetaObject::activate (sender=0x514ce70, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#12 0x00007f27a4e99764 in MessageViewer::ScamDetection::scanPage (this=0x514ce70, frame=<optimized out>) at /usr/src/debug/kdepim-4.11.1/messageviewer/scamdetection/scamdetection.cpp:62
#13 0x00007f27a4e96ad6 in MessageViewer::WebKitPartHtmlWriter::end (this=0x72b8070) at /usr/src/debug/kdepim-4.11.1/messageviewer/htmlwriter/webkitparthtmlwriter.cpp:97
#14 0x00007f27a4e8e400 in MessageViewer::ViewerPrivate::displayMessage (this=this@entry=0x7275a30) at /usr/src/debug/kdepim-4.11.1/messageviewer/viewer/viewer_p.cpp:888
#15 0x00007f27a4e8e8b6 in MessageViewer::ViewerPrivate::updateReaderWin (this=0x7275a30) at /usr/src/debug/kdepim-4.11.1/messageviewer/viewer/viewer_p.cpp:2269
#16 0x00007f27a4e6b4dd in (anonymous namespace)::KMailProtocolURLHandler::handleClick (this=<optimized out>, url=..., w=0x7275a30) at /usr/src/debug/kdepim-4.11.1/messageviewer/viewer/urlhandlermanager.cpp:508
#17 0x00007f27a4e6e358 in MessageViewer::URLHandlerManager::handleClick (this=<optimized out>, url=..., w=0x7275a30) at /usr/src/debug/kdepim-4.11.1/messageviewer/viewer/urlhandlermanager.cpp:373
#18 0x00007f27a4e7bc02 in MessageViewer::ViewerPrivate::slotUrlOpen (this=0x7275a30, url=...) at /usr/src/debug/kdepim-4.11.1/messageviewer/viewer/viewer_p.cpp:2093
#19 0x00007f27a4e9195e in MessageViewer::ViewerPrivate::qt_static_metacall (_o=0x7275a30, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdepim-4.11.1/build/messageviewer/viewer_p.moc:245
#20 0x00007f2807bac92e in QObject::event (this=0x7275a30, e=<optimized out>) at kernel/qobject.cpp:1203
#21 0x00007f28085a192c in QApplicationPrivate::notify_helper (this=this@entry=0x106a530, receiver=receiver@entry=0x7275a30, e=e@entry=0x70c06e0) at kernel/qapplication.cpp:4562
#22 0x00007f28085a5dab in QApplication::notify (this=0x7fffc2f70ff0, receiver=0x7275a30, e=0x70c06e0) at kernel/qapplication.cpp:4423
#23 0x00007f28092b3f76 in KApplication::notify (this=0x7fffc2f70ff0, receiver=0x7275a30, event=0x70c06e0) at /usr/src/debug/kdelibs-4.11.1/kdeui/kernel/kapplication.cpp:311
#24 0x00007f2807b97f3e in QCoreApplication::notifyInternal (this=0x7fffc2f70ff0, receiver=receiver@entry=0x7275a30, event=event@entry=0x70c06e0) at kernel/qcoreapplication.cpp:949
#25 0x00007f2807b9b8a1 in sendEvent (event=0x70c06e0, receiver=0x7275a30) at kernel/qcoreapplication.h:231
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x10352b0) at kernel/qcoreapplication.cpp:1573
#27 0x00007f2807bc6423 in sendPostedEvents () at kernel/qcoreapplication.h:236
#28 postEventSourceDispatch (s=0x1072e00) at kernel/qeventdispatcher_glib.cpp:280
#29 0x00007f280103d7d5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#30 0x00007f280103db08 in ?? () from /usr/lib64/libglib-2.0.so.0
#31 0x00007f280103dbc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f2807bc65b6 in QEventDispatcherGlib::processEvents (this=0x103a710, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#33 0x00007f2808641e0e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f2807b96bef in QEventLoop::processEvents (this=this@entry=0x7fffc2f70e60, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007f2807b96e78 in QEventLoop::exec (this=0x7fffc2f70e60, flags=...) at kernel/qeventloop.cpp:204
#36 0x00007f2807b9bbb8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#37 0x0000000000403679 in ?? ()
#38 0x00007f2807388a15 in __libc_start_main () from /lib64/libc.so.6
#39 0x0000000000403be1 in _start ()

Reported using DrKonqi
Comment 1 Laurent Montel 2013-09-27 06:55:57 UTC
"- Unusual behavior I noticed: E-Mail-Kontact does not run any user defined oder system defined settings - mail-list design - read/unread symbol in mail list does not switch on read, when you have already opened it - advanced mail search does not run: "unable to create persistent search"
Please report another bug report (but there is already reported I think)
Comment 2 Laurent Montel 2013-09-27 07:07:56 UTC
Git commit 385316cd765eb6b52e7ea3c7cec56927a0d41a59 by Montel Laurent.
Committed on 27/09/2013 at 07:07.
Pushed by mlaurent into branch 'KDE/4.11'.

Fix Bug 325354 - KMail-Kontact crashed on switching e-mail to html read mode
FIXED-IN: 4.11.3

M  +2    -1    messageviewer/viewer/viewer_p.cpp

http://commits.kde.org/kdepim/385316cd765eb6b52e7ea3c7cec56927a0d41a59
Comment 3 Christoph Feck 2013-10-02 01:01:07 UTC
The commit above does not add the intended null-pointer check.
Comment 4 Christoph Feck 2013-10-02 01:04:06 UTC
Okey, a follow-up commit was made, but not linked here.

See http://commits.kde.org/kdepim/c2006b105db9748ae725850f1267a7f1ab538e72