-------------- System Informations -------------- Debian Sid Linux badebec 2.6.9-usagi-skas3-v6 #1 Sun Nov 14 16:02:10 CET 2004 i686 GNU/Linux -rw-r--r-- 1 root root 1244080 Oct 13 21:40 /lib/libc-2.3.2.so lrwxrwxrwx 1 root root 13 Oct 15 17:07 /lib/libc.so.6 -> libc-2.3.2.so Gnu C 3.3.5 Gnu make 3.80 binutils 2.15 util-linux 2.12h mount 2.12h module-init-tools 3.1 e2fsprogs 1.35 PPP 2.4.2 nfs-utils 1.0.6 Linux C Library 2.3.2 Dynamic linker (ldd) 2.3.2 Procps 3.2.4 Net-tools 1.60 Console-tools 0.2.3 Sh-utils 5.2.1 -------------- Mplayer Informations -------------- mplayer configured with: # ./configure --enable-debug=3 --enable-largefiles --prefix=/opt/mplayer-DEBUG The file which shows the problem was /share/Video1.avi # ls -l /share/Video1.avi -rw-r--r-- 1 root root 5.6G Nov 27 17:32 /share/Video1.avi # file /share/Video1.avi /share/Video1.avi: RIFF (little-endian) data, AVI, 720 x 576, 25.00 fps, video:, audio: uncompressed PCM (stereo, 32000 Hz) # cd /opt/mplayer-DEBUG/bin # gdb ./mplayer GNU gdb 6.3-debian 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-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) run -v /share/Video1.avi Starting program: /opt/mplayer-DEBUG/bin/mplayer -v /share/Video1.avi [Thread debugging using libthread_db enabled] [New Thread -1216884608 (LWP 27220)] Using GNU internationalization Original domain: messages Original dirname: /usr/share/locale Current domain: mplayer Current dirname: /opt/mplayer-DEBUG/share/locale MPlayer dev-CVS-041127-22:12-3.3.5 (C) 2000-2004 MPlayer Team CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, Stepping: 1) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE 64 audio & 174 video codecs CommandLine: '-v' '/share/Video1.avi' init_freetype get_path('font/font.desc') -> '/root/.mplayer/font/font.desc' Font /root/.mplayer/font/font.desc loaded successfully! (206 chars) Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay Using Linux hardware RTC timing (1024Hz). get_path('input.conf') -> '/root/.mplayer/input.conf' Parsing input config file /root/.mplayer/input.conf Input config file /root/.mplayer/input.conf parsed: 51 binds get_path('Video1.avi.conf') -> '/root/.mplayer/Video1.avi.conf' Playing /share/Video1.avi. [file] File size is 5906894426 bytes STREAM: [file] /share/Video1.avi STREAM: Description: File STREAM: Author: Albeu STREAM: Comment: based on the code from ??? (probably Arpi) AVI file format detected. list_end=0x8262 ======= AVI Header ======= us/frame: 40000 (fps=25.000) max bytes/sec: 3600000 padding: 512 MainAVIHeader.dwFlags: (65552) HAS_INDEX WAS_CAPTUREFILE frames total: 7170 initial: 0 streams: 2 Suggested BufferSize: 144000 Size: 720 x 576 ========================== list_end=0x40F0 ==> Found video stream: 0 ====== STREAM Header ===== Type: vids FCC: dvsd (64737664) Flags: 0 Priority: 0 Language: 0 InitialFrames: 0 Rate: 10000000/400000 = 25.000 Start: 0 Len: 39607 Suggested BufferSize: 144016 Quality 10000 Sample size: 0 ========================== found 'bih', 68 bytes of 40 ======= VIDEO Format ====== biSize 40 biWidth 720 biHeight 576 biPlanes 1 biBitCount 24 biCompression 1685288548='dvsd' biSizeImage 1244160 =========================== ====== AVI Super Index Header ======== FCC (indx) dwSize (16376) wLongsPerEntry(4) bIndexSubType (0) bIndexType (0) nEntriesInUse (22) dwChunkId (00dc) dwReserved[0] (0) dwReserved[1] (0) dwReserved[2] (0) =========================== ODML (00dc): [0] 0x0000000012222260 0x3ff8 2040 ODML (00dc): [1] 0x00000000244478c0 0x3ff8 2040 ODML (00dc): [2] 0x000000003666cf20 0x3ff8 2040 ODML (00dc): [3] 0x000000003fbed0f0 0x3ff8 1051 ODML (00dc): [4] 0x0000000051e3aa80 0x3ff8 2040 ODML (00dc): [5] 0x00000000640588e0 0x3ff8 2040 ODML (00dc): [6] 0x000000007627df40 0x3ff8 2040 ODML (00dc): [7] 0x00000000884a35a0 0x3ff8 2040 ODML (00dc): [8] 0x000000009a6c8c00 0x3ff8 2040 ODML (00dc): [9] 0x00000000ac8f2270 0x3ff8 2040 ODML (00dc): [10] 0x00000000beb178d0 0x3ff8 2040 ODML (00dc): [11] 0x00000000bf4190a0 0x3ff8 63 ODML (00dc): [12] 0x00000000d163e880 0x3ff8 2040 ODML (00dc): [13] 0x00000000e3863ee0 0x3ff8 2040 ODML (00dc): [14] 0x00000000f5a89540 0x3ff8 2040 ODML (00dc): [15] 0x0000000107caeba0 0x3ff8 2040 ODML (00dc): [16] 0x0000000119ed4200 0x3ff8 2040 ODML (00dc): [17] 0x000000012c0fd870 0x3ff8 2040 ODML (00dc): [18] 0x000000013e322ed0 0x3ff8 2040 ODML (00dc): [19] 0x000000013ec1cea0 0x3ff8 63 ODML (00dc): [20] 0x0000000150e42680 0x3ff8 2040 ODML (00dc): [21] 0x000000016017cfe0 0x3ff8 1710 list_end=0x8156 ==> Found audio stream: 1 ====== STREAM Header ===== Type: auds FCC: (0) Flags: 0 Priority: 0 Language: 0 InitialFrames: 0 Rate: 128000/4 = 32000.000 Start: 0 Len: 50687999 Suggested BufferSize: 30736 Quality 10000 Sample size: 4 ========================== found 'wf', 18 bytes of 18 ======= WAVE Format ======= Format Tag: 1 (0x1) Channels: 2 Samplerate: 32000 avg byte/sec: 128000 Block align: 4 bits/sample: 16 cbSize: 0 =========================== ====== AVI Super Index Header ======== FCC (indx) dwSize (16376) wLongsPerEntry(4) bIndexSubType (0) bIndexType (0) nEntriesInUse (6) dwChunkId (01wb) dwReserved[0] (0) dwReserved[1] (0) dwReserved[2] (0) =========================== ODML (01wb): [0] 0x000000003fbe90f0 0x3ff8 9169919 ODML (01wb): [1] 0x00000000ac83e5c0 0x3ff8 15667200 ODML (01wb): [2] 0x00000000bf4150a0 0x3ff8 2695680 ODML (01wb): [3] 0x000000012c0d65e0 0x3ff8 15667200 ODML (01wb): [4] 0x000000013ec18ea0 0x3ff8 2688000 ODML (01wb): [5] 0x0000000160178fe0 0x3ff8 4800000 list_end=0x8262 AVI: dmlh found (size=248) (total_frames=39607) list_end=0x3FBF10F0 Found movie at 0x83F8 - 0x3FBF10F0 stream_seek: WARNING! Can't seek to 0x18D1BD2DC ! AVI: ODML: Building odml index (2 superindexchunks) ====== AVI Standard Index Header ======== FCC (b6) dwSize (-1224586710) wLongsPerEntry(45876) bIndexSubType (138) bIndexType (2) nEntriesInUse (1832395334) dwChunkId () qwBaseOffset (0x79B127455AB134A) dwReserved3 (782896386) =========================== Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1216884608 (LWP 27220)] 0xb78957af in memcpy () from /lib/tls/libc.so.6 (gdb) bt #0 0xb78957af in memcpy () from /lib/tls/libc.so.6 #1 0x085812d0 in ?? () #2 0x69c10cb0 in ?? () #3 0x0813a7cf in read_avi_header (demuxer=0x8581c60, index_mode=-1) at stream.h:201 #4 0x080e95c4 in demux_open_avi (demuxer=0x8581c60) at demux_avi.c:456 #5 0x080eedff in demux_open_stream (stream=0x85812d0, file_format=3, audio_id=-1, video_id=-1, dvdsub_id=-1, filename=0x850cf90 "/share/Video1.avi") at demuxer.c:1213 #6 0x080f0847 in demux_open (vs=0x580, file_format=0, audio_id=-1, video_id=1408, dvdsub_id=-1, filename=0x580
) at demuxer.c:1440 #7 0x08053394 in main (argc=3, argv=0xbffff894) at mplayer.c:1585 (gdb) bt full #0 0xb78957af in memcpy () from /lib/tls/libc.so.6 No symbol table info available. #1 0x085812d0 in ?? () No symbol table info available. #2 0x69c10cb0 in ?? () No symbol table info available. #3 0x0813a7cf in read_avi_header (demuxer=0x8581c60, index_mode=-1) at stream.h:201 i = 0 k = 1408 idx = (AVIINDEXENTRY *) 0x0 j = 0 cx = (avisuperindex_chunk *) 0x8582b60 sh_audio = (sh_audio_t *) 0x8582ab8 sh_video = (sh_video_t *) 0x8582598 stream_id = 1 idxfix_videostream = 0 idxfix_divx = 0 priv = (avi_priv_t *) 0x8582530 list_end = 0 #4 0x080e95c4 in demux_open_avi (demuxer=0x8581c60) at demux_avi.c:456 d_audio = (demux_stream_t *) 0x8516640 d_video = (demux_stream_t *) 0x8516568 sh_audio = (sh_audio_t *) 0x0 sh_video = (sh_video_t *) 0x3 priv = (avi_priv_t *) 0x8582530 #5 0x080eedff in demux_open_stream (stream=0x85812d0, file_format=3, audio_id=-1, video_id=-1, dvdsub_id=-1, filename=0x850cf90 "/share/Video1.avi") at demuxer.c:1213 sh_a = (sh_audio_t *) 0x0 demuxer = (demuxer_t *) 0x8581c60 d_audio = (demux_stream_t *) 0x8516640 d_video = (demux_stream_t *) 0x8516568 sh_audio = (sh_audio_t *) 0x0 sh_video = (sh_video_t *) 0x0 y = 139552320 y = 139552320 #6 0x080f0847 in demux_open (vs=0x580, file_format=0, audio_id=-1, video_id=1408, dvdsub_id=-1, filename=0x580
) at demuxer.c:1440 as = (stream_t *) 0x0 ss = (stream_t *) 0x0 vd = (demuxer_t *) 0x850cf90 ad = (demuxer_t *) 0x0 sd = (demuxer_t *) 0x0 afmt = 0 sfmt = 0 #7 0x08053394 in main (argc=3, argv=0xbffff894) at mplayer.c:1585 mem_ptr = 0x850cf90 "/share/Video1.avi" d_audio = (demux_stream_t *) 0x0 d_video = (demux_stream_t *) 0x0 d_dvdsub = (demux_stream_t *) 0x0 file_format = 0 osd_function = 1 osd_last_pts = -303 osd_show_av_delay = 0 osd_show_text = 0 osd_show_speed = 0 osd_show_sub_delay = 0 osd_show_sub_pos = 0 osd_show_sub_visibility = 0 osd_show_sub_alignment = 0 osd_show_vobsub_changed = 0 osd_show_sub_changed = 0 osd_show_percentage = 0 osd_show_tv_channel = 25 osd_show_ontop = 0 osd_show_rootwin = 0 osd_show_framedropping = 0 rtc_fd = 6 i = 139513744 tmp = 0x850cf90 "/share/Video1.avi" (gdb) disass $pc-32 $pc+32 Dump of assembler code from 0xb789578f to 0xb78957cf: 0xb789578f : jl 0xb78957b5 0xb7895791 : add $0x8b,%al 0xb7895793 : je 0xb78957b9 0xb7895795 : adc %al,0xd78907f8(%ebx) 0xb789579b : jbe 0xb78957b4 0xb789579d : mov %edx,%ecx 0xb789579f : neg %ecx 0xb78957a1 : and $0x3,%ecx 0xb78957a4 : sub %ecx,%eax 0xb78957a6 : cld 0xb78957a7 : repz movsb %ds:(%esi),%es:(%edi) 0xb78957a9 : mov %eax,%ecx 0xb78957ab : shr $0x2,%ecx 0xb78957ae : cld 0xb78957af : repz movsl %ds:(%esi),%es:(%edi) 0xb78957b1 : and $0x3,%eax 0xb78957b4 : mov %eax,%ecx 0xb78957b6 : cld 0xb78957b7 : repz movsb %ds:(%esi),%es:(%edi) 0xb78957b9 : mov (%esp),%esi 0xb78957bc : mov %edx,%eax 0xb78957be : mov 0x4(%esp),%edi 0xb78957c2 : add $0x8,%esp 0xb78957c5 : ret 0xb78957c6 : nop 0xb78957c7 : nop 0xb78957c8 : nop 0xb78957c9 : nop 0xb78957ca : nop 0xb78957cb : nop 0xb78957cc : nop 0xb78957cd : nop 0xb78957ce : nop End of assembler dump. (gdb) info all-registers eax 0x580 1408 ecx 0x160 352 edx 0x0 0 ebx 0x580 1408 esp 0xbfffe074 0xbfffe074 ebp 0xbfffe368 0xbfffe368 esi 0x85815ac 139990444 edi 0x0 0 eip 0xb78957af 0xb78957af eflags 0x10216 66070 cs 0x73 115 ss 0x7b 123 ds 0x7b 123 es 0x7b 123 fs 0x0 0 gs 0x33 51 st0 0 (raw 0x00000000000000000000) st1 0 (raw 0x00000000000000000000) st2 0 (raw 0x00000000000000000000) st3 0 (raw 0x00000000000000000000) st4 0 (raw 0x00000000000000000000) st5 0 (raw 0x00000000000000000000) st6 4 (raw 0x40018000000000000000) st7 32000 (raw 0x400dfa00000000000000) fctrl 0x37f 895 fstat 0x20 32 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 8064 mm0 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} mm1 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} mm2 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} mm3 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} ---Type to continue, or q to quit--- mm4 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} mm5 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} mm6 {uint64 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000}, v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80}} mm7 {uint64 = 0xfa00000000000000, v2_int32 = {0x0, 0xfa000000}, v4_int16 = {0x0, 0x0, 0x0, 0xfa00}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xfa}} (gdb) q The program is running. Exit anyway? (y or n) y