Bug 270108

Summary: nepomukservicestub crashes when some files change (or are being manipulated) (not XIOError) [libc_free, QFSFileEngineIterator::advance, QFSFileEngineIterator::next, ..., Nepomuk::IndexScheduler::analyzeDir, Nepomuk::IndexScheduler::run]
Product: [Unmaintained] nepomuk Reporter: maninred
Component: generalAssignee: Sebastian Trueg <sebastian>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, me, ojrajala
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description maninred 2011-04-04 23:38:46 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.6.2 (4.6.2) "release 391"
Qt Version: 4.7.3
Operating System: Linux 2.6.37.1-1.2-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

I was just under the shower, so I can only tell that nepomok has all the day a little aktivity(I didn´t active use it today). That´s all.

-- Backtrace:
Application: Nepomuk Service Stub (nepomukservicestub), signal: Aborted
__lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
97	2:	movl	%edx, %eax
[Current thread is 1 (Thread 0x7f6098c99760 (LWP 4070))]

Thread 3 (Thread 0x7f6088543700 (LWP 4079)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f609869c84b in wait (time=18446744073709551615, this=0x7b5480) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x7b63d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f6088b791f9 in Nepomuk::IndexFeeder::run (this=0x7b63b0) at /usr/src/debug/kdebase-runtime-4.6.2/nepomuk/services/strigi/nepomukindexfeeder.cpp:188
#4  0x00007f609869c165 in QThreadPrivate::start (arg=0x7b63b0) at thread/qthread_unix.cpp:331
#5  0x00007f609840ba3f in start_thread (arg=0x7f6088543700) at pthread_create.c:297
#6  0x00007f60961c467d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f6082da8700 (LWP 4086)):
[KCrash Handler]
#6  0x00007f6096123ab5 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f6096124fb6 in abort () at abort.c:92
#8  0x00007f609615edd3 in __libc_message (do_abort=2, fmt=0x7f609621f9b0 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:186
#9  0x00007f60961643b6 in malloc_printerr (action=3, str=0x7f609621fd30 "malloc(): memory corruption (fast)", ptr=<optimized out>) at malloc.c:6261
#10 0x00007f6096166b32 in _int_malloc (av=0x7f6096459e80, bytes=41) at malloc.c:4303
#11 0x00007f6096168d99 in __libc_malloc (bytes=41) at malloc.c:3655
#12 0x00007f609869df7b in QByteArray::QByteArray (this=0x7f6082da7920, str=<optimized out>) at tools/qbytearray.cpp:1278
#13 0x00007f609876147d in QFSFileEngineIterator::advance (this=0xa94700) at io/qfsfileengine_iterator_unix.cpp:73
#14 0x00007f60987596b0 in QFSFileEngineIterator::next (this=0xa94700) at io/qfsfileengine_iterator.cpp:65
#15 0x00007f6098717c37 in QDirIteratorPrivate::advance (this=0x9764d0) at io/qdiriterator.cpp:217
#16 0x00007f6098717dcd in QDirIterator::next (this=0x7f6082da7bb0) at io/qdiriterator.cpp:457
#17 0x00007f6088b6f855 in Nepomuk::IndexScheduler::analyzeDir (this=0x758d90, dir_=<optimized out>, flags=...) at /usr/src/debug/kdebase-runtime-4.6.2/nepomuk/services/strigi/indexscheduler.cpp:391
#18 0x00007f6088b701ea in Nepomuk::IndexScheduler::run (this=0x758d90) at /usr/src/debug/kdebase-runtime-4.6.2/nepomuk/services/strigi/indexscheduler.cpp:338
#19 0x00007f609869c165 in QThreadPrivate::start (arg=0x758d90) at thread/qthread_unix.cpp:331
#20 0x00007f609840ba3f in start_thread (arg=0x7f6082da8700) at pthread_create.c:297
#21 0x00007f60961c467d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#22 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6098c99760 (LWP 4070)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f609616af2e in _L_lock_9927 () from /lib64/libc.so.6
#2  0x00007f60961692d1 in __libc_free (mem=0x7f6096459e80) at malloc.c:3731
#3  0x00007f60986b8278 in QHashData::free_helper (this=0x8b5c30, node_delete=0x7f60887512d0 <QHash<int, unsigned long>::deleteNode2(QHashData::Node*)>) at tools/qhash.cpp:272
#4  0x00007f608874e748 in freeData (x=<optimized out>, this=0x6f5a70) at /usr/include/QtCore/qhash.h:568
#5  ~QHash (this=0x6f5a70, __in_chrg=<optimized out>) at /usr/include/QtCore/qhash.h:284
#6  XSyncBasedPoller::~XSyncBasedPoller (this=0x6f5a30, __in_chrg=<optimized out>) at /usr/src/debug/kdelibs-4.6.2/kutils/kidletime/xsyncbasedpoller.cpp:100
#7  0x00007f608874e789 in XSyncBasedPoller::~XSyncBasedPoller (this=0x6f5a30, __in_chrg=<optimized out>) at /usr/src/debug/kdelibs-4.6.2/kutils/kidletime/xsyncbasedpoller.cpp:102
#8  0x00007f608874e4bd in ~XSyncBasedPollerHelper (this=0x89d400, __in_chrg=<optimized out>) at /usr/src/debug/kdelibs-4.6.2/kutils/kidletime/xsyncbasedpoller.cpp:33
#9  destroy () at /usr/src/debug/kdelibs-4.6.2/kutils/kidletime/xsyncbasedpoller.cpp:38
#10 0x00007f60961265a1 in __run_exit_handlers (status=1, listp=0x7f60964584a8, run_list_atexit=true) at exit.c:78
#11 0x00007f60961265f5 in exit (status=-1773822336) at exit.c:100
#12 0x00007f609699d638 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:772
#13 0x00007f609782de28 in KApplication::xioErrhandler (this=0x7fff178ed9d0, dpy=0x652520) at /usr/src/debug/kdelibs-4.6.2/kdeui/kernel/kapplication.cpp:419
#14 0x00007f6093c5178e in _XIOError (dpy=0x652520) at XlibInt.c:1602
#15 0x00007f6093c4f03d in _XEventsQueued (dpy=0x652520, mode=<optimized out>) at xcb_io.c:307
#16 0x00007f6093c3f8df in XEventsQueued (dpy=0x652520, mode=2) at Pending.c:43
#17 0x00007f60969d638c in x11EventSourceCheck (s=0x62e790) at kernel/qguieventdispatcher_glib.cpp:85
#18 0x00007f609561a84c in g_main_context_check (context=0x62d8e0, max_priority=2147483647, fds=<optimized out>, n_fds=<optimized out>) at gmain.c:2961
#19 0x00007f609561b132 in g_main_context_iterate (context=0x62d8e0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3088
#20 0x00007f609561b650 in g_main_context_iteration (context=0x62d8e0, may_block=1) at gmain.c:3154
#21 0x00007f60987b033f in QEventDispatcherGlib::processEvents (this=0x60ec20, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#22 0x00007f60969d64ee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#23 0x00007f60987849a2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#24 0x00007f6098784bb5 in QEventLoop::exec (this=0x7fff178ed7a0, flags=...) at kernel/qeventloop.cpp:201
#25 0x00007f6098788ffb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#26 0x0000000000403ea2 in main (argc=2, argv=0x7fff178ede28) at /usr/src/debug/kdebase-runtime-4.6.2/nepomuk/servicestub/main.cpp:165

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

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

Reported using DrKonqi
Comment 1 ojrajala 2011-07-02 13:40:36 UTC
Created attachment 61552 [details]
New crash information added by DrKonqi

nepomukservicestub (0.2) on KDE Platform 4.6.4 (4.6.4) "release 8" using Qt 4.7.3

- What I was doing when the application crashed:

Browsing the web on Firefox, transferring files to cellphone via bluetooth, running soundKonverter so processor use was very high

-- Backtrace (Reduced):
#10 0x00007f6d19575478 in QFSFileEngineIterator::advance (this=0xa168c0) at io/qfsfileengine_iterator_unix.cpp:86
#11 0x00007f6d1956d5e0 in QFSFileEngineIterator::next (this=0xa168c0) at io/qfsfileengine_iterator.cpp:65
#12 0x00007f6d1952bb67 in QDirIteratorPrivate::advance (this=0x9ebd20) at io/qdiriterator.cpp:217
#13 0x00007f6d1952bcfd in QDirIterator::next (this=<value optimized out>) at io/qdiriterator.cpp:457
#14 0x00007f6d096cc8c5 in Nepomuk::IndexScheduler::analyzeDir (this=0x84e660, dir_=<value optimized out>, flags=...) at /usr/src/debug/kdebase-runtime-4.6.4/nepomuk/services/strigi/indexscheduler.cpp:391
Comment 2 Dario Andres 2011-08-07 13:49:15 UTC
[Comment from a bug triager]
This issue is being tracked at bug 276125, merging.
Thanks

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