[FFmpeg-trac] #2156(avcodec:new): EXC_BAD_ACCESS in get_cabac_inline_x86

FFmpeg trac at avcodec.org
Sat Jan 19 03:00:37 CET 2013


#2156: EXC_BAD_ACCESS in get_cabac_inline_x86
--------------------------------------+---------------------------------
               Reporter:  cbsrobot    |                  Owner:
                   Type:  defect      |                 Status:  new
               Priority:  normal      |              Component:  avcodec
                Version:  git-master  |               Keywords:  h264
             Blocked By:              |               Blocking:
Reproduced by developer:  0           |  Analyzed by developer:  0
--------------------------------------+---------------------------------
 I get a crash with this file on osx - compiled with llvm. Another user
 "drv" did not get a crash on linux - compiled with gcc.

 I will upload the file to upload.ffmpeg.org/incoming .

 {{{
 $ ffmpeg_g -i OUT4.mp4
 ffmpeg version N-49016-g040c461 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Jan 19 2013 02:30:16 with llvm-gcc 4.2.1 (LLVM build
 2336.11.00)
   configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-
 postproc --enable-libaacplus --enable-libass --enable-libcelt --enable-
 libfaac --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame
 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
 --enable-openssl --enable-libopus --enable-libschroedinger --enable-
 libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvorbis
 --enable-libvpx --enable-libx264 --enable-libxvid --prefix=/usr/local
   libavutil      52. 15.100 / 52. 15.100
   libavcodec     54. 89.100 / 54. 89.100
   libavformat    54. 61.101 / 54. 61.101
   libavdevice    54.  3.102 / 54.  3.102
   libavfilter     3. 32.101 /  3. 32.101
   libswscale      2.  1.103 /  2.  1.103
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100

 Program received signal EXC_BAD_ACCESS, Could not access memory.
 Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000045
 0x00000001002b92ff in get_cabac_inline_x86 [inlined] () at
 /devel/ffmpeg/libavcodec/x86/cabac.h:169
 169         __asm__ volatile(
 (gdb) bt
 #0  0x00000001002b92ff in get_cabac_inline_x86 [inlined] () at
 /devel/ffmpeg/libavcodec/x86/cabac.h:169
 #1  0x00000001002b92ff in get_cabac_cbf_ctx [inlined] () at
 /devel/ffmpeg/libavcodec/h264_cabac.c:111
 #2  0x00000001002b92ff in decode_cabac_residual_nondc [inlined] () at
 /devel/ffmpeg/libavcodec/h264_cabac.c:1798
 #3  0x00000001002b92ff in ff_h264_decode_mb_cabac (h=0x27bff83) at
 h264_cabac.c:2348
 }}}

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


More information about the FFmpeg-trac mailing list