GNU gdb 6.6.50.20070726-cvs Copyright (C) 2007 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 "i586-suse-linux"... Using host libthread_db library "/lib/libthread_db.so.1". (gdb) r DA_117588fd522.mpg Starting program: mplayer DA_117588fd522.mpg [Thread debugging using libthread_db enabled] [New Thread 0xb60906f0 (LWP 28958)] MPlayer dev-SVN-r25688-4.2.1 (C) 2000-2008 MPlayer Team CPU: AMD Athlon(tm) XP 2600+ (Family: 6, Model: 8, Stepping: 1) CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE Warning unknown option nomenu at line 46 Playing DA_117588fd522.mpg. MPEG-PS file format detected. FPS seems to be: 25.000000 ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000->176400) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample) Starting playback... Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb60906f0 (LWP 28958)] 0x08437e8c in decode_seq_parameter_set (h=0xb5ec2020) at golomb.h:57 57 UPDATE_CACHE(re, gb); (gdb) bt #0 0x08437e8c in decode_seq_parameter_set (h=0xb5ec2020) at golomb.h:57 #1 0x0844e8df in decode_nal_units (h=0x8d4a, buf=0xb5ee5008 "", buf_size=176) at h264.c:7508 #2 0x0844fba4 in decode_frame (avctx=0x8a05b20, data=0x8a056f0, data_size=0xbfbcc134, buf=0xb5ee5008 "", buf_size=176) at h264.c:7664 #3 0x083070ad in avcodec_decode_video (avctx=0x8a05b20, picture=0x8a056f0, got_picture_ptr=0xbfbcc134, buf=0xb5ee5008 "", buf_size=176) at utils.c:945 #4 0x08180fc7 in decode (sh=0x89f9d20, data=0xb5ee5008, len=176, flags=0) at vd_ffmpeg.c:780 #5 0x081481eb in decode_video (sh_video=0x89f9d20, start=0xb5ee5008 "", in_size=176, drop_frame=0, pts=1.8300000000000001) at dec_video.c:366 #6 0x080cc4a0 in main (argc=2, argv=0xbfbcd414) at mplayer.c:2120 (gdb) disass $pc-32 $pc+32 Dump of assembler code from 0x8437e6c to 0x8437eac: 0x08437e6c : or $0x72,%dl 0x08437e6f : or %al,(%ecx) 0x08437e71 : rorb -0x7d7643ab(%ebx) 0x08437e77 : sub %ah,(%ecx) 0x08437e79 : add %al,(%eax) 0x08437e7b : mov -0x44(%ebp),%eax 0x08437e7e : mov -0x48(%ebp),%ecx 0x08437e81 : mov 0x2128(%eax),%edx 0x08437e87 : mov %edx,%eax 0x08437e89 : sar $0x3,%eax 0x08437e8c : mov (%ecx,%eax,1),%eax 0x08437e8f : mov %edx,%ecx 0x08437e91 : and $0x7,%ecx 0x08437e94 : bswap %eax 0x08437e96 : shl %cl,%eax 0x08437e98 : cmp $0x7ffffff,%eax 0x08437e9d : jbe 0x84383a0 0x08437ea3 : shr $0x17,%eax 0x08437ea6 : movzbl 0x872ca80(%eax),%eax End of assembler dump. (gdb) info all-registers eax 0x8d4a 36170 ecx 0x8aaa2b8 145400504 edx 0x46a51 289361 ebx 0x8f0 2288 esp 0xbfbcbe90 0xbfbcbe90 ebp 0xbfbcbf28 0xbfbcbf28 esi 0x5b8e 23438 edi 0x201 513 eip 0x8437e8c 0x8437e8c eflags 0x210212 [ AF IF RF ID ] cs 0x73 115 ss 0x7b 123 ds 0x7b 123 es 0x7b 123 fs 0x0 0 gs 0x33 51 st0 -nan(0x800080000000017c) (raw 0xffff800080000000017c) st1 -nan(0xff8effd6ff8effd6) (raw 0xffffff8effd6ff8effd6) st2 -nan(0xffffdc51fffff827) (raw 0xffffffffdc51fffff827) st3 -nan(0xfffdd5bdffffc258) (raw 0xfffffffdd5bdffffc258) st4 -nan(0x7d004a007d004a) (raw 0xffff007d004a007d004a) st5 -nan(0xff83ffb6ff83ffb6) (raw 0xffffff83ffb6ff83ffb6) st6 -0.1000000000000000055511151231257827 (raw 0xbffbccccccccccccd000) st7 1.8300000000000000710542735760100186 (raw 0x3fffea3d70a3d70a4000) fctrl 0x37f 895 fstat 0x4020 16416 ftag 0xffff 65535 fiseg 0x0 0 fioff 0x0 0 foseg 0x0 0 fooff 0x0 0 fop 0x0 0 xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 }, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 }, 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 }, 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 }, 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 }, 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 }, 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 }, 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 }, 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 = 0x800080000000017c, v2_int32 = {0x17c, 0x80008000}, v4_int16 = {0x17c, 0x0, 0x8000, 0x8000}, v8_int8 = {0x7c, 0x1, 0x0, 0x0, 0x0, 0x80, 0x0, 0x80}} mm1 {uint64 = 0xff8effd6ff8effd6, v2_int32 = {0xff8effd6, 0xff8effd6}, v4_int16 = {0xffd6, 0xff8e, 0xffd6, 0xff8e}, v8_int8 = {0xd6, 0xff, 0x8e, 0xff, 0xd6, 0xff, 0x8e, 0xff}} mm2 {uint64 = 0xffffdc51fffff827, v2_int32 = {0xfffff827, 0xffffdc51}, v4_int16 = {0xf827, 0xffff, 0xdc51, 0xffff}, v8_int8 = {0x27, 0xf8, 0xff, 0xff, 0x51, 0xdc, 0xff, 0xff}} mm3 {uint64 = 0xfffdd5bdffffc258, v2_int32 = {0xffffc258, 0xfffdd5bd}, v4_int16 = {0xc258, 0xffff, 0xd5bd, 0xfffd}, v8_int8 = {0x58, 0xc2, 0xff, 0xff, 0xbd, 0xd5, 0xfd, 0xff}} mm4 {uint64 = 0x7d004a007d004a, v2_int32 = {0x7d004a, 0x7d004a}, v4_int16 = {0x4a, 0x7d, 0x4a, 0x7d}, v8_int8 = {0x4a, 0x0, 0x7d, 0x0, 0x4a, 0x0, 0x7d, 0x0}} mm5 {uint64 = 0xff83ffb6ff83ffb6, v2_int32 = {0xff83ffb6, 0xff83ffb6}, v4_int16 = {0xffb6, 0xff83, 0xffb6, 0xff83}, v8_int8 = {0xb6, 0xff, 0x83, 0xff, 0xb6, 0xff, 0x83, 0xff}} mm6 {uint64 = 0xccccccccccccd000, v2_int32 = {0xccccd000, 0xcccccccc}, v4_int16 = {0xd000, 0xcccc, 0xcccc, 0xcccc}, v8_int8 = {0x0, 0xd0, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc}} mm7 {uint64 = 0xea3d70a3d70a4000, v2_int32 = {0xd70a4000, 0xea3d70a3}, v4_int16 = {0x4000, 0xd70a, 0x70a3, 0xea3d}, v8_int8 = {0x0, 0x40, 0xa, 0xd7, 0xa3, 0x70, 0x3d, 0xea}}