Bug 289071 - [Strigi] PDF analyzer calling ffmpeg analyzer and crashing
Summary: [Strigi] PDF analyzer calling ffmpeg analyzer and crashing
Status: RESOLVED FIXED
Alias: None
Product: nepomuk
Classification: Miscellaneous
Component: strigi (show other bugs)
Version: unspecified
Platform: Debian unstable Linux
: NOR crash
Target Milestone: ---
Assignee: Nepomuk Bugs Coordination
URL:
Keywords:
: 289649 292971 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-12-15 20:42 UTC by Dieter Zander
Modified: 2013-06-02 20:14 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.10


Attachments
New crash information added by DrKonqi (7.26 KB, text/plain)
2011-12-15 20:44 UTC, Dieter Zander
Details
New crash information added by DrKonqi (7.25 KB, text/plain)
2011-12-16 17:18 UTC, Dieter Zander
Details
New crash information added by DrKonqi (8.08 KB, text/plain)
2011-12-18 13:50 UTC, Dieter Zander
Details
New crash information added by DrKonqi (7.26 KB, text/plain)
2011-12-27 13:58 UTC, Dieter Zander
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dieter Zander 2011-12-15 20:42:02 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.3
Operating System: Linux 3.1-5.slh.2-aptosid-686 i686
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
- What I was doing when the application crashed: Just starting KDE... after a while, nepomuk is crashing...

The crash can be reproduced every time.

-- Backtrace:
Application: Nepomuk-Dienst (nepomukservicestub), signal: Aborted
[Current thread is 1 (Thread 0xb55f2aa0 (LWP 6755))]

