Bug 270844 - Nepomuk chashed while indexing files.
Summary: Nepomuk chashed while indexing files.
Status: RESOLVED DUPLICATE of bug 248244
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:
Depends on:
Blocks:
 
Reported: 2011-04-13 17:26 UTC by António Oliveira
Modified: 2011-09-21 17:45 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 António Oliveira 2011-04-13 17:26:21 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic x86_64
Distribution: Ubuntu Natty (development branch)

-- Information about the crash:
"Nepomuk Service Stub" srached while indexing files.
Nepomuk started indexing files after I generated a lot of files in one of ites monitored directories.

Shortly after it crashed.

This is somewhan random and I can't reproduce it reliably.

Thanks.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Nepomuk Service Stub (nepomukservicestub), signal: Aborted
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
[Current thread is 1 (Thread 0x7f6896582780 (LWP 3171))]

Thread 3 (Thread 0x7f6885839700 (LWP 3187)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6895f8882b in wait (this=<value optimized out>, mutex=0x258e460, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x258e460, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f6885e6e3af in Nepomuk::IndexFeeder::run (this=0x258e440) at ../../../../nepomuk/services/strigi/nepomukindexfeeder.cpp:188
#4  0x00007f6895f88175 in QThreadPrivate::start (arg=0x258e440) at thread/qthread_unix.cpp:320
#5  0x00007f6893954d8c in start_thread (arg=0x7f6885839700) at pthread_create.c:304
#6  0x00007f6893c5204d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f6880a9d700 (LWP 3190)):
[KCrash Handler]
#6  0x00007f6893b9fd05 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f6893ba3ab6 in abort () at abort.c:92
#8  0x00007f6893bd8d7b in __libc_message (do_abort=2, fmt=0x7f6893cc1400 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007f6893be2bb6 in malloc_printerr (action=3, str=0x7f6893cc1980 "malloc(): memory corruption (fast)", ptr=<value optimized out>) at malloc.c:6283
#10 0x00007f6893be5e78 in _int_malloc (av=0x7f6893efb1c0, bytes=<value optimized out>) at malloc.c:4308
#11 0x00007f6893be831e in __libc_malloc (bytes=40) at malloc.c:3660
#12 0x00007f6893fb9e0d in operator new(unsigned long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#13 0x00007f68958e069a in QDebug (this=<value optimized out>, type=<value optimized out>, area=2, debugFile=0x7f6885e72dfe "pomuk/services/strigi/indexscheduler.cpp", line=403, funcinfo=0x7f6885e733c0 "bool Nepomuk::IndexScheduler::analyzeDir(const QString&, Nepomuk::IndexScheduler::UpdateDirFlags)") at /usr/include/qt4/QtCore/qdebug.h:76
#14 setupQtWriter (this=<value optimized out>, type=<value optimized out>, area=2, debugFile=0x7f6885e72dfe "pomuk/services/strigi/indexscheduler.cpp", line=403, funcinfo=0x7f6885e733c0 "bool Nepomuk::IndexScheduler::analyzeDir(const QString&, Nepomuk::IndexScheduler::UpdateDirFlags)") at ../../kdecore/io/kdebug.cpp:514
#15 KDebugPrivate::stream (this=<value optimized out>, type=<value optimized out>, area=2, debugFile=0x7f6885e72dfe "pomuk/services/strigi/indexscheduler.cpp", line=403, funcinfo=0x7f6885e733c0 "bool Nepomuk::IndexScheduler::analyzeDir(const QString&, Nepomuk::IndexScheduler::UpdateDirFlags)") at ../../kdecore/io/kdebug.cpp:659
#16 0x00007f68958dbfa1 in kDebugStream (level=QtDebugMsg, area=300106, file=0x7f6885e72dfe "pomuk/services/strigi/indexscheduler.cpp", line=403, funcinfo=0x7f6885e733c0 "bool Nepomuk::IndexScheduler::analyzeDir(const QString&, Nepomuk::IndexScheduler::UpdateDirFlags)") at ../../kdecore/io/kdebug.cpp:775
#17 0x00007f6885e60d9a in KDebug::operator() (this=<value optimized out>, area=<value optimized out>) at /usr/include/KDE/../kdebug.h:260
#18 0x00007f6885e651a9 in Nepomuk::IndexScheduler::analyzeDir (this=0x25786f0, dir_=<value optimized out>, flags=...) at ../../../../nepomuk/services/strigi/indexscheduler.cpp:403
#19 0x00007f6885e6567c in Nepomuk::IndexScheduler::run (this=0x25786f0) at ../../../../nepomuk/services/strigi/indexscheduler.cpp:338
#20 0x00007f6895f88175 in QThreadPrivate::start (arg=0x25786f0) at thread/qthread_unix.cpp:320
#21 0x00007f6893954d8c in start_thread (arg=0x7f6880a9d700) at pthread_create.c:304
#22 0x00007f6893c5204d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#23 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6896582780 (LWP 3171)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6895f872b3 in QMutexPrivate::wait (this=0x2498150, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f6895f83d05 in QMutex::lock (this=0x2496ce0) at thread/qmutex.cpp:204
#3  0x00007f68958da306 in QMutexLocker (type=QtDebugMsg, condition=<value optimized out>, area=300106, enableByDefault=false) at /usr/include/qt4/QtCore/qmutex.h:102
#4  KDebug::hasNullOutput (type=QtDebugMsg, condition=<value optimized out>, area=300106, enableByDefault=false) at ../../kdecore/io/kdebug.cpp:830
#5  0x00007f6885e5fad2 in hasNullOutputQtDebugMsg (this=0x2557340, path=..., forced=false) at /usr/include/KDE/../kdebug.h:272
#6  Nepomuk::StrigiService::updateFolder (this=0x2557340, path=..., forced=false) at ../../../../nepomuk/services/strigi/strigiservice.cpp:222
#7  0x00007f6885e71885 in StrigiAdaptor::qt_metacall (this=0x26e62e0, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0x7fff80548cc0) at strigiadaptor.moc:155
#8  0x00007f6895cbd9fa in QDBusConnectionPrivate::deliverCall (this=0x2451a70, object=0x26e62e0, msg=..., metaTypes=..., slotIdx=19) at qdbusintegrator.cpp:942
#9  0x00007f6895cbebb5 in QDBusConnectionPrivate::activateCall (this=0x2451a70, object=0x26e62e0, flags=337, msg=...) at qdbusintegrator.cpp:852
#10 0x00007f6895cbf33a in QDBusConnectionPrivate::activateObject (this=0x2451a70, node=..., msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1410
#11 0x00007f6895cbf578 in QDBusActivateObjectEvent::placeMetaCall (this=0x7f687c0cc170) at qdbusintegrator.cpp:1524
#12 0x00007f689608349a in QObject::event (this=0x2557340, e=<value optimized out>) at kernel/qobject.cpp:1226
#13 0x00007f68943bf9e4 in QApplicationPrivate::notify_helper (this=0x23d9000, receiver=0x2557340, e=0x7f687c0cc170) at kernel/qapplication.cpp:4462
#14 0x00007f68943c43aa in QApplication::notify (this=<value optimized out>, receiver=0x2557340, e=0x7f687c0cc170) at kernel/qapplication.cpp:4341
#15 0x00007f68953ad866 in KApplication::notify (this=0x7fff80549ac0, receiver=0x2557340, event=0x7f687c0cc170) at ../../kdeui/kernel/kapplication.cpp:311
#16 0x00007f689606f49c in QCoreApplication::notifyInternal (this=0x7fff80549ac0, receiver=0x2557340, event=0x7f687c0cc170) at kernel/qcoreapplication.cpp:731
#17 0x00007f6896072c25 in sendEvent (receiver=0x0, event_type=0, data=0x23958a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#18 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x23958a0) at kernel/qcoreapplication.cpp:1372
#19 0x00007f689609a253 in sendPostedEvents (s=0x23deec0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#20 postEventSourceDispatch (s=0x23deec0) at kernel/qeventdispatcher_glib.cpp:277
#21 0x00007f6892e78bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f6892e793a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f6892e79639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f689609a3ef in QEventDispatcherGlib::processEvents (this=0x23954a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#25 0x00007f6894466dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#26 0x00007f689606e882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#27 0x00007f689606eabc in QEventLoop::exec (this=0x7fff805498d0, flags=...) at kernel/qeventloop.cpp:201
#28 0x00007f6896072ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#29 0x0000000000403c3f in main (argc=2, argv=<value optimized out>) at ../../../nepomuk/servicestub/main.cpp:165

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

Possible duplicates by query: bug 270108, bug 268090, bug 266974, bug 265618, bug 265308.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-04-19 20:12:37 UTC
Crash in malloc => memory corruption. If this is reproducible, please add a valgrind trace. For more information, see http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_with_Valgrind
Comment 2 Sebastian Trueg 2011-09-21 17:45:37 UTC

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