Bug 325394

Summary: Crash on reading KConfig in FileIndexingJob::slotIndexedFile
Product: nepomuk Reporter: drdrnewman
Component: fileindexerAssignee: Nepomuk Bugs Coordination <nepomuk-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: me, nepomuk-bugs
Priority: NOR Keywords: drkonqi
Version: 4.10.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description drdrnewman 2013-09-28 16:46:08 UTC
Application: nepomukservicestub (0.1.0)
KDE Platform Version: 4.10.5
Qt Version: 4.8.4
Operating System: Linux 3.8.0-31-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
Nepomuk is crashing a few minutes when the display is unattended.

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7f1afa262700 (LWP 6765)):
#0  0x00007f1b0882a8bf in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f1b0882b0fe in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1b0882b304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1b0b6b2036 in QEventDispatcherGlib::processEvents (this=0x7f1af40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f1b0b68238f in QEventLoop::processEvents (this=this@entry=0x7f1afa261d90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f1b0b682618 in QEventLoop::exec (this=this@entry=0x7f1afa261d90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f1b0b584410 in QThread::exec (this=this@entry=0x1fbac60) at thread/qthread.cpp:542
#7  0x00007f1b0b663edf in QInotifyFileSystemWatcherEngine::run (this=0x1fbac60) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f1b0b586bec in QThreadPrivate::start (arg=0x1fbac60) at thread/qthread_unix.cpp:338
#9  0x00007f1b08f00f8e in start_thread (arg=0x7f1afa262700) at pthread_create.c:311
#10 0x00007f1b0920fe1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f1b0bbc07c0 (LWP 6763)):
[KCrash Handler]
#6  0x00007f1b0914d037 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f1b09150698 in __GI_abort () at abort.c:90
#8  0x00007f1b0953ee8d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007f1b0953cf76 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00007f1b0953cfa3 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x00007f1b0953dacf in __cxa_pure_virtual () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00007f1b0ae6f2a7 in KConfigBase::group (this=0x21097f0, str=str@entry=0x7f1afa8d14b8 "General") at ../../kdecore/config/kconfigbase.cpp:56
#13 0x00007f1afa8c67ef in Nepomuk2::FileIndexerConfig::isDebugModeEnabled (this=<optimized out>) at ../../../services/fileindexer/fileindexerconfig.cpp:481
#14 0x00007f1afa8c072d in Nepomuk2::FileIndexingJob::slotIndexedFile (this=0x2274f90, exitCode=1) at ../../../services/fileindexer/fileindexingjob.cpp:103
#15 0x00007f1b0b6980ef in QMetaObject::activate (sender=sender@entry=0x235c280, m=m@entry=0x7f1b0b9da880 <QProcess::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff4950feb0) at kernel/qobject.cpp:3539
#16 0x00007f1b0b6190b1 in QProcess::finished (this=this@entry=0x235c280, _t1=1) at .moc/release-shared/moc_qprocess.cpp:149
#17 0x00007f1b0b61d1d3 in QProcessPrivate::_q_processDied (this=0x23ab060) at io/qprocess.cpp:1067
#18 0x00007f1b0b61d26e in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at .moc/release-shared/moc_qprocess.cpp:92
#19 QProcess::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/release-shared/moc_qprocess.cpp:69
#20 0x00007f1b0b6980ef in QMetaObject::activate (sender=sender@entry=0x23ab400, m=m@entry=0x7f1b0b9de980 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff49510050) at kernel/qobject.cpp:3539
#21 0x00007f1b0b6e3d2e in QSocketNotifier::activated (this=this@entry=0x23ab400, _t1=25) at .moc/release-shared/moc_qsocketnotifier.cpp:103
#22 0x00007f1b0b6a0b0b in QSocketNotifier::event (this=0x23ab400, e=0x7fff49510670) at kernel/qsocketnotifier.cpp:317
#23 0x00007f1b099ac8ec in QApplicationPrivate::notify_helper (this=this@entry=0x1f0a7c0, receiver=receiver@entry=0x23ab400, e=e@entry=0x7fff49510670) at kernel/qapplication.cpp:4567
#24 0x00007f1b099af25b in QApplication::notify (this=this@entry=0x7fff49510ad0, receiver=receiver@entry=0x23ab400, e=e@entry=0x7fff49510670) at kernel/qapplication.cpp:4428
#25 0x00007f1b0a9b61a6 in KApplication::notify (this=0x7fff49510ad0, receiver=0x23ab400, event=0x7fff49510670) at ../../kdeui/kernel/kapplication.cpp:311
#26 0x00007f1b0b68363e in QCoreApplication::notifyInternal (this=0x7fff49510ad0, receiver=0x23ab400, event=event@entry=0x7fff49510670) at kernel/qcoreapplication.cpp:946
#27 0x00007f1b0b6b25c8 in sendEvent (event=0x7fff49510670, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#28 socketNotifierSourceDispatch (source=0x1f00b50) at kernel/qeventdispatcher_glib.cpp:110
#29 0x00007f1b0882af05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f1b0882b248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f1b0882b304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f1b0b6b2016 in QEventDispatcherGlib::processEvents (this=0x1ee6ac0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#33 0x00007f1b09a5213e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f1b0b68238f in QEventLoop::processEvents (this=this@entry=0x7fff495108b0, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007f1b0b682618 in QEventLoop::exec (this=this@entry=0x7fff495108b0, flags=...) at kernel/qeventloop.cpp:204
#36 0x00007f1b0b687cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#37 0x00007f1b099aaffc in QApplication::exec () at kernel/qapplication.cpp:3828
#38 0x0000000000403e70 in main (argc=<optimized out>, argv=0x7fff49510d18) at ../../servicestub/main.cpp:180

Possible duplicates by query: bug 291369, bug 287560.

Reported using DrKonqi
Comment 1 Vishesh Handa 2015-01-23 16:19:57 UTC
Thank you for taking the time to file a bug report.

The Nepomuk project is no longer included in the KDE Software Compilation. With Plasma 5, we have replaced most of the underlying technology with Baloo and other components. Hopefully this will have addressed your concern.

We encourage you to try out Plasma 5 (+Baloo) and let us know if your problem persists.