Bug 302045 - Crash on trying open an email
Summary: Crash on trying open an email
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.8.4
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-17 11:18 UTC by Ian Powell
Modified: 2012-06-25 06:57 UTC (History)
2 users (show)

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


Attachments
New crash information added by DrKonqi (7.73 KB, text/plain)
2012-06-19 18:53 UTC, Ian Powell
Details
konsole trace (opensuse 11.4) (887 bytes, text/plain)
2012-06-19 18:57 UTC, Ian Powell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Powell 2012-06-17 11:18:05 UTC
Application: kmail (4.8.4)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.2
Operating System: Linux 2.6.37.6-0.11-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
I loaded kmail, select all emails in Inbox folder, pressed Ctrl-J to apply filters, tried to open unfiltered email in Inbox folder, kmail crashed.
Reloaded Kmail, tried to open same email and it crashed again, tried it once more with same result.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fccb6b80760 (LWP 9144))]

Thread 3 (Thread 0x7fcc9867c700 (LWP 9149)):
#0  0x00007fccb1cf438c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fcca830ee24 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007fcca830ee59 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007fccb1cefa3f in start_thread () from /lib64/libpthread.so.0
#4  0x00007fccb3eb671d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fcc97d63700 (LWP 9150)):
#0  0x00007fccb3ead5a3 in poll () from /lib64/libc.so.6
#1  0x00007fccac65b114 in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007fccac65b650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007fccb4820336 in QEventDispatcherGlib::processEvents (this=0xa67610, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fccb47f0082 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fccb47f02fd in QEventLoop::exec (this=0x7fcc97d62e20, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fccb46ec578 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:501
#7  0x00007fccb46eec6b in QThreadPrivate::start (arg=0xa319f0) at thread/qthread_unix.cpp:307
#8  0x00007fccb1cefa3f in start_thread () from /lib64/libpthread.so.0
#9  0x00007fccb3eb671d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fccb6b80760 (LWP 9144)):
[KCrash Handler]
#6  deref (x=0xa708e0) at /usr/include/QtCore/qatomic_x86_64.h:133
#7  ~KSharedPtr (x=0xa708e0) at /usr/src/debug/kdelibs-4.8.4/kdecore/util/ksharedptr.h:90
#8  ~ParsingData (x=0xa708e0) at /usr/src/debug/kdelibs-4.8.4/kdecore/services/ktraderparse.cpp:41
#9  qThreadStorage_deleteData<KTraderParse::ParsingData> (x=0xa708e0) at /usr/include/QtCore/qthreadstorage.h:97
#10 QThreadStorage<KTraderParse::ParsingData*>::deleteData (x=0xa708e0) at /usr/include/QtCore/qthreadstorage.h:140
#11 0x00007fccb46ed5af in QThreadStorageData::set (this=0xcf9ad0, p=0xdc9460) at thread/qthreadstorage.cpp:165
#12 0x00007fccb60041a7 in qThreadStorage_setLocalData<KTraderParse::ParsingData> (_constr=...) at /usr/include/QtCore/qthreadstorage.h:92
#13 setLocalData (_constr=...) at /usr/include/QtCore/qthreadstorage.h:155
#14 KTraderParse::parseConstraints (_constr=...) at /usr/src/debug/kdelibs-4.8.4/kdecore/services/ktraderparse.cpp:55
#15 0x00007fccb6003b42 in KServiceTypeTrader::applyConstraints (lst=<value optimized out>, constraint=<value optimized out>) at /usr/src/debug/kdelibs-4.8.4/kdecore/services/kservicetypetrader.cpp:59
#16 0x00007fccb6003ceb in KServiceTypeTrader::defaultOffers (this=<value optimized out>, serviceType=<value optimized out>, constraint=...) at /usr/src/debug/kdelibs-4.8.4/kdecore/services/kservicetypetrader.cpp:127
#17 0x00007fccb6004079 in KServiceTypeTrader::query (this=0x6fe240, serviceType=..., constraint=...) at /usr/src/debug/kdelibs-4.8.4/kdecore/services/kservicetypetrader.cpp:141
#18 0x00007fcca5bf6306 in KEmoticonsPrivate::loadServiceList (this=0xf08150) at /usr/src/debug/kdelibs-4.8.4/kutils/kemoticons/kemoticons.cpp:71
#19 0x00007fcca5bf645a in KEmoticons::KEmoticons (this=0xf0c5b0) at /usr/src/debug/kdelibs-4.8.4/kutils/kemoticons/kemoticons.cpp:121
#20 0x00007fccad746282 in operator-> (plainText=<value optimized out>, flags=3, maxUrlLen=<value optimized out>, maxAddressLen=<value optimized out>) at /usr/src/debug/kdepimlibs-4.8.4/kpimutils/linklocator.cpp:56
#21 KPIMUtils::LinkLocator::convertToHtml (plainText=<value optimized out>, flags=3, maxUrlLen=<value optimized out>, maxAddressLen=<value optimized out>) at /usr/src/debug/kdepimlibs-4.8.4/kpimutils/linklocator.cpp:426
#22 0x00007fccad261fe4 in MessageViewer::strToHtml (str=<value optimized out>, flags=<value optimized out>) at /usr/src/debug/kdepim-4.8.4/messageviewer/headerstyle.cpp:84
#23 0x00007fccad262333 in MessageViewer::subjectString (message=<value optimized out>, flags=3) at /usr/src/debug/kdepim-4.8.4/messageviewer/headerstyle.cpp:111
#24 0x00007fccad26a645 in MessageViewer::FancyHeaderStyle::format (this=0x9fd3a0, message=0xb4d4a0) at /usr/src/debug/kdepim-4.8.4/messageviewer/headerstyle.cpp:612
#25 0x00007fccad2bf295 in MessageViewer::ViewerPrivate::writeMsgHeader (this=0xa6a9e0, aMsg=0xb4d4a0, vCardNode=<value optimized out>, topLevel=<value optimized out>) at /usr/src/debug/kdepim-4.8.4/messageviewer/viewer_p.cpp:968
#26 0x00007fccad2cbba4 in MessageViewer::ViewerPrivate::parseContent (this=0xa6a9e0, content=0xb4d4a0) at /usr/src/debug/kdepim-4.8.4/messageviewer/viewer_p.cpp:907
#27 0x00007fccad2ce53f in MessageViewer::ViewerPrivate::displayMessage (this=0xa6a9e0) at /usr/src/debug/kdepim-4.8.4/messageviewer/viewer_p.cpp:790
#28 0x00007fccad2cec5a in MessageViewer::ViewerPrivate::updateReaderWin (this=0xa6a9e0) at /usr/src/debug/kdepim-4.8.4/messageviewer/viewer_p.cpp:2084
#29 0x00007fccad2d1d5a in MessageViewer::ViewerPrivate::qt_static_metacall (_o=0xa6a9e0, _c=<value optimized out>, _id=<value optimized out>, _a=<value optimized out>) at /usr/src/debug/kdepim-4.8.4/build/messageviewer/viewer_p.moc:208
#30 0x00007fccb48068fa in QMetaObject::activate (sender=0xa6aa68, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#31 0x00007fccb4805a69 in QObject::event (this=0xa6aa68, e=<value optimized out>) at kernel/qobject.cpp:1166
#32 0x00007fccb4d265a4 in QApplicationPrivate::notify_helper (this=0x6566f0, receiver=0xa6aa68, e=0x7fff8bef1870) at kernel/qapplication.cpp:4551
#33 0x00007fccb4d2eb3f in QApplication::notify (this=<value optimized out>, receiver=0xa6aa68, e=0x7fff8bef1870) at kernel/qapplication.cpp:4412
#34 0x00007fccb6593946 in KApplication::notify (this=0x7fff8bef1cd0, receiver=0xa6aa68, event=0x7fff8bef1870) at /usr/src/debug/kdelibs-4.8.4/kdeui/kernel/kapplication.cpp:311
#35 0x00007fccb47f127c in QCoreApplication::notifyInternal (this=0x7fff8bef1cd0, receiver=0xa6aa68, event=0x7fff8bef1870) at kernel/qcoreapplication.cpp:915
#36 0x00007fccb4822e2c in sendEvent (this=0x65a070) at kernel/qcoreapplication.h:231
#37 QTimerInfoList::activateTimers (this=0x65a070) at kernel/qeventdispatcher_unix.cpp:626
#38 0x00007fccb481fb8d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#39 0x00007fccac65abd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#40 0x00007fccac65b3b0 in ?? () from /lib64/libglib-2.0.so.0
#41 0x00007fccac65b650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#42 0x00007fccb48202df in QEventDispatcherGlib::processEvents (this=0x612bb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#43 0x00007fccb4dccaee in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x00007fccb47f0082 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#45 0x00007fccb47f02fd in QEventLoop::exec (this=0x7fff8bef1ba0, flags=...) at kernel/qeventloop.cpp:204
#46 0x00007fccb47f4d2b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#47 0x000000000040316e in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.8.4/kmail/main.cpp:145

