Bug 295193

Summary: Kontact crash on startup
Product: [Applications] kontact Reporter: Albert Astals Cid <aacid>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: itsef-admin
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Albert Astals Cid 2012-03-02 08:10:25 UTC
Application: kontact (4.8.0)
KDE Platform Version: 4.8.00 (4.8.0
Qt Version: 4.8.0
Operating System: Linux 3.2.0-17-generic x86_64
Distribution: Ubuntu precise (development branch)

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

Started Kontact, then it crashed, have not been able to make it crash starting it again

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
[Current thread is 1 (Thread 0x7fb79e3507c0 (LWP 2296))]

Thread 5 (Thread 0x7fb780e18700 (LWP 2307)):
#0  0x00007fb79b88234d in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fb795b9672f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb795b5bbfd in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb795b5c0d6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb795b5c59a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb786584446 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007fb795b7d7d5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fb796027e9a in start_thread (arg=0x7fb780e18700) at pthread_create.c:308
#8  0x00007fb79b88f74d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fb773b94700 (LWP 2321)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb79ab5fddc in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fb79ab5ff09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fb796027e9a in start_thread (arg=0x7fb773b94700) at pthread_create.c:308
#4  0x00007fb79b88f74d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fb773293700 (LWP 2335)):
#0  0x00007fb79b883d93 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fb795b5c136 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb795b5c264 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb79c003a76 in QEventDispatcherGlib::processEvents (this=0x7fb76c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fb79bfd32d2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fb79bfd3527 in QEventLoop::exec (this=0x7fb773292dc0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fb79bed2f97 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fb79bed5fbb in QThreadPrivate::start (arg=0x8daf70) at thread/qthread_unix.cpp:298
#8  0x00007fb796027e9a in start_thread (arg=0x7fb773293700) at pthread_create.c:308
#9  0x00007fb79b88f74d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb719048700 (LWP 2583)):
[KCrash Handler]
#6  QMutex::lock (this=0x650072006361c8) at thread/qmutex.cpp:150
#7  0x00007fb78fbf66a2 in lockInline (this=<optimized out>) at /usr/include/qt4/QtCore/qmutex.h:198
#8  QMutexLocker (m=<optimized out>, this=0x7fb719047450) at /usr/include/qt4/QtCore/qmutex.h:109
#9  Soprano::Error::ErrorCache::clearError (this=0x1e97880) at ../../soprano/error.cpp:238
#10 0x00007fb78fbf6c58 in Soprano::Error::ErrorCache::setError (this=0x1e97880, error=...) at ../../soprano/error.cpp:225
#11 0x00007fb78f98e10c in Soprano::Client::DBusModel::executeQuery (this=0x1e97870, query=..., language=<optimized out>, userQueryLanguage=...) at ../../client/dbus/dbusmodel.cpp:112
#12 0x00007fb7941071dc in Nepomuk::MainModel::executeQuery (this=0x10112c0, query=..., language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at ../../nepomuk/core/nepomukmainmodel.cpp:212
#13 0x00007fb78fc063e7 in Soprano::FilterModel::executeQuery (this=0x1015000, query=..., language=<optimized out>, userQueryLanguage=...) at ../../soprano/filtermodel.cpp:164
#14 0x00007fb7940fe257 in Nepomuk::ResourceData::load (this=0x7fb714001bd0) at ../../nepomuk/core/resourcedata.cpp:381
#15 0x00007fb7940fea6c in Nepomuk::ResourceData::property (this=0x7fb714001bd0, uri=...) at ../../nepomuk/core/resourcedata.cpp:240
#16 0x00007fb794112503 in Nepomuk::Resource::property (this=0x7fb719047cc0, uri=...) at ../../nepomuk/core/resource.cpp:301
#17 0x00007fb71e6e5c5a in ?? () from /usr/lib/libmessagecore.so.4
#18 0x00007fb79bec94e2 in QThreadPoolThread::run (this=0x17baf30) at concurrent/qthreadpool.cpp:107
#19 0x00007fb79bed5fbb in QThreadPrivate::start (arg=0x17baf30) at thread/qthread_unix.cpp:298
#20 0x00007fb796027e9a in start_thread (arg=0x7fb719048700) at pthread_create.c:308
#21 0x00007fb79b88f74d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#22 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb79e3507c0 (LWP 2296)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb79bed64cb in wait (time=18446744073709551615, this=0x17bda60) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x17bd968, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fb79bec8c6e in QThreadPoolPrivate::waitForDone (this=0x17bd8e0, msecs=-1) at concurrent/qthreadpool.cpp:298
#4  0x00007fb79beca694 in QThreadPool::~QThreadPool (this=0x17a8c28, __in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:440
#5  0x00007fb71e6e4624 in MessageCore::AsyncNepomukResourceRetriever::~AsyncNepomukResourceRetriever() () from /usr/lib/libmessagecore.so.4
#6  0x00007fb71e148c79 in ?? () from /usr/lib/libmessagelist.so.4
#7  0x00007fb79b7da921 in __run_exit_handlers (status=1, listp=0x7fb79bb53688, run_list_atexit=true) at exit.c:78
#8  0x00007fb79b7da9a5 in __GI_exit (status=<optimized out>) at exit.c:100
#9  0x00007fb785a08624 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#10 0x00007fb79d6ffd38 in KApplication::xioErrhandler (this=0x7fff83bce8b0, dpy=0x8e2850) at ../../kdeui/kernel/kapplication.cpp:419
#11 0x00007fb79747e36e in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#12 0x00007fb79747c2db in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#13 0x00007fb797477a6d in XSync () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#14 0x00007fb79cbc9d05 in syncX (this=0xbaebd0) at painting/qwindowsurface_raster.cpp:134
#15 QRasterWindowSurface::syncX (this=0xbaebd0) at painting/qwindowsurface_raster.cpp:130
#16 0x00007fb79cbca1d1 in QRasterWindowSurface::beginPaint (this=0xbaebd0, rgn=...) at painting/qwindowsurface_raster.cpp:143
#17 0x00007fb79cbe71f3 in QWidgetBackingStore::sync (this=0xbaeb70) at painting/qbackingstore.cpp:1304
#18 0x00007fb79ca0c8e0 in QWidgetPrivate::syncBackingStore (this=0x8d5080) at kernel/qwidget.cpp:1890
#19 0x00007fb79ca1a42c in QWidget::event (this=0x8d6780, event=0x10639c0) at kernel/qwidget.cpp:8654
#20 0x00007fb79cdf452b in QMainWindow::event (this=0x8d6780, event=0x10639c0) at widgets/qmainwindow.cpp:1478
#21 0x00007fb79d7fc8e8 in KXmlGuiWindow::event (this=0x8d6780, ev=0x10639c0) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#22 0x00007fb79c9c96b4 in notify_helper (e=0x10639c0, receiver=0x8d6780, this=0x8d9db0) at kernel/qapplication.cpp:4555
#23 QApplicationPrivate::notify_helper (this=0x8d9db0, receiver=0x8d6780, e=0x10639c0) at kernel/qapplication.cpp:4527
#24 0x00007fb79c9ce533 in QApplication::notify (this=0x7fff83bce8b0, receiver=0x8d6780, e=0x10639c0) at kernel/qapplication.cpp:4416
#25 0x00007fb79d701a66 in KApplication::notify (this=0x7fff83bce8b0, receiver=0x8d6780, event=0x10639c0) at ../../kdeui/kernel/kapplication.cpp:311
#26 0x00007fb79bfd44ec in QCoreApplication::notifyInternal (this=0x7fff83bce8b0, receiver=0x8d6780, event=0x10639c0) at kernel/qcoreapplication.cpp:876
#27 0x00007fb79bfd82ba in sendEvent (event=0x10639c0, receiver=0x8d6780) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8a0380) at kernel/qcoreapplication.cpp:1500
#29 0x00007fb79c0035e3 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#30 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#31 0x00007fb795b5bdda in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fb795b5c1a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fb795b5c264 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fb79c003a0f in QEventDispatcherGlib::processEvents (this=0x8a1c10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#35 0x00007fb79ca71a9e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007fb79bfd32d2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007fb79bfd3527 in QEventLoop::exec (this=0x7fff83bce840, flags=...) at kernel/qeventloop.cpp:204
#38 0x00007fb79bfd85b7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#39 0x0000000000403629 in ?? ()
#40 0x00007fb79b7c076d in __libc_start_main (main=0x402b40, argc=1, ubp_av=0x7fff83bceed8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff83bceec8) at libc-start.c:226
#41 0x0000000000403b61 in _start ()

Possible duplicates by query: bug 295107, bug 295091, bug 291753.

Reported using DrKonqi
Comment 1 itsef-admin 2012-03-08 12:24:59 UTC
I think the (once-off) crash one of our user reported today could be related. This was with Kubuntu 11.10 and the Kubuntu-ppa KDE 4.8.1 packages.

The crash occurred directly on start-up of Kontact. After a new start, it worked again.

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

Thread 6 (Thread 0xb5dc9b70 (LWP 1842)):
#0  0x001d8416 in __kernel_vsyscall ()
#1  0x004c1a5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x00bf2cfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x038e4883 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0x038e499f in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0x004bdd31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0x00be50ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 5 (Thread 0xb54a0b70 (LWP 1844)):
#0  0x0054ad10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x026a2e35 in do_gettime (frac=0xb54a0030, sec=0xb54a0028) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x0278cb06 in QTimerInfoList::updateCurrentTime (this=0x8e21cb4) at kernel/qeventdispatcher_unix.cpp:343
#4  0x0278ce5a in QTimerInfoList::timerWait (this=0x8e21cb4, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0x0278b673 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb54a011c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x019d488c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x019d5637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x019d5c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x0278c1c7 in QEventDispatcherGlib::processEvents (this=0x8d0a638, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#10 0x02757d1d in QEventLoop::processEvents (this=0xb54a02b0, flags=...) at kernel/qeventloop.cpp:149
#11 0x02757fb9 in QEventLoop::exec (this=0xb54a02b0, flags=...) at kernel/qeventloop.cpp:204
#12 0x026419dc in QThread::exec (this=0x8e3ac38) at thread/qthread.cpp:501
#13 0x02641acb in QThread::run (this=0x8e3ac38) at thread/qthread.cpp:568
#14 0x02644e70 in QThreadPrivate::start (arg=0x8e3ac38) at thread/qthread_unix.cpp:298
#15 0x004bdd31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#16 0x00be50ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 4 (Thread 0xb45d6b70 (LWP 1937)):
#0  0x001d8416 in __kernel_vsyscall ()
#1  0x00bd640e in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x019e434b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x019d5896 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x019d5c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0278c1c7 in QEventDispatcherGlib::processEvents (this=0x978f680, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x02757d1d in QEventLoop::processEvents (this=0xb45d6280, flags=...) at kernel/qeventloop.cpp:149
#7  0x02757fb9 in QEventLoop::exec (this=0xb45d6280, flags=...) at kernel/qeventloop.cpp:204
#8  0x026419dc in QThread::exec (this=0x9367900) at thread/qthread.cpp:501
#9  0x027352dd in QInotifyFileSystemWatcherEngine::run (this=0x9367900) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x02644e70 in QThreadPrivate::start (arg=0x9367900) at thread/qthread_unix.cpp:298
#11 0x004bdd31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x00be50ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xb33b5b70 (LWP 2824)):
#0  0x001d8416 in __kernel_vsyscall ()
#1  0x00bf3063 in ?? () from /lib/i386-linux-gnu/libc.so.6
#2  0x00b87135 in ?? () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0xb2bb4b70 (LWP 2828)):
[KCrash Handler]
#7  0x00b81f1d in ?? () from /lib/i386-linux-gnu/libc.so.6
#8  0x00b82eac in ?? () from /lib/i386-linux-gnu/libc.so.6
#9  0x00b85498 in malloc () from /lib/i386-linux-gnu/libc.so.6
#10 0x0263d1cb in qMalloc (size=65536) at global/qmalloc.cpp:55
#11 0x0264705a in QByteArray::realloc (this=0xb3c1f82c, alloc=65516) at tools/qbytearray.cpp:1452
#12 0x02647177 in QByteArray::resize (this=0xb3c1f82c, size=32768) at tools/qbytearray.cpp:1420
#13 0x057ddf82 in reserve (bytes=2, this=0xb3c29ae0) at ../../include/QtCore/private/../../../src/corelib/tools/qringbuffer_p.h:158
#14 QAbstractSocket::writeData (this=0xb3c156b4, data=0xb2bb3ecc "\021", size=2) at socket/qabstractsocket.cpp:2315
#15 0x057ead9b in writeData (maxSize=2, data=0xb2bb3ecc "\021", this=<optimized out>) at socket/qlocalsocket_p.h:109
#16 QLocalSocket::writeData (this=0xb3c22090, data=0xb2bb3ecc "\021", c=2) at socket/qlocalsocket_unix.cpp:406
#17 0x026e26f9 in QIODevice::write (this=0xb3c22090, data=0xb2bb3ecc "\021", maxSize=2) at io/qiodevice.cpp:1370
#18 0x0207d88e in ?? () from /usr/lib/libsopranoclient.so.1
#19 0x02084a54 in ?? () from /usr/lib/libsopranoclient.so.1
#20 0x02086618 in ?? () from /usr/lib/libsopranoclient.so.1
#21 0x0438e2c1 in Nepomuk::MainModel::executeQuery (this=0x91f1890, query=..., language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at ../../nepomuk/core/nepomukmainmodel.cpp:212
#22 0x0437c362 in Nepomuk::ResourceData::load (this=0x981f2b0) at ../../nepomuk/core/resourcedata.cpp:417
#23 0x0437ccc0 in Nepomuk::ResourceData::property (this=0x981f2b0, uri=...) at ../../nepomuk/core/resourcedata.cpp:265
#24 0x04393441 in Nepomuk::Resource::property (this=0xb2bb427c, uri=...) at ../../nepomuk/core/resource.cpp:301
#25 0x04f8c6f1 in MessageCore::NepomukResourceRetrieverRunnable::run (this=0x96887e0) at ../../messagecore/asyncnepomukresourceretriever.cpp:47
#26 0x0263742b in QThreadPoolThread::run (this=0x97b9e08) at concurrent/qthreadpool.cpp:107
#27 0x02644e70 in QThreadPrivate::start (arg=0x97b9e08) at thread/qthread_unix.cpp:298
#28 0x004bdd31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#29 0x00be50ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb78b7730 (LWP 1840)):
#0  0x001d8416 in __kernel_vsyscall ()
#1  0x00bf3063 in ?? () from /lib/i386-linux-gnu/libc.so.6
#2  0x00b87135 in ?? () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Comment 2 Christophe Marin 2012-03-30 13:38:07 UTC

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