Bug 295757

Summary: Crash after deleting message from imap
Product: [Applications] kontact Reporter: Murz <MurzNN>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Murz 2012-03-11 12:08:58 UTC
Application: kontact (4.8.0)
KDE Platform Version: 4.8.1 (4.8.1)
Qt Version: 4.8.0
Operating System: Linux 3.0.0-16-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
Reproducible sometimes (5-10 times per day).
 How to reproduce:
1. Open imap folder.
2. Delete some messages
3. Try to view other messages, and sometimes app is crashed.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
[Current thread is 1 (Thread 0x7f2996b1e7c0 (LWP 7573))]

Thread 6 (Thread 0x7f298f2ba700 (LWP 7574)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003c2a586c2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x0000003c2a586d59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f2995cd8efc in start_thread (arg=0x7f298f2ba700) at pthread_create.c:304
#4  0x00007f299625559d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f298e9b9700 (LWP 7575)):
#0  0x00007f2995a1f880 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f2995a20258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2995a20429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x000000341eda9c06 in QEventDispatcherGlib::processEvents (this=0x24dfee0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x000000341ed793e2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x000000341ed79637 in QEventLoop::exec (this=0x7f298e9b8dc0, flags=...) at kernel/qeventloop.cpp:204
#6  0x000000341ec79067 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x000000341ec7c08b in QThreadPrivate::start (arg=0x24d8e50) at thread/qthread_unix.cpp:298
#8  0x00007f2995cd8efc in start_thread (arg=0x7f298e9b9700) at pthread_create.c:304
#9  0x00007f299625559d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f2943391700 (LWP 7613)):
#0  0x00007f2996249473 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f2995a1ff68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2995a20429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x000000341eda9c06 in QEventDispatcherGlib::processEvents (this=0x2800490, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x000000341ed793e2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x000000341ed79637 in QEventLoop::exec (this=0x7f2943390d90, flags=...) at kernel/qeventloop.cpp:204
#6  0x000000341ec79067 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x000000341ed5917f in QInotifyFileSystemWatcherEngine::run (this=0x23d1430) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x000000341ec7c08b in QThreadPrivate::start (arg=0x23d1430) at thread/qthread_unix.cpp:298
#9  0x00007f2995cd8efc in start_thread (arg=0x7f2943391700) at pthread_create.c:304
#10 0x00007f299625559d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f2941692700 (LWP 7705)):
[KCrash Handler]
#6  0x00000034205cb101 in notify_helper (e=0x3c99250, receiver=0x2de8ec0, this=0x22ff470) at kernel/qapplication.cpp:4555
#7  QApplicationPrivate::notify_helper (this=0x22ff470, receiver=0x2de8ec0, e=0x3c99250) at kernel/qapplication.cpp:4527
#8  0x00000034205cff83 in QApplication::notify (this=0x7fffba553e80, receiver=0x2de8ec0, e=0x3c99250) at kernel/qapplication.cpp:4416
#9  0x0000003f64c329a6 in KApplication::notify (this=0x7fffba553e80, receiver=0x2de8ec0, event=0x3c99250) at ../../kdeui/kernel/kapplication.cpp:311
#10 0x000000341ed7a5fc in QCoreApplication::notifyInternal (this=0x7fffba553e80, receiver=0x2de8ec0, event=0x3c99250) at kernel/qcoreapplication.cpp:876
#11 0x000000341ed7e3ca in sendEvent (event=0x3c99250, receiver=0x2de8ec0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#12 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=52, data=0x3265cc0) at kernel/qcoreapplication.cpp:1500
#13 0x000000341ec7aeae in QThreadPrivate::finish (arg=0x32666c0) at thread/qthread_unix.cpp:320
#14 0x000000341ec7c093 in ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at /usr/include/pthread.h:545
#15 ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at thread/qthread_unix.cpp:716
#16 QThreadPrivate::start (arg=0x32666c0) at thread/qthread_unix.cpp:273
#17 0x00007f2995cd8efc in start_thread (arg=0x7f2941692700) at pthread_create.c:304
#18 0x00007f299625559d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f29449c4700 (LWP 7733)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:39
#1  0x000000341ec7ab5b in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0x2de8ec0) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=0x2de8ec0, timeout=<optimized out>) at thread/qmutex_unix.cpp:113
#3  0x000000341ec7692d in QMutex::lockInternal (this=<optimized out>) at thread/qmutex.cpp:450
#4  0x0000003422615ccd in ?? () from /usr/lib/libsopranoclient.so.1
#5  0x0000003422615df9 in ?? () from /usr/lib/libsopranoclient.so.1
#6  0x000000341ec7a360 in QThreadStorageData::finish (p=0x2b6fa08) at thread/qthreadstorage.cpp:203
#7  0x000000341ec7aeb7 in QThreadPrivate::finish (arg=0x2b702d0) at thread/qthread_unix.cpp:321
#8  0x000000341ec7c093 in ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at /usr/include/pthread.h:545
#9  ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at thread/qthread_unix.cpp:716
#10 QThreadPrivate::start (arg=0x2b702d0) at thread/qthread_unix.cpp:273
#11 0x00007f2995cd8efc in start_thread (arg=0x7f29449c4700) at pthread_create.c:304
#12 0x00007f299625559d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2996b1e7c0 (LWP 7573)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x000000341ec7c59b in wait (time=18446744073709551615, this=0x3265c50) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x3266778, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x000000341ec7bca8 in QThread::wait (this=<optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:651
#4  0x000000341ec70592 in QThreadPoolPrivate::reset (this=0x3265810) at concurrent/qthreadpool.cpp:279
#5  0x000000341ec7076d in QThreadPool::~QThreadPool (this=<optimized out>, __in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:441
#6  0x000000352cc193c4 in ~AsyncNepomukResourceRetrieverPrivate (this=0x32651c0, __in_chrg=<optimized out>) at ../../messagecore/asyncnepomukresourceretriever.cpp:58
#7  MessageCore::AsyncNepomukResourceRetriever::~AsyncNepomukResourceRetriever (this=0x3265160, __in_chrg=<optimized out>) at ../../messagecore/asyncnepomukresourceretriever.cpp:113
#8  0x00007f2947122849 in ~CallbackNepomukResourceRetriever (this=0x3265160, __in_chrg=<optimized out>) at ../../messagelist/core/callbacknepomukresourceretriever.h:32
#9  MessageList::CallbackNepomukResourceRetriever::~CallbackNepomukResourceRetriever (this=0x3265160, __in_chrg=<optimized out>) at ../../messagelist/core/callbacknepomukresourceretriever.h:32
#10 0x00007f29961ad821 in __run_exit_handlers (status=1, listp=0x7f299650c5a8, run_list_atexit=true) at exit.c:78
#11 0x00007f29961ad8a5 in __GI_exit (status=<optimized out>) at exit.c:100
#12 0x0000003420636ce8 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:780
#13 0x0000003f64c30c68 in KApplication::xioErrhandler (this=0x7fffba553e80, dpy=0x2328160) at ../../kdeui/kernel/kapplication.cpp:419
#14 0x0000003eb6e4311e in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#15 0x0000003eb6e408fd in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#16 0x0000003eb6e3119f in XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#17 0x000000342067005c in x11EventSourceCheck (s=0x23087d0) at kernel/qguieventdispatcher_glib.cpp:85
#18 0x00007f2995a1f734 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f2995a1ff82 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f2995a20429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x000000341eda9b9f in QEventDispatcherGlib::processEvents (this=0x22c4c10, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#22 0x000000342067021e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#23 0x000000341ed793e2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#24 0x000000341ed79637 in QEventLoop::exec (this=0x7fffba553e10, flags=...) at kernel/qeventloop.cpp:204
#25 0x000000341ed7e6c7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#26 0x0000000000403629 in main (argc=1, argv=0x7fffba5544a8) at ../../../kontact/src/main.cpp:218

Possible duplicates by query: bug 295741, bug 295740, bug 295735, bug 295706, bug 295692.

Reported using DrKonqi
Comment 1 Christophe Marin 2012-03-30 14:43:13 UTC

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