[FFmpeg-trac] #2940(undetermined:new): mjpeg: gix a crash with lowres and 12bpp grayscale

FFmpeg trac at avcodec.org
Fri Sep 6 12:07:14 CEST 2013


#2940: mjpeg: gix a crash with lowres and 12bpp grayscale
-------------------------------------+-------------------------------------
               Reporter:  ami_stuff  |                  Owner:
                   Type:  defect     |                 Status:  new
               Priority:  normal     |              Component:
                Version:             |  undetermined
  unspecified                        |               Keywords:
             Blocked By:             |               Blocking:
Reproduced by developer:  0          |  Analyzed by developer:  0
-------------------------------------+-------------------------------------
 http://ffmpeg.org/trac/ffmpeg/raw-
 attachment/ticket/2812/12bpp_extended.jpg

 {{{
 (gdb) r -vlowres 3 -i 12bpp_extended.jpg out.bmp
 Starting program: D:\MinGW\msys\1.0\ffmpeg-HEAD-a67dcd7\ffmpeg_g.exe
 -vlowres 3
 -i 12bpp_extended.jpg out.bmp
 [New Thread 3900.0xeac]
 ffmpeg version 2.0-a67dcd7 Copyright (c) 2000-2013 the FFmpeg developers
   built on Sep  5 2013 17:46:37 with gcc 4.6.2 (GCC)
   configuration: --disable-w32threads --disable-yasm --disable-ffprobe
 --enable-
 gpl
   libavutil      52. 43.100 / 52. 43.100
   libavcodec     55. 31.101 / 55. 31.101
   libavformat    55. 16.101 / 55. 16.101
   libavdevice    55.  3.100 / 55.  3.100
   libavfilter     3. 83.102 /  3. 83.102
   libswscale      2.  5.100 /  2.  5.100
   libswresample   0. 17.103 /  0. 17.103
   libpostproc    52.  3.100 / 52.  3.100
 Input #0, image2, from '12bpp_extended.jpg':
   Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: mjpeg, gray16le(12 bpc), 128x96 [SAR 96:96 DAR
 4:3], 25
 tbr, 25 tbn, 25 tbc
 File 'out.bmp' already exists. Overwrite ? [y/N] y
 [New Thread 3900.0x844]
 [New Thread 3900.0x8a4]
 [New Thread 3900.0xdec]
 [New Thread 3900.0xfe4]
 [New Thread 3900.0xce4]
 [New Thread 3900.0xe24]
 [New Thread 3900.0xe14]
 [New Thread 3900.0x9c8]
 [New Thread 3900.0x5e4]
 Output #0, image2, to 'out.bmp':
   Metadata:
     encoder         : Lavf55.16.101
     Stream #0:0: Video: bmp, gray, 128x96 [SAR 1:1 DAR 4:3], q=2-31, 200
 kb/s, 9
 0k tbn, 25 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (mjpeg -> bmp)
 Press [q] to stop, [?] for help
 [mjpeg @ 04de69e0] error count: 64
 [mjpeg @ 04de69e0] error y=91 x=47

 Program received signal SIGSEGV, Segmentation fault.
 0x7c911689 in ntdll!RtlInitializeHandleTable ()
    from C:\WINDOWS\system32\ntdll.dll
 (gdb) bt
 #0  0x7c911689 in ntdll!RtlInitializeHandleTable ()
    from C:\WINDOWS\system32\ntdll.dll
 #1  0x7c91084c in wcsncpy () from C:\WINDOWS\system32\ntdll.dll
 #2  0x77c1c2de in msvcrt!free () from C:\WINDOWS\system32\msvcrt.dll
 #3  0x04d00000 in ?? ()
 #4  0x00af29b3 in av_buffer_unref (buf=0x4d0e788) at
 libavutil/buffer.c:115
 #5  0x00aedf1a in av_frame_unref (frame=0x4d0e620) at
 libavutil/frame.c:347
 #6  0x004100de in reap_filters () at ffmpeg.c:1110
 #7  0x00b0ac11 in transcode_step () at ffmpeg.c:3190
 #8  transcode () at ffmpeg.c:3233
 #9  main (argc=6, argv=<optimized out>) at ffmpeg.c:3411
 (gdb)
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2940>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list