Bug 300203 - [git master] KMail crashs when clicking on a mail in mail list
Summary: [git master] KMail crashs when clicking on a mail in mail list
Status: RESOLVED DUPLICATE of bug 277705
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.9 pre
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-17 18:08 UTC by Johannes Huber
Modified: 2012-06-08 13:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Huber 2012-05-17 18:08:12 UTC
Application: kmail (4.9 pre)
KDE Platform Version: 4.8.3 (4.8.3) (Compiled from sources)
Qt Version: 4.8.1
Operating System: Linux 3.3.5-gentoo x86_64
Distribution: "Gentoo Base System release 2.1"

-- Information about the crash:
- What I was doing when the application crashed:
1. start kmail
2. click on a mail in the mail list

Hopefully will be fixed before beta1.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb4ab2b2780 (LWP 10806))]

Thread 5 (Thread 0x7fb48e434700 (LWP 10811)):
#0  0x00007fb4a63c359c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fb49ce71e54 in scavengerThread (this=0x7fb49d8590e0) at wtf/FastMalloc.cpp:2495
#2  WTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fb49d8590e0) at wtf/FastMalloc.cpp:1618
#3  0x00007fb4a63bed96 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fb4a85c1a8d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fb48db33700 (LWP 10812)):
#0  0x00007fb4a85b8ca3 in poll () from /lib64/libc.so.6
#1  0x00007fb4a0bb14e6 in g_main_context_poll (n_fds=1, fds=0x7fb4880029c0, timeout=-1, context=0x7fb4880009a0, priority=<optimized out>) at gmain.c:3440
#2  g_main_context_iterate (context=0x7fb4880009a0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3141
#3  0x00007fb4a0bb1604 in g_main_context_iteration (context=0x7fb4880009a0, may_block=1) at gmain.c:3207
#4  0x00007fb4a8f4625f in QEventDispatcherGlib::processEvents (this=0x7fb4880008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fb4a8f16192 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fb4a8f16445 in QEventLoop::exec (this=0x7fb48db32e00, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fb4a8e13098 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007fb4a8e1570b in QThreadPrivate::start (arg=0xf92c10) at thread/qthread_unix.cpp:298
#9  0x00007fb4a63bed96 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fb4a85c1a8d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fb447fff700 (LWP 10813)):
#0  0x00007fb4a63c391e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fb4a8e16582 in wait (time=30000, this=0x103bc30) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x103bbd8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fb4a8e09d4f in QThreadPoolThread::run (this=0x10ce3a0) at concurrent/qthreadpool.cpp:141
#4  0x00007fb4a8e1570b in QThreadPrivate::start (arg=0x10ce3a0) at thread/qthread_unix.cpp:298
#5  0x00007fb4a63bed96 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fb4a85c1a8d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fb44719a700 (LWP 10815)):
#0  0x00007fb4a63c391e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fb4a8e16582 in wait (time=30000, this=0x13e39c0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x13e8b58, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fb4a8e09d4f in QThreadPoolThread::run (this=0x13eb0d0) at concurrent/qthreadpool.cpp:141
#4  0x00007fb4a8e1570b in QThreadPrivate::start (arg=0x13eb0d0) at thread/qthread_unix.cpp:298
#5  0x00007fb4a63bed96 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fb4a85c1a8d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fb4ab2b2780 (LWP 10806)):
[KCrash Handler]
#6  deref (this=<optimized out>) at /usr/include/qt4/QtCore/qatomic_x86_64.h:133
#7  ~KSharedPtr (this=0xf55800, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdecore/util/ksharedptr.h:90
#8  ~ParsingData (this=0xf55800, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdecore/services/ktraderparse.cpp:41
#9  qThreadStorage_deleteData<KTraderParse::ParsingData> (d=<optimized out>) at /usr/include/qt4/QtCore/qthreadstorage.h:97
#10 QThreadStorage<KTraderParse::ParsingData*>::deleteData (x=0xf55800) at /usr/include/qt4/QtCore/qthreadstorage.h:140
#11 0x00007fb4a8e140df in QThreadStorageData::set (this=0x13487c0, p=0x148a7c0) at thread/qthreadstorage.cpp:165
#12 0x00007fb4aa723ff2 in qThreadStorage_setLocalData<KTraderParse::ParsingData> (d=..., t=<optimized out>) at /usr/include/qt4/QtCore/qthreadstorage.h:92
#13 setLocalData (t=0x148a7c0, this=<optimized out>) at /usr/include/qt4/QtCore/qthreadstorage.h:155
#14 KTraderParse::parseConstraints (_constr=...) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdecore/services/ktraderparse.cpp:55
#15 0x00007fb4aa723992 in KServiceTypeTrader::applyConstraints (lst=..., constraint=...) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdecore/services/kservicetypetrader.cpp:59
#16 0x00007fb4aa723b3b in KServiceTypeTrader::defaultOffers (this=<optimized out>, serviceType=..., constraint=...) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdecore/services/kservicetypetrader.cpp:127
#17 0x00007fb4aa723ec9 in KServiceTypeTrader::query (this=0xdecfb0, serviceType=..., constraint=...) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdecore/services/kservicetypetrader.cpp:141
#18 0x00007fb49ac26c86 in KEmoticonsPrivate::loadServiceList (this=0x14e9470) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kutils/kemoticons/kemoticons.cpp:71
#19 0x00007fb49ac26dda in KEmoticons::KEmoticons (this=0x150e6b0) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kutils/kemoticons/kemoticons.cpp:121
#20 0x00007fb4a1eaabea in operator-> (this=<optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-9999/work/kdepimlibs-9999/kpimutils/linklocator.cpp:56
#21 KPIMUtils::LinkLocator::convertToHtml (plainText=..., flags=3, maxUrlLen=<optimized out>, maxAddressLen=<optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-9999/work/kdepimlibs-9999/kpimutils/linklocator.cpp:426
#22 0x00007fb4a19b5cf4 in MessageViewer::strToHtml (str=..., flags=<optimized out>) at /var/tmp/portage/kde-base/kdepim-common-libs-9999/work/kdepim-common-libs-9999/messageviewer/headerstyle.cpp:84
#23 0x00007fb4a19b6093 in MessageViewer::subjectString (message=<optimized out>, flags=3) at /var/tmp/portage/kde-base/kdepim-common-libs-9999/work/kdepim-common-libs-9999/messageviewer/headerstyle.cpp:111
#24 0x00007fb4a19be384 in MessageViewer::FancyHeaderStyle::format (this=0xfe7710, message=0x134a700) at /var/tmp/portage/kde-base/kdepim-common-libs-9999/work/kdepim-common-libs-9999/messageviewer/headerstyle.cpp:612
#25 0x00007fb4a1a14d04 in MessageViewer::ViewerPrivate::writeMsgHeader (this=0xf7cbd0, aMsg=0x134a700, vCardNode=<optimized out>, topLevel=192) at /var/tmp/portage/kde-base/kdepim-common-libs-9999/work/kdepim-common-libs-9999/messageviewer/viewer_p.cpp:1004
#26 0x00007fb4a1a214af in MessageViewer::ViewerPrivate::parseContent (this=0xf7cbd0, content=0x134a700) at /var/tmp/portage/kde-base/kdepim-common-libs-9999/work/kdepim-common-libs-9999/messageviewer/viewer_p.cpp:943
#27 0x00007fb4a1a23ef2 in MessageViewer::ViewerPrivate::displayMessage (this=0xf7cbd0) at /var/tmp/portage/kde-base/kdepim-common-libs-9999/work/kdepim-common-libs-9999/messageviewer/viewer_p.cpp:826
#28 0x00007fb4a1a24609 in MessageViewer::ViewerPrivate::updateReaderWin (this=0xf7cbd0) at /var/tmp/portage/kde-base/kdepim-common-libs-9999/work/kdepim-common-libs-9999/messageviewer/viewer_p.cpp:2157
#29 0x00007fb4a1a277fa in MessageViewer::ViewerPrivate::qt_static_metacall (_o=0xf7cbd0, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/kde-base/kdepim-common-libs-9999/work/kdepim-common-libs-9999_build/messageviewer/viewer_p.moc:221
#30 0x00007fb4a8f2c943 in QMetaObject::activate (sender=0xf7cc60, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#31 0x00007fb4a8f2bab9 in QObject::event (this=0xf7cc60, e=<optimized out>) at kernel/qobject.cpp:1157
#32 0x00007fb4a9448474 in QApplicationPrivate::notify_helper (this=0xb573e0, receiver=0xf7cc60, e=0x7fff18e7ee60) at kernel/qapplication.cpp:4554
#33 0x00007fb4a944d06f in QApplication::notify (this=<optimized out>, receiver=0xf7cc60, e=0x7fff18e7ee60) at kernel/qapplication.cpp:4415
#34 0x00007fb4aacc7c36 in KApplication::notify (this=0x7fff18e7f220, receiver=0xf7cc60, event=0x7fff18e7ee60) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/kernel/kapplication.cpp:311
#35 0x00007fb4a8f1716b in QCoreApplication::notifyInternal (this=0x7fff18e7f220, receiver=0xf7cc60, event=0x7fff18e7ee60) at kernel/qcoreapplication.cpp:876
#36 0x00007fb4a8f48aee in sendEvent (event=0x7fff18e7ee60, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#37 QTimerInfoList::activateTimers (this=0xb57360) at kernel/qeventdispatcher_unix.cpp:611
#38 0x00007fb4a8f45b5d in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#39 0x00007fb4a0bb1202 in g_main_dispatch (context=0xb55bc0) at gmain.c:2539
#40 g_main_context_dispatch (context=0xb55bc0) at gmain.c:3075
#41 0x00007fb4a0bb1548 in g_main_context_iterate (context=0xb55bc0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3146
#42 0x00007fb4a0bb1604 in g_main_context_iteration (context=0xb55bc0, may_block=1) at gmain.c:3207
#43 0x00007fb4a8f4625f in QEventDispatcherGlib::processEvents (this=0xb55f90, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#44 0x00007fb4a94ed87e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x00007fb4a8f16192 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#46 0x00007fb4a8f16445 in QEventLoop::exec (this=0x7fff18e7f0e0, flags=...) at kernel/qeventloop.cpp:204
#47 0x00007fb4a8f1abcb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#48 0x000000000040339e in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-base/kmail-9999/work/kmail-9999/kmail/main.cpp:145

Reported using DrKonqi
Comment 1 Christophe Marin 2012-05-17 21:22:23 UTC

*** This bug has been marked as a duplicate of bug 277705 ***