Bug 302952 - Kontact crashed when closing after many popups about duplicate messages
Summary: Kontact crashed when closing after many popups about duplicate messages
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.8
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-03 10:03 UTC by Graeme Hewson
Modified: 2013-10-20 08:56 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 Graeme Hewson 2012-07-03 10:03:40 UTC
Application: kontact (4.8.4)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-26-generic x86_64
Distribution: Ubuntu 12.04 LTS

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

I was getting many, many popups about duplicate messages for emails which were several weeks old. Possibly these were for ignored threads; always the left-hand choice was blank except for an IGNORED flag. (The popup window is so small that so see messages properly you have to expand the window. I only bothered to do this once.) After getting so many popups I decided to re-start Kontact, so clicked on the Close button. At this point Kontact 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 0x7f6fe4e327c0 (LWP 9255))]

Thread 4 (Thread 0x7f6fc83be700 (LWP 9256)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6fe1625dec in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f6fe1feede0) at wtf/FastMalloc.cpp:2495
#2  0x00007f6fe1625f19 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x00007f6fdcae9e9a in start_thread (arg=0x7f6fc83be700) at pthread_create.c:308
#4  0x00007f6fe23574bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f6fc7abd700 (LWP 9257)):
#0  0x00007f6fdcaed05d in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7f6fc0000a60) at pthread_mutex_unlock.c:290
#2  0x00007f6fdc6585d1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6fdc61caee in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6fdc61cfd6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f6fdc61d164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f6fe2acc426 in QEventDispatcherGlib::processEvents (this=0x7f6fc00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007f6fe2a9bc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f6fe2a9bed7 in QEventLoop::exec (this=0x7f6fc7abcdc0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f6fe299afa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x00007f6fe299dfcb in QThreadPrivate::start (arg=0x1c2c3c0) at thread/qthread_unix.cpp:298
#11 0x00007f6fdcae9e9a in start_thread (arg=0x7f6fc7abd700) at pthread_create.c:308
#12 0x00007f6fe23574bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f6f79c46700 (LWP 9275)):
#0  0x00007f6fe234bb03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f6fdc61d036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6fdc61d164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6fe2acc426 in QEventDispatcherGlib::processEvents (this=0x7f6f6c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f6fe2a9bc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f6fe2a9bed7 in QEventLoop::exec (this=0x7f6f79c45d90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f6fe299afa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f6fe2a7b9ff in QInotifyFileSystemWatcherEngine::run (this=0x1cc7cb0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f6fe299dfcb in QThreadPrivate::start (arg=0x1cc7cb0) at thread/qthread_unix.cpp:298
#9  0x00007f6fdcae9e9a in start_thread (arg=0x7f6f79c46700) at pthread_create.c:308
#10 0x00007f6fe23574bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6fe4e327c0 (LWP 9255)):
[KCrash Handler]
#6  operator!= (value=1, this=0x6e656d6563616c48) at /usr/include/qt4/QtCore/qbasicatomic.h:75
#7  detach (this=0x3899c80) at /usr/include/qt4/QtCore/qshareddata.h:75
#8  operator-> (this=0x3899c80) at /usr/include/qt4/QtCore/qshareddata.h:78
#9  Akonadi::Entity::parentCollection (this=<optimized out>) at ../../akonadi/entity.cpp:180
#10 0x00007f6fdee86d1f in Akonadi::ConflictHandler::useBothItems (this=0x3899c60) at ../../akonadi/conflicthandling/conflicthandler.cpp:128
#11 0x00007f6fdee86e48 in Akonadi::ConflictHandler::resolve (this=0x3899c60) at ../../akonadi/conflicthandling/conflicthandler.cpp:91
#12 0x00007f6fe2ab6446 in QObject::event (this=0x3899c60, e=<optimized out>) at kernel/qobject.cpp:1195
#13 0x00007f6fe3497894 in notify_helper (e=0x8553910, receiver=0x3899c60, this=0x1ab5a80) at kernel/qapplication.cpp:4559
#14 QApplicationPrivate::notify_helper (this=0x1ab5a80, receiver=0x3899c60, e=0x8553910) at kernel/qapplication.cpp:4531
#15 0x00007f6fe349c713 in QApplication::notify (this=0x7fff6eaa8a70, receiver=0x3899c60, e=0x8553910) at kernel/qapplication.cpp:4420
#16 0x00007f6fe41d19e6 in KApplication::notify (this=0x7fff6eaa8a70, receiver=0x3899c60, event=0x8553910) at ../../kdeui/kernel/kapplication.cpp:311
#17 0x00007f6fe2a9ce9c in QCoreApplication::notifyInternal (this=0x7fff6eaa8a70, receiver=0x3899c60, event=0x8553910) at kernel/qcoreapplication.cpp:876
#18 0x00007f6fe2aa0c6a in sendEvent (event=0x8553910, receiver=0x3899c60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#19 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1a7f380) at kernel/qcoreapplication.cpp:1500
#20 0x00007f6fe2acbf93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#21 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#22 0x00007f6fdc61cd53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f6fdc61d0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f6fdc61d164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f6fe2acc3bf in QEventDispatcherGlib::processEvents (this=0x1a80c10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#26 0x00007f6fe353fd5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#27 0x00007f6fe2a9bc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#28 0x00007f6fe2a9bed7 in QEventLoop::exec (this=0x7fff6eaa8a00, flags=...) at kernel/qeventloop.cpp:204
#29 0x00007f6fe2aa0f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#30 0x0000000000403629 in ?? ()
#31 0x00007f6fe228676d in __libc_start_main (main=0x402b40, argc=1, ubp_av=0x7fff6eaa9098, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff6eaa9088) at libc-start.c:226
#32 0x0000000000403b61 in _start ()

This bug may be a duplicate of or related to bug 250797.

Possible duplicates by query: bug 294228.

Reported using DrKonqi
Comment 1 Graeme Hewson 2013-10-20 08:56:25 UTC
Problem hasn't reoccurred in recent releases, so closing bug.