Bug 318159

Summary: nepumuk file indexing crasches with segmentation fault (11)
Product: [Unmaintained] nepomuk Reporter: Harno Uphoff <harno.uphoff>
Component: generalAssignee: Nepomuk Bugs Coordination <nepomuk-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nepomuk-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Harno Uphoff 2013-04-10 20:28:53 UTC
Application: nepomukservicestub (0.1.0)
KDE Platform Version: 4.10.00 "release 1"
Qt Version: 4.8.4
Operating System: Linux 3.7.10-1.1-desktop i686
Distribution: "openSUSE 12.3 (i586)"

-- Information about the crash:
Every time i start the programm again after i disabled it, it crashes.
When i close the bugreport window it reappeares within seconds.

The crash can be reproduced every time.

-- Backtrace:
Application: Nepomuk-Dienst (nepomukservicestub), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb51c5740 (LWP 13229))]

Thread 3 (Thread 0xb3608b40 (LWP 13230)):
#0  0xb5ee63cd in clock_gettime () from /lib/libc.so.6
#1  0xb74db975 in do_gettime (frac=0xb3607fa0, sec=0xb3607f98) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb75c22be in QTimerInfoList::updateCurrentTime (this=0xb2d02074) at kernel/qeventdispatcher_unix.cpp:354
#4  0x7fffffff in ?? ()
#5  0xb75c265a in QTimerInfoList::timerWait (this=0xb2d02074, tm=...) at kernel/qeventdispatcher_unix.cpp:461
#6  0x7fffffff in ?? ()

