6Sep30/mplayer# gdb ./mencoder GNU gdb 6.3 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 "i486-slackware-linux"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run -v -ovc copy -oac twolame /home/root/TV/60\ Minutes\ 2006.10.01_1900.02.mpg -o /dev/null Starting program: /home/root/saved/MPlayer/CVS-2006Sep30/mplayer/mencoder -v -ovc copy -oac twolame /home/root/TV/60\ Minutes\ 2006.10.01_1900.02.mpg -o /dev/null [Thread debugging using libthread_db enabled] [New Thread 16384 (LWP 9111)] MEncoder dev-SVN-r20009-3.3.6 (C) 2000-2006 MPlayer Team CPU: AMD Athlon(TM) XP 2000+ (Family: 6, Model: 8, Stepping: 1) CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE init_freetype get_path('font/font.desc') -> '/home/root/.mplayer/font/font.desc' font: can't open file: /home/root/.mplayer/font/font.desc font: can't open file: /usr/local/share/mplayer/font/font.desc Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay [file] File size is 2098558912 bytes STREAM: [file] /home/root/TV/60 Minutes 2006.10.01_1900.02.mpg STREAM: Description: File STREAM: Author: Albeu STREAM: Comment: based on the code from ??? (probably Arpi) success: format: 0 data: 0x0 - 0x7d1577c0 Checking for YUV4MPEG2 ASF_check: not ASF guid! Checking for NuppelVideo Checking for REAL Checking for SMJPEG Searching demuxer type for filename /home/root/TV/60 Minutes 2006.10.01_1900.02.mpg ext: .mpg Checking for Nullsoft Streaming Video Checking for MOV Checking for VIVO header block 1 size: 0 AVS: avs_check_file - attempting to open file /home/root/TV/60 Minutes 2006.10.01_1900.02.mpg AVS: File is too big, aborting... Checking for PVA Checking for MPEG-TS... TRIED UP TO POSITION 67534, FOUND 47, packet_size= 0, SEEMS A TS? 0 Checking for LMLM4 Stream Format Invalid packet in LMLM4 stream: ch=0 size=1140851704 LMLM4 Stream Format not found system stream synced at 0xD (13)! ==> Found video stream: 0 ==> Found audio stream: 0 MPEG Stream reached EOF ds_fill_buffer: EOF reached (stream: video) MPEG-PS file format detected. Searching for sequence header... OK! VIDEO: MPEG2 720x480 (aspect 2) 29.970 fps 8000.0 kbps (1000.0 kbyte/s) [V] filefmt:2 fourcc:0x10000002 size:720x480 fps:29.97 ftime:=0.0334 ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer. mp3lib: made decode tables with MMX optimization mp3lib: using 3DNow!Ex optimized decore! MP3lib: init layer2&3 finished, tables done MPEG 1.0, Layer II, 48000 Hz 384 kbit Stereo, BPF: 1152 Channels: 2, copyright: No, original: No, CRC: No, emphasis: 0 AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== videocodec: framecopy (720x480 24bpp fourcc=10000002) Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??... [libaf] Adding filter dummy [dummy] Was reinitialized: 48000Hz/2ch/s16le [dummy] Was reinitialized: 48000Hz/2ch/s16le encode_init: using tablenum 4 with sblimit 30 Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le... [dummy] Was reinitialized: 48000Hz/2ch/s16le [dummy] Was reinitialized: 48000Hz/2ch/s16le Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 9111)] 0x084f9886 in toolame_getBitrate (glopts=0x0) at toolame.c:677 677 toolame.c: No such file or directory. in toolame.c (gdb) bt #0 0x084f9886 in toolame_getBitrate (glopts=0x0) at toolame.c:677 #1 0x08500c74 in available_bits (header=0x88d5670, glopts=0x0) at availbits.c:43 #2 0x402cf922 in encode_frame (glopts=0x88d5670, bs=0x88ea308) at twolame.c:448 #3 0x402cf39f in twolame_encode_buffer_interleaved (glopts=0x88d5670, pcm=0x88e48d0, num_samples=0, mp2buffer=0x40ae9008 "", mp2buffer_size=1048576) at twolame.c:727 #4 0x080d5cfe in encode_twolame (encoder=0x0, dest=0x40ae9008 "", src=0x0, len=4608, max_size=1048576) at ae_twolame.c:89 #5 0x080a74cf in main (argc=0, argv=0x0) at mencoder.c:1176 (gdb) disass $pc-32 $pc+32 Dump of assembler code from 0x84f9866 to 0x84f98a6: 0x084f9866 : adc %cl,0x5d8bfc75(%ebx) 0x084f986c : clc 0x084f986d : xor %eax,%eax 0x084f986f : leave 0x084f9870 : ret 0x084f9871 : jmp 0x84f9880 0x084f9873 : nop 0x084f9874 : nop 0x084f9875 : nop 0x084f9876 : nop 0x084f9877 : nop 0x084f9878 : nop 0x084f9879 : nop 0x084f987a : nop 0x084f987b : nop 0x084f987c : nop 0x084f987d : nop 0x084f987e : nop 0x084f987f : nop 0x084f9880 : push %ebp 0x084f9881 : mov %esp,%ebp 0x084f9883 : mov 0x8(%ebp),%edx ---Type to continue, or q to quit--- 0x084f9886 : mov 0xc(%edx),%eax 0x084f9889 : leave 0x084f988a : ret 0x084f988b : nop 0x084f988c : lea 0x0(%esi),%esi 0x084f9890 : push %ebp 0x084f9891 : mov %esp,%ebp 0x084f9893 : mov 0xc(%ebp),%edx 0x084f9896 : cmp $0x1,%edx 0x084f9899 : jbe 0x84f98a5 0x084f989b : cmp $0x3,%edx 0x084f989e : mov $0xffffffff,%eax 0x084f98a3 : jne 0x84f98ad 0x084f98a5 : mov 0x8(%ebp),%ecx End of assembler dump. (gdb) info all-registers eax 0x0 0 ecx 0x0 0 edx 0x0 0 ebx 0x0 0 esp 0xbfffe258 0xbfffe258 ebp 0xbfffe258 0xbfffe258 esi 0x88d5670 143480432 edi 0x88d5670 143480432 eip 0x84f9886 0x84f9886 eflags 0x210286 2163334 cs 0x23 35 ss 0x2b 43 ds 0x2b 43 es 0x2b 43 fs 0x0 0 gs 0x0 0 st0 -nan(0xed9d0effedd50ddb) (raw 0xffffed9d0effedd50ddb) st1 -nan(0xed0710b7ed78101e) (raw 0xffffed0710b7ed78101e) st2 -nan(0xec8010eaeca510ec) (raw 0xffffec8010eaeca510ec) st3 -nan(0xec34118eec4e10f1) (raw 0xffffec34118eec4e10f1) st4 -nan(0xed61146fec8c12d3) (raw 0xffffed61146fec8c12d3) st5 1 (raw 0x3fff8000000000000000) st6 0.19199999999999999999880737761026595 (raw 0x3ffcc49ba5e353f7c---Type to continue, or q to quit--- ed9) st7 6000 (raw 0x400bbb80000000000000) 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}, ---Type to continue, or q to quit--- 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 8064 mm0 {uint64 = 0xed9d0effedd50ddb, v2_int32 = {0xedd50ddb, 0xed9d0eff}, v4_int16 = {0xddb, 0xedd5, 0xeff, 0xed9d}, v8_int8 = {0xdb, 0xd, 0xd5, 0xed, 0xff, 0xe, 0x9d, 0xed}} ---Type to continue, or q to quit--- mm1 {uint64 = 0xed0710b7ed78101e, v2_int32 = {0xed78101e, 0xed0710b7}, v4_int16 = {0x101e, 0xed78, 0x10b7, 0xed07}, v8_int8 = {0x1e, 0x10, 0x78, 0xed, 0xb7, 0x10, 0x7, 0xed}} mm2 {uint64 = 0xec8010eaeca510ec, v2_int32 = {0xeca510ec, 0xec8010ea}, v4_int16 = {0x10ec, 0xeca5, 0x10ea, 0xec80}, v8_int8 = {0xec, 0x10, 0xa5, 0xec, 0xea, 0x10, 0x80, 0xec}} mm3 {uint64 = 0xec34118eec4e10f1, v2_int32 = {0xec4e10f1, 0xec34118e}, v4_int16 = {0x10f1, 0xec4e, 0x118e, 0xec34}, v8_int8 = {0xf1, 0x10, 0x4e, 0xec, 0x8e, 0x11, 0x34, 0xec}} mm4 {uint64 = 0xed61146fec8c12d3, v2_int32 = {0xec8c12d3, 0xed61146f}, v4_int16 = {0x12d3, 0xec8c, 0x146f, 0xed61}, v8_int8 = {0xd3, 0x12, 0x8c, 0xec, 0x6f, 0x14, 0x61, 0xed}} mm5 {uint64 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000}, v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80}} mm6 {uint64 = 0xc49ba5e353f7ced9, v2_int32 = {0x53f7ced9, 0xc49ba5e3}, v4_int16 = {0xced9, 0x53f7, 0xa5e3, 0xc49b}, v8_int8 = {0xd9, 0xce, 0xf7, 0x53, 0xe3, 0xa5, 0x9b, 0xc4}} mm7 {uint64 = 0xbb80000000000000, v2_int32 = {0x0, 0xbb800000}, v4_int16 = {0x0, 0x0, 0x0, 0xbb80}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80, 0xbb}} (gdb) continue Continuing. Cannot find user-level thread for LWP 9111: generic error (gdb) quit The program is running. Exit anyway? (y or n) y Quitting: Cannot find thread 16384: generic error 6Sep30/mplayer#