Possible duplicates by query: bug 302019, bug 301928, bug 301899, bug 301812, bug 301710.

Reported using DrKonqi
Comment 1 Ian Powell 2012-06-19 18:53:09 UTC
Created attachment 71955 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:
Run Kmail from CLI as it kept crashing when running from GUI - its still crashed but i've attached the konsole trace

-- Backtrace (Reduced):
#7  ~KSharedPtr (x=0xa2f6e0) at /usr/src/debug/kdelibs-4.8.4/kdecore/util/ksharedptr.h:90
#8  ~ParsingData (x=0xa2f6e0) at /usr/src/debug/kdelibs-4.8.4/kdecore/services/ktraderparse.cpp:41
#9  qThreadStorage_deleteData<KTraderParse::ParsingData> (x=0xa2f6e0) at /usr/include/QtCore/qthreadstorage.h:97
#10 QThreadStorage<KTraderParse::ParsingData*>::deleteData (x=0xa2f6e0) at /usr/include/QtCore/qthreadstorage.h:140
#11 0x00007ff515f165af in QThreadStorageData::set (this=0x700ae0, p=0x9a4340) at thread/qthreadstorage.cpp:165
Comment 2 Ian Powell 2012-06-19 18:57:38 UTC
Created attachment 71956 [details]
konsole trace (opensuse 11.4)

This was the trail from kmail when running from konsole 
>kmail
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
kmail2(8300)/kdepimlibs (mailtransport): Could not access Outbox. 
ianseeks@linux-k5wg:~> kmail2(8300)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
kmail2(8300)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
QObject: Cannot create children for a parent that is in a different thread.
(Parent is Nepomuk::ResourceManager(0x8d6730), parent's thread is QThread(0x613360), current thread is QThread(0xba9720)
*** KMail got signal 11 (Exiting)
*** Dead letters dumped.
KCrash: Application 'kmail' crashing...
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/home/ianseeks/.kde4/socket-linux-k5wg/kdeinit4__0
Comment 3 Laurent Montel 2012-06-25 06:57:35 UTC
Fixed in 4.8.5