[libav-bugs] [Bug 198] New: vorbis decoder infinite loop

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Tue Jan 10 02:11:08 CET 2012


http://bugzilla.libav.org/show_bug.cgi?id=198

           Summary: vorbis decoder infinite loop
           Product: Libav
           Version: git HEAD
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: libavcodec
        AssignedTo: bugzilla at libav.org
        ReportedBy: rsbultje at gmail.com


Created attachment 270
  --> http://bugzilla.libav.org/attachment.cgi?id=270
file to trigger infinite loop

Gets stuck somewhere here:

(gdb) bt
#0  0x00007fffffe00637 in __bzero ()
#1  0x0000000100d6709a in avcodec_get_frame_defaults [inlined] () at
/Users/rbultje/Projects/libav/libavcodec/utils.c:583
#2  0x0000000100d6709a in avcodec_get_frame_defaults (pic=0x7fff5fbfd0c0) at
/Users/rbultje/Projects/libav/libavcodec/utils.c:596
Previous frame identical to this frame (gdb could not unwind past this frame)
(gdb) c
Continuing.
^C
Program received signal SIGINT, Interrupt.
has_codec_parameters [inlined] () at
/Users/rbultje/Projects/libav/libavformat/utils.c:2108
2108            if (!avctx->frame_size &&
(gdb) bt
#0  has_codec_parameters [inlined] () at
/Users/rbultje/Projects/libav/libavformat/utils.c:2108
#1  0x0000000100228456 in avformat_find_stream_info (ic=0x1053df880,
options=0x107fe9080) at /Users/rbultje/Projects/libav/libavformat/utils.c:2390
#2  0x0000000100013976 in opt_input_file (o=0x100000000000, opt=<value
temporarily unavailable, due to optimizations>, filename=<value temporarily
unavailable, due to optimizations>) at
/Users/rbultje/Projects/libav/avconv.c:3262
#3  0x000000010003634a in parse_option () at
/Users/rbultje/Projects/libav/cmdutils.c:282
#4  0x000000010003680d in parse_options (optctx=0x7fff5fbff380, argc=9,
argv=0x7fff5fbff620, options=0x1013fbaa0, parse_arg_function=0x10001f040
<opt_output_file>) at /Users/rbultje/Projects/libav/cmdutils.c:316
Current language:  auto; currently minimal
(gdb) c
Continuing.
^C
Program received signal SIGINT, Interrupt.
0x00007fffffe006a1 in __bzero ()
(gdb) bt
#0  0x00007fffffe006a1 in __bzero ()
#1  0x0000000100d6709a in avcodec_get_frame_defaults [inlined] () at
/Users/rbultje/Projects/libav/libavcodec/utils.c:583
#2  0x0000000100d6709a in avcodec_get_frame_defaults (pic=0x7fff5fbfd0c0) at
/Users/rbultje/Projects/libav/libavcodec/utils.c:596
Previous frame identical to this frame (gdb could not unwind past this frame)
(gdb) c
Continuing.
^C
Program received signal SIGINT, Interrupt.
0x0000000100d69d13 in avcodec_decode_audio4 (avctx=0x1053e0080,
frame=0x7fff5fbfd0c0, got_frame_ptr=0x7fff5fbfd080, avpkt=0x7fff5fbfd260) at
/Users/rbultje/Projects/libav/libavcodec/utils.c:985
985        if ((avctx->codec->capabilities & CODEC_CAP_DELAY) || avpkt->size) {
(gdb) bt
#0  0x0000000100d69d13 in avcodec_decode_audio4 (avctx=0x1053e0080,
frame=0x7fff5fbfd0c0, got_frame_ptr=0x7fff5fbfd080, avpkt=0x7fff5fbfd260) at
/Users/rbultje/Projects/libav/libavcodec/utils.c:985
#1  0x000000010022bb0b in try_decode_frame (st=<value temporarily unavailable,
due to optimizations>, avpkt=<value temporarily unavailable, due to
optimizations>, options=<value temporarily unavailable, due to optimizations>)
at /Users/rbultje/Projects/libav/libavformat/utils.c:2162
#2  0x00000001002284db in avformat_find_stream_info (ic=0x1053df880,
options=0x107fe9080) at /Users/rbultje/Projects/libav/libavformat/utils.c:2387
#3  0x0000000100013976 in opt_input_file (o=0x100000000000, opt=<value
temporarily unavailable, due to optimizations>, filename=<value temporarily
unavailable, due to optimizations>) at
/Users/rbultje/Projects/libav/avconv.c:3262
#4  0x000000010003634a in parse_option () at
/Users/rbultje/Projects/libav/cmdutils.c:282
#5  0x000000010003680d in parse_options (optctx=0x7fff5fbff380, argc=9,
argv=0x7fff5fbff620, options=0x1013fbaa0, parse_arg_function=0x10001f040
<opt_output_file>) at /Users/rbultje/Projects/libav/cmdutils.c:316
(gdb) q

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