Bug 276242 - nepomukservicestub crashes when some files change (or are being manipulated) (not XIOError) [malloc_consolidate, _int_free, __closedir, QFSFileEngineIterator::advance, ..., Nepomuk::IndexScheduler::analyzeDir]
Summary: nepomukservicestub crashes when some files change (or are being manipulated) ...
Status: RESOLVED DUPLICATE of bug 282124
Alias: None
Product: nepomuk
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
: 271908 276374 276433 278251 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-06-22 09:50 UTC by Dave Campbell-Watts
Modified: 2011-09-20 08:21 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Campbell-Watts 2011-06-22 09:50:02 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.6.4 (4.6.4)
Qt Version: 4.7.2
Operating System: Linux 2.6.39-0-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
No UI interaction; Dolphin open; Google Chrome open; SoundConverter process running.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Nepomuk Service Stub (nepomukservicestub), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7779710 (LWP 2410))]

Thread 3 (Thread 0xb53e9b70 (LWP 2424)):
#0  0x00a86416 in __kernel_vsyscall ()
#1  0x003ac48c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x0097d3fd in __pthread_cond_wait (cond=0x8cd8f70, mutex=0x8cd8f58) at forward.c:139
#3  0x00171467 in wait (this=0x8d08b0c, mutex=0x8d08b08, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x8d08b0c, mutex=0x8d08b08, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x04331dc8 in Nepomuk::IndexFeeder::run (this=0x8d08af8) at ../../../../nepomuk/services/strigi/nepomukindexfeeder.cpp:188
#6  0x00170da2 in QThreadPrivate::start (arg=0x8d08af8) at thread/qthread_unix.cpp:320
#7  0x003a7e99 in start_thread (arg=0xb53e9b70) at pthread_create.c:304
#8  0x0096f73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb4be8b70 (LWP 2432)):
[KCrash Handler]
#7  0x0090acb1 in malloc_consolidate (av=0x9fd3c0) at malloc.c:5161
#8  0x0090c21a in _int_free (av=<value optimized out>, p=0x9389028) at malloc.c:5034
#9  0x0090f41d in __libc_free (mem=0x9389030) at malloc.c:3738
#10 0x009338e8 in __closedir (dirp=0x9389030) at ../sysdeps/unix/closedir.c:52
#11 0x00240f8a in QFSFileEngineIterator::advance (this=0x9210f70) at io/qfsfileengine_iterator_unix.cpp:86
#12 0x00238998 in QFSFileEngineIterator::next (this=0x9210f70) at io/qfsfileengine_iterator.cpp:65
#13 0x001f26fc in QDirIteratorPrivate::advance (this=0x917aaf8) at io/qdiriterator.cpp:217
#14 0x001f28db in QDirIterator::next (this=0xb4be8224) at io/qdiriterator.cpp:457
#15 0x0432797e in Nepomuk::IndexScheduler::analyzeDir (this=0x8c9b0c0, dir_=..., flags=...) at ../../../../nepomuk/services/strigi/indexscheduler.cpp:391
#16 0x043283c4 in Nepomuk::IndexScheduler::run (this=0x8c9b0c0) at ../../../../nepomuk/services/strigi/indexscheduler.cpp:338
#17 0x00170da2 in QThreadPrivate::start (arg=0x8c9b0c0) at thread/qthread_unix.cpp:320
#18 0x003a7e99 in start_thread (arg=0xb4be8b70) at pthread_create.c:304
#19 0x0096f73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7779710 (LWP 2410)):
#0  0x00a86416 in __kernel_vsyscall ()
#1  0x0097d753 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x00910bac in _L_lock_10489 () from /lib/i386-linux-gnu/libc.so.6
#3  0x0090f553 in __libc_realloc (oldmem=0x8d64f70, bytes=192) at malloc.c:3813
#4  0x001a0609 in QRegExpMatchState::prepareForMatch (this=0x8d644ac, eng=0x8d5e208) at tools/qregexp.cpp:1379
#5  0x001adee3 in prepareEngineForMatch (priv=0x8d64490, str=...) at tools/qregexp.cpp:3727
#6  0x001ae0c7 in QRegExp::exactMatch (this=0x8d6363c, str=...) at tools/qregexp.cpp:4068
#7  0x067e4081 in RegExpCache::exactMatch (this=0x8d4ab24, s=...) at ../../../nepomuk/common/regexpcache.cpp:40
#8  0x04329e77 in Nepomuk::StrigiServiceConfig::shouldFileBeIndexed (this=0x8d4ab10, fileName=...) at ../../../../nepomuk/services/strigi/strigiserviceconfig.cpp:177
#9  0x0432a003 in Nepomuk::StrigiServiceConfig::shouldFolderBeIndexed (this=0x8d4ab10, path=...) at ../../../../nepomuk/services/strigi/strigiserviceconfig.cpp:166
#10 0x04322324 in Nepomuk::StrigiService::updateFolder (this=0x8c3a570, path=..., recursive=false, forced=false) at ../../../../nepomuk/services/strigi/strigiservice.cpp:231
#11 0x04335aca in StrigiAdaptor::updateFolder (this=0x8d671f0, path=..., recursive=false, forced=false) at strigiadaptor.cpp:105
#12 0x04335d01 in StrigiAdaptor::qt_metacall (this=0x8d671f0, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0xbf801c4c) at strigiadaptor.moc:157
#13 0x005d2acd in QDBusConnectionPrivate::deliverCall (this=0x8bf8380, object=0x8d671f0, msg=..., metaTypes=..., slotIdx=19) at qdbusintegrator.cpp:942
#14 0x005d3c57 in QDBusConnectionPrivate::activateCall (this=0x8bf8380, object=0x8d671f0, flags=337, msg=...) at qdbusintegrator.cpp:852
#15 0x005d41ac in QDBusConnectionPrivate::activateObject (this=0x8bf8380, node=..., msg=..., pathStartPos=21) at qdbusintegrator.cpp:1430
#16 0x005d462a in QDBusActivateObjectEvent::placeMetaCall (this=0x8d7b798) at qdbusintegrator.cpp:1524
#17 0x0027a3b7 in QObject::event (this=0x8c3a570, e=0x8d7b798) at kernel/qobject.cpp:1226
#18 0x00f67d24 in QApplicationPrivate::notify_helper (this=0x8b9eee0, receiver=0x8c3a570, e=0x8d7b798) at kernel/qapplication.cpp:4462
#19 0x00f6c8ce in QApplication::notify (this=0xbf802718, receiver=0x8c3a570, e=0x8d7b798) at kernel/qapplication.cpp:3862
#20 0x00c7136a in KApplication::notify (this=0xbf802718, receiver=0x8c3a570, event=0x8d7b798) at ../../kdeui/kernel/kapplication.cpp:311
#21 0x002650bb in QCoreApplication::notifyInternal (this=0xbf802718, receiver=0x8c3a570, event=0x8d7b798) at kernel/qcoreapplication.cpp:731
#22 0x00268c79 in sendEvent (receiver=0x0, event_type=0, data=0x8b686d8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8b686d8) at kernel/qcoreapplication.cpp:1372
#24 0x00268e0d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#25 0x002923c4 in sendPostedEvents (s=0x8b9d4f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#26 postEventSourceDispatch (s=0x8b9d4f0) at kernel/qeventdispatcher_glib.cpp:277
#27 0x01fb4aa8 in g_main_dispatch (context=0x8b9d460) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:2440
#28 g_main_context_dispatch (context=0x8b9d460) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3013
#29 0x01fb5270 in g_main_context_iterate (context=0x8b9d460, block=33314848, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3091
#30 0x01fb5524 in g_main_context_iteration (context=0x8b9d460, may_block=1) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#31 0x0029253c in QEventDispatcherGlib::processEvents (this=0x8b68440, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#32 0x0101b775 in QGuiEventDispatcherGlib::processEvents (this=0x8b68440, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00264289 in QEventLoop::processEvents (this=0xbf802574, flags=...) at kernel/qeventloop.cpp:149
#34 0x00264522 in QEventLoop::exec (this=0xbf802574, flags=...) at kernel/qeventloop.cpp:201
#35 0x00268ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#36 0x00f658e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#37 0x0804b07e in main (argc=) at ../../../nepomuk/servicestub/main.cpp:165

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

