Application: nepomukservicestub (0.2) KDE Platform Version: 4.5.00 (KDE 4.5.0) Qt Version: 4.7.0 Operating System: Linux 2.6.32-24-generic x86_64 Distribution: Ubuntu 10.04.1 LTS -- Information about the crash: - What I was doing when the application crashed: Just 5min after startup computer, I Wasn't doing anything that call nepomuk services. It just crash when strigi was indexing my files -- Backtrace: Application: Jeton du service Nepomuk (nepomukservicestub), signal: Aborted [Current thread is 1 (Thread 0x7ff07bf3f760 (LWP 2583))] Thread 2 (Thread 0x7ff06b1bd710 (LWP 2602)): #0 0x00007ff07938b755 in __getdents (fd=<value optimized out>, buf=0x2665538 "/\340\233", nbytes=32768) at ../sysdeps/unix/sysv/linux/getdents.c:105 #1 0x00007ff07938b287 in __readdir_r (dirp=0x2665510, entry=0x2661700, result=0x26604c8) at ../sysdeps/unix/readdir_r.c:64 #2 0x00007ff07ba04127 in QFSFileEngineIterator::advance (this=0x2660f90) at io/qfsfileengine_iterator_unix.cpp:79 #3 0x00007ff07ba043b7 in QFSFileEngineIterator::hasNext (this=0x2660f90) at io/qfsfileengine_iterator_unix.cpp:132 #4 0x00007ff07b9b6d3a in QDirIteratorPrivate::advance (this=0x2661340) at io/qdiriterator.cpp:215 #5 0x00007ff07b9b77b9 in QDirIteratorPrivate (this=0x2661340, path=<value optimized out>, nameFilters=..., filters=..., flags=<value optimized out>) at io/qdiriterator.cpp:170 #6 0x00007ff07b9b7c67 in QDirIterator (this=0x7ff06b1bc180, path=..., filters=<value optimized out>, flags=<value optimized out>) at io/qdiriterator.cpp:398 #7 0x00007ff06beda307 in Nepomuk::IndexScheduler::updateDir (this=<value optimized out>, dir=<value optimized out>, analyzer=<value optimized out>, flags=<value optimized out>) at ../../../../nepomuk/services/strigi/indexscheduler.cpp:361 #8 0x00007ff06bedad02 in Nepomuk::IndexScheduler::updateDir (this=0x1ef5af0, dir=<value optimized out>, analyzer=0x7ff06b1bcde0, flags=) at ../../../../nepomuk/services/strigi/indexscheduler.cpp:421 #9 0x00007ff06bedad02 in Nepomuk::IndexScheduler::updateDir (this=0x1ef5af0, dir=<value optimized out>, analyzer=0x7ff06b1bcde0, flags=) at ../../../../nepomuk/services/strigi/indexscheduler.cpp:421 #10 0x00007ff06bedad02 in Nepomuk::IndexScheduler::updateDir (this=0x1ef5af0, dir=<value optimized out>, analyzer=0x7ff06b1bcde0, flags=) at ../../../../nepomuk/services/strigi/indexscheduler.cpp:421 #11 0x00007ff06bedcb05 in Nepomuk::IndexScheduler::run (this=0x1ef5af0) at ../../../../nepomuk/services/strigi/indexscheduler.cpp:314 #12 0x00007ff07b9381be in QThreadPrivate::start (arg=0x1ef5af0) at thread/qthread_unix.cpp:266 #13 0x00007ff07b6a69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #14 0x00007ff0793cb6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #15 0x0000000000000000 in ?? () Thread 1 (Thread 0x7ff07bf3f760 (LWP 2583)): [KCrash Handler] #6 0x00007ff079318a75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #7 0x00007ff07931c5c0 in *__GI_abort () at abort.c:92 #8 0x00007ff0793524fb in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189 #9 0x00007ff07935c5b6 in malloc_printerr (action=3, str=0x7ff07942cbee "realloc(): invalid pointer", ptr=<value optimized out>) at malloc.c:6264 #10 0x00007ff079363d33 in realloc_check (oldmem=0x1f71980, bytes=168, caller=<value optimized out>) at hooks.c:330 #11 0x00007ff07b9654ca in QRegExpMatchState::prepareForMatch (this=0x1f76f70, eng=0x1f76260) at tools/qregexp.cpp:1383 #12 0x00007ff07b9749e1 in prepareEngineForMatch (priv=0x1f76f40, str=...) at tools/qregexp.cpp:3731 #13 0x00007ff07b974c74 in QRegExp::exactMatch (this=0x1efbc88, str=...) at tools/qregexp.cpp:4072 #14 0x00007ff06bede0f7 in Nepomuk::StrigiServiceConfig::shouldFileBeIndexed (this=<value optimized out>, fileName=...) at ../../../../nepomuk/services/strigi/strigiserviceconfig.cpp:164 #15 0x00007ff06bede73d in Nepomuk::StrigiServiceConfig::shouldFolderBeIndexed (this=0x1f6cbd0, path=...) at ../../../../nepomuk/services/strigi/strigiserviceconfig.cpp:152 #16 0x00007ff06bed6ee0 in Nepomuk::StrigiServiceAdaptor::updateFolder (this=0x1f32560, path=<value optimized out>, forced=false) at ../../../../nepomuk/services/strigi/strigiserviceadaptor.cpp:106 #17 0x00007ff06bed4db5 in Nepomuk::StrigiServiceAdaptor::qt_metacall (this=0x1f32560, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3089c280) at moc_strigiserviceadaptor.cpp:148 #18 0x00007ff07b44890e in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>) at qdbusintegrator.cpp:909 #19 0x00007ff07b449bdb in QDBusConnectionPrivate::activateCall (this=<value optimized out>, object=0x1f32560, flags=337, msg=...) at qdbusintegrator.cpp:819 #20 0x00007ff07b44a65d in QDBusConnectionPrivate::activateObject (this=<value optimized out>, node=<value optimized out>, msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1369 #21 0x00007ff07b44a908 in QDBusActivateObjectEvent::placeMetaCall (this=0x25b9e90) at qdbusintegrator.cpp:1482 #22 0x00007ff07ba3c87e in QObject::event (this=0x1ec8c50, e=0xa17) at kernel/qobject.cpp:1219 #23 0x00007ff079b44cdc in QApplicationPrivate::notify_helper (this=0x1d8d170, receiver=0x1ec8c50, e=0x25b9e90) at kernel/qapplication.cpp:4389 #24 0x00007ff079b4a7cd in QApplication::notify (this=0x7fff3089d110, receiver=0x1ec8c50, e=0x25b9e90) at kernel/qapplication.cpp:4270 #25 0x00007ff07ab31eb6 in KApplication::notify (this=0x7fff3089d110, receiver=0x1ec8c50, event=0x25b9e90) at ../../kdeui/kernel/kapplication.cpp:310 #26 0x00007ff07ba2aa8c in QCoreApplication::notifyInternal (this=0x7fff3089d110, receiver=0x1ec8c50, event=0x25b9e90) at kernel/qcoreapplication.cpp:732 #27 0x00007ff07ba2d9b2 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1d75e70) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1d75e70) at kernel/qcoreapplication.cpp:1373 #29 0x00007ff07ba57043 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #30 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276 #31 0x00007ff07881d8c2 in g_main_dispatch (context=0x1d8fd30) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:1960 #32 IA__g_main_context_dispatch (context=0x1d8fd30) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2513 #33 0x00007ff078821748 in g_main_context_iterate (context=0x1d8fd30, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2591 #34 0x00007ff0788218fc in IA__g_main_context_iteration (context=0x1d8fd30, may_block=1) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2654 #35 0x00007ff07ba56b83 in QEventDispatcherGlib::processEvents (this=0x1d75580, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #36 0x00007ff079bf67ee in QGuiEventDispatcherGlib::processEvents (this=0xa17, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #37 0x00007ff07ba297b2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #38 0x00007ff07ba29b9c in QEventLoop::exec (this=0x7fff3089cf40, flags=) at kernel/qeventloop.cpp:201 #39 0x00007ff07ba2dc4b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009 #40 0x0000000000403ab7 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../nepomuk/servicestub/main.cpp:152 Reported using DrKonqi
Created attachment 50954 [details] New crash information added by DrKonqi nepomukservicestub (0.2) on KDE Platform 4.5.00 (KDE 4.5.0) using Qt 4.7.0 - What I was doing when the application crashed: Strigi was indexing and I was doing nothing -- Backtrace (Reduced): #8 0x00007fbc6556e43b in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189 #9 0x00007fbc655784b6 in malloc_printerr (action=3, str=0x7fbc65648f8b "realloc(): invalid pointer", ptr=<value optimized out>) at malloc.c:6283 #10 0x00007fbc6557fb63 in realloc_check (oldmem=0xd2e110, bytes=144, caller=<value optimized out>) at hooks.c:330 #11 0x00007fbc67b4474a in QRegExpMatchState::prepareForMatch (this=0xd27f40, eng=0xd282b0) at tools/qregexp.cpp:1383 #12 0x00007fbc67b53d81 in prepareEngineForMatch (priv=0xd27f10, str=...) at tools/qregexp.cpp:3731
*** Bug 262393 has been marked as a duplicate of this bug. ***
Can you please try to reproduce this in valgrind by running the service with the following command: $ valgrind --log-file=/tmp/valgrind-strigi.log nepomukservicestub \ nepomukstrigiservice Hopefully the log file will give me an indication to where memory gets corrupted.
Created attachment 55682 [details] valgrind logfile I did not take long until the next crash after starting nepomuk with valgrind. Please find the valgrind log attached.
Could you please install the kdebase debugging symbols? And then run valgrind again. I want to know what part of the Strigi service caused Soprano to crash.
*** Bug 288747 has been marked as a duplicate of this bug. ***
I am fairly certain that this is caused by a threading issue which has been fixed already. If 4.7.4 is still exposing the same problem please reopen.