Opened 13 years ago
Closed 13 years ago
#2996 closed defect (fixed)
iac: deadlock with forced codec
| Reported by: | ami_stuff | Owned by: | |
|---|---|---|---|
| Priority: | important | Component: | avcodec |
| Version: | git-master | Keywords: | iac deadlock |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | yes | |
| Analyzed by developer: | no |
Description
http://samples.mplayerhq.hu/mtv/comedian_auto.mtv
(gdb) r -threads 1 -acodec iac -i v/comedian_auto.mtv -vn -f null -
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /media/sdb1/ffmpeg-HEAD-93439e8/ffmpeg_g -threads 1 -acodec iac -i v/comedian_auto.mtv -vn -f null -
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
ffmpeg version 2.0-93439e8 Copyright (c) 2000-2013 the FFmpeg developers
built on Sep 18 2013 23:23:15 with gcc 4.7 (Debian 4.7.2-5)
configuration: --disable-yasm --enable-gpl --disable-ffprobe --disable-ffserver
libavutil 52. 44.100 / 52. 44.100
libavcodec 55. 31.101 / 55. 31.101
libavformat 55. 18.100 / 55. 18.100
libavdevice 55. 3.100 / 55. 3.100
libavfilter 3. 86.101 / 3. 86.101
libswscale 2. 5.100 / 2. 5.100
libswresample 0. 17.103 / 0. 17.103
libpostproc 52. 3.100 / 52. 3.100
[iac @ 0x9115d40] frame header check failed!
[iac @ 0x9115d40] got 1F7.
[iac @ 0x9115d40] frame header check failed!
[iac @ 0x9115d40] got B2.
[iac @ 0x9115d40] frame header check failed!
[iac @ 0x9115d40] got 53.
[iac @ 0x9115d40] frame header check failed!
[iac @ 0x9115d40] got AC.
[iac @ 0x9115d40] frame header check failed!
[iac @ 0x9115d40] got 17C.
[iac @ 0x9115d40] frame header check failed!
[iac @ 0x9115d40] got AA.
[iac @ 0x9115d40] frame header check failed!
[iac @ 0x9115d40] got 3F.
[iac @ 0x9115d40] frame header check failed!
[iac @ 0x9115d40] got 1FD.
[iac @ 0x9115d40] frame header check failed!
[iac @ 0x9115d40] got 97.
[iac @ 0x9115d40] frame header check failed!
[iac @ 0x9115d40] got 176.
Program received signal SIGINT, Interrupt.
bit_allocation (flag=0, freebits=507, stream_format_code=2, chctx=0x10,
q=<optimized out>) at libavcodec/imc.c:555
555 if (++chctx->bitsBandT[found_indx] == 6)
(gdb) bt
#0 bit_allocation (flag=0, freebits=507, stream_format_code=2, chctx=0x10,
q=<optimized out>) at libavcodec/imc.c:555
#1 imc_decode_block (ch=0, q=0x91166a0, avctx=0x9115d40)
at libavcodec/imc.c:954
#2 imc_decode_frame (avctx=0x9115d40, data=0x913bb60,
got_frame_ptr=0xbffff020, avpkt=0xbfffef98) at libavcodec/imc.c:1029
#3 0x0867aa05 in avcodec_decode_audio4 (avctx=0x9115d40, frame=0x913bb60,
got_frame_ptr=got_frame_ptr@entry=0xbffff020, avpkt=avpkt@entry=0xbffff048)
at libavcodec/utils.c:2137
#4 0x08234fe8 in try_decode_frame (st=st@entry=0x9115ac0,
avpkt=avpkt@entry=0x913bac0, options=0x9115ca0) at libavformat/utils.c:2494
#5 0x0823e691 in avformat_find_stream_info (ic=0x9114e60, options=0x9115ca0)
at libavformat/utils.c:2936
#6 0x080a66b5 in open_input_file (o=o@entry=0xbffff50c,
filename=<optimized out>) at ffmpeg_opt.c:809
#7 0x080a4ed7 in open_files (inout=inout@entry=0x88e725b "input",
open_file=open_file@entry=0x80a62d0 <open_input_file>,
l=<error reading variable: Unhandled dwarf expression opcode 0xfa>,
l=<error reading variable: Unhandled dwarf expression opcode 0xfa>)
at ffmpeg_opt.c:2494
#8 0x080ad0e9 in ffmpeg_parse_options (argc=argc@entry=11,
argv=argv@entry=0xbffff994) at ffmpeg_opt.c:2531
#9 0x080a25da in main (argc=11, argv=0xbffff994) at ffmpeg.c:3393
(gdb)
Change History (2)
comment:1 by , 13 years ago
| Component: | undetermined → avcodec |
|---|---|
| Keywords: | iac deadlock added |
| Priority: | normal → important |
| Reproduced by developer: | set |
| Status: | new → open |
| Version: | unspecified → git-master |
comment:2 by , 13 years ago
| Resolution: | → fixed |
|---|---|
| Status: | open → closed |
Note:
See TracTickets
for help on using tickets.



Fixed in 3e0c78bac63c213649c3e8c2fa49e9f3c9848d5a