Possible duplicates by query: bug 275775, bug 275553, bug 274648, bug 274359, bug 261465.

Reported using DrKonqi
Comment 1 Dario Andres 2011-08-07 19:32:13 UTC
[Comment from a bug report cleaner]
This seems to be related to bug 275169 (crashes when several files are being modified, not a XIOError, related to memory issues and QFSFileEngineIterator code)

From bug 276374 (KDE SC 4.6.4):
- What I was doing when the application crashed: I was setting up Logitech
Slimserver. During setup, I copied a Shared folder into My Music folder using
Dolphin. Slimserver was scanning My Music folder as a result of setup. Nepomuk
then crashes out of the blue. Fresh install of Kubuntu Desktop Amd_64

From bug 278251 (KDE SC 4.6.5):
-- Information about the crash:
Nepomuk Service Stub seg faults, no specific action an obvious trigger. Seems
to happen when the system is heavily loaded, in recent cases when I've been
running sound converter converting mp3s...
The crash can be reproduced some of the time.
Comment 2 Dario Andres 2011-08-07 19:32:18 UTC
*** Bug 276374 has been marked as a duplicate of this bug. ***
Comment 3 Dario Andres 2011-08-07 19:32:19 UTC
*** Bug 276433 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2011-08-07 19:32:54 UTC
*** Bug 278251 has been marked as a duplicate of this bug. ***
Comment 5 Sebastian Trueg 2011-09-20 08:20:30 UTC
*** Bug 271908 has been marked as a duplicate of this bug. ***
Comment 6 Sebastian Trueg 2011-09-20 08:21:15 UTC

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