Bug 336877 - Kmail crashed when laptop is resumed
Summary: Kmail crashed when laptop is resumed
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.13.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-06-29 21:24 UTC by Lastique
Modified: 2017-01-07 21:49 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lastique 2014-06-29 21:24:39 UTC
Application: kmail (4.13.1)
KDE Platform Version: 4.13.1
Qt Version: 4.8.6
Operating System: Linux 3.13.0-30-generic x86_64
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:

My laptop was suspended. Prior to suspending Kmail was minimized to tray icon and connected to an IMAP mail account. After opening the lid (and thus resuming the laptop) after a few seconds Kmail crashed. I did not use Kmail in any way since the resume.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f15d7561800 (LWP 19157))]

Thread 5 (Thread 0x7f15af2b4700 (LWP 19160)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f15c8e6981d in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f15c8e69859 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f15d2188182 in start_thread (arg=0x7f15af2b4700) at pthread_create.c:312
#4  0x00007f15d48c730d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f156e122700 (LWP 19161)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f15c8baa20d in JSC::BlockAllocator::blockFreeingThreadMain() () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f15c8e98fd6 in WTF::wtfThreadEntryPoint(void*) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f15d2188182 in start_thread (arg=0x7f156e122700) at pthread_create.c:312
#4  0x00007f15d48c730d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f156d263700 (LWP 19162)):
#0  0x00007f15cc98c62a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f15cc98c9b9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f15cc94a8f9 in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f15cc94af52 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f15cc94b0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f15d52567be in QEventDispatcherGlib::processEvents (this=0x7f15600008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f15d52280af in QEventLoop::processEvents (this=this@entry=0x7f156d262de0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f15d52283a5 in QEventLoop::exec (this=this@entry=0x7f156d262de0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f15d5124c5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#9  0x00007f15d512732f in QThreadPrivate::start (arg=0x2bba0b0) at thread/qthread_unix.cpp:349
#10 0x00007f15d2188182 in start_thread (arg=0x7f156d263700) at pthread_create.c:312
#11 0x00007f15d48c730d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f156744d700 (LWP 19165)):
#0  0x00007f15d48b86bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f15cc98bc20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f15cc94ab14 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f15cc94af7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f15cc94b0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f15d52567be in QEventDispatcherGlib::processEvents (this=0x7f155c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f15d52280af in QEventLoop::processEvents (this=this@entry=0x7f156744cda0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f15d52283a5 in QEventLoop::exec (this=this@entry=0x7f156744cda0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f15d5124c5f in QThread::exec (this=this@entry=0x3144ff0) at thread/qthread.cpp:537
#9  0x00007f15d5209823 in QInotifyFileSystemWatcherEngine::run (this=0x3144ff0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f15d512732f in QThreadPrivate::start (arg=0x3144ff0) at thread/qthread_unix.cpp:349
#11 0x00007f15d2188182 in start_thread (arg=0x7f156744d700) at pthread_create.c:312
#12 0x00007f15d48c730d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f15d7561800 (LWP 19157)):
[KCrash Handler]
#6  0x00007f15c81ec33d in WebCore::RenderLayerModelObject::ensureLayer() () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#7  0x00007f15c81ed698 in WebCore::RenderLayerModelObject::styleDidChange(WebCore::StyleDifference, WebCore::RenderStyle const*) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#8  0x00007f15c81859f1 in WebCore::RenderBox::styleDidChange(WebCore::StyleDifference, WebCore::RenderStyle const*) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#9  0x00007f15c815b32a in WebCore::RenderBlock::styleDidChange(WebCore::StyleDifference, WebCore::RenderStyle const*) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#10 0x00007f15c8268a29 in WebCore::RenderView::styleDidChange(WebCore::StyleDifference, WebCore::RenderStyle const*) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#11 0x00007f15c820fb99 in WebCore::RenderObject::setStyle(WTF::PassRefPtr<WebCore::RenderStyle>) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#12 0x00007f15c7c2835a in WebCore::Document::recalcStyle(WebCore::Node::StyleChange) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#13 0x00007f15c7c2a967 in WebCore::Document::attach() () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#14 0x00007f15c801cf99 in WebCore::Frame::setDocument(WTF::PassRefPtr<WebCore::Document>) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#15 0x00007f15c7f7cc76 in WebCore::DocumentWriter::begin(WebCore::KURL const&, bool, WebCore::Document*) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#16 0x00007f15c7f7192a in WebCore::DocumentLoader::commitData(char const*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#17 0x00007f15c7f732ec in WebCore::DocumentLoader::finishedLoading() () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#18 0x00007f15c7f7507d in WebCore::DocumentLoader::maybeLoadEmpty() () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#19 0x00007f15c7f753d4 in WebCore::DocumentLoader::startLoadingMainResource() () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#20 0x00007f15c7f8ca10 in WebCore::FrameLoader::continueLoadAfterNavigationPolicy(WebCore::ResourceRequest const&, WTF::PassRefPtr<WebCore::FormState>, bool) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#21 0x00007f15c7f8ca5f in WebCore::FrameLoader::callContinueLoadAfterNavigationPolicy(void*, WebCore::ResourceRequest const&, WTF::PassRefPtr<WebCore::FormState>, bool) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#22 0x00007f15c7fad323 in WebCore::PolicyChecker::checkNavigationPolicy(WebCore::ResourceRequest const&, WebCore::DocumentLoader*, WTF::PassRefPtr<WebCore::FormState>, void (*)(void*, WebCore::ResourceRequest const&, WTF::PassRefPtr<WebCore::FormState>, bool), void*) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#23 0x00007f15c7f8dec2 in WebCore::FrameLoader::loadWithDocumentLoader(WebCore::DocumentLoader*, WebCore::FrameLoadType, WTF::PassRefPtr<WebCore::FormState>) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#24 0x00007f15c7f905b0 in WebCore::FrameLoader::load(WebCore::DocumentLoader*) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#25 0x00007f15c7f90d70 in WebCore::FrameLoader::load(WebCore::FrameLoadRequest const&) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#26 0x00007f15c79bc4b5 in QWebFrame::load(QNetworkRequest const&, QNetworkAccessManager::Operation, QByteArray const&) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#27 0x00007f15c79bc955 in QWebFrame::load(QUrl const&) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#28 0x00007f15cda7b12b in MessageViewer::WebKitPartHtmlWriter::begin (this=0x2c9dc10, css=...) at ../../messageviewer/htmlwriter/webkitparthtmlwriter.cpp:77
#29 0x00007f15cda36306 in MessageViewer::ViewerPrivate::displayMessage (this=this@entry=0x2b9f2d0) at ../../messageviewer/viewer/viewer_p.cpp:862
#30 0x00007f15cda3741a in MessageViewer::ViewerPrivate::updateReaderWin (this=0x2b9f2d0) at ../../messageviewer/viewer/viewer_p.cpp:2310
#31 0x00007f15cdaaf76a in MessageViewer::ViewerPrivate::qt_static_metacall (_o=0x2b9f2d0, _c=1024, _id=-744652800, _a=0x7f15ae9c22a0) at moc_viewer_p.cpp:264
#32 0x00007f15d523d87a in QMetaObject::activate (sender=0x2b9f360, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#33 0x00007f15d5241a31 in QObject::event (this=0x2b9f360, e=<optimized out>) at kernel/qobject.cpp:1156
#34 0x00007f15d575ae2c in QApplicationPrivate::notify_helper (this=this@entry=0x257d6f0, receiver=receiver@entry=0x2b9f360, e=e@entry=0x7fff86bcc550) at kernel/qapplication.cpp:4567
#35 0x00007f15d57614a0 in QApplication::notify (this=this@entry=0x7fff86bccb70, receiver=receiver@entry=0x2b9f360, e=e@entry=0x7fff86bcc550) at kernel/qapplication.cpp:4353
#36 0x00007f15d6f95d1a in KApplication::notify (this=0x7fff86bccb70, receiver=0x2b9f360, event=0x7fff86bcc550) at ../../kdeui/kernel/kapplication.cpp:311
#37 0x00007f15d52294dd in QCoreApplication::notifyInternal (this=0x7fff86bccb70, receiver=0x2b9f360, event=0x7fff86bcc550) at kernel/qcoreapplication.cpp:953
#38 0x00007f15d5259323 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#39 QTimerInfoList::activateTimers (this=0x25871b0) at kernel/qeventdispatcher_unix.cpp:621
#40 0x00007f15d52565f1 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:193
#41 0x00007f15cc94ae04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f15cc94b048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f15cc94b0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007f15d52567a1 in QEventDispatcherGlib::processEvents (this=0x250bb20, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#45 0x00007f15d57fcbb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#46 0x00007f15d52280af in QEventLoop::processEvents (this=this@entry=0x7fff86bcc7c0, flags=...) at kernel/qeventloop.cpp:149
#47 0x00007f15d52283a5 in QEventLoop::exec (this=this@entry=0x7fff86bcc7c0, flags=...) at kernel/qeventloop.cpp:204
#48 0x00007f15d522db79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#49 0x00007f15d575937c in QApplication::exec () at kernel/qapplication.cpp:3828
#50 0x0000000000402d18 in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:146

Reported using DrKonqi
Comment 1 Lastique 2014-06-29 21:32:10 UTC
Addition: Kmail kept crashing 100% with this same backtrace when I was trying to restart it. Only rebooting the laptop helped.
Comment 2 Denis Kurz 2016-09-24 18:04:38 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 3 Denis Kurz 2017-01-07 21:49:52 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.