[libav-bugs] [Bug 479] New: libav-tools: avconv segfault when deprecated -deinterlace is used

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Thu Mar 21 21:23:20 CET 2013


           Summary: libav-tools: avconv segfault when deprecated
                    -deinterlace is used
           Product: Libav
           Version: 9
          Platform: X86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: utilities
        AssignedTo: bugzilla at libav.org
        ReportedBy: paul at climbing.nl

Created attachment 396
  --> http://bugzilla.libav.org/attachment.cgi?id=396

I reported this bug before to Debian, in bug 692877 [1], but I was requested to
report the bug here as well. 

I ran the deprecated -deinterlace option on my test video (attached). avconv
first warns about deprecation, and then segfaults. (See below). Please let me
know if you need more info.

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=692877

paul at wollumbin ~ $ gdb --args avconv -i test.avi -vcodec libxvid -deinterlace
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 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:
Reading symbols from /usr/bin/avconv...Reading symbols from
(gdb) run
Starting program: /usr/bin/avconv -i test.avi -vcodec libxvid -deinterlace
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
avconv version 9.3-6:9.3-1, Copyright (c) 2000-2013 the Libav developers
  built on Mar  2 2013 15:14:47 with gcc 4.6 (Debian 4.6.3-1)
-deinterlace is deprecated, use -filter:v yadif instead
Guessed Channel Layout for  Input Stream #0.1 : mono
Input #0, avi, from 'test.avi':
    encoder         : Lavf53.20.0
  Duration: 00:00:00.23, start: 0.000000, bitrate: 9890 kb/s
    Stream #0.0: Video: mjpeg, yuvj422p, 640x480, 30 fps, 30 tbr, 30 tbn
      title           : FUJIFILM AVI STREAM 0100
    Stream #0.1: Audio: pcm_u8, 16000 Hz, mono, u8, 128 kb/s
Output #0, avi, to '/tmp/test.avi':
    ISFT            : Lavf54.20.3
    Stream #0.0: Video: libxvid, yuv420p, 640x480, q=2-31, 200 kb/s, 30 tbn, 30
      title           : FUJIFILM AVI STREAM 0100
    Stream #0.1: Audio: libmp3lame, 16000 Hz, mono, s16p
Stream mapping:
  Stream #0:0 -> #0:0 (mjpeg -> libxvid)
  Stream #0:1 -> #0:1 (pcm_u8 -> libmp3lame)
Press ctrl-c to stop encoding

Program received signal SIGSEGV, Segmentation fault.
ff_hscale8to15_4_sse2.loop () at
/build/buildd-libav_9.3-1-amd64-lQVyzm/libav-9.3/libswscale/x86/scale.asm: No
such file or directory.
(gdb) bt
#0  ff_hscale8to15_4_sse2.loop () at
#1  0x00007ffff6460d7d in hyscale (isAlpha=0, pal=0x633100,
formatConvBuffer=0x64aec0 "\b\304\327\365\377\177", hLumFilterSize=4, 
    hLumFilterPos=0x644680, hLumFilter=0x6555a0, xInc=65536, srcW=640,
src_in=0x7fffffffdc20, dstWidth=640, dst=0x657180, c=0x633080)
#2  swScale (c=0x633080, src=0x7fffffffdcd0, srcStride=0x7fffffffdd10,
srcSliceY=0, srcSliceH=480, dst=0x7fffffffdcf0, 
    dstStride=0x7fffffffdd20) at
#3  0x00007ffff6468a67 in sws_scale (c=0x633080, srcSlice=<optimized out>,
srcStride=<optimized out>, srcSliceY=0, srcSliceH=480, 
    dst=<optimized out>, dstStride=0x948150) at
#4  0x00007ffff79ae93b in filter_frame (link=0x64a660, in=0x947e20)
#5  0x00007ffff79a035a in request_frame (link=0x6686a0) at
#6  0x00007ffff79a11bf in request_frame (outlink=0x64ac20) at
#7  0x00007ffff799fff6 in av_buffersink_read (ctx=<optimized out>,
#8  0x00000000004101f3 in poll_filter (ost=0x64bac0) at
#9  poll_filters () at
#10 0x00000000004069b8 in transcode () at
#11 main (argc=<optimized out>, argv=<optimized out>) at
(gdb) quit
A debugging session is active.

        Inferior 1 [process 9947] will be killed.

Quit anyway? (y or n) y

Configure bugmail: http://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the libav-bugs mailing list