Bug 329647

Summary: Kmail crashed whilst away, left examining a folder for mailing list info
Product: [Applications] kontact Reporter: Chris Samuel <kde>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 4.12   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Chris Samuel 2014-01-06 11:27:56 UTC
Application: kontact (4.12)
KDE Platform Version: 4.12.0
Qt Version: 4.8.4
Operating System: Linux 3.11.0-14-generic x86_64
Distribution: Ubuntu 13.10

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

I had told Kmail to autodetect the linux-btrfs mailing list information and it had seemed to be taking a while to process the folder (which has a lot of email in it), so I went away for an hour or so to do some shopping.   On my return it had crashed.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f452e0257c0 (LWP 24332))]

Thread 6 (Thread 0x7f450f9e5700 (LWP 24333)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f4528e161cd in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f4528e16209 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f452553bf6e in start_thread (arg=0x7f450f9e5700) at pthread_create.c:311
#4  0x00007f452b5b19cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f44cf0e2700 (LWP 24334)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f4528b56bbd in JSC::BlockAllocator::blockFreeingThreadMain() () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f4528e45a76 in WTF::wtfThreadEntryPoint(void*) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f452553bf6e in start_thread (arg=0x7f44cf0e2700) at pthread_create.c:311
#4  0x00007f452b5b19cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f44ba76e700 (LWP 24348)):
#0  0x00007f452b5a9de3 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f452bd2833b in qt_safe_select (nfds=22, fdread=0x7f44b0000ac8, fdwrite=0x7f44b0000d60, fdexcept=0x7f44b0000ff8, orig_timeout=0x7f44ba76dce0) at kernel/qcore_unix.cpp:93
#2  0x00007f452bd2d904 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f44b0000910, flags=..., timeout=0x7f44ba76dce0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007f452bd2dd02 in QEventDispatcherUNIX::processEvents (this=0x7f44b00008f0, flags=...) at kernel/qeventdispatcher_unix.cpp:937
#4  0x00007f452bcfc5ef in QEventLoop::processEvents (this=this@entry=0x7f44ba76ddb0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f452bcfc8e5 in QEventLoop::exec (this=this@entry=0x7f44ba76ddb0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f452bbfb88f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7  0x00007f452bbfdf2f in QThreadPrivate::start (arg=0x1df19b0) at thread/qthread_unix.cpp:338
#8  0x00007f452553bf6e in start_thread (arg=0x7f44ba76e700) at pthread_create.c:311
#9  0x00007f452b5b19cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f44ab018700 (LWP 24357)):
#0  0x00007f452b5a9de3 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f452bd2837b in qt_safe_select (nfds=36, fdread=0x7f44a0000ac8, fdwrite=0x7f44a0000d60, fdexcept=0x7f44a0000ff8, orig_timeout=0x0) at kernel/qcore_unix.cpp:83
#2  0x00007f452bd2d904 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f44a0000910, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007f452bd2dd02 in QEventDispatcherUNIX::processEvents (this=0x7f44a00008f0, flags=...) at kernel/qeventdispatcher_unix.cpp:937
#4  0x00007f452bcfc5ef in QEventLoop::processEvents (this=this@entry=0x7f44ab017d70, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f452bcfc8e5 in QEventLoop::exec (this=this@entry=0x7f44ab017d70, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f452bbfb88f in QThread::exec (this=this@entry=0x3563300) at thread/qthread.cpp:542
#7  0x00007f452bcddd13 in QInotifyFileSystemWatcherEngine::run (this=0x3563300) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f452bbfdf2f in QThreadPrivate::start (arg=0x3563300) at thread/qthread_unix.cpp:338
#9  0x00007f452553bf6e in start_thread (arg=0x7f44ab018700) at pthread_create.c:311
#10 0x00007f452b5b19cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f44baf6f700 (LWP 6612)):
#0  0x00007f452b5a9de3 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f452bd2837b in qt_safe_select (nfds=32, fdread=0x7f44ac000aa8, fdwrite=0x7f44ac000d40, fdexcept=0x7f44ac000fd8, orig_timeout=0x0) at kernel/qcore_unix.cpp:83
#2  0x00007f452bd2d904 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f44ac0008f0, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007f452bd2dd02 in QEventDispatcherUNIX::processEvents (this=0x7f44ac01be60, flags=...) at kernel/qeventdispatcher_unix.cpp:937
#4  0x00007f452bcfc5ef in QEventLoop::processEvents (this=this@entry=0x7f44baf6ed70, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f452bcfc8e5 in QEventLoop::exec (this=this@entry=0x7f44baf6ed70, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f452bbfb88f in QThread::exec (this=this@entry=0xa85fe90) at thread/qthread.cpp:542
#7  0x00007f452bcddd13 in QInotifyFileSystemWatcherEngine::run (this=0xa85fe90) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f452bbfdf2f in QThreadPrivate::start (arg=0xa85fe90) at thread/qthread_unix.cpp:338
#9  0x00007f452553bf6e in start_thread (arg=0x7f44baf6f700) at pthread_create.c:311
#10 0x00007f452b5b19cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f452e0257c0 (LWP 24332)):
[KCrash Handler]
#6  0x00007f452bbf9015 in testAndSetOrdered (newValue=1, expectedValue=0, this=0x7f452bbe6db0 <QPropertyAnimation::event(QEvent*)>) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:145
#7  testAndSetAcquire (newValue=1, expectedValue=0, this=0x7f452bbe6db0 <QPropertyAnimation::event(QEvent*)>) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:267
#8  QMutex::lock (this=this@entry=0x7f452c05aff8 <vtable for QPropertyAnimation+56>) at thread/qmutex.cpp:161
#9  0x00007f452bd01419 in QCoreApplication::postEvent (receiver=0x9c26c10, event=0xbffb870, priority=0) at kernel/qcoreapplication.cpp:1351
#10 0x00007f452bd15dce in QObject::event (this=0x9c26c10, e=<optimized out>) at kernel/qobject.cpp:1194
#11 0x00007f452c6eedfc in QApplicationPrivate::notify_helper (this=this@entry=0x1ae4580, receiver=receiver@entry=0x9c26c10, e=e@entry=0x13b09590) at kernel/qapplication.cpp:4567
#12 0x00007f452c6f5470 in QApplication::notify (this=this@entry=0x7fffda583de0, receiver=receiver@entry=0x9c26c10, e=e@entry=0x13b09590) at kernel/qapplication.cpp:4353
#13 0x00007f452d3f8c6a in KApplication::notify (this=0x7fffda583de0, receiver=0x9c26c10, event=0x13b09590) at ../../kdeui/kernel/kapplication.cpp:311
#14 0x00007f452bcfd8bd in QCoreApplication::notifyInternal (this=0x7fffda583de0, receiver=receiver@entry=0x9c26c10, event=event@entry=0x13b09590) at kernel/qcoreapplication.cpp:946
#15 0x00007f452bd00e1f in sendEvent (event=0x13b09590, receiver=0x9c26c10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#16 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1aa71d0) at kernel/qcoreapplication.cpp:1570
#17 0x00007f452bd012c3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#18 0x00007f452c79114c in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#19 QEventDispatcherX11::processEvents (this=0x1aa8690, flags=...) at kernel/qeventdispatcher_x11.cpp:75
#20 0x00007f452bcfc5ef in QEventLoop::processEvents (this=this@entry=0x7fffda583ce0, flags=...) at kernel/qeventloop.cpp:149
#21 0x00007f452bcfc8e5 in QEventLoop::exec (this=this@entry=0x7fffda583ce0, flags=...) at kernel/qeventloop.cpp:204
#22 0x00007f452bd01e5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#23 0x00007f452c6ed34c in QApplication::exec () at kernel/qapplication.cpp:3828
#24 0x0000000000403660 in main (argc=1, argv=0x7fffda583f28) at ../../../kontact/src/main.cpp:219

Possible duplicates by query: bug 293224.

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 19:25:19 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 kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 22:09:30 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.