Bugzilla – Bug 18042
when scanning a video file without audio scanner segfaults
Last modified: 2013-06-17 13:52:54 UTC
when scanning an FLV file without audio stream there is always a segfault so after that you can never complete a scan. you have to find the file and delete it, to get a scan to finish this issue is the same on the windows version aswell!! it seems this bug is documented here (and fixed) http://ffmpeg.org/trac/ffmpeg/ticket/569 please upgrade to a newer ffmpeg library here is the stacktrace (from linux): (gdb) bt #0 0x00007f5569203688 in ff_add_index_entry () from /home/dlna/run/CPAN/arch/5.8/x86_64-linux-thread-multi/auto/Media/Scan/Scan.so #1 0x00007f5569203836 in av_add_index_entry () from /home/dlna/run/CPAN/arch/5.8/x86_64-linux-thread-multi/auto/Media/Scan/Scan.so #2 0x00007f55691ef067 in av_convert_lang_to () from /home/dlna/run/CPAN/arch/5.8/x86_64-linux-thread-multi/auto/Media/Scan/Scan.so #3 0x00007f55691eed3c in av_convert_lang_to () from /home/dlna/run/CPAN/arch/5.8/x86_64-linux-thread-multi/auto/Media/Scan/Scan.so #4 0x00007f55691ef78f in av_convert_lang_to () from /home/dlna/run/CPAN/arch/5.8/x86_64-linux-thread-multi/auto/Media/Scan/Scan.so #5 0x00007f5569203d5d in av_read_packet () from /home/dlna/run/CPAN/arch/5.8/x86_64-linux-thread-multi/auto/Media/Scan/Scan.so #6 0x00007f5569206688 in dump_format () from /home/dlna/run/CPAN/arch/5.8/x86_64-linux-thread-multi/auto/Media/Scan/Scan.so #7 0x00007f5569207f92 in av_find_stream_info () from /home/dlna/run/CPAN/arch/5.8/x86_64-linux-thread-multi/auto/Media/Scan/Scan.so #8 0x00007f55691d8188 in result_scan () from /home/dlna/run/CPAN/arch/5.8/x86_64-linux-thread-multi/auto/Media/Scan/Scan.so #9 0x00007f55691d5c97 in ms_scan_file () from /home/dlna/run/CPAN/arch/5.8/x86_64-linux-thread-multi/auto/Media/Scan/Scan.so #10 0x00007f55691d60b1 in ms_scan_file () from /home/dlna/run/CPAN/arch/5.8/x86_64-linux-thread-multi/auto/Media/Scan/Scan.so #11 0x00007f55691d6359 in ms_scan () from /home/dlna/run/CPAN/arch/5.8/x86_64-linux-thread-multi/auto/Media/Scan/Scan.so #12 0x00007f55691d3d31 in XS_Media__Scan_xs_scan () from /home/dlna/run/CPAN/arch/5.8/x86_64-linux-thread-multi/auto/Media/Scan/Scan.so #13 0x00007f556c26420b in Perl_pp_entersub () from /usr/lib64/perl5/5.8.7/x86_64-linux-thread-multi/CORE/libperl.so #14 0x00007f556c24894a in Perl_runops_debug () from /usr/lib64/perl5/5.8.7/x86_64-linux-thread-multi/CORE/libperl.so #15 0x00007f556c1fe264 in perl_run () from /usr/lib64/perl5/5.8.7/x86_64-linux-thread-multi/CORE/libperl.so #16 0x0000000000401aec in main ()
i am using this version: http://downloads.slimdevices.com/nightly/7.8/sc/e258b12/logitechmediaserver-7.8.0-1371193145.tgz
FFmpeg 0.8.14 "Love" 0.8.14 was released on 2013-02-21. It is a stable FFmpeg release from the 0.8 release branch, which was cut from master on 2011-06-21. Amongst lots of other changes, it includes all changes from ffmpeg-mt, libav master of 2011-06-21, libav 0.7.7 as of 2013-02-20.
if you compile this file: ./build/5.8/lib/perl5/x86_64-linux-thread-multi/auto/Media/Scan/Scan.so with ffmpeg-0.8.14.tar.bz2 the scan does not segfault anymore! please upgrade the source to the latest ffmpeg
Thanks! Then indeed this seems to be an issue with the file itself, not the podcast. *** This bug has been marked as a duplicate of bug 17849 ***
I'm not sure this is a dup of 17849 in its current form. I suffer the problem in 17849 but I don't have any video files in my library.