Bug#627818: ffmpeg segmentation fault __memcpy_ssse3 () at ../sysdeps/x86_64/multiarch/memcpy-ssse3.S:119

Romain Beauxis toots at rastageeks.org
Tue May 24 23:29:44 UTC 2011


Hi all,

2011/5/24 Marco Mattiolo <marco.mattiolo at hotmail.it>:
> Hi.
> I'm having a problem with ffmpeg, converting flv downloaded by youtube-dl to
> audio-only ogg vorbis.
> I had debian-multimedia repo enabled, so I purged all packages related to
> that repo, before generating this bugreport.
> Hope this really helps getting a better ffmpeg. Also hope not to waste your
> time.
> Thank you
>
> $ gdb ffmpeg
> GNU gdb (GDB) 7.2-debian
> Copyright (C) 2010 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /usr/bin/ffmpeg...Reading symbols from
> /usr/lib/debug/usr/bin/ffmpeg...done.
> done.
> (gdb) set pagination 0
> (gdb) run -i XBHzFb0toqc.flv -f ogg -acodec libvorbis -vn "KT tunstall -
> Suddenly I see.ogg"
> Starting program: /usr/bin/ffmpeg -i XBHzFb0toqc.flv -f ogg -acodec
> libvorbis -vn "KT tunstall - Suddenly I see.ogg"
> [Thread debugging using libthread_db enabled]
> FFmpeg version 0.6.2-4:0.6.2-3, Copyright (c) 2000-2010 the Libav developers
>  built on Apr 30 2011 11:45:41 with gcc 4.5.2
>  configuration: --extra-version=4:0.6.2-3 --prefix=/usr --enable-avfilter
> --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm
> --enable-libschroedinger --enable-libspeex --enable-libtheora
> --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx
> --disable-stripping --enable-runtime-cpudetect --enable-vaapi
> --enable-libopenjpeg --enable-gpl --enable-postproc --enable-swscale
> --enable-x11grab --enable-libfaad --enable-libdirac --enable-libfaad
> --enable-librtmp --enable-libdc1394 --enable-shared --disable-static
>  libavutil     50.15. 1 / 50.15. 1
>  libavcodec    52.72. 2 / 52.72. 2
>  libavformat   52.64. 2 / 52.64. 2
>  libavdevice   52. 2. 0 / 52. 2. 0
>  libavfilter    1.19. 0 /  1.19. 0
>  libswscale     0.11. 0 /  0.11. 0
>  libpostproc   51. 2. 0 / 51. 2. 0
> [flv @ 0x64b6b0]Estimating duration from bitrate, this may be inaccurate
> Input #0, flv, from 'XBHzFb0toqc.flv':
>  Metadata:
>    duration        : 197
>    starttime       : 0
>    totalduration   : 197
>    width           : 320
>    height          : 240
>    videodatarate   : 81
>    audiodatarate   : 103
>    totaldatarate   : 192
>    framerate       : 25
>    bytelength      : 4731985
>    canseekontime   : true
>    sourcedata      : BD075E384HH1306095687603251
>    purl            :
>    pmsg            :
>  Duration: 00:03:16.60, start: 0.000000, bitrate: 188 kb/s
>    Stream #0.0: Video: h264, yuv420p, 320x240 [PAR 1:1 DAR 4:3], 82 kb/s, 25
> tbr, 1k tbn, 50 tbc
>    Stream #0.1: Audio: aac, 44100 Hz, stereo, s16, 105 kb/s
> File 'KT tunstall - Suddenly I see.ogg' already exists. Overwrite ? [y/N] y
> Output #0, ogg, to 'KT tunstall - Suddenly I see.ogg':
>  Metadata:
>    encoder         : Lavf52.64.2
>    Stream #0.0: Audio: libvorbis, 44100 Hz, stereo, s16, 64 kb/s
> Stream mapping:
>  Stream #0.1 -> #0.0
> Press [q] to stop encoding
>
> Program received signal SIGSEGV, Segmentation fault.
> __memcpy_ssse3 () at ../sysdeps/x86_64/multiarch/memcpy-ssse3.S:119
> 119     ../sysdeps/x86_64/multiarch/memcpy-ssse3.S: File o directory non
> esistente.
>        in ../sysdeps/x86_64/multiarch/memcpy-ssse3.S

I ran into a similar bug in the recent past that was due to frame
memory not being aligned. Memory alignment is required to use SSE
optimisations. Maybe that is the issue here too?

Romain





More information about the pkg-multimedia-maintainers mailing list