Bug 277419 - Nepomuk crashes while modifying a large PDF file (or another situation related to files changing) [free, ~QString, QFSFileEngine::fileFlags, QFileInfoPrivate::getFileFlags, ..., Nepomuk::IndexScheduler::analyzeDir]
Summary: Nepomuk crashes while modifying a large PDF file (or another situation relate...
Status: RESOLVED DUPLICATE of bug 282124
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:
: 279016 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-07-09 13:35 UTC by Ulrich Lichtenegger
Modified: 2011-09-19 19:34 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (9.40 KB, text/plain)
2011-08-17 15:07 UTC, Ulrich Lichtenegger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Lichtenegger 2011-07-09 13:35:29 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-10-generic x86_64
Distribution: Ubuntu 11.04

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

I run Adobe Acrobat Professional in a Virtualbox on a PDF file that is stored at my harddrive (not in the virtualbox image). I ran Acrobat for OCR. I think, the original file is modified often by this process.

The crash can be reproduced every time.

-- 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 0x7f58bfa84780 (LWP 15027))]

Thread 3 (Thread 0x7f58aebc8700 (LWP 15029)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f58bf48482b in wait (this=<value optimized out>, mutex=0x1fd1650, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1fd1650, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f58af1fd41f in Nepomuk::IndexFeeder::run (this=0x1fd1630) at ../../../../nepomuk/services/strigi/nepomukindexfeeder.cpp:188
#4  0x00007f58bf484175 in QThreadPrivate::start (arg=0x1fd1630) at thread/qthread_unix.cpp:320
#5  0x00007f58bce4fd8c in start_thread (arg=0x7f58aebc8700) at pthread_create.c:304
#6  0x00007f58bd14d04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f58a9e06700 (LWP 15030)):
[KCrash Handler]
#6  0x00007f58bd09ad05 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f58bd09eab6 in abort () at abort.c:92
#8  0x00007f58bd0d3d7b in __libc_message (do_abort=2, fmt=0x7f58bd1bc400 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007f58bd0dfa8f in malloc_printerr (av=<value optimized out>, p=0x27be370) at malloc.c:6283
#10 _int_free (av=<value optimized out>, p=0x27be370) at malloc.c:4795
#11 0x00007f58bd0e38e3 in __libc_free (mem=<value optimized out>) at malloc.c:3738
#12 0x00007f58bf4c90fc in QString::free (d=0x27be380) at tools/qstring.cpp:1185
#13 0x00007f58bf546162 in ~QString (this=0x27d0910, type=...) at ../../include/QtCore/../../src/corelib/tools/qstring.h:883
#14 QFSFileEngine::fileFlags (this=0x27d0910, type=...) at io/qfsfileengine_unix.cpp:879
#15 0x00007f58bf504315 in QFileInfoPrivate::getFileFlags (this=0x27bb660, request=...) at io/qfileinfo.cpp:126
#16 0x00007f58bf5055ee in QFileInfo::isHidden (this=<value optimized out>) at io/qfileinfo.cpp:861
#17 0x00007f58bf4feab3 in QDirIteratorPrivate::matchesFilters (this=0x27d4420, fileName=..., fi=...) at io/qdiriterator.cpp:318
#18 0x00007f58bf4ff350 in QDirIteratorPrivate::advance (this=0x27d4420) at io/qdiriterator.cpp:222
#19 0x00007f58bf4ff48d in QDirIterator::next (this=0x7f58a9e05bc0) at io/qdiriterator.cpp:457
#20 0x00007f58af1f3daa in Nepomuk::IndexScheduler::analyzeDir (this=0x1f61b50, dir_=<value optimized out>, flags=...) at ../../../../nepomuk/services/strigi/indexscheduler.cpp:391
#21 0x00007f58af1f46ec in Nepomuk::IndexScheduler::run (this=0x1f61b50) at ../../../../nepomuk/services/strigi/indexscheduler.cpp:338
#22 0x00007f58bf484175 in QThreadPrivate::start (arg=0x1f61b50) at thread/qthread_unix.cpp:320
#23 0x00007f58bce4fd8c in start_thread (arg=0x7f58a9e06700) at pthread_create.c:304
#24 0x00007f58bd14d04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#25 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f58bfa84780 (LWP 15027)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f58bd0e580f in _L_lock_12013 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f58bd0e38d8 in __libc_free (mem=0x7f58bd3f61c0) at malloc.c:3736
#3  0x00007f58bf1b9c1f in QDBusConnectionPrivate::deliverCall (this=0x1ed7340, object=0x20d36a0, msg=..., metaTypes=..., slotIdx=19) at qdbusintegrator.cpp:955
#4  0x00007f58bf1babb5 in QDBusConnectionPrivate::activateCall (this=0x1ed7340, object=0x20d36a0, flags=337, msg=...) at qdbusintegrator.cpp:852
#5  0x00007f58bf1bb33a in QDBusConnectionPrivate::activateObject (this=0x1ed7340, node=..., msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1410
#6  0x00007f58bf1bb578 in QDBusActivateObjectEvent::placeMetaCall (this=0x7f589c084550) at qdbusintegrator.cpp:1524
#7  0x00007f58bf57f49a in QObject::event (this=0x1eb3890, e=<value optimized out>) at kernel/qobject.cpp:1226
#8  0x00007f58bd8ba9e4 in QApplicationPrivate::notify_helper (this=0x1dfccc0, receiver=0x1eb3890, e=0x7f589c084550) at kernel/qapplication.cpp:4462
#9  0x00007f58bd8bf3aa in QApplication::notify (this=<value optimized out>, receiver=0x1eb3890, e=0x7f589c084550) at kernel/qapplication.cpp:4341
#10 0x00007f58be8a96c6 in KApplication::notify (this=0x7fff297efd50, receiver=0x1eb3890, event=0x7f589c084550) at ../../kdeui/kernel/kapplication.cpp:311
#11 0x00007f58bf56b49c in QCoreApplication::notifyInternal (this=0x7fff297efd50, receiver=0x1eb3890, event=0x7f589c084550) at kernel/qcoreapplication.cpp:731
#12 0x00007f58bf56ec25 in sendEvent (receiver=0x0, event_type=0, data=0x1db88a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#13 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1db88a0) at kernel/qcoreapplication.cpp:1372
#14 0x00007f58bf596253 in sendPostedEvents (s=0x1e00960) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#15 postEventSourceDispatch (s=0x1e00960) at kernel/qeventdispatcher_glib.cpp:277
#16 0x00007f58bc373bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f58bc3743a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f58bc374639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f58bf5963ef in QEventDispatcherGlib::processEvents (this=0x1db84a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#20 0x00007f58bd961dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#21 0x00007f58bf56a882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#22 0x00007f58bf56aabc in QEventLoop::exec (this=0x7fff297efb60, flags=...) at kernel/qeventloop.cpp:201
#23 0x00007f58bf56eecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#24 0x0000000000403d0f in main (argc=2, argv=<value optimized out>) at ../../../nepomuk/servicestub/main.cpp:167

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

Possible duplicates by query: bug 277371, bug 277138, bug 276373, bug 276344, bug 276125.

Reported using DrKonqi
Comment 1 Dario Andres 2011-08-07 14:23:22 UTC
[Comment from a bug triager]
From bug 279016 (KDE SC 4.6.5):
-- Information about the crash:
Neopmuk crashes while scanning media. This continues to happen after applying KDE 4.6.5 updates.

Bug 276903 has a similar backtrace.
Additionaly, the crashes at bug 275169 could be related. (similar backtrace and situation)
Comment 2 Dario Andres 2011-08-07 14:23:28 UTC
*** Bug 279016 has been marked as a duplicate of this bug. ***
Comment 3 Ulrich Lichtenegger 2011-08-17 15:07:15 UTC
Created attachment 62903 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

i was downloading a large encrypted file via chromium

-- Backtrace (Reduced):
#9  0x00007fc134f4cbb6 in malloc_printerr (action=3, str=0x7fc13502b980 "malloc(): memory corruption (fast)", ptr=<value optimized out>) at malloc.c:6283
#10 0x00007fc134f4fe78 in _int_malloc (av=0x7fc120000020, bytes=<value optimized out>) at malloc.c:4308
#11 0x00007fc134f5231e in __libc_malloc (bytes=96) at malloc.c:3660
#12 0x00007fc137329415 in QString::QString (this=0x7fff954082c0, size=32) at tools/qstring.cpp:1099
#13 0x00007fc137402078 in QUtf8::convertToUnicode (chars=<value optimized out>, len=31, state=0x0) at codecs/qutfcodec.cpp:183
Comment 4 Sebastian Trueg 2011-09-19 19:34:16 UTC

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