[libav-bugs] [Bug 366] New: segfault for SWS_FAST_BILINEAR and very specific resolutions

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Wed Sep 12 13:41:03 CEST 2012


           Summary: segfault for SWS_FAST_BILINEAR and very specific
           Product: Libav
           Version: 0.7
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: libswscale
        AssignedTo: bugzilla at libav.org
        ReportedBy: wieckom at gmail.com

Just run:

gst-launch videotestsrc ! video/x-raw-rgb, width=720, height=576 ! ffvideoscale
method=0 ! video/x-raw-rgb, width=1760, height=920 ! fbdevsink

The result is:
Caught SIGSEGV accessing address 0xb650aa20

The segfault is not related to other two elements in the pipeline (we got it
actually first in a C program, using different elements - filesrc and appsink).

* If you change the in- or out- widths, even by one pixel (e.g. to 721 or to
1761) then there is no segfault;
* The heights in this example are irrelevant - if you change them there is
still a segfault;
* If you change the method, e.g. to the default 2 then there is no segfault;

So for these values (720 <-> 1760) it seems to be a problem which is for
x/width-related calculations (in libav/libswscale/utils.c ?), only for

we get this segfault with gst-ffmpeg-0.10.13 (which uses libav 0.7.2)

Configure bugmail: https://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