[MPlayer-users] crashed when play real video file (duzhenhuan)

Zhenhuan Du duzhenhuan at 163.com
Sun Nov 26 12:32:04 CET 2006


crashed when  play real video file (duzhenhuan), need help :)
my bug report info :



A.6.1. System Information

    *

     operating system and version 
Debian Unstable (last updated : Nov 25, 2006)
    *

      kernel version:

  Linux debian 2.6.18 #7 Mon Nov 6 20:22:07 CST 2006 i686 
    *

      libc version:

  /lib/libc-2.3.6.so


    *

      gcc and ld versions:

     gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-20)
     GNU ld version 2.17 Debian GNU/Linux

    *
      binutils version:

   GNU assembler 2.17 Debian GNU/Linux


  

A.6.2. Hardware and drivers

    *
CPU info (this works on Linux only):

processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 10
model name      : AMD Athlon(tm) XP 2500+
stepping        : 0
cpu MHz         : 1837.506
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow ts
bogomips        : 3677.74

    *

      Video card manufacturer and model, e.g.:

 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10] 

    *


    *

      Sound card type & driver, e.g.:
 	Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio Controler (MCP) (rev a1)
	AlsaMixer v1.0.13
	




A.6.5. Playback problems

dzh at debian:/mnt/hda5/Movie/aaa$ mplayer test.rm  > mplayer.log 2>&1
dzh at debian:/mnt/hda5/Movie/aaa$ more mplayer.log
MPlayer 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) XP 2500+ (Family: 6, Model: 10, Stepping: 0)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Playing test.rm.
REAL file format detected.
Stream description: Audio Stream
Stream mimetype: audio/x-pn-realaudio
Stream description: Video Stream
Stream mimetype: video/x-pn-realvideo
Stream mimetype: logical-fileinfo


MPlayer interrupted by signal 11 in module: demux_open
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.

A.6.6. Crashes

A.6.6.1. information about a reproducible crash

dzh at debian:/mnt/hda5/Movie/aaa$ gdb mplayer
GNU gdb 6.5-debian
Copyright (C) 2006 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-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) run -v test.rm
Starting program: /usr/local/bin/mplayer -v test.rm
[Thread debugging using libthread_db enabled]
[New Thread -1489299776 (LWP 18217)]
MPlayer 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) XP 2500+ (Family: 6, Model: 10, Stepping: 0)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
get_path('codecs.conf') -> '/home/dzh/.mplayer/codecs.conf'
Reading /home/dzh/.mplayer/codecs.conf: Can't open '/home/dzh/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
CommandLine: '-v' 'test.rm'
init_freetype
get_path('font/font.desc') -> '/home/dzh/.mplayer/font/font.desc'
font: can't open file: /home/dzh/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using nanosleep() timing
get_path('input.conf') -> '/home/dzh/.mplayer/input.conf'
Parsing input config file /home/dzh/.mplayer/input.conf
Input config file /home/dzh/.mplayer/input.conf parsed: 59 binds
get_path('test.rm.conf') -> '/home/dzh/.mplayer/test.rm.conf'

Playing test.rm.
get_path('sub/') -> '/home/dzh/.mplayer/sub/'
[file] File size is 19570707 bytes
STREAM: [file] test.rm
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
REAL file format detected.
real: Header size: 18
real: Header object version: 1
real: File version: 0
Chunk: PROP (504f5250) (size: 0x32, offset: 0x12)
First index chunk offset: 0x12a80ef
First data chunk offset: 0x400
Flags (a): [perfect play (more buffers)]
Chunk: MDPR (5250444d) (size: 0xa4, offset: 0x44)
Found new stream (id: 0)
Stream description: Audio Stream
Stream mimetype: audio/x-pn-realaudio
==> Found audio stream: 0
Found audio stream!
version: 5
header size: 70
coded_frame_size: 640
sub_packet_h: 16
frame_size: 640
sub_packet_size: 128
samplerate: 44100, channels: 1
audio fourcc: cook (6b6f6f63)
======= WAVE Format =======
Format Tag: 28515 (0x6F63)
Channels: 1
Samplerate: 44100
avg byte/sec: 5517
Block align: 128
bits/sample: 16
cbSize: 8
Unknown extra header dump: [1] [0] [0] [2] [4] [0] [0] [2f]
==========================================================================
### skipping 0 bytes of codec info
Chunk: MDPR (5250444d) (size: 0x74, offset: 0xe8)
Found new stream (id: 1)
Stream description: Video Stream
Stream mimetype: video/x-pn-realvideo
==> Found video stream: 1
video fourcc: RV30 (30335652)
H.263 ID: 30202002
### skipping 0 bytes of codec info
Chunk: MDPR (5250444d) (size: 0x280, offset: 0x15c)
Found new stream (id: 2)
Stream mimetype: logical-fileinfo
Got a logical-fileinfo chunk
### skipping 578 bytes of codec info
Chunk: CONT (544e4f43) (size: 0x1a, offset: 0x3dc)
Chunk: DATA (41544144) (size: 0x12a7cf9, offset: 0x3f6)
Packets in file: 19555
Reading index table from index chunk (19562735)
size: 3366 bytes
entries: 239
stream_id: 0
next_header_pos: 19566101
Reading index table from index chunk (19566101)
size: 2624 bytes
entries: 186
stream_id: 1
next_header_pos: 19568725
Reading index table from index chunk (19568725)
size: 20 bytes
entries: 0
stream_id: 2
next_header_pos: 0

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1489299776 (LWP 18217)]
0x081c2172 in demux_real_fill_buffer ()


