Bug 275169 - nepomukservicestub crashes when some files change (or are being manipulated) (not XIOError) [libc_free, QFSFileEngineIterator::advance, QFSFileEngineIterator::next, ..., Nepomuk::IndexScheduler::analyzeDir, Nepomuk::IndexScheduler::run]
Summary: nepomukservicestub crashes when some files change (or are being manipulated) ...
Status: RESOLVED DUPLICATE of bug 282124
Alias: None
Product: nepomuk
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
: 275504 277874 277891 278280 278281 279368 284103 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-06-08 01:18 UTC by marsu1
Modified: 2011-10-15 19:06 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (9.27 KB, text/plain)
2011-08-13 07:37 UTC, thierry
Details

Note You need to log in before you can comment on or make changes to this bug.
Description marsu1 2011-06-08 01:18:23 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-28-generic x86_64
Distribution: Ubuntu 10.10

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

I was opening a torrent file with Ktorrent when nepomuk suddenly crashed. Ktorrent wasn't affected.

-- Backtrace:
Application: Nepomuk-Dienst (nepomukservicestub), signal: Aborted
__lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
[Current thread is 1 (Thread 0x7f38abadc760 (LWP 1968))]

Thread 3 (Thread 0x7f389ad27700 (LWP 1981)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f38ab4cce3b in wait (this=<value optimized out>, mutex=0x1b55820, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1b55820, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f389b366272 in Nepomuk::IndexFeeder::run (this=0x1b55800) at ../../../../nepomuk/services/strigi/nepomukindexfeeder.cpp:188
#4  0x00007f38ab4cc27e in QThreadPrivate::start (arg=0x1b55800) at thread/qthread_unix.cpp:266
#5  0x00007f38a8dfb971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f38a90f792d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f3895980700 (LWP 1988)):
[KCrash Handler]
#6  0x00007f38a9044ba5 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f38a90486b0 in abort () at abort.c:92
#8  0x00007f38a907e43b in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007f38a90884b6 in malloc_printerr (action=3, str=0x7f38a9158e60 "invalid fastbin entry (free)", ptr=<value optimized out>) at malloc.c:6283
#10 0x00007f38a908ec83 in __libc_free (mem=<value optimized out>) at malloc.c:3738
#11 0x00007f38ab599087 in ~QByteArray (this=0x7f38880a2a20) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:383
#12 QFSFileEngineIterator::advance (this=0x7f38880a2a20) at io/qfsfileengine_iterator_unix.cpp:73
#13 0x00007f38ab590ac0 in QFSFileEngineIterator::next (this=0x7f38880a2a20) at io/qfsfileengine_iterator.cpp:65
#14 0x00007f38ab54b58e in QDirIteratorPrivate::advance (this=0x7f3888071260) at io/qdiriterator.cpp:217
#15 0x00007f38ab54b76d in QDirIterator::next (this=0x7c4) at io/qdiriterator.cpp:463
#16 0x00007f389b35b76d in Nepomuk::IndexScheduler::analyzeDir (this=0x1afa300, dir_=<value optimized out>, flags=<value optimized out>) at ../../../../nepomuk/services/strigi/indexscheduler.cpp:391
#17 0x00007f389b35c5a8 in Nepomuk::IndexScheduler::run (this=0x1afa300) at ../../../../nepomuk/services/strigi/indexscheduler.cpp:338
#18 0x00007f38ab4cc27e in QThreadPrivate::start (arg=0x1afa300) at thread/qthread_unix.cpp:266
#19 0x00007f38a8dfb971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#20 0x00007f38a90f792d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#21 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f38abadc760 (LWP 1968)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f38a90901dc in _L_lock_12347 () from /lib/libc.so.6
#2  0x00007f38a908ec78 in __libc_free (mem=0x7f38a938fe40) at malloc.c:3736
#3  0x00007f38ab1ff81e in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>) at qdbusintegrator.cpp:932
#4  0x00007f38ab2003cb in QDBusConnectionPrivate::activateCall (this=<value optimized out>, object=0x1c79a40, flags=337, msg=...) at qdbusintegrator.cpp:829
#5  0x00007f38ab200e65 in QDBusConnectionPrivate::activateObject (this=<value optimized out>, node=<value optimized out>, msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1379
#6  0x00007f38ab201108 in QDBusActivateObjectEvent::placeMetaCall (this=0x7f3888092cc0) at qdbusintegrator.cpp:1493
#7  0x00007f38ab5d1bde in QObject::event (this=0x1ac2cc0, e=0x7f38a938fe40) at kernel/qobject.cpp:1219
#8  0x00007f38a9851fdc in QApplicationPrivate::notify_helper (this=0x19b1890, receiver=0x1ac2cc0, e=0x7f3888092cc0) at kernel/qapplication.cpp:4396
#9  0x00007f38a9857aed in QApplication::notify (this=0x7fffa05d8ce0, receiver=0x1ac2cc0, e=0x7f3888092cc0) at kernel/qapplication.cpp:4277
#10 0x00007f38aa8af2f6 in KApplication::notify (this=0x7fffa05d8ce0, receiver=0x1ac2cc0, event=0x7f3888092cc0) at ../../kdeui/kernel/kapplication.cpp:311
#11 0x00007f38ab5bfcdc in QCoreApplication::notifyInternal (this=0x7fffa05d8ce0, receiver=0x1ac2cc0, event=0x7f3888092cc0) at kernel/qcoreapplication.cpp:732
#12 0x00007f38ab5c2c22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x198c8a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#13 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x198c8a0) at kernel/qcoreapplication.cpp:1373
#14 0x00007f38ab5ec653 in sendPostedEvents (s=0x19aa4e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#15 postEventSourceDispatch (s=0x19aa4e0) at kernel/qeventdispatcher_glib.cpp:277
#16 0x00007f38a8329342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#17 0x00007f38a832d2a8 in ?? () from /lib/libglib-2.0.so.0
#18 0x00007f38a832d45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#19 0x00007f38ab5ec193 in QEventDispatcherGlib::processEvents (this=0x198bf90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#20 0x00007f38a9904a4e in QGuiEventDispatcherGlib::processEvents (this=0x7f38a938fe40, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#21 0x00007f38ab5bea02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#22 0x00007f38ab5bedec in QEventLoop::exec (this=0x7fffa05d8b10, flags=) at kernel/qeventloop.cpp:201
#23 0x00007f38ab5c2ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#24 0x0000000000403b5d in main (argc=<value optimized out>, 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 274763, bug 274075, bug 274057, bug 273673, bug 273521.

Reported using DrKonqi
Comment 1 Dario Andres 2011-08-07 13:42:53 UTC
[Comment from a bug triager]
From bug 277891 (KDE SC 4.6.5):
-- Information about the crash:
I did adjust date about 1000 pictures in shotwell and asked it to also change
oryginal files. During process napomuk crashed. Shotwell did complete process
sucesfully.

From bug 276373 (KDE SC 4.6.4):
Downloading website based on wget command described by the link:
http://www.linuxjournal.com/content/downloading-entire-web-site-wget

From bug 278281 (KDE SC 4.6.5):
- What I was doing when the application crashed:
I copied lots of files over ssh with recursive scp-command. Nepomuk has crashed
several times during the copy.

From bug 278280 (KDE SC 4.6.5):
-- Information about the crash:
Transfering a lot of files to the computer via rsync over ssh.

From bug 279368 (KDE SC 4.7.0):
- What I was doing when the application crashed:
I was updating the geolocation of photos on digikam. Digikam was writing the
information to the files when the crash happened.

From bug 275504 (KDE SC 4.6.4):
- What I was doing when the application crashed:
Nepomuk has crashed twice in the past two days. The first time, I was watching
a video on VLC, and the second time, I was talking on Skype. The first time,
every time I tried to restart Nepomuk, it would crash again.
- Custom settings of the application:
Last time kpackagekit was updating this computer to KDESC 4.6.4, it stalled. I
restarted the computer before all of the packages finished installing.
Afterwards, I couldn't see my updates again, so I haven't bothered trying to
get them back. I don't know if this could be affecting my situation or not.
Comment 2 Dario Andres 2011-08-07 13:42:57 UTC
*** Bug 277891 has been marked as a duplicate of this bug. ***
Comment 3 Dario Andres 2011-08-07 13:43:03 UTC
*** Bug 278281 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2011-08-07 13:43:05 UTC
*** Bug 278280 has been marked as a duplicate of this bug. ***
Comment 5 Dario Andres 2011-08-07 13:43:07 UTC
*** Bug 279368 has been marked as a duplicate of this bug. ***
Comment 6 Dario Andres 2011-08-07 13:44:22 UTC
*** Bug 275504 has been marked as a duplicate of this bug. ***
Comment 7 Dario Andres 2011-08-07 13:44:52 UTC
My bad, bug 276373 seems to have a different trace
Comment 8 Dario Andres 2011-08-07 13:49:55 UTC
Bug 276125 has another cases with a similar backtrace, and mostly the same situation, but including a XIOError
Comment 9 Dario Andres 2011-08-07 20:06:47 UTC
[Comment from a bug triager]
From bug 277874 (KDE SC 4.6.5):
- What I was doing when the application crashed:
Using K3B to rip audio CDs to mp3.  Nempomuk crashes a few minutes into the
rip.  If restarted, it crashes on the next disk.
The crash can be reproduced every time.
Comment 10 Dario Andres 2011-08-07 20:06:51 UTC
*** Bug 277874 has been marked as a duplicate of this bug. ***
Comment 11 thierry 2011-08-13 07:37:16 UTC
Created attachment 62797 [details]
New crash information added by DrKonqi

nepomukservicestub (0.2) on KDE Platform 4.7.00 (4.7.0) using Qt 4.7.2

update teamspeak 3 with "teamspeak update"

-- Backtrace (Reduced):
#9  0x00007ff1b5b2da8f in malloc_printerr (av=<value optimized out>, p=0x7ff1a40b5580) at malloc.c:6283
#10 _int_free (av=<value optimized out>, p=0x7ff1a40b5580) at malloc.c:4795
#11 0x00007ff1b5b318e3 in __libc_free (mem=<value optimized out>) at malloc.c:3738
#12 0x00007ff1b7f0b0fc in QString::free (d=0x7ff1a40b5590) at tools/qstring.cpp:1185
#13 0x00007ff1b782fb5f in ~QString (url=...) at /usr/include/qt4/QtCore/qstring.h:883
Comment 12 Sebastian Trueg 2011-09-20 12:29:40 UTC

*** This bug has been marked as a duplicate of bug 282124 ***
Comment 13 Sebastian Trueg 2011-10-15 19:06:16 UTC
*** Bug 284103 has been marked as a duplicate of this bug. ***