Opened 11 years ago

Closed 11 years ago

#3010 closed defect (fixed)

vqf: deadlock with forced format

Reported by: ami_stuff Owned by:
Priority: important Component: avformat
Version: git-master Keywords: deadlock vqf
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no


(gdb) r -f vqf -i ./DS230002.DSS -f null -
Starting program: /media/sdb1/ffmpeg-HEAD-5dc6c0e/ffmpeg_g -f vqf -i ./DS230002.DSS -f null -
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/".
ffmpeg version 2.0-5dc6c0e Copyright (c) 2000-2013 the FFmpeg developers
  built on Sep 26 2013 20:30:42 with gcc 4.7 (Debian 4.7.2-5)
  configuration: --disable-yasm --enable-gpl --disable-ffserver --disable-ffprobe
  libavutil      52. 46.100 / 52. 46.100
  libavcodec     55. 33.100 / 55. 33.100
  libavformat    55. 18.102 / 55. 18.102
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 87.100 /  3. 87.100
  libswscale      2.  5.100 /  2.  5.100
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100

Program received signal SIGINT, Interrupt.
0xb7f8ed1e in __read_nocancel () at ../sysdeps/unix/syscall-template.S:82
82	../sysdeps/unix/syscall-template.S: No such file or directory.
(gdb) bt
#0  0xb7f8ed1e in __read_nocancel () at ../sysdeps/unix/syscall-template.S:82
#1  0x08168f6e in file_read (h=0x911c2c0, buf=0x911c380 "\002dss\001", 
    size=<optimized out>) at libavformat/file.c:86
#2  0x0815282d in retry_transfer_wrapper (transfer_func=0x8168f40 <file_read>, 
    size_min=1, size=32768, buf=0x911c380 "\002dss\001", h=0x911c2c0)
    at libavformat/avio.c:278
#3  ffurl_read (h=0x911c2c0, buf=0x911c380 "\002dss\001", size=32768)
    at libavformat/avio.c:309
#4  0x081533ca in fill_buffer (s=s@entry=0x91243c0)
    at libavformat/aviobuf.c:428
#5  0x081562d2 in url_feof (s=0x91243c0) at libavformat/aviobuf.c:286
#6  avio_read (s=0x91243c0, buf=0x9126760 "\240\257\022\t8f\022\t", 
    size=<optimized out>) at libavformat/aviobuf.c:523
#7  0x08246c41 in add_metadata (remaining=549346547, tag_len=0, tag=0, 
    s=0x911bd80) at libavformat/vqf.c:61
#8  vqf_read_header (s=0x911bd80) at libavformat/vqf.c:160
#9  0x08242d65 in avformat_open_input (ps=ps@entry=0xbffff430, 
    filename=filename@entry=0xbffffb65 "./DS230002.DSS", 
    fmt=fmt@entry=0x8b060e0, options=0x910ff54) at libavformat/utils.c:521
#10 0x080a67a4 in open_input_file (o=o@entry=0xbffff52c, 
    filename=<optimized out>) at ffmpeg_opt.c:792
#11 0x080a5107 in open_files (inout=inout@entry=0x88eccdb "input", 
    open_file=open_file@entry=0x80a6500 <open_input_file>, 
---Type <return> to continue, or q <return> to quit---
    l=<error reading variable: Unhandled dwarf expression opcode 0xfa>, 
    l=<error reading variable: Unhandled dwarf expression opcode 0xfa>)
    at ffmpeg_opt.c:2494
#12 0x080ad319 in ffmpeg_parse_options (argc=argc@entry=8, 
    argv=argv@entry=0xbffff9b4) at ffmpeg_opt.c:2531
#13 0x080a280a in main (argc=8, argv=0xbffff9b4) at ffmpeg.c:3393

Change History (1)

comment:1 by Elon Musk, 11 years ago

Component: undeterminedavformat
Keywords: deadlock vqf added
Priority: normalimportant
Reproduced by developer: set
Resolution: fixed
Status: newclosed
Version: unspecifiedgit-master
Note: See TracTickets for help on using tickets.