Thread 4 (Thread 0xb2772b70 (LWP 6757)):
#0  0xb77fe424 in __kernel_vsyscall ()
#1  0xb5f9820a in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
#2  0xb6080a1d in pthread_cond_wait () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
#3  0xb75a5a10 in wait (time=4294967295, this=0x876a480) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x876b2f4, mutex=0x876b2f0, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0xb27bffdd in Nepomuk::IndexFeeder::run (this=0x876b2e0) at ../../../../nepomuk/services/strigi/nepomukindexfeeder.cpp:188
#6  0xb75a5503 in QThreadPrivate::start (arg=0x876b2e0) at thread/qthread_unix.cpp:320
#7  0xb5f93c39 in start_thread () from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
#8  0xb607392e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xb010eb70 (LWP 6758)):
#0  0xb77fe424 in __kernel_vsyscall ()
#1  0xb6065f46 in poll () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
#2  0xb5ec0afb in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb5eb2076 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb5eb240a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb76ce4d7 in QEventDispatcherGlib::processEvents (this=0x87dc1e0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0xb769f24d in QEventLoop::processEvents (this=0xb010e2b0, flags=...) at kernel/qeventloop.cpp:149
#7  0xb769f491 in QEventLoop::exec (this=0xb010e2b0, flags=...) at kernel/qeventloop.cpp:201
#8  0xb75a269b in QThread::exec (this=0x87d9098) at thread/qthread.cpp:492
#9  0xb767fd8d in QInotifyFileSystemWatcherEngine::run (this=0x87d9098) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb75a5503 in QThreadPrivate::start (arg=0x87d9098) at thread/qthread_unix.cpp:320
#11 0xb5f93c39 in start_thread () from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
#12 0xb607392e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xaf90db70 (LWP 6759)):
[KCrash Handler]
#7  0xb77fe424 in __kernel_vsyscall ()
#8  0xb5fd18f1 in raise () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
#9  0xb5fd4d22 in abort () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
#10 0xb6007995 in ?? () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
#11 0xb6011a81 in ?? () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
#12 0xb60132e8 in ?? () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
#13 0xb601639d in free () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
#14 0xb109122c in avio_close () from /usr/lib/i386-linux-gnu/i686/cmov/libavformat.so.53
#15 0xb112af20 in avformat_open_input () from /usr/lib/i386-linux-gnu/i686/cmov/libavformat.so.53
#16 0xb112b126 in av_open_input_stream () from /usr/lib/i386-linux-gnu/i686/cmov/libavformat.so.53
#17 0xb278f079 in FFMPEGEndAnalyzer::analyze (this=0x86bca08, ar=..., in=0x884d080) at /build/buildd-strigi_0.7.6-2-i386-_JQiaP/strigi-0.7.6/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:328
#18 0xb4f0d93c in Strigi::StreamAnalyzerPrivate::analyze (this=0x875d6b0, idx=..., input=0x884d080) at /build/buildd-strigi_0.7.6-2-i386-_JQiaP/strigi-0.7.6/libstreamanalyzer/lib/streamanalyzer.cpp:418
#19 0xb4ee91ad in Strigi::AnalysisResult::indexChild (this=0xaf90d12c, name=..., mt=1323899973, file=0xaf90cec8) at /build/buildd-strigi_0.7.6-2-i386-_JQiaP/strigi-0.7.6/libstreamanalyzer/lib/analysisresult.cpp:251
#20 0xb4f2afca in PdfEndAnalyzer::handle (this=0x8814d28, s=0xaf90cec8) at /build/buildd-strigi_0.7.6-2-i386-_JQiaP/strigi-0.7.6/libstreamanalyzer/lib/endanalyzers/pdfendanalyzer.cpp:45
#21 0xb4f0676c in PdfParser::handleSubStream (this=0x8814d38, s=0xaf90cec8, type=..., offset=0, numberofobjects=0) at /build/buildd-strigi_0.7.6-2-i386-_JQiaP/strigi-0.7.6/libstreamanalyzer/lib/pdf/pdfparser.cpp:670
#22 0xb4f069e8 in handleSubStream (type=..., s=0xaf90cec8, this=0x8814d38, offset=<optimized out>, numberofobjects=<optimized out>, hasfilter=<optimized out>, filter=<optimized out>) at /build/buildd-strigi_0.7.6-2-i386-_JQiaP/strigi-0.7.6/libstreamanalyzer/lib/pdf/pdfparser.cpp:641
#23 PdfParser::handleSubStream (this=0x8814d38, s=0xaf90cec8, type=..., offset=0, numberofobjects=0, hasfilter=true, filter=...) at /build/buildd-strigi_0.7.6-2-i386-_JQiaP/strigi-0.7.6/libstreamanalyzer/lib/pdf/pdfparser.cpp:632
#24 0xb4f06e47 in PdfParser::parseDictionaryOrStream (this=0x8814d38) at /build/buildd-strigi_0.7.6-2-i386-_JQiaP/strigi-0.7.6/libstreamanalyzer/lib/pdf/pdfparser.cpp:381
#25 0xb4f0727b in parseObjectStreamObject (nestDepth=0, this=0x8814d38) at /build/buildd-strigi_0.7.6-2-i386-_JQiaP/strigi-0.7.6/libstreamanalyzer/lib/pdf/pdfparser.cpp:435
#26 PdfParser::parseObjectStreamObject (this=0x8814d38, nestDepth=0) at /build/buildd-strigi_0.7.6-2-i386-_JQiaP/strigi-0.7.6/libstreamanalyzer/lib/pdf/pdfparser.cpp:418
#27 0xb4f07376 in PdfParser::parseObjectStreamObjectDef (this=0x8814d38) at /build/buildd-strigi_0.7.6-2-i386-_JQiaP/strigi-0.7.6/libstreamanalyzer/lib/pdf/pdfparser.cpp:561
#28 0xb4f07498 in PdfParser::parse (this=0x8814d38, stream=0x8814b00) at /build/buildd-strigi_0.7.6-2-i386-_JQiaP/strigi-0.7.6/libstreamanalyzer/lib/pdf/pdfparser.cpp:589
#29 0xb4f2ac53 in PdfEndAnalyzer::analyze (this=0x8814d28, as=..., in=0x8814b00) at /build/buildd-strigi_0.7.6-2-i386-_JQiaP/strigi-0.7.6/libstreamanalyzer/lib/endanalyzers/pdfendanalyzer.cpp:62
#30 0xb4f0d93c in Strigi::StreamAnalyzerPrivate::analyze (this=0x875d6b0, idx=..., input=0x8814b00) at /build/buildd-strigi_0.7.6-2-i386-_JQiaP/strigi-0.7.6/libstreamanalyzer/lib/streamanalyzer.cpp:418
#31 0xb4ee7fac in Strigi::AnalysisResult::index (this=0xaf90d12c, file=0xaf90d0dc) at /build/buildd-strigi_0.7.6-2-i386-_JQiaP/strigi-0.7.6/libstreamanalyzer/lib/analysisresult.cpp:235
#32 0xb27c26e4 in Nepomuk::Indexer::indexFile (this=0x86bcc90, info=...) at ../../../../nepomuk/services/strigi/nepomukindexer.cpp:135
#33 0xb27b3a46 in Nepomuk::IndexScheduler::analyzeDir (this=0x86c46f0, dir_=..., flags=...) at ../../../../nepomuk/services/strigi/indexscheduler.cpp:450
#34 0xb27b5a0d in Nepomuk::IndexScheduler::run (this=0x86c46f0) at ../../../../nepomuk/services/strigi/indexscheduler.cpp:338
#35 0xb75a5503 in QThreadPrivate::start (arg=0x86c46f0) at thread/qthread_unix.cpp:320
#36 0xb5f93c39 in start_thread () from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
#37 0xb607392e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb55f2aa0 (LWP 6755)):
#0  0xb77fe424 in __kernel_vsyscall ()
#1  0xb606463b in read () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
#2  0xb5ef6e6e in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb5eb1694 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb5eb20d0 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb5eb240a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb76ce477 in QEventDispatcherGlib::processEvents (this=0x85d6980, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#7  0xb640772a in QGuiEventDispatcherGlib::processEvents (this=0x85d6980, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#8  0xb769f24d in QEventLoop::processEvents (this=0xbfb8eec4, flags=...) at kernel/qeventloop.cpp:149
#9  0xb769f491 in QEventLoop::exec (this=0xbfb8eec4, flags=...) at kernel/qeventloop.cpp:201
#10 0xb76a3bea in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#11 0xb6350624 in QApplication::exec () at kernel/qapplication.cpp:3741
#12 0x0804b105 in main (argc=-1240477708, argv=0x5) at ../../../nepomuk/servicestub/main.cpp:167

