submitted by rafal.wojtczuk@7bulls.com same crash observed with other builds [nergal@emperor ffmpeg-checkout-2007-06-06]$ gdb --args ./ffmpeg_g -i /mnt/other/samba/Cap0002.AVI -target pal-dvd out.mpg GNU gdb Red Hat Linux (6.1post-1.20040607.43rh) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) r Starting program: /mnt/vmware/nergal/ffmpeg/src/ffmpeg-checkout-2007-06-06/ffmpeg_g -i /mnt/other/samba/Cap0002.AVI -target pal-dvd out.mpg FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al. configuration: libavutil version: 49.4.0 libavcodec version: 51.40.4 libavformat version: 51.12.1 built on Jun 6 2007 17:16:25, gcc: 3.4.3 20050227 (Red Hat 3.4.3-22.fc3) Input #0, avi, from '/mnt/other/samba/Cap0002.AVI': Duration: 00:19:42.0, start: 0.000000, bitrate: 30819 kb/s Stream #0.0: Video: dvvideo, yuv411p, 720x480, 28771 kb/s, 29.97 fps(r) Stream #0.1: Audio: pcm_s16le, 32000 Hz, stereo, 1024 kb/s Stream #0.2: Audio: pcm_s16le, 32000 Hz, stereo, 1024 kb/s PIX_FMT_YUV420P will be used as an intermediate format for rescaling Output #0, dvd, to 'out.mpg': Stream #0.0: Video: mpeg2video, yuv420p, 720x576, q=2-31, 6000 kb/s, 25.00 fps(c) Stream #0.1: Audio: ac3, 48000 Hz, stereo, 448 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding Compiler did not align stack variables. Libavcodec has been miscompiled and may be very slow or crash. This is not a bug in libavcodec, but in the compiler. Do not report crashes to FFmpeg developers. Program received signal SIGSEGV, Segmentation fault. 0x0807345c in avi_read_packet (s=0x84c6940, pkt=0x84c7850) at avidec.c:564 564 int64_t ts= ast->frame_offset; (gdb) p ast $1 = (AVIStream *) 0x0 (gdb) bt #0 0x0807345c in avi_read_packet (s=0x84c6940, pkt=0x84c7850) at avidec.c:564 #1 0x0806197e in av_read_frame_internal (s=0x84c6940, pkt=0x5) at utils.c:188 #2 0x0805f66b in main (argc=0, argv=0xbffff894) at ffmpeg.c:1881 (gdb) disass $pc-32 $pc+32 Dump of assembler code from 0x807343c to 0x807347c: 0x0807343c : pusha 0x0807343d : mov %eax,0x88(%esp) 0x08073444 : mov 0x88(%esp),%eax 0x0807344b : mov 0x14(%eax),%eax 0x0807344e : mov %eax,0x84(%esp) 0x08073455 : mov 0x84(%esp),%eax 0x0807345c : mov 0x4(%eax),%edx 0x0807345f : mov (%eax),%eax 0x08073461 : mov %eax,0x78(%esp) 0x08073465 : mov %edx,0x7c(%esp) 0x08073469 : mov 0x84(%esp),%eax 0x08073470 : cmpl $0x0,0x18(%eax) 0x08073474 : je 0x80734a1 0x08073476 : mov 0x84(%esp),%eax End of assembler dump. (gdb) info regi eax 0x0 0 ecx 0x0 0 edx 0x84c6940 139225408 ebx 0x84c6940 139225408 esp 0xbffff030 0xbffff030 ebp 0x0 0x0 esi 0x0 0 edi 0x0 0 eip 0x807345c 0x807345c eflags 0x210293 2163347 cs 0x73 115 ss 0x7b 123 ds 0x7b 123 es 0x7b 123 fs 0x0 0 gs 0x33 51