[libav-bugs] [Bug 1020] New: Avconv Crashes with WMV in Libav12. Regression from Libav11

bugzilla at libav.org bugzilla at libav.org
Thu Jan 12 21:09:32 CET 2017


            Bug ID: 1020
           Summary: Avconv Crashes with WMV in Libav12.  Regression from
           Product: Libav
           Version: 12
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: ---
         Component: libavcodec
          Assignee: bugzilla at libav.org
          Reporter: srae88 at gmail.com


I've managed to reproduce a crash from HandBrake in avconv. Linked below is a
file, along with the GDB backtrace of a (slight older nightly) of libav 12.
(Same stack trace using HandBrake and relase verison of libav12)

LibAV 11 can happily process this file.

I was unable to connect to the libav FTP so I've temporarily put the file here
on our own FTP (I can move it later when I can connect if you wish):

https://download.handbrake.fr/samples/WMV_Crash_Small.wmv  (Trimmed using dd)

(gdb) run  -i WMV_Crash_Small.wmv -c:v copy -c:a copy file-remuxed.mp4
Starting program: C:\Users\Scott\Desktop\usr\bin\avconv.exe -i
WMV_Crash_Small.wmv -c:v copy -c:a copy file-remuxed.mp4
[New Thread 10244.0x23a4]
[New Thread 10244.0x104]
[New Thread 10244.0x1098]
[New Thread 10244.0x2bb0]
avconv version v12_dev0-3162-gf01f7a7, Copyright (c) 2000-2016 the Libav
  built on Sep  4 2016 05:35:27 with gcc 4.8.3 (Gentoo 4.8.3 p1.1, pie-0.5.9)

Program received signal SIGSEGV, Segmentation fault.
0x000000006199733b in asf_read_packet (s=0x268b060, pkt=0x6cefb0) at
1490    /usr/src/libav/libavformat/asfdec.c: No such file or directory.
(gdb) bt
#0  0x000000006199733b in asf_read_packet (s=0x268b060, pkt=0x6cefb0) at
#1  0x0000000061a6d963 in ff_read_packet (s=s at entry=0x268b060,
pkt=pkt at entry=0x6cefb0)
    at /usr/src/libav/libavformat/utils.c:447
#2  0x0000000061a6f404 in read_frame_internal (s=s at entry=0x268b060,
pkt=pkt at entry=0x6cf0d0)
    at /usr/src/libav/libavformat/utils.c:932
#3  0x0000000061a716e6 in avformat_find_stream_info (ic=0x268b060,
    at /usr/src/libav/libavformat/utils.c:2226
#4  0x000000000040bc2a in open_input_file (o=o at entry=0x6cf560,
filename=<optimized out>)
    at /usr/src/libav/avconv_opt.c:771
#5  0x000000000040d05a in open_files (l=0x10e6618, l=0x10e6618,
open_file=0x40b990 <open_input_file>,
    inout=0x428f5f <global_group+6255> "input") at
#6  avconv_parse_options (argc=argc at entry=8, argv=argv at entry=0x10e51f0) at
#7  0x0000000000421ac9 in main (argc=8, argv=0x10e51f0) at

If you need anything else, let me know or feel free to ping me on #libav (s55)


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/20170112/9de639a7/attachment.html>

More information about the libav-bugs mailing list