Reported using DrKonqi
Comment 1 Dieter Zander 2011-12-15 20:44:21 UTC
Created attachment 66788 [details]
New crash information added by DrKonqi

nepomukservicestub (0.2) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.3

Alter restarting the programm it crashed again within some minutes

-- Backtrace (Reduced):
#14 0xb109122c in avio_close () from /usr/lib/i386-linux-gnu/i686/cmov/libavformat.so.53
#15 0xb112af20 in avformat_open_input () from /usr/lib/i386-linux-gnu/i686/cmov/libavformat.so.53
#16 0xb112b126 in av_open_input_stream () from /usr/lib/i386-linux-gnu/i686/cmov/libavformat.so.53
#17 0xb2805079 in FFMPEGEndAnalyzer::analyze (this=0x916ee48, ar=..., in=0x914ff00) at /build/buildd-strigi_0.7.6-2-i386-_JQiaP/strigi-0.7.6/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:328
#18 0xb4f8393c in Strigi::StreamAnalyzerPrivate::analyze (this=0x924d268, idx=..., input=0x914ff00) at /build/buildd-strigi_0.7.6-2-i386-_JQiaP/strigi-0.7.6/libstreamanalyzer/lib/streamanalyzer.cpp:418
Comment 2 Dieter Zander 2011-12-16 17:18:51 UTC
Created attachment 66813 [details]
New crash information added by DrKonqi

nepomukservicestub (0.2) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.3

the same as yesterday: Launched KDE... wait a moment... crash.

