[libav-bugs] [Bug 1161] New: tow segment fault in libavcodec

bugzilla at libav.org bugzilla at libav.org
Fri Jun 28 10:56:38 CEST 2019


https://bugzilla.libav.org/show_bug.cgi?id=1161

            Bug ID: 1161
           Summary: tow segment fault in libavcodec
           Product: Libav
           Version: git HEAD
          Hardware: X86
                OS: Linux
            Status: NEW
          Severity: critical
          Priority: ---
         Component: libavcodec
          Assignee: bugzilla at libav.org
          Reporter: yanshb at gmail.com

Triggered by ./avconv -i poc2-SegFaultOnPcNearNull -f /dev/null

avconv version v13_dev0-1648-gc464278, Copyright (c) 2000-2018 the Libav
developers built on Jun 27 2019 00:12:43 with clang version 9.0.0 (trunk
363905)

GDB debugging information is as follows:

Program received signal SIGSEGV, Segmentation fault.

0x0000000000000000 in ?? ()

(gdb) bt
#0 0x0000000000000000 in ?? ()
#1 0x000000000074ad59 in ff_mpa_synth_filter_float (s=s at entry=0x7ffff7fc39d0,
synth_buf_ptr=synth_buf_ptr at entry=0x7ffff7fc3a00,
synth_buf_offset=synth_buf_offset at entry=0x7ffff7fc5a00, window=0x164e620
<ff_mpa_synth_window_float>, dither_state=dither_state at entry=0x7fffffffd0c0,
samples=samples at entry=0x7ffff7fcda20, incr=2, sb_samples=0x7ffff7fc5a20) at
libavcodec/mpegaudiodsp_template.c:189

#2 0x00000000007af397 in qdm2_synthesis_filter (index=<optimized out>,
q=0x7ffff7fb5040) at libavcodec/qdm2.c:1688
#3 qdm2_decode (out=<optimized out>, in=<optimized out>, q=0x7ffff7fb5040) at
libavcodec/qdm2.c:1949
#4 qdm2_decode_frame (avctx=<optimized out>, data=<optimized out>,
got_frame_ptr=<optimized out>, avpkt=<optimized out>) at libavcodec/qdm2.c:1992
#5 0x00000000005c274b in decode_simple_internal (frame=0x16e3400,
avctx=0x16d33a0) at libavcodec/decode.c:336
#6 decode_simple_receive_frame (frame=<optimized out>, avctx=<optimized out>)
at libavcodec/decode.c:387
#7 decode_receive_frame_internal (avctx=avctx at entry=0x16d33a0, frame=0x16e3400)
at libavcodec/decode.c:405
#8 0x00000000005c2b18 in avcodec_send_packet (avctx=avctx at entry=0x16d33a0,
avpkt=avpkt at entry=0x7fffffffd1f0) at libavcodec/decode.c:466
#9 0x000000000054ff6d in try_decode_frame (st=st at entry=0x16d2ba0,
avpkt=avpkt at entry=0x7fffffffd2e0, options=0x16da900, s=0x16c7060) at
libavformat/utils.c:1950
#10 0x00000000005542f1 in avformat_find_stream_info (ic=0x16c7060,
options=0x16da900) at libavformat/utils.c:2459
#11 0x0000000000452af6 in open_input_file (o=o at entry=0x7fffffffd740,
filename=<optimized out>) at avtools/avconv_opt.c:821
#12 0x0000000000454b7a in open_files (l=0x16c7898, l=0x16c7898,
open_file=0x452810 <open_input_file>, inout=0xbd8fbc "input") at
avtools/avconv_opt.c:2467
#13 avconv_parse_options (argc=argc at entry=5, argv=argv at entry=0x7fffffffe268) at
avtools/avconv_opt.c:2504
#14 0x000000000044cca4 in main (argc=5, argv=0x7fffffffe268) at
avtools/avconv.c:2953

(gdb) l
2919        return (int64_t)rusage.ru_maxrss * 1024;
2920    #elif HAVE_GETPROCESSMEMORYINFO
2921        HANDLE proc;
2922        PROCESS_MEMORY_COUNTERS memcounters;
2923        proc = GetCurrentProcess();
2924        memcounters.cb = sizeof(memcounters);
2925        GetProcessMemoryInfo(proc, &memcounters, sizeof(memcounters));
2926        return memcounters.PeakPagefileUsage;
2927    #else
2928        return 0;

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libav.org/pipermail/libav-bugs/attachments/20190628/852a6ff7/attachment.html>


More information about the libav-bugs mailing list