Thread 2 (Thread 0xb2cffb40 (LWP 13232)):
#0  0xb5cf678b in g_ptr_array_set_size () from /usr/lib/libglib-2.0.so.0
#1  0xb5d2333f in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#2  0xb5d23acf in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb5d23d31 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb75c17bf in QEventDispatcherGlib::processEvents (this=0xb2300468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0xb758e2ac in QEventLoop::processEvents (this=this@entry=0xb2cff228, flags=...) at kernel/qeventloop.cpp:149
#6  0xb758e5a1 in QEventLoop::exec (this=0xb2cff228, flags=...) at kernel/qeventloop.cpp:204
#7  0xb7479b6c in QThread::exec (this=0x8df8cf0) at thread/qthread.cpp:542
#8  0xb756c8ad in QInotifyFileSystemWatcherEngine::run (this=0x8df8cf0) at io/qfilesystemwatcher_inotify.cpp:256
#9  0xb747cf78 in QThreadPrivate::start (arg=0x8df8cf0) at thread/qthread_unix.cpp:338
#10 0xb73fab5e in start_thread () from /lib/libpthread.so.0
#11 0xb5ed316e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb51c5740 (LWP 13229)):
[KCrash Handler]
#5  ref (this=0x1) at ../../src/corelib/arch/qatomic_i386.h:120
#6  QString::operator= (this=0x8dfdf7c, other=...) at tools/qstring.cpp:1410
#7  0xb74bf626 in prepareEngineForMatch (priv=0x8dfdf68, str=...) at tools/qregexp.cpp:3733
#8  0xb74bf876 in QRegExp::exactMatch (this=0x8e136e4, str=...) at tools/qregexp.cpp:4082
#9  0xb36deb3a in RegExpCache::exactMatch (this=0x8df63ac, s=...) at /usr/src/debug/nepomuk-core-4.10.0/common/regexpcache.cpp:40
#10 0xb370aac3 in Nepomuk2::FileIndexerConfig::shouldFileBeIndexed (this=this@entry=0x8df6398, fileName=...) at /usr/src/debug/nepomuk-core-4.10.0/services/fileindexer/fileindexerconfig.cpp:219
#11 0xb370b4d7 in Nepomuk2::FileIndexerConfig::shouldFolderBeWatched (this=0x8df6398, path=...) at /usr/src/debug/nepomuk-core-4.10.0/services/fileindexer/fileindexerconfig.cpp:177
#12 0xb370424b in (anonymous namespace)::IgnoringKInotify::filterWatch (this=0x8e2dba0, path=..., modes=..., flags=...) at /usr/src/debug/nepomuk-core-4.10.0/services/filewatch/nepomukfilewatch.cpp:88
#13 0xb3716e3f in addWatch (path=..., this=0x8e4e808) at /usr/src/debug/nepomuk-core-4.10.0/services/filewatch/kinotify.cpp:119
#14 KInotify::addWatch (this=0x8e2dba0, path=..., mode=..., flags=...) at /usr/src/debug/nepomuk-core-4.10.0/services/filewatch/kinotify.cpp:259
#15 0xb3704a76 in watchFolder (path=..., this=0x8db5aa0) at /usr/src/debug/nepomuk-core-4.10.0/services/filewatch/nepomukfilewatch.cpp:196
#16 Nepomuk2::FileWatch::watchFolder (this=0x8db5aa0, path=...) at /usr/src/debug/nepomuk-core-4.10.0/services/filewatch/nepomukfilewatch.cpp:189
#17 0xb3705df3 in Nepomuk2::FileWatch::slotDeviceMounted (this=this@entry=0x8db5aa0, entry=entry@entry=0x8e72d74) at /usr/src/debug/nepomuk-core-4.10.0/services/filewatch/nepomukfilewatch.cpp:430
#18 0xb3707060 in Nepomuk2::FileWatch::addWatchesForMountedRemovableMedia (this=this@entry=0x8db5aa0) at /usr/src/debug/nepomuk-core-4.10.0/services/filewatch/nepomukfilewatch.cpp:345
#19 0xb37073ab in Nepomuk2::FileWatch::FileWatch (this=0x8db5aa0, parent=0x8df2a80) at /usr/src/debug/nepomuk-core-4.10.0/services/filewatch/nepomukfilewatch.cpp:173
#20 0xb3707f4a in KPluginFactory::createInstance<Nepomuk2::FileWatch, QObject> (parentWidget=0x0, parent=0x8df2a80, args=...) at /usr/include/kpluginfactory.h:477
#21 0xb72ad194 in KPluginFactory::create (this=0x8dcfa38, iface=0xb6c12f60 <qt_meta_stringdata_Nepomuk2__Service> "Nepomuk2::Service", parentWidget=0x0, parent=0x8df2a80, args=..., keyword=...) at /usr/src/debug/kdelibs-4.10.0/kdecore/util/kpluginfactory.cpp:203
#22 0x0804c646 in create<Nepomuk2::Service> (args=..., keyword=..., parent=0x8df2a80, parentWidget=0x0, this=<optimized out>) at /usr/include/kpluginfactory.h:531
#23 createInstance<Nepomuk2::Service> (error=0xbfc7f884, args=..., parent=0x8df2a80, parentWidget=0x0, this=0x8db5b00) at /usr/include/kservice.h:565
#24 createInstance<Nepomuk2::Service> (error=0xbfc7f884, args=..., parent=0x8df2a80, this=0x8db5b00) at /usr/include/kservice.h:542
#25 Nepomuk2::ServiceControl::start (this=this@entry=0x8df2a80) at /usr/src/debug/nepomuk-core-4.10.0/servicestub/servicecontrol.cpp:92
#26 0x0804ccec in qt_static_metacall (_a=0x8dba550, _id=1, _o=0x8df2a80, _c=<optimized out>) at /usr/src/debug/nepomuk-core-4.10.0/build/servicestub/servicecontrol.moc:62
#27 Nepomuk2::ServiceControl::qt_static_metacall (_o=0x8df2a80, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x8dba550) at /usr/src/debug/nepomuk-core-4.10.0/build/servicestub/servicecontrol.moc:55
#28 0xb75a155a in QMetaCallEvent::placeMetaCall (this=0x8df2080, object=0x8df2a80) at kernel/qobject.cpp:524
#29 0xb75a5abb in QObject::event (this=0x8df2a80, e=0x8df2080) at kernel/qobject.cpp:1203
#30 0xb61a8bac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#31 0xb61ad5cc in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#32 0xb6e44dc1 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#33 0xb758f7de in QCoreApplication::notifyInternal (this=0xbfc80178, receiver=0x8df2a80, event=0x8df2080) at kernel/qcoreapplication.cpp:946
#34 0xb7593531 in sendEvent (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#35 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8c7ea38) at kernel/qcoreapplication.cpp:1570
#36 0xb75937ac in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1463
#37 0xb75c1624 in sendPostedEvents () at kernel/qcoreapplication.h:236
#38 postEventSourceDispatch (s=0x8c99610) at kernel/qeventdispatcher_glib.cpp:279
#39 0xb5d238b3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#40 0xb5d23c50 in ?? () from /usr/lib/libglib-2.0.so.0
#41 0xb5d23d31 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#42 0xb75c17a1 in QEventDispatcherGlib::processEvents (this=0x8c822d0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#43 0xb625a4aa in ?? () from /usr/lib/libQtGui.so.4
#44 0xb758e2ac in QEventLoop::processEvents (this=this@entry=0xbfc80058, flags=...) at kernel/qeventloop.cpp:149
#45 0xb758e5a1 in QEventLoop::exec (this=0xbfc80058, flags=...) at kernel/qeventloop.cpp:204
#46 0xb759385a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#47 0xb61a6a24 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#48 0x0804b67d in main (argc=2, argv=0xbfc80314) at /usr/src/debug/nepomuk-core-4.10.0/servicestub/main.cpp:180

Possible duplicates by query: bug 318149, bug 318113, bug 318085, bug 317349, bug 316140.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-04-11 00:06:47 UTC
Fixed in 4.10.1

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