New submission from Francesco Cosoleto <[EMAIL PROTECTED]>: Hello,
this is an (evidently unlucky) new ffmpeg user. [EMAIL PROTECTED]:~> gdb ffmpeg_g GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i586-suse-linux"... (gdb) r -i conversioni/source/test/SEGMENTO.AVI -vcodec libx264 -crf 1.0 conversioni/destination/SEGMENTO_ffmpeg_custom.mp4 Starting program: /home/fra/bin/ffmpeg_g -i conversioni/source/test/SEGMENTO.AVI -vcodec libx264 -crf 1.0 conversioni/destination/SEGMENTO_ffmpeg_custom.mp4 [Thread debugging using libthread_db enabled] FFmpeg version SVN-r15368, Copyright (c) 2000-2008 Fabrice Bellard, et al. configuration: --enable-gpl --enable-libfaac --enable-libfaad --enable-libx264 --enable-libxvid --enable-libmp3lame --enable-pthreads --enable-shared --enable-nonfree --enable-libtheora --enable-libvorbis --disable-ipv6 --enable-postproc --enable-debug libavutil 49.10. 0 / 49.10. 0 libavcodec 52. 0. 0 / 52. 0. 0 libavformat 52.22. 1 / 52.22. 1 libavdevice 52. 1. 0 / 52. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 built on Sep 19 2008 16:18:17, gcc: 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036] Input #0, avi, from 'conversioni/source/test/SEGMENTO.AVI': Duration: 00:01:12.00, start: 0.000000, bitrate: 1173 kb/s Stream #0.0: Video: mpeg4, yuv420p, 512x384 [PAR 1:1 DAR 4:3], 25.00 tb(r) Stream #0.1: Audio: mp3, 44100 Hz, stereo, s16, 96 kb/s File 'conversioni/destination/SEGMENTO_ffmpeg_custom.mp4' already exists. Overwrite ? [y/N] y Output #0, mp4, to 'conversioni/destination/SEGMENTO_ffmpeg_custom.mp4': Stream #0.0: Video: libx264, yuv420p, 512x384 [PAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 25.00 tb(c) Stream #0.1: Audio: libfaac, 44100 Hz, stereo, s16, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 [libx264 @ 0x807b770]using SAR=1/1 [libx264 @ 0x807b770]VBV bitrate (1065353216) > level limit (240000) [libx264 @ 0x807b770]VBV buffer (1101004800) > level limit (240000) [libx264 @ 0x807b770]using cpu capabilities: MMX2 [libx264 @ 0x807b770]VBV is incompatible with constant QP, ignored. [libx264 @ 0x807b770]bitrate tolerance too small, using .01 Press [q] to stop encoding [mp3 @ 0x806bdd0]mdb:463, lastbuf:0 skipping granule 0 [mp3 @ 0x806bdd0]mdb:463, lastbuf:0 skipping granule 0 [mp3 @ 0x806bdd0]mdb:463, lastbuf:0 skipping granule 1 [mp3 @ 0x806bdd0]mdb:463, lastbuf:0 skipping granule 1 [mp3 @ 0x806bdd0]mdb:472, lastbuf:278 skipping granule 0 [mp3 @ 0x806bdd0]mdb:472, lastbuf:278 skipping granule 0 [mp3 @ 0x806bdd0]mdb:472, lastbuf:278 skipping granule 1 [New Thread 0xb727f6c0 (LWP 17041)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb727f6c0 (LWP 17041)] 0xb73dcd0b in x264_ratecontrol_mb () from /usr/lib/libx264.so.60 (gdb) bt #0 0xb73dcd0b in x264_ratecontrol_mb () from /usr/lib/libx264.so.60 #1 0x08091ed0 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb) disass $pc-32 $pc+32 Dump of assembler code from 0xb73dcceb to 0xb73dcd2b: 0xb73dcceb <x264_ratecontrol_mb+475>: fstps 0x4c(%esi) 0xb73dccee <x264_ratecontrol_mb+478>: jmp 0xb73dcbb0 <x264_ratecontrol_mb+160> 0xb73dccf3 <x264_ratecontrol_mb+483>: nop 0xb73dccf4 <x264_ratecontrol_mb+484>: lea 0x0(%esi,%eiz,1),%esi 0xb73dccf8 <x264_ratecontrol_mb+488>: mov 0xbf8(%ecx),%eax 0xb73dccfe <x264_ratecontrol_mb+494>: mov 0x58(%esp),%edx 0xb73dcd02 <x264_ratecontrol_mb+498>: mov (%eax,%edx,4),%edi 0xb73dcd05 <x264_ratecontrol_mb+501>: mov 0xbf4(%ecx),%eax 0xb73dcd0b <x264_ratecontrol_mb+507>: fildl (%eax,%edx,4) 0xb73dcd0e <x264_ratecontrol_mb+510>: fstpl 0x20(%esp) 0xb73dcd12 <x264_ratecontrol_mb+514>: fildl 0x48(%esi) 0xb73dcd15 <x264_ratecontrol_mb+517>: fstpl (%esp) 0xb73dcd18 <x264_ratecontrol_mb+520>: call 0xb73db9c0 0xb73dcd1d <x264_ratecontrol_mb+525>: mov 0x224(%esi),%eax 0xb73dcd23 <x264_ratecontrol_mb+531>: flds -0x6ff4(%ebx) 0xb73dcd29 <x264_ratecontrol_mb+537>: fldl 0x20(%esp) End of assembler dump. (gdb) info all-registers eax 0x0 0 ecx 0x80a0cd0 134876368 edx 0x0 0 ebx 0xb741cff4 -1220423692 esp 0xbfb6b380 0xbfb6b380 ebp 0x8091ed0 0x8091ed0 esi 0x80e8b60 135170912 edi 0xe7f 3711 eip 0xb73dcd0b 0xb73dcd0b <x264_ratecontrol_mb+507> eflags 0x10202 [ IF RF ] cs 0x73 115 ss 0x7b 123 ds 0x7b 123 es 0x7b 123 fs 0x0 0 gs 0x33 51 st0 -nan(0x807f7f7e7e7d7d7c) (raw 0xffff807f7f7e7e7d7d7c) st1 -nan(0x807f7f7e7e7d7d7c) (raw 0xffff807f7f7e7e7d7d7c) st2 -nan(0x807f7f7e7e7d7d7c) (raw 0xffff807f7f7e7e7d7d7c) st3 -nan(0x807f7f7e7e7d7d7c) (raw 0xffff807f7f7e7e7d7d7c) st4 -nan(0x1111111111111111) (raw 0xffff1111111111111111) st5 -nan(0x10f1010101010) (raw 0xffff00010f1010101010) st6 -nan(0x1111111111111111) (raw 0xffff1111111111111111) st7 0 (raw 0x00000000000000000000) fctrl 0x37f 895 fstat 0x127 295 ftag 0xffff 65535 fiseg 0x0 0 fioff 0x0 0 foseg 0x0 0 ---Type <return> to continue, or q <return> to quit--- fooff 0x0 0 fop 0x0 0 xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x75, 0x24, 0xff, 0xff, 0xc2, 0x25, 0x0, 0x0, 0xb2, 0x9a, 0x0, 0x0, 0x2c, 0x7c, 0x0, 0x0}, v8_int16 = { 0x2475, 0xffff, 0x25c2, 0x0, 0x9ab2, 0x0, 0x7c2c, 0x0}, v4_int32 = {0xffff2475, 0x25c2, 0x9ab2, 0x7c2c}, v2_int64 = {0x25c2ffff2475, 0x7c2c00009ab2}, uint128 = 0x00007c2c00009ab2000025c2ffff2475} xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = { 0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = { 0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = { 0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = { 0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = { 0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = { 0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = { 0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = { 0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = { 0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = { 0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = { 0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = { 0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = { 0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = { 0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} mxcsr 0x1f80 [ IM DM ZM OM UM PM ] mm0 {uint64 = 0x807f7f7e7e7d7d7c, v2_int32 = {0x7e7d7d7c, 0x807f7f7e}, v4_int16 = { ---Type <return> to continue, or q <return> to quit--- 0x7d7c, 0x7e7d, 0x7f7e, 0x807f}, v8_int8 = {0x7c, 0x7d, 0x7d, 0x7e, 0x7e, 0x7f, 0x7f, 0x80}} mm1 {uint64 = 0x807f7f7e7e7d7d7c, v2_int32 = {0x7e7d7d7c, 0x807f7f7e}, v4_int16 = { 0x7d7c, 0x7e7d, 0x7f7e, 0x807f}, v8_int8 = {0x7c, 0x7d, 0x7d, 0x7e, 0x7e, 0x7f, 0x7f, 0x80}} mm2 {uint64 = 0x807f7f7e7e7d7d7c, v2_int32 = {0x7e7d7d7c, 0x807f7f7e}, v4_int16 = { 0x7d7c, 0x7e7d, 0x7f7e, 0x807f}, v8_int8 = {0x7c, 0x7d, 0x7d, 0x7e, 0x7e, 0x7f, 0x7f, 0x80}} mm3 {uint64 = 0x807f7f7e7e7d7d7c, v2_int32 = {0x7e7d7d7c, 0x807f7f7e}, v4_int16 = { 0x7d7c, 0x7e7d, 0x7f7e, 0x807f}, v8_int8 = {0x7c, 0x7d, 0x7d, 0x7e, 0x7e, 0x7f, 0x7f, 0x80}} mm4 {uint64 = 0x1111111111111111, v2_int32 = {0x11111111, 0x11111111}, v4_int16 = { 0x1111, 0x1111, 0x1111, 0x1111}, v8_int8 = {0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11}} mm5 {uint64 = 0x10f1010101010, v2_int32 = {0x10101010, 0x10f10}, v4_int16 = {0x1010, 0x1010, 0xf10, 0x1}, v8_int8 = {0x10, 0x10, 0x10, 0x10, 0x10, 0xf, 0x1, 0x0}} mm6 {uint64 = 0x1111111111111111, v2_int32 = {0x11111111, 0x11111111}, v4_int16 = { 0x1111, 0x1111, 0x1111, 0x1111}, v8_int8 = {0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11}} mm7 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} (gdb) Nice idea the puzzle in bugreports.html. :-) ---------- messages: 3233 nosy: cosoleto priority: normal status: new substatus: new title: Segmentation fault, libx264 and -crf > 0 type: bug ______________________________________________________ FFmpeg issue tracker <[EMAIL PROTECTED]> <https://roundup.mplayerhq.hu/roundup/ffmpeg/issue644> ______________________________________________________
