Bug 294886

Summary: Kmail crashes randomly
Product: [Applications] kontact Reporter: Jan Krings <liquidsky42>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jan Krings 2012-02-26 20:59:55 UTC
Application: kontact (4.8.0)
KDE Platform Version: 4.8.00 (4.8.0 "release 462"
Qt Version: 4.8.0
Operating System: Linux 3.1.9-1.4-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
I normaly use Application. But after some time the program crashes or hangs.

Sometimes, if I write an E-Mail a yellow Notification appears for a short time in the window. I cannot read the whole text but it's about the indexing service.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f9951d08760 (LWP 8674))]

Thread 5 (Thread 0x7f99394a0700 (LWP 8676)):
#0  0x00007f9949b9be6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f994e527c12 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f994e527c49 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f9949b97f05 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f994f21763d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f9938b87700 (LWP 8677)):
#0  0x00007f994f20e523 in poll () from /lib64/libc.so.6
#1  0x00007f9949688a98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f9949688f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f994f9858ef in QEventDispatcherGlib::processEvents (this=0x7f99340008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f994f955682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f994f9558d7 in QEventLoop::exec (this=0x7f9938b86e20, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f994f856537 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f994f85955b in QThreadPrivate::start (arg=0x78f250) at thread/qthread_unix.cpp:298
#8  0x00007f9949b97f05 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f994f21763d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f98eb5de700 (LWP 8692)):
[KCrash Handler]
#6  0x00007f9942e6d7ca in lockInline (this=0xd13558) at /usr/include/QtCore/qmutex.h:187
#7  QMutexLocker (m=0xd13558, this=<synthetic pointer>) at /usr/include/QtCore/qmutex.h:109
#8  Soprano::Client::SocketHandler::~SocketHandler (this=0x7f98e4007ce0, __in_chrg=<optimized out>) at /usr/src/debug/soprano-2.7.4/client/clientconnection.cpp:58
#9  0x00007f9942e6d909 in Soprano::Client::SocketHandler::~SocketHandler (this=0x7f98e4007ce0, __in_chrg=<optimized out>) at /usr/src/debug/soprano-2.7.4/client/clientconnection.cpp:61
#10 0x00007f994f857830 in QThreadStorageData::finish (p=0xdc5f98) at thread/qthreadstorage.cpp:203
#11 0x00007f994f858387 in QThreadPrivate::finish (arg=0xdc6820) at thread/qthread_unix.cpp:321
#12 0x00007f994f859563 in ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at /usr/include/pthread.h:545
#13 ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at thread/qthread_unix.cpp:716
#14 QThreadPrivate::start (arg=0xdc6820) at thread/qthread_unix.cpp:273
#15 0x00007f9949b97f05 in start_thread () from /lib64/libpthread.so.0
#16 0x00007f994f21763d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f98ea386700 (LWP 8694)):
#0  0x00007f9949b9c1eb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f994f8599cf in wait (time=30000, this=0x162cdd0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x162d048, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f994f84cddf in QThreadPoolThread::run (this=0x1629350) at concurrent/qthreadpool.cpp:141
#4  0x00007f994f85955b in QThreadPrivate::start (arg=0x1629350) at thread/qthread_unix.cpp:298
#5  0x00007f9949b97f05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f994f21763d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f9951d08760 (LWP 8674)):
#0  0x00007f994f20e523 in poll () from /lib64/libc.so.6
#1  0x00007f9943a28c62 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f9943a291bf in ?? () from /usr/lib64/libxcb.so.1
#3  0x00007f9943a29244 in xcb_writev () from /usr/lib64/libxcb.so.1
#4  0x00007f994b0d3ab7 in _XSend () from /usr/lib64/libX11.so.6
#5  0x00007f994b0d400b in _XReply () from /usr/lib64/libX11.so.6
#6  0x00007f994b0cf983 in XSync () from /usr/lib64/libX11.so.6
#7  0x00007f9950565855 in syncX (this=0x7ebec0) at painting/qwindowsurface_raster.cpp:134
#8  QRasterWindowSurface::syncX (this=0x7ebec0) at painting/qwindowsurface_raster.cpp:130
#9  0x00007f9950565d21 in QRasterWindowSurface::beginPaint (this=0x7ebec0, rgn=...) at painting/qwindowsurface_raster.cpp:143
#10 0x00007f9950582d43 in QWidgetBackingStore::sync (this=0x7e9540) at painting/qbackingstore.cpp:1304
#11 0x00007f99503acf40 in QWidgetPrivate::syncBackingStore (this=0x787960) at kernel/qwidget.cpp:1890
#12 0x00007f99503baa5c in QWidget::event (this=0x795680, event=0x27adc00) at kernel/qwidget.cpp:8654
#13 0x00007f99507900db in QMainWindow::event (this=0x795680, event=0x27adc00) at widgets/qmainwindow.cpp:1478
#14 0x00007f99511a8888 in KXmlGuiWindow::event(QEvent*) () from /usr/lib64/libkdeui.so.5
#15 0x00007f9950369e84 in notify_helper (e=0x27adc00, receiver=0x795680, this=0x63a170) at kernel/qapplication.cpp:4550
#16 QApplicationPrivate::notify_helper (this=0x63a170, receiver=0x795680, e=0x27adc00) at kernel/qapplication.cpp:4522
#17 0x00007f995036ed03 in QApplication::notify (this=0x7fff1c7696c0, receiver=0x795680, e=0x27adc00) at kernel/qapplication.cpp:4411
#18 0x00007f99510ad786 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#19 0x00007f994f95689c in QCoreApplication::notifyInternal (this=0x7fff1c7696c0, receiver=0x795680, event=0x27adc00) at kernel/qcoreapplication.cpp:876
#20 0x00007f994f95a13a in sendEvent (event=0x27adc00, receiver=0x795680) at kernel/qcoreapplication.h:231
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60da60) at kernel/qcoreapplication.cpp:1500
#22 0x00007f994f9854c3 in sendPostedEvents () at kernel/qcoreapplication.h:236
#23 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#24 0x00007f994968858d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#25 0x00007f9949688d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#26 0x00007f9949688f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#27 0x00007f994f9858ef in QEventDispatcherGlib::processEvents (this=0x60d320, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#28 0x00007f995040d2de in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007f994f955682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#30 0x00007f994f9558d7 in QEventLoop::exec (this=0x7fff1c769650, flags=...) at kernel/qeventloop.cpp:204
#31 0x00007f994f95a435 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#32 0x0000000000403919 in main (argc=1, argv=0x7fff1c769ce8) at /usr/src/debug/kdepim-4.8.0/kontact/src/main.cpp:218

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

Possible duplicates by query: bug 294849, bug 294765, bug 291935, bug 291753, bug 290260.

Reported using DrKonqi
Comment 1 Jan Krings 2012-02-28 22:18:43 UTC
If I disable in the Controlcenter > Desktopserearch the Button for the Mailsearch, KMail runs stable again.
Comment 2 Christophe Marin 2012-02-29 10:12:39 UTC

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