-- Backtrace (Reduced):
#14 0xb0f9122c in avio_close () from /usr/lib/i386-linux-gnu/i686/cmov/libavformat.so.53
#15 0xb102af20 in avformat_open_input () from /usr/lib/i386-linux-gnu/i686/cmov/libavformat.so.53
#16 0xb102b126 in av_open_input_stream () from /usr/lib/i386-linux-gnu/i686/cmov/libavformat.so.53
#17 0xb26dd079 in FFMPEGEndAnalyzer::analyze (this=0x8d71e10, ar=..., in=0x8ee83a8) at /build/buildd-strigi_0.7.6-2-i386-_JQiaP/strigi-0.7.6/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:328
#18 0xb4e5b93c in Strigi::StreamAnalyzerPrivate::analyze (this=0x8e5b240, idx=..., input=0x8ee83a8) at /build/buildd-strigi_0.7.6-2-i386-_JQiaP/strigi-0.7.6/libstreamanalyzer/lib/streamanalyzer.cpp:418
Comment 3 Dieter Zander 2011-12-18 13:50:20 UTC
Created attachment 66863 [details]
New crash information added by DrKonqi

nepomukservicestub (0.2) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.3

I did a dist-update and installed a new kernel... the same effect: starting KDE, waiting a while... crash.

-- Backtrace (Reduced):
#14 0xb109122c in avio_close () from /usr/lib/i386-linux-gnu/i686/cmov/libavformat.so.53
#15 0xb112af20 in avformat_open_input () from /usr/lib/i386-linux-gnu/i686/cmov/libavformat.so.53
#16 0xb112b126 in av_open_input_stream () from /usr/lib/i386-linux-gnu/i686/cmov/libavformat.so.53
#17 0xb27dd079 in FFMPEGEndAnalyzer::analyze (this=0x8cf9bb0, ar=..., in=0x8e4afb8) at /build/buildd-strigi_0.7.6-2-i386-_JQiaP/strigi-0.7.6/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:328
#18 0xb4f5b93c in Strigi::StreamAnalyzerPrivate::analyze (this=0x8d496c8, idx=..., input=0x8e4afb8) at /build/buildd-strigi_0.7.6-2-i386-_JQiaP/strigi-0.7.6/libstreamanalyzer/lib/streamanalyzer.cpp:418
Comment 4 Dieter Zander 2011-12-27 13:58:00 UTC
Created attachment 67157 [details]
New crash information added by DrKonqi

nepomukservicestub (0.2) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.3

Starting KDE, wait a while... crash. Allways the same game.

-- Backtrace (Reduced):
#14 0xb0f9122c in avio_close () from /usr/lib/i386-linux-gnu/i686/cmov/libavformat.so.53
#15 0xb102af20 in avformat_open_input () from /usr/lib/i386-linux-gnu/i686/cmov/libavformat.so.53
#16 0xb102b126 in av_open_input_stream () from /usr/lib/i386-linux-gnu/i686/cmov/libavformat.so.53
#17 0xb26f5079 in FFMPEGEndAnalyzer::analyze (this=0x8e3feb0, ar=..., in=0x8f7ea90) at /build/buildd-strigi_0.7.6-2-i386-_JQiaP/strigi-0.7.6/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:328
#18 0xb4e7993c in Strigi::StreamAnalyzerPrivate::analyze (this=0x8ef6fa0, idx=..., input=0x8f7ea90) at /build/buildd-strigi_0.7.6-2-i386-_JQiaP/strigi-0.7.6/libstreamanalyzer/lib/streamanalyzer.cpp:418
Comment 5 Thijs 2012-01-31 17:08:14 UTC
*** Bug 289649 has been marked as a duplicate of this bug. ***
Comment 6 Thijs 2012-01-31 17:08:22 UTC
*** Bug 292971 has been marked as a duplicate of this bug. ***
Comment 7 Vishesh Handa 2012-05-22 16:22:54 UTC
Seems like an issue of the PDF analyzer calling the FFMPEG analyzer to index some media file embedded in a PDF.

Strigi :/