Bug 313580

Summary: Opening a mail in kmail2 resulted in a crash in Nepomuk
Product: [Unmaintained] nepomuk Reporter: Bernhard Jungk <fire>
Component: generalAssignee: Nepomuk Bugs Coordination <nepomuk-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: me, nepomuk-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bernhard Jungk 2013-01-20 17:39:05 UTC
Application: nepomukservicestub (0.1.0)
KDE Platform Version: 4.9.97
Qt Version: 4.8.3
Operating System: Linux 3.5.0-22-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed:
Opening a mail in kmail2. 

This crash may be related to the older fixed bug #309551. Perhaps not all functionality was improved to be thread safe or a regression occured?

-- Backtrace:
Application: Nepomuk Service Stub (nepomukservicestub), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fee7a595780 (LWP 2600))]

Thread 20 (Thread 0x7fee69ad4700 (LWP 2741)):
#0  0x00007fee7f1a8875 in g_source_iter_next (iter=iter@entry=0x7fee69ad3c20, source=source@entry=0x7fee69ad3c18) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:859
#1  0x00007fee7f1aa597 in g_main_context_prepare (context=context@entry=0x7fee5c0009a0, priority=priority@entry=0x7fee69ad3c78) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:2967
#2  0x00007fee7f1aacab in g_main_context_iterate (context=context@entry=0x7fee5c0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3270
#3  0x00007fee7f1aaea4 in g_main_context_iteration (context=0x7fee5c0009a0, may_block=1) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3351
#4  0x00007fee8222bc16 in QEventDispatcherGlib::processEvents (this=0x7fee5c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fee821fc2bf in QEventLoop::processEvents (this=this@entry=0x7fee69ad3dd0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fee821fc548 in QEventLoop::exec (this=0x7fee69ad3dd0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fee820fdb10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007fee821dc9af in QInotifyFileSystemWatcherEngine::run (this=0xed2900) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fee82100aec in QThreadPrivate::start (arg=0xed2900) at thread/qthread_unix.cpp:338
#10 0x00007fee7fa84e9a in start_thread (arg=0x7fee69ad4700) at pthread_create.c:308
#11 0x00007fee7fd8dcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 19 (Thread 0x7fee68ad2700 (LWP 2766)):
#0  0x00007fee7fa8805d in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7fee54000a60) at pthread_mutex_unlock.c:290
#2  0x00007fee7f1e7e51 in g_mutex_unlock (mutex=mutex@entry=0x7fee540009a0) at /build/buildd/glib2.0-2.34.1/./glib/gthread-posix.c:227
#3  0x00007fee7f1aa769 in g_main_context_query (context=context@entry=0x7fee540009a0, max_priority=2147483647, timeout=timeout@entry=0x7fee68ad1c5c, fds=fds@entry=0x7fee540037d0, n_fds=n_fds@entry=3) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3089
#4  0x00007fee7f1aacf9 in g_main_context_iterate (context=context@entry=0x7fee540009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3272
#5  0x00007fee7f1aaea4 in g_main_context_iteration (context=0x7fee540009a0, may_block=1) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3351
#6  0x00007fee8222bc16 in QEventDispatcherGlib::processEvents (this=0x7fee540008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007fee821fc2bf in QEventLoop::processEvents (this=this@entry=0x7fee68ad1db0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007fee821fc548 in QEventLoop::exec (this=0x7fee68ad1db0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007fee820fdb10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x00007fee71141ede in ?? () from /usr/lib/libsopranoserver.so.1
#11 0x00007fee82100aec in QThreadPrivate::start (arg=0xe47940) at thread/qthread_unix.cpp:338
#12 0x00007fee7fa84e9a in start_thread (arg=0x7fee68ad2700) at pthread_create.c:308
#13 0x00007fee7fd8dcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 18 (Thread 0x7fee692d3700 (LWP 2769)):
#0  0x00007fffc2d51838 in clock_gettime ()
#1  0x00007fee7f45e15d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007fee821569c4 in do_gettime (frac=0x7fee692d2b08, sec=0x7fee692d2b00) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007fee8222c41d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7fee60003780) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007fee8222c763 in QTimerInfoList::timerWait (this=0x7fee60003780, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007fee8222b2cc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fee692d2bf4) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007fee8222b375 in timerSourcePrepare (source=<optimized out>, timeout=timeout@entry=0x7fee692d2bf4) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007fee7f1aa618 in g_main_context_prepare (context=context@entry=0x7fee600035b0, priority=priority@entry=0x7fee692d2c58) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:2986
#9  0x00007fee7f1aacab in g_main_context_iterate (context=context@entry=0x7fee600035b0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3270
#10 0x00007fee7f1aaea4 in g_main_context_iteration (context=0x7fee600035b0, may_block=1) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3351
#11 0x00007fee8222bc16 in QEventDispatcherGlib::processEvents (this=0x7fee60003490, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007fee821fc2bf in QEventLoop::processEvents (this=this@entry=0x7fee692d2db0, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007fee821fc548 in QEventLoop::exec (this=0x7fee692d2db0, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007fee820fdb10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007fee71141ede in ?? () from /usr/lib/libsopranoserver.so.1
#16 0x00007fee82100aec in QThreadPrivate::start (arg=0xdf97a0) at thread/qthread_unix.cpp:338
#17 0x00007fee7fa84e9a in start_thread (arg=0x7fee692d3700) at pthread_create.c:308
#18 0x00007fee7fd8dcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 17 (Thread 0x7fee5bfff700 (LWP 2771)):
#0  0x00007fee7fa86f69 in __pthread_mutex_lock (mutex=0x7fee50000a60) at pthread_mutex_lock.c:92
#1  0x00007fee7f1e7e21 in g_mutex_lock (mutex=mutex@entry=0x7fee500009a0) at /build/buildd/glib2.0-2.34.1/./glib/gthread-posix.c:208
#2  0x00007fee7f1aa623 in g_main_context_prepare (context=context@entry=0x7fee500009a0, priority=priority@entry=0x7fee5bffec58) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:2988
#3  0x00007fee7f1aacab in g_main_context_iterate (context=context@entry=0x7fee500009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3270
#4  0x00007fee7f1aaea4 in g_main_context_iteration (context=0x7fee500009a0, may_block=1) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3351
#5  0x00007fee8222bc16 in QEventDispatcherGlib::processEvents (this=0x7fee500008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fee821fc2bf in QEventLoop::processEvents (this=this@entry=0x7fee5bffedb0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fee821fc548 in QEventLoop::exec (this=0x7fee5bffedb0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fee820fdb10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007fee71141ede in ?? () from /usr/lib/libsopranoserver.so.1
#10 0x00007fee82100aec in QThreadPrivate::start (arg=0x122ae30) at thread/qthread_unix.cpp:338
#11 0x00007fee7fa84e9a in start_thread (arg=0x7fee5bfff700) at pthread_create.c:308
#12 0x00007fee7fd8dcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 16 (Thread 0x7fee5b7fe700 (LWP 2773)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fee8210104b in wait (time=18446744073709551615, this=0xf552f0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xf57278, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fee820f454f in QThreadPoolThread::run (this=0x12203b0) at concurrent/qthreadpool.cpp:141
#4  0x00007fee82100aec in QThreadPrivate::start (arg=0x12203b0) at thread/qthread_unix.cpp:338
#5  0x00007fee7fa84e9a in start_thread (arg=0x7fee5b7fe700) at pthread_create.c:308
#6  0x00007fee7fd8dcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7fee3f7fe700 (LWP 2900)):
#0  0x00007fee7f1aa68a in g_main_context_prepare (context=<optimized out>, context@entry=0x7fee38003430, priority=priority@entry=0x7fee3f7fdc58) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3026
#1  0x00007fee7f1aacab in g_main_context_iterate (context=context@entry=0x7fee38003430, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3270
#2  0x00007fee7f1aaea4 in g_main_context_iteration (context=0x7fee38003430, may_block=1) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3351
#3  0x00007fee8222bc16 in QEventDispatcherGlib::processEvents (this=0x7fee38003350, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fee821fc2bf in QEventLoop::processEvents (this=this@entry=0x7fee3f7fddb0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fee821fc548 in QEventLoop::exec (this=0x7fee3f7fddb0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fee820fdb10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fee71141ede in ?? () from /usr/lib/libsopranoserver.so.1
#8  0x00007fee82100aec in QThreadPrivate::start (arg=0xf186a0) at thread/qthread_unix.cpp:338
#9  0x00007fee7fa84e9a in start_thread (arg=0x7fee3f7fe700) at pthread_create.c:308
#10 0x00007fee7fd8dcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7fee3ffff700 (LWP 2905)):
#0  0x00007fee7fd82303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fee7f1aad84 in g_main_context_poll (n_fds=1, fds=0x7fee30002c00, timeout=-1, context=0x7fee300009a0, priority=<optimized out>) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3584
#2  g_main_context_iterate (context=context@entry=0x7fee300009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3285
#3  0x00007fee7f1aaea4 in g_main_context_iteration (context=0x7fee300009a0, may_block=1) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3351
#4  0x00007fee8222bc16 in QEventDispatcherGlib::processEvents (this=0x7fee300008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fee821fc2bf in QEventLoop::processEvents (this=this@entry=0x7fee3fffedb0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fee821fc548 in QEventLoop::exec (this=0x7fee3fffedb0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fee820fdb10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007fee71141ede in ?? () from /usr/lib/libsopranoserver.so.1
#9  0x00007fee82100aec in QThreadPrivate::start (arg=0xf18520) at thread/qthread_unix.cpp:338
#10 0x00007fee7fa84e9a in start_thread (arg=0x7fee3ffff700) at pthread_create.c:308
#11 0x00007fee7fd8dcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7fee597fa700 (LWP 2914)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fee8210104b in wait (time=18446744073709551615, this=0xf552f0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xf57278, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fee820f454f in QThreadPoolThread::run (this=0x1237580) at concurrent/qthreadpool.cpp:141
#4  0x00007fee82100aec in QThreadPrivate::start (arg=0x1237580) at thread/qthread_unix.cpp:338
#5  0x00007fee7fa84e9a in start_thread (arg=0x7fee597fa700) at pthread_create.c:308
#6  0x00007fee7fd8dcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7fee58ff9700 (LWP 2915)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fee8210104b in wait (time=18446744073709551615, this=0xf552f0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xf57278, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fee820f454f in QThreadPoolThread::run (this=0x12312c0) at concurrent/qthreadpool.cpp:141
#4  0x00007fee82100aec in QThreadPrivate::start (arg=0x12312c0) at thread/qthread_unix.cpp:338
#5  0x00007fee7fa84e9a in start_thread (arg=0x7fee58ff9700) at pthread_create.c:308
#6  0x00007fee7fd8dcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7fee5a7fc700 (LWP 423)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fee8210104b in wait (time=18446744073709551615, this=0xf552f0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xf57278, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fee820f454f in QThreadPoolThread::run (this=0x1242740) at concurrent/qthreadpool.cpp:141
#4  0x00007fee82100aec in QThreadPrivate::start (arg=0x1242740) at thread/qthread_unix.cpp:338
#5  0x00007fee7fa84e9a in start_thread (arg=0x7fee5a7fc700) at pthread_create.c:308
#6  0x00007fee7fd8dcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fee59ffb700 (LWP 424)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fee8210104b in wait (time=18446744073709551615, this=0xf552f0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xf57278, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fee820f454f in QThreadPoolThread::run (this=0x12499a0) at concurrent/qthreadpool.cpp:141
#4  0x00007fee82100aec in QThreadPrivate::start (arg=0x12499a0) at thread/qthread_unix.cpp:338
#5  0x00007fee7fa84e9a in start_thread (arg=0x7fee59ffb700) at pthread_create.c:308
#6  0x00007fee7fd8dcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fee3effd700 (LWP 425)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fee8210104b in wait (time=18446744073709551615, this=0xf552f0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xf57278, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fee820f454f in QThreadPoolThread::run (this=0x1249540) at concurrent/qthreadpool.cpp:141
#4  0x00007fee82100aec in QThreadPrivate::start (arg=0x1249540) at thread/qthread_unix.cpp:338
#5  0x00007fee7fa84e9a in start_thread (arg=0x7fee3effd700) at pthread_create.c:308
#6  0x00007fee7fd8dcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fee3e7fc700 (LWP 426)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fee8210104b in wait (time=18446744073709551615, this=0xf552f0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xf57278, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fee820f454f in QThreadPoolThread::run (this=0x124be40) at concurrent/qthreadpool.cpp:141
#4  0x00007fee82100aec in QThreadPrivate::start (arg=0x124be40) at thread/qthread_unix.cpp:338
#5  0x00007fee7fa84e9a in start_thread (arg=0x7fee3e7fc700) at pthread_create.c:308
#6  0x00007fee7fd8dcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fee3dffb700 (LWP 427)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fee8210104b in wait (time=18446744073709551615, this=0xf552f0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xf57278, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fee820f454f in QThreadPoolThread::run (this=0xea9ca0) at concurrent/qthreadpool.cpp:141
#4  0x00007fee82100aec in QThreadPrivate::start (arg=0xea9ca0) at thread/qthread_unix.cpp:338
#5  0x00007fee7fa84e9a in start_thread (arg=0x7fee3dffb700) at pthread_create.c:308
#6  0x00007fee7fd8dcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fee3d7fa700 (LWP 428)):
[KCrash Handler]
#6  0x0000000000000070 in ?? ()
#7  0x00007fee82207b0c in QMetaObject::invokeMethod (obj=0x139f200, member=<optimized out>, type=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1166
#8  0x00007fee713c3a85 in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., member=0x7fee713dffde "propertyRemoved", obj=0x139f200) at /usr/include/qt4/QtCore/qobjectdefs.h:434
#9  Nepomuk2::ResourceWatcherManager::changeProperty (this=<optimized out>, res=..., property=..., addedValues=..., removedValues=...) at ../../../services/storage/resourcewatchermanager.cpp:219
#10 0x00007fee713b67f8 in Nepomuk2::ResourceMerger::merge (this=0x7fee3d7f9b90, resHash_=...) at ../../../services/storage/resourcemerger.cpp:821
#11 0x00007fee7139b6af in Nepomuk2::DataManagementModel::storeResources (this=0xeeb540, resources=..., app=..., identificationMode=Nepomuk2::IdentifyNew, flags=..., additionalMetadata=...) at ../../../services/storage/datamanagementmodel.cpp:1803
#12 0x00007fee713a6ae2 in Nepomuk2::StoreResourcesCommand::runCommand (this=<optimized out>) at ../../../services/storage/datamanagementcommand.h:166
#13 0x00007fee713a741e in Nepomuk2::DataManagementCommand::run (this=0x13a0e80) at ../../../services/storage/datamanagementcommand.cpp:62
#14 0x00007fee820f445d in QThreadPoolThread::run (this=0x1252130) at concurrent/qthreadpool.cpp:107
#15 0x00007fee82100aec in QThreadPrivate::start (arg=0x1252130) at thread/qthread_unix.cpp:338
#16 0x00007fee7fa84e9a in start_thread (arg=0x7fee3d7fa700) at pthread_create.c:308
#17 0x00007fee7fd8dcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fee3cff9700 (LWP 429)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fee8210104b in wait (time=18446744073709551615, this=0xf552f0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xf57278, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fee820f454f in QThreadPoolThread::run (this=0x1262be0) at concurrent/qthreadpool.cpp:141
#4  0x00007fee82100aec in QThreadPrivate::start (arg=0x1262be0) at thread/qthread_unix.cpp:338
#5  0x00007fee7fa84e9a in start_thread (arg=0x7fee3cff9700) at pthread_create.c:308
#6  0x00007fee7fd8dcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fedf77fe700 (LWP 9752)):
#0  pthread_mutex_unlock (mutex=0x7fede800d990) at forward.c:184
#1  0x00007fee7f1e7e51 in g_mutex_unlock (mutex=mutex@entry=0x7fede80230e0) at /build/buildd/glib2.0-2.34.1/./glib/gthread-posix.c:227
#2  0x00007fee7f1aad79 in g_main_context_poll (n_fds=1, fds=0x7fede8002500, timeout=-1, context=0x7fede80230e0, priority=<optimized out>) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3583
#3  g_main_context_iterate (context=context@entry=0x7fede80230e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3285
#4  0x00007fee7f1aaea4 in g_main_context_iteration (context=0x7fede80230e0, may_block=1) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3351
#5  0x00007fee8222bc16 in QEventDispatcherGlib::processEvents (this=0x7fede8003760, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fee821fc2bf in QEventLoop::processEvents (this=this@entry=0x7fedf77fddb0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fee821fc548 in QEventLoop::exec (this=0x7fedf77fddb0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fee820fdb10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007fee71141ede in ?? () from /usr/lib/libsopranoserver.so.1
#10 0x00007fee82100aec in QThreadPrivate::start (arg=0x12ce810) at thread/qthread_unix.cpp:338
#11 0x00007fee7fa84e9a in start_thread (arg=0x7fedf77fe700) at pthread_create.c:308
#12 0x00007fee7fd8dcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fee1486a700 (LWP 18330)):
#0  g_main_context_prepare (context=context@entry=0x7fedfcca4b80, priority=priority@entry=0x7fee14869c58) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:2971
#1  0x00007fee7f1aacab in g_main_context_iterate (context=context@entry=0x7fedfcca4b80, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3270
#2  0x00007fee7f1aaea4 in g_main_context_iteration (context=0x7fedfcca4b80, may_block=1) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3351
#3  0x00007fee8222bc16 in QEventDispatcherGlib::processEvents (this=0x7fedfcca78d0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fee821fc2bf in QEventLoop::processEvents (this=this@entry=0x7fee14869db0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fee821fc548 in QEventLoop::exec (this=0x7fee14869db0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fee820fdb10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fee71141ede in ?? () from /usr/lib/libsopranoserver.so.1
#8  0x00007fee82100aec in QThreadPrivate::start (arg=0x12d2d80) at thread/qthread_unix.cpp:338
#9  0x00007fee7fa84e9a in start_thread (arg=0x7fee1486a700) at pthread_create.c:308
#10 0x00007fee7fd8dcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fee1686e700 (LWP 21218)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007fee82100fa7 in wait (time=30000, this=0xf029d0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xf5a9a8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fee820f454f in QThreadPoolThread::run (this=0x1319890) at concurrent/qthreadpool.cpp:141
#4  0x00007fee82100aec in QThreadPrivate::start (arg=0x1319890) at thread/qthread_unix.cpp:338
#5  0x00007fee7fa84e9a in start_thread (arg=0x7fee1686e700) at pthread_create.c:308
#6  0x00007fee7fd8dcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fee7a595780 (LWP 2600)):
#0  0x00007fee7fd808bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fee7f1e715f in read (__nbytes=16, __buf=0x7fffc2d38d10, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:45
#2  g_wakeup_acknowledge (wakeup=0xbe7710) at /build/buildd/glib2.0-2.34.1/./glib/gwakeup.c:212
#3  0x00007fee7f1aa914 in g_main_context_check (context=context@entry=0xbe5380, max_priority=2147483647, fds=fds@entry=0xd6fc10, n_fds=n_fds@entry=11) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3129
#4  0x00007fee7f1aad22 in g_main_context_iterate (context=context@entry=0xbe5380, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3287
#5  0x00007fee7f1aaea4 in g_main_context_iteration (context=0xbe5380, may_block=1) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3351
#6  0x00007fee8222bbf6 in QEventDispatcherGlib::processEvents (this=0xbbec20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#7  0x00007fee805ccc1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#8  0x00007fee821fc2bf in QEventLoop::processEvents (this=this@entry=0x7fffc2d38f20, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007fee821fc548 in QEventLoop::exec (this=0x7fffc2d38f20, flags=...) at kernel/qeventloop.cpp:204
#10 0x00007fee82201708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#11 0x0000000000403dd0 in main (argc=<optimized out>, argv=0x7fffc2d39388) at ../../servicestub/main.cpp:177

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

Possible duplicates by query: bug 312716, bug 312527, bug 311046, bug 309551.

Reported using DrKonqi
Comment 1 Vishesh Handa 2013-01-25 11:45:53 UTC

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