(gdb) bt
#0  0x081c2172 in demux_real_fill_buffer ()
#1  0x00000000 in ?? ()
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x81c2152 to 0x81c2192:
0x081c2152 <demux_real_fill_buffer+2754>:       xchg   %eax,%esp
0x081c2153 <demux_real_fill_buffer+2755>:       add    %al,(%eax)
0x081c2155 <demux_real_fill_buffer+2757>:       add    %al,%bh
0x081c2157 <demux_real_fill_buffer+2759>:       test   %ah,(%eax,%ebp,4)
0x081c215a <demux_real_fill_buffer+2762>:       add    %al,(%eax)
0x081c215c <demux_real_fill_buffer+2764>:       add    %al,(%eax)
0x081c215e <demux_real_fill_buffer+2766>:       add    %al,(%eax)
0x081c2160 <demux_real_fill_buffer+2768>:       add    %al,%bh
0x081c2162 <demux_real_fill_buffer+2770>:       xchg   %ch,0x0(%esp,%eax,1)
0x081c2166 <demux_real_fill_buffer+2774>:       add    %al,(%eax)
0x081c2168 <demux_real_fill_buffer+2776>:       add    %al,(%eax)
0x081c216a <demux_real_fill_buffer+2778>:       add    %cl,0x8b50247c(%ebx)
0x081c2170 <demux_real_fill_buffer+2784>:       inc    %edi
0x081c2171 <demux_real_fill_buffer+2785>:       pusha
0x081c2172 <demux_real_fill_buffer+2786>:       mov    0xc(%eax),%ecx
0x081c2175 <demux_real_fill_buffer+2789>:       cmp    $0x4134504d,%ecx
0x081c217b <demux_real_fill_buffer+2795>:       je     0x81c46c8 <demux_real_fill_buffer+12344>
0x081c2181 <demux_real_fill_buffer+2801>:       cmp    $0x385f3832,%ecx
0x081c2187 <demux_real_fill_buffer+2807>:       sete   %dl
0x081c218a <demux_real_fill_buffer+2810>:       cmp    $0x6b6f6f63,%ecx
0x081c2190 <demux_real_fill_buffer+2816>:       sete   %al
---Type <return> to continue, or q <return> to quit---
End of assembler dump.
(gdb) info all-registers
eax            0x0      0
ecx            0x549    1353
edx            0x8a04f00        144723712
ebx            0x2      2
esp            0xaf8be930       0xaf8be930
ebp            0x2cc8   0x2cc8
esi            0x8a04f18        144723736
edi            0x8a021c8        144712136
eip            0x81c2172        0x81c2172 <demux_real_fill_buffer+2786>
eflags         0x210202 [ IF RF ID ]
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            1        (raw 0x3fff8000000000000000)
---Type <return> to continue, or q <return> to quit---
st7            0.033333333333333333334914461501541361   (raw 0x3ffa8888888888888889)
fctrl          0x37f    895
fstat          0x220    544
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 <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}
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},
---Type <return> to continue, or q <return> to quit---
  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 = 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,
---Type <return> to continue, or q <return> to quit---
    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}}
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 = 0x8888888888888889, v2_int32 = {0x88888889,
    0x88888888}, v4_int16 = {0x8889, 0x8888, 0x8888, 0x8888}, v8_int8 = {0x89,
    0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88}}bt


A.6.6.2. How to extract meaningful information from a core dump

Create the following command file:

bt
disass $pc-32 $pc+32
info all-registers

Then simply execute this command:

gdb mplayer --core=core -batch --command=command_file > mplayer.bug

Prev 	Up	 Next
A.5. Where to report bugs 	Home	 A.7. I know what I am doing...





More information about the MPlayer-users mailing list