Bug 276606 - crash reported for nepomuk
Summary: crash reported for nepomuk
Status: RESOLVED DUPLICATE of bug 276359
Alias: None
Product: nepomuk
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-27 12:07 UTC by Bruno Friedmann
Modified: 2011-09-20 08:18 UTC (History)
2 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 Bruno Friedmann 2011-06-27 12:07:38 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.6.4 (4.6.4)
Qt Version: 4.7.3
Operating System: Linux 2.6.39-2-desktop x86_64
Distribution: "openSUSE 12.1 Milestone 2 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: Inside one of folder marked as indexable by nepomuk, I was doing some new reports.  like /sbin/lspci -vvv > lspci.log
The crash happen during the rpm -qav > rpm-qav.log command, it take long time to generate the 4235 lines of log. 

I suppose nepomuk file indexer crash cause the content change during indexation.
Should be easy to emulate with a small script. 

I will try to reproduce it.

-- Backtrace:
Application: Nepomuk Service Stub (nepomukservicestub), signal: Aborted
[Current thread is 1 (Thread 0x7f7c49b42760 (LWP 3805))]

Thread 3 (Thread 0x7f7c38fad700 (LWP 3833)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f7c495696bb in wait (time=18446744073709551615, this=0x865930) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x81d3b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f7c395e3a51 in Nepomuk::IndexFeeder::run (this=0x81d390) at /usr/src/debug/kdebase-runtime-4.6.4/nepomuk/services/strigi/nepomukindexfeeder.cpp:188
#4  0x00007f7c49569225 in QThreadPrivate::start (arg=0x81d390) at thread/qthread_unix.cpp:320
#5  0x00007f7c492dacb9 in start_thread (arg=0x7f7c38fad700) at pthread_create.c:301
#6  0x00007f7c4708134d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f7c2bbd0700 (LWP 4582)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f7c495696bb in wait (time=18446744073709551615, this=0x80d4c0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x80a0a8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f7c395da78d in Nepomuk::IndexScheduler::run (this=0x80a070) at /usr/src/debug/kdebase-runtime-4.6.4/nepomuk/services/strigi/indexscheduler.cpp:316
#4  0x00007f7c49569225 in QThreadPrivate::start (arg=0x80a070) at thread/qthread_unix.cpp:320
#5  0x00007f7c492dacb9 in start_thread (arg=0x7f7c2bbd0700) at pthread_create.c:301
#6  0x00007f7c4708134d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f7c49b42760 (LWP 3805)):
[KCrash Handler]
#6  0x00007f7c46fe1cc5 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f7c46fe31db in abort () at abort.c:92
#8  0x00007f7c4701b6f3 in __libc_message (do_abort=2, fmt=0x7f7c470f2e50 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:186
#9  0x00007f7c47021376 in malloc_printerr (action=3, str=0x7f7c470eff81 "realloc(): invalid pointer", ptr=<optimized out>) at malloc.c:6283
#10 0x00007f7c47024495 in realloc_check (oldmem=0x9ad7f0, bytes=216, caller=<optimized out>) at hooks.c:330
#11 0x00007f7c4959558a in QRegExpMatchState::prepareForMatch (this=0x9ab200, eng=0x9acd60) at tools/qregexp.cpp:1379
#12 0x00007f7c495a25e1 in prepareEngineForMatch (priv=0x9ab1d0, str=...) at tools/qregexp.cpp:3727
#13 0x00007f7c495a2824 in QRegExp::exactMatch (this=0x9a2690, str=...) at tools/qregexp.cpp:4068
#14 0x00007f7c393c37bf in RegExpCache::exactMatch (this=<optimized out>, s=...) at /usr/src/debug/kdebase-runtime-4.6.4/nepomuk/common/regexpcache.cpp:40
#15 0x00007f7c395dba1d in Nepomuk::StrigiServiceConfig::shouldFileBeIndexed (this=<optimized out>, fileName=<optimized out>) at /usr/src/debug/kdebase-runtime-4.6.4/nepomuk/services/strigi/strigiserviceconfig.cpp:177
#16 0x00007f7c395dbb94 in shouldFolderBeIndexed (path=..., this=0x876240) at /usr/src/debug/kdebase-runtime-4.6.4/nepomuk/services/strigi/strigiserviceconfig.cpp:166
#17 Nepomuk::StrigiServiceConfig::shouldFolderBeIndexed (this=0x876240, path=...) at /usr/src/debug/kdebase-runtime-4.6.4/nepomuk/services/strigi/strigiserviceconfig.cpp:148
#18 0x00007f7c395d48f0 in Nepomuk::StrigiService::updateFolder (this=0x764270, path=..., recursive=false, forced=false) at /usr/src/debug/kdebase-runtime-4.6.4/nepomuk/services/strigi/strigiservice.cpp:231
#19 0x00007f7c395e6ded in StrigiAdaptor::qt_metacall (this=0x947d00, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0x7fff7d1ee750) at /usr/src/debug/kdebase-runtime-4.6.4/build/nepomuk/services/strigi/strigiadaptor.moc:157
#20 0x00007f7c4907d2fb in QDBusConnectionPrivate::deliverCall (this=0x6d3e60, object=0x947d00, msg=..., metaTypes=..., slotIdx=19) at qdbusintegrator.cpp:941
#21 0x00007f7c4907e4cd in QDBusConnectionPrivate::activateCall (this=0x6d3e60, object=0x947d00, flags=337, msg=...) at qdbusintegrator.cpp:851
#22 0x00007f7c4907eda2 in QDBusConnectionPrivate::activateObject (this=0x6d3e60, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1409
#23 0x00007f7c4907ee78 in QDBusActivateObjectEvent::placeMetaCall (this=0x10433e0) at qdbusintegrator.cpp:1523
#24 0x00007f7c4966661a in QObject::event (this=0x764270, e=<optimized out>) at kernel/qobject.cpp:1217
#25 0x00007f7c47805de4 in notify_helper (e=0x10433e0, receiver=0x764270, this=0x62b0a0) at kernel/qapplication.cpp:4462
#26 QApplicationPrivate::notify_helper (this=0x62b0a0, receiver=0x764270, e=0x10433e0) at kernel/qapplication.cpp:4434
#27 0x00007f7c4780ac71 in QApplication::notify (this=0x7fff7d1ef4f0, receiver=0x764270, e=0x10433e0) at kernel/qapplication.cpp:4341
#28 0x00007f7c4872b266 in KApplication::notify (this=0x7fff7d1ef4f0, receiver=0x764270, event=0x10433e0) at /usr/src/debug/kdelibs-4.6.4/kdeui/kernel/kapplication.cpp:311
#29 0x00007f7c4964fcbc in QCoreApplication::notifyInternal (this=0x7fff7d1ef4f0, receiver=0x764270, event=0x10433e0) at kernel/qcoreapplication.cpp:731
#30 0x00007f7c49653024 in sendEvent (event=0x10433e0, receiver=0x764270) at kernel/qcoreapplication.h:215
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x609660) at kernel/qcoreapplication.cpp:1372
#32 0x00007f7c4967a603 in sendPostedEvents () at kernel/qcoreapplication.h:220
#33 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#34 0x00007f7c464da2ad in g_main_dispatch (context=0x62f0e0) at gmain.c:2441
#35 g_main_context_dispatch (context=0x62f0e0) at gmain.c:3014
#36 0x00007f7c464daa88 in g_main_context_iterate (context=0x62f0e0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3092
#37 0x00007f7c464dad19 in g_main_context_iteration (context=0x62f0e0, may_block=1) at gmain.c:3155
#38 0x00007f7c4967aa5f in QEventDispatcherGlib::processEvents (this=0x60f370, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#39 0x00007f7c478a8b3e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007f7c4964eec2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#41 0x00007f7c4964f0bf in QEventLoop::exec (this=0x7fff7d1ef360, flags=...) at kernel/qeventloop.cpp:201
#42 0x00007f7c496532b7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#43 0x0000000000403bbf in main (argc=2, argv=0x7fff7d1ef988) at /usr/src/debug/kdebase-runtime-4.6.4/nepomuk/servicestub/main.cpp:165

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

Possible duplicates by query: bug 262393, bug 247487.

Reported using DrKonqi
Comment 1 Dario Andres 2011-08-07 20:30:21 UTC
[Comment from a bug report cleaner]
This report could be related to bug 276359 as some of the functions involved in the backtrace are the same.
Comment 2 Sebastian Trueg 2011-09-20 08:18:13 UTC

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