Ticket #186 (closed defect: fixed)
crash while probing mpg file
| Reported by: | ami_stuff | Owned by: | |
|---|---|---|---|
| Priority: | important | Component: | avcodec |
| Version: | git-master | Keywords: | |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | yes | |
| Analyzed by developer: | no |
Description
FFmpeg crashes while probing attached mpg file.
I encoded it with "Elecard MPEG2 encoder" and the problem is in "Picture/Mode?: Interlace/fld"
(the crash doesn't happen with "Interlace/frm" or "Progressive" modes).
Under amigaos I get invalid read.
C:\>ffmpeg -i t.mpg ffmpeg version git-N-29638-g95f163b, Copyright (c) 2000-2011 the FFmpeg develope rs built on May 6 2011 12:50:01 with gcc 4.5.3 configuration: --enable-gpl --enable-version3 --enable-memalign-hack --enable- runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libo pencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm -- enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enabl e-libx264 --enable-libxavs --enable-libxvid --enable-zlib --pkg-config=pkg-confi g libavutil 51. 2. 1 / 51. 2. 1 libavcodec 53. 3. 0 / 53. 3. 0 libavformat 53. 0. 3 / 53. 0. 3 libavdevice 53. 0. 0 / 53. 0. 0 libavfilter 2. 4. 0 / 2. 4. 0 libswscale 0. 14. 0 / 0. 14. 0 [mp3 @ 0229B860] Header missing
Attachments
Change History
comment:1 Changed 2 years ago by cehoyos
- Priority changed from normal to important
- Status changed from new to open
- Version changed from unspecified to git-master
- Component changed from undetermined to avcodec
- Reproduced by developer set
$ valgrind ffmpeg_g -i t.mpg ffmpeg version git-N-29637-g7915e03, Copyright (c) 2000-2011 the FFmpeg developers built on May 11 2011 00:41:48 with gcc 4.5.2 configuration: --cc='/usr/local/gcc-4.5.2/bin/gcc -m32' --disable-asm --disable-optimizations libavutil 51. 2. 1 / 51. 2. 1 libavcodec 53. 3. 0 / 53. 3. 0 libavformat 53. 0. 3 / 53. 0. 3 libavdevice 53. 0. 0 / 53. 0. 0 libavfilter 2. 4. 0 / 2. 4. 0 libswscale 0. 14. 0 / 0. 14. 0 [mp3 @ 0x4fdf840] Header missing ==19278== Invalid read of size 4 ==19278== at 0x81B9FE1: put_pixels8_8_c (dsputil_internal.h:756) ==19278== by 0x81BB120: put_pixels16_8_c (dsputil_internal.h:756) ==19278== by 0x83233C3: mpeg_motion_internal (mpegvideo_common.h:352) ==19278== by 0x83234E7: mpeg_motion (mpegvideo_common.h:375) ==19278== by 0x832651B: MPV_motion_internal (mpegvideo_common.h:840) ==19278== by 0x83267B9: MPV_motion (mpegvideo_common.h:892) ==19278== by 0x832E73B: MPV_decode_mb_internal (mpegvideo.c:2131) ==19278== by 0x832F47B: MPV_decode_mb (mpegvideo.c:2264) ==19278== by 0x82F7327: mpeg_decode_slice (mpeg12.c:1843) ==19278== by 0x82F917C: decode_chunks (mpeg12.c:2527) ==19278== by 0x82F880B: mpeg_decode_frame (mpeg12.c:2323) ==19278== by 0x83DCAB9: avcodec_decode_video2 (utils.c:737) ==19278== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==19278== ==19278== ==19278== Process terminating with default action of signal 11 (SIGSEGV) ==19278== Access not within mapped region at address 0x0 ==19278== at 0x81B9FE1: put_pixels8_8_c (dsputil_internal.h:756) ==19278== by 0x81BB120: put_pixels16_8_c (dsputil_internal.h:756) ==19278== by 0x83233C3: mpeg_motion_internal (mpegvideo_common.h:352) ==19278== by 0x83234E7: mpeg_motion (mpegvideo_common.h:375) ==19278== by 0x832651B: MPV_motion_internal (mpegvideo_common.h:840) ==19278== by 0x83267B9: MPV_motion (mpegvideo_common.h:892) ==19278== by 0x832E73B: MPV_decode_mb_internal (mpegvideo.c:2131) ==19278== by 0x832F47B: MPV_decode_mb (mpegvideo.c:2264) ==19278== by 0x82F7327: mpeg_decode_slice (mpeg12.c:1843) ==19278== by 0x82F917C: decode_chunks (mpeg12.c:2527) ==19278== by 0x82F880B: mpeg_decode_frame (mpeg12.c:2323) ==19278== by 0x83DCAB9: avcodec_decode_video2 (utils.c:737) ==19278== If you believe this happened as a result of a stack ==19278== overflow in your program's main thread (unlikely but ==19278== possible), you can try to increase the size of the ==19278== main thread stack using the --main-stacksize= flag. ==19278== The main thread stack size used in this run was 8388608. ==19278== ==19278== HEAP SUMMARY: ==19278== in use at exit: 916,006 bytes in 66 blocks ==19278== total heap usage: 106 allocs, 40 frees, 1,424,866 bytes allocated ==19278== ==19278== LEAK SUMMARY: ==19278== definitely lost: 0 bytes in 0 blocks ==19278== indirectly lost: 0 bytes in 0 blocks ==19278== possibly lost: 0 bytes in 0 blocks ==19278== still reachable: 916,006 bytes in 66 blocks ==19278== suppressed: 0 bytes in 0 blocks ==19278== Rerun with --leak-check=full to see details of leaked memory ==19278== ==19278== For counts of detected and suppressed errors, rerun with: -v ==19278== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 3 from 3) Segmentation fault
Program received signal SIGSEGV, Segmentation fault.
0x081b9fe1 in put_pixels8_8_c (
block=0x8c600b0 "\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200"..., pixels=0x0, line_size=768,
h=8) at libavcodec/dsputil_internal.h:756
756 PIXOP2(put, op_put)
(gdb) bt
#0 0x081b9fe1 in put_pixels8_8_c (
block=0x8c600b0 "\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200"..., pixels=0x0, line_size=768,
h=8) at libavcodec/dsputil_internal.h:756
#1 0x081bb121 in put_pixels16_8_c (
block=0x8c600b0 "\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200"..., pixels=0x0, line_size=768,
h=8) at libavcodec/dsputil_internal.h:756
#2 0x083233c4 in mpeg_motion_internal (s=0x8bfd960,
dest_y=0x8c600b0 "\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200"...,
dest_cb=0x8c7cee8 "\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\205\206\210\212\213\212\211\211"...,
dest_cr=0x8c84728 "\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200~~}}|{{{"..., field_based=0, bottom_field=0, field_select=0,
ref_picture=0x8bfdcc4, pix_op=0x8bfe998, motion_x=0, motion_y=0, h=8, is_mpeg12=1, mb_y=0)
at libavcodec/mpegvideo_common.h:352
#3 0x083234e8 in mpeg_motion (s=0x8bfd960,
dest_y=0x8c600b0 "\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200"...,
dest_cb=0x8c7cee8 "\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\205\206\210\212\213\212\211\211"...,
dest_cr=0x8c84728 "\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200~~}}|{{{"..., field_based=0, bottom_field=0, field_select=0,
ref_picture=0x8bfdcc4, pix_op=0x8bfe998, motion_x=0, motion_y=0, h=8, mb_y=0)
at libavcodec/mpegvideo_common.h:375
#4 0x0832651c in MPV_motion_internal (s=0x8bfd960,
dest_y=0x8c600b0 "\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200"...,
dest_cb=0x8c7cee8 "\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\205\206\210\212\213\212\211\211"...,
dest_cr=0x8c84728 "\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200~~}}|{{{"..., dir=0, ref_picture=0x8bfdcc4, pix_op=0x8bfe998,
qpix_op=0x0, is_mpeg12=1) at libavcodec/mpegvideo_common.h:840
#5 0x083267ba in MPV_motion (s=0x8bfd960,
dest_y=0x8c600b0 "\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200"...,
dest_cb=0x8c7cee8 "\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\205\206\210\212\213\212\211\211"...,
dest_cr=0x8c84728 "\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200~~}}|{{{"..., dir=0, ref_picture=0x8bfdcc4, pix_op=0x8bfe998,
qpix_op=0x0) at libavcodec/mpegvideo_common.h:892
#6 0x0832e73c in MPV_decode_mb_internal (s=0x8bfd960, block=0x8c5d420, lowres_flag=0, is_mpeg12=1)
at libavcodec/mpegvideo.c:2131
#7 0x0832f47c in MPV_decode_mb (s=0x8bfd960, block=0x8c5d420) at libavcodec/mpegvideo.c:2264
#8 0x082f7328 in mpeg_decode_slice (s1=0x8bfd960, mb_y=0, buf=0xffffc95c, buf_size=2610)
at libavcodec/mpeg12.c:1843
#9 0x082f917d in decode_chunks (avctx=0x8bea620, picture=0xffffca50, data_size=0xffffcb50,
buf=0x8c3dd00 "", buf_size=13912) at libavcodec/mpeg12.c:2527
#10 0x082f880c in mpeg_decode_frame (avctx=0x8bea620, data=0xffffca50, data_size=0xffffcb50,
avpkt=0x8bed140) at libavcodec/mpeg12.c:2323
#11 0x083dcaba in avcodec_decode_video2 (avctx=0x8bea620, picture=0xffffca50, got_picture_ptr=0xffffcb50,
avpkt=0x8bed140) at libavcodec/utils.c:737
#12 0x0813a547 in try_decode_frame (st=0x8be8d40, avpkt=0x8bed140) at libavformat/utils.c:2076
#13 0x0813b386 in av_find_stream_info (ic=0x8be5320) at libavformat/utils.c:2366
#14 0x0805596f in opt_input_file (filename=0xffffd28e "t.mpg") at ffmpeg.c:3315
#15 0x08059410 in parse_options (argc=3, argv=0xffffd024, options=0x8511f80,
parse_arg_function=0x80572da <opt_output_file>) at cmdutils.c:282
#16 0x08058869 in main (argc=3, argv=0xffffd024) at ffmpeg.c:4500
(gdb) disass $pc-21 $pc+32
Dump of assembler code from 0x81b9fcc to 0x81ba001:
0x081b9fcc <put_pixels8_8_c+0>: push %ebp
0x081b9fcd <put_pixels8_8_c+1>: mov %esp,%ebp
0x081b9fcf <put_pixels8_8_c+3>: sub $0x10,%esp
0x081b9fd2 <put_pixels8_8_c+6>: movl $0x0,-0x4(%ebp)
0x081b9fd9 <put_pixels8_8_c+13>: jmp 0x81ba005 <put_pixels8_8_c+57>
0x081b9fdb <put_pixels8_8_c+15>: mov 0x8(%ebp),%eax
0x081b9fde <put_pixels8_8_c+18>: mov 0xc(%ebp),%edx
0x081b9fe1 <put_pixels8_8_c+21>: mov (%edx),%edx
0x081b9fe3 <put_pixels8_8_c+23>: mov %edx,(%eax)
0x081b9fe5 <put_pixels8_8_c+25>: mov 0x8(%ebp),%eax
0x081b9fe8 <put_pixels8_8_c+28>: lea 0x4(%eax),%edx
0x081b9feb <put_pixels8_8_c+31>: mov 0xc(%ebp),%eax
0x081b9fee <put_pixels8_8_c+34>: add $0x4,%eax
0x081b9ff1 <put_pixels8_8_c+37>: mov (%eax),%eax
0x081b9ff3 <put_pixels8_8_c+39>: mov %eax,(%edx)
0x081b9ff5 <put_pixels8_8_c+41>: mov 0x10(%ebp),%eax
0x081b9ff8 <put_pixels8_8_c+44>: add %eax,0xc(%ebp)
0x081b9ffb <put_pixels8_8_c+47>: mov 0x10(%ebp),%eax
0x081b9ffe <put_pixels8_8_c+50>: add %eax,0x8(%ebp)
End of assembler dump.
(gdb) info registers
eax 0x8c600b0 147194032
ecx 0x0 0
edx 0x0 0
ebx 0x180 384
esp 0xffffc4b0 0xffffc4b0
ebp 0xffffc4c0 0xffffc4c0
esi 0x790 1936
edi 0x0 0
eip 0x81b9fe1 0x81b9fe1 <put_pixels8_8_c+21>
eflags 0x10293 [ CF AF SF IF RF ]
cs 0x23 35
ss 0x2b 43
ds 0x2b 43
es 0x2b 43
fs 0x0 0
gs 0x63 99
comment:2 Changed 2 years ago by cehoyos
Plays fine with mplayer -demuxer mpegts (the file format is correctly recognized with score 100 by FFmpeg).
comment:4 Changed 2 years ago by ami_stuff
The crash is most likely fixed by:
http://git.videolan.org/?p=ffmpeg.git;a=commit;h=612122b187d711257eecd517e4049cef3bb0b7f0
"Fix crash of interlaced MPEG2 decoding"
Note: See
TracTickets for help on using
tickets.



