Bug 283899

Summary: Crash when turning of Nepomuk via systemsettings
Product: [Unmaintained] nepomuk Reporter: Stefan Borggraefe <Stefan.Borggraefe>
Component: generalAssignee: Sebastian Trueg <sebastian>
Status: RESOLVED FIXED    
Severity: crash CC: a2zcomputersok, me, trueg
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Stefan Borggraefe 2011-10-13 08:06:29 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
This crash happened when I turned off nepomuk in systemsettings.

-- Backtrace:
Application: Nepomuk-Dienst (nepomukservicestub), 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 0x7faa3ea6b780 (LWP 2331))]

Thread 5 (Thread 0x7faa290b7700 (LWP 2340)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007faa38cd47d1 in Soprano::Model::removeContext(Soprano::Node const&) () from /usr/lib/libsoprano.so.4
#8  0x00007faa2ecea6a1 in Nepomuk::GraphMaintainer::run (this=0x274f1e0) at ../../../../nepomuk/services/storage/graphmaintainer.cpp:82
#9  0x00007faa3e46dd05 in QThreadPrivate::start (arg=0x274f1e0) at thread/qthread_unix.cpp:331
#10 0x00007faa3bdd6efc in start_thread (arg=0x7faa290b7700) at pthread_create.c:304
#11 0x00007faa3c0cd89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7faa288b6700 (LWP 2342)):
#0  0x00007faa3b2f3fe4 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007faa3b2f4dfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007faa3b2f5429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007faa3e57ff3e in QEventDispatcherGlib::processEvents (this=0x27aa810, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007faa3e553cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007faa3e553ef7 in QEventLoop::exec (this=0x7faa288b5dd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007faa3e46b27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007faa3e536cbf in QInotifyFileSystemWatcherEngine::run (this=0x2800600) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007faa3e46dd05 in QThreadPrivate::start (arg=0x2800600) at thread/qthread_unix.cpp:331
#9  0x00007faa3bdd6efc in start_thread (arg=0x7faa288b6700) at pthread_create.c:304
#10 0x00007faa3c0cd89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7faa1eff5700 (LWP 6003)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007faa3e46e1ab in wait (time=18446744073709551615, this=0x27ee8d0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x27f7c30, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007faa3e46281f in QThreadPoolThread::run (this=0x7faa180360d0) at concurrent/qthreadpool.cpp:140
#4  0x00007faa3e46dd05 in QThreadPrivate::start (arg=0x7faa180360d0) at thread/qthread_unix.cpp:331
#5  0x00007faa3bdd6efc in start_thread (arg=0x7faa1eff5700) at pthread_create.c:304
#6  0x00007faa3c0cd89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7faa1dff3700 (LWP 6005)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007faa3e46e1ab in wait (time=18446744073709551615, this=0x27ee8d0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x27f7c30, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007faa3e46281f in QThreadPoolThread::run (this=0x7faa18020b00) at concurrent/qthreadpool.cpp:140
#4  0x00007faa3e46dd05 in QThreadPrivate::start (arg=0x7faa18020b00) at thread/qthread_unix.cpp:331
#5  0x00007faa3bdd6efc in start_thread (arg=0x7faa1dff3700) at pthread_create.c:304
#6  0x00007faa3c0cd89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7faa3ea6b780 (LWP 2331)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007faa3e46e1ab in wait (time=18446744073709551615, this=0x274f500) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x275bd50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007faa3e46da4c in QThread::wait (this=<optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:745
#4  0x00007faa2ecea11e in Nepomuk::GraphMaintainer::~GraphMaintainer (this=0x274f1e0, __in_chrg=<optimized out>) at ../../../../nepomuk/services/storage/graphmaintainer.cpp:47
#5  0x00007faa2ecea139 in Nepomuk::GraphMaintainer::~GraphMaintainer (this=0x274f1e0, __in_chrg=<optimized out>) at ../../../../nepomuk/services/storage/graphmaintainer.cpp:48
#6  0x00007faa3e566d75 in QObjectPrivate::deleteChildren (this=0x275ade0) at kernel/qobject.cpp:1955
#7  0x00007faa3e56c349 in QObject::~QObject (this=0x2622c10, __in_chrg=<optimized out>) at kernel/qobject.cpp:946
#8  0x00007faa2a453129 in ?? () from /usr/lib/soprano/libsoprano_virtuosobackend.so
#9  0x00007faa2eca0b59 in Nepomuk::Repository::close (this=0x2595810) at ../../../../nepomuk/services/storage/repository.cpp:92
#10 0x00007faa2eca0c1c in Nepomuk::Repository::~Repository (this=0x2595810, __in_chrg=<optimized out>) at ../../../../nepomuk/services/storage/repository.cpp:75
#11 0x00007faa2eca0cf9 in Nepomuk::Repository::~Repository (this=0x2595810, __in_chrg=<optimized out>) at ../../../../nepomuk/services/storage/repository.cpp:76
#12 0x00007faa2ea40ed7 in Soprano::Server::ServerCore::~ServerCore() () from /usr/lib/libsopranoserver.so.1
#13 0x00007faa2ec9f99c in Nepomuk::Core::~Core (this=0x2540600, __in_chrg=<optimized out>) at ../../../../nepomuk/services/storage/nepomukcore.cpp:45
#14 0x00007faa2ec9fa49 in Nepomuk::Core::~Core (this=0x2540600, __in_chrg=<optimized out>) at ../../../../nepomuk/services/storage/nepomukcore.cpp:48
#15 0x00007faa3e566d75 in QObjectPrivate::deleteChildren (this=0x2594f50) at kernel/qobject.cpp:1955
#16 0x00007faa3e56c349 in QObject::~QObject (this=0x2598990, __in_chrg=<optimized out>) at kernel/qobject.cpp:946
#17 0x00007faa2ec9ec23 in ~Storage (this=0x2598990, __in_chrg=<optimized out>) at ../../../../nepomuk/services/storage/storage.cpp:54
#18 Nepomuk::Storage::~Storage (this=0x2598990, __in_chrg=<optimized out>) at ../../../../nepomuk/services/storage/storage.cpp:56
#19 0x00007faa3e566d75 in QObjectPrivate::deleteChildren (this=0x253f120) at kernel/qobject.cpp:1955
#20 0x00007faa3e56c349 in QObject::~QObject (this=0x253d580, __in_chrg=<optimized out>) at kernel/qobject.cpp:946
#21 0x0000000000404419 in Nepomuk::ServiceControl::~ServiceControl (this=0x253d580, __in_chrg=<optimized out>) at ../../../nepomuk/servicestub/servicecontrol.cpp:39
#22 0x00007faa3e566d75 in QObjectPrivate::deleteChildren (this=0x23d7ff0) at kernel/qobject.cpp:1955
#23 0x00007faa3e56c349 in QObject::~QObject (this=0x7fff5e736ff0, __in_chrg=<optimized out>) at kernel/qobject.cpp:946
#24 0x00007faa3c897f87 in QApplication::~QApplication (this=0x7fff5e736ff0, __in_chrg=<optimized out>) at kernel/qapplication.cpp:1093
#25 0x0000000000403a4d in main (argc=2, argv=0x7fff5e737498) at ../../../nepomuk/servicestub/main.cpp:102

Reported using DrKonqi
Comment 1 Sebastian Trueg 2011-10-13 08:36:37 UTC
This has already been fixed: http://quickgit.kde.org/?p=kde-runtime.git&a=commit&h=25c03913aa2503bcfd36f964aaca039cce095bff
Comment 2 Sebastian Trueg 2011-10-14 13:25:18 UTC
*** Bug 283990 has been marked as a duplicate of this bug. ***