[MPlayer-dev-eng] Mplayer crash

Mark Gjøl cyrax at b0rken.dk
Thu Feb 10 18:15:30 CET 2005


I have a vob-file from a dvd iso which crashes mplayer - Xine works
fine - but I like mplayer :).

The file includes a DTS stream...

Anyway, these are my specs:
Distribution:
  Debian Sid.

Kernel version:
  Linux core 2.6.7 #5 Thu Dec 16 19:15:34 CET 2004 i686 GNU/Linux

Libc version:
  /lib/libc-2.3.2.so

Gcc version:
  $ gcc -v
  Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs
  Configured with: ../src/configure -v
  --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang
  --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
  --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared
  --with-system-zlib --enable-nls --without-included-gettext
  --enable-__cxa_atexit --enable-clocale=gnu --enable-debug
  --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc
  i486-linux
  Thread model: posix
  gcc version 3.3.5 (Debian 1:3.3.5-6)

Ld version:
  GNU ld version 2.15

Binutils version:
  GNU assembler 2.15
  This assembler was configured for a target of `i386-linux'.

----------------------

The first file crashes mplayer, the rest of the files work just fine.

Output from gdb:
$ gdb ./mplayer 
GNU gdb 6.1-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) info all-registers
The program has no registers now.
(gdb) run -v VTS_01_1.VOB
Starting program:
/home/cyrax/download/mplayer/cvs/MPlayer-20050210/mplayer -v
VTS_01_1.VOB
[Thread debugging using libthread_db enabled]
[New Thread 1092493728 (LWP 11708)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale

MPlayer dev-CVS-050210-06:00-3.3.5 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon Thunderbird (Family: 6, Stepping: 4)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx



CommandLine: '-v'
'VTS_01_1.VOB'
init_freetype
get_path('font/font.desc') -> '/home/cyrax/.mplayer/font/font.desc'
Font /home/cyrax/.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') -> '/home/cyrax/.mplayer/input.conf'
Can't open input config file /home/cyrax/.mplayer/input.conf: No such
file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such
file or directory
Falling back on default (hardcoded) input config
get_path('VTS_01_1.VOB.conf') ->
'/home/cyrax/.mplayer/VTS_01_1.VOB.conf'
Playing VTS_01_1.VOB.
[file] File size is 1073565696 bytes
STREAM: [file]
VTS_01_1.VOB
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 Nullsoft Streaming Video
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename
VTS_01_1.VOB ext: .VOB
Trying demuxer 2 based on filename extension
system stream synced at 0xD (0)!
==> Found video stream: 0
==> Found audio stream: 138
==> Found audio stream: 128
==> Found audio stream: 129
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
MPEG-PS file format detected.
  {ERROR5,c=2}  

Too many video packets in the buffer: (4096 in 8272149 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
ds_fill_buffer: EOF reached (stream: audio)  
MPEG: No audio stream found -> no sound.
Searching for sequence header... OK!
VIDEO:  MPEG2  720x480  (aspect 3)  29.970 fps  8000.0 kbps (1000.0
kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
get_path('sub/') -> '/home/cyrax/.mplayer/sub/'
get_path('default.sub') -> '/home/cyrax/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1092493728 (LWP 11708)]
init (sh_audio=0x874cb78) at ad_pcm.c:23
23        sh_audio->i_bps=h->nAvgBytesPerSec;
(gdb) bt
#0  init (sh_audio=0x874cb78) at ad_pcm.c:23
#1  0x080f8c9e in init_audio_codec (sh_audio=0x874cb78) at
dec_audio.c:82
#2  0x080f8f76 in init_audio (sh_audio=0x874cb78, codecname=0x0,
afm=0x0, status=1) at dec_audio.c:172
#3  0x080f91a4 in init_best_audio_codec (sh_audio=0x874cb78,
audio_codec_list=0xbfffd4e4, audio_fm_list=0x0) at dec_audio.c:217
#4  0x08085ca8 in main (argc=3, argv=0xbffff9a4) at mplayer.c:1937
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x80fae2c to 0x80fae6c:
0x080fae2c <decode_audio+124>:  nop    
0x080fae2d <decode_audio+125>:  nop    
0x080fae2e <decode_audio+126>:  nop    
0x080fae2f <decode_audio+127>:  nop    
0x080fae30 <decode_audio+128>:  nop    
0x080fae31 <decode_audio+129>:  nop    
0x080fae32 <decode_audio+130>:  nop    
0x080fae33 <decode_audio+131>:  nop    
0x080fae34 <decode_audio+132>:  nop    
0x080fae35 <decode_audio+133>:  nop    
0x080fae36 <decode_audio+134>:  nop    
0x080fae37 <decode_audio+135>:  nop    
0x080fae38 <decode_audio+136>:  nop    
0x080fae39 <decode_audio+137>:  nop    
0x080fae3a <decode_audio+138>:  nop    
0x080fae3b <decode_audio+139>:  nop    
0x080fae3c <decode_audio+140>:  nop    
0x080fae3d <decode_audio+141>:  nop    
0x080fae3e <decode_audio+142>:  nop    
0x080fae3f <decode_audio+143>:  nop    
0x080fae40 <init+0>:    push   %ebp
0x080fae41 <init+1>:    mov    %esp,%ebp
0x080fae43 <init+3>:    mov    0x8(%ebp),%ecx
0x080fae46 <init+6>:    mov    0x94(%ecx),%edx
0x080fae4c <init+12>:   mov    0x8(%edx),%eax
0x080fae4f <init+15>:   mov    %eax,0x28(%ecx)
0x080fae52 <init+18>:   movzwl 0x2(%edx),%eax
0x080fae56 <init+22>:   mov    %eax,0x20(%ecx)
0x080fae59 <init+25>:   mov    0x4(%edx),%eax
0x080fae5c <init+28>:   movl   $0x9,0x14(%ecx)
0x080fae63 <init+35>:   mov    %eax,0x18(%ecx)
0x080fae66 <init+38>:   movzwl 0xe(%edx),%eax
0x080fae6a <init+42>:   mov    0x8(%ecx),%edx
End of assembler dump.
(gdb) info all-registers
eax            0x85a6074        140140660
ecx            0x874cb78        141871992
edx            0x0      0
ebx            0x874cb78        141871992
esp            0xbfffd448       0xbfffd448
ebp            0xbfffd448       0xbfffd448
esi            0x5      5
edi            0x8594ccc        140070092
eip            0x80fae4c        0x80fae4c
eflags         0x210246 2163270
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            29.9699993133544921875   (raw 0x4003efc28f0000000000)
st7            0        (raw 0x00000000000000000000)
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 = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 
    0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff, 0xffffffffffffffff}, 
  uint128 = 0xffffffffffffffffffffffffffffffff}
xmm1           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 
    0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff, 0xffffffffffffffff}, 
  uint128 = 0xffffffffffffffffffffffffffffffff}
xmm2           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 
    0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff, 0xffffffffffffffff}, 
  uint128 = 0xffffffffffffffffffffffffffffffff}
xmm3           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 
    0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff, 0xffffffffffffffff}, 
  uint128 = 0xffffffffffffffffffffffffffffffff}
xmm4           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 
    0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff, 0xffffffffffffffff}, 
  uint128 = 0xffffffffffffffffffffffffffffffff}
xmm5           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 
    0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff, 0xffffffffffffffff}, 
  uint128 = 0xffffffffffffffffffffffffffffffff}
xmm6           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 
    0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff, 0xffffffffffffffff}, 
  uint128 = 0xffffffffffffffffffffffffffffffff}
xmm7           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 
    0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff, 0xffffffffffffffff}, 
  uint128 = 0xffffffffffffffffffffffffffffffff}
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 <return> to continue, or q <return> 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 = 0xefc28f0000000000, v2_int32 = {0x0, 0xefc28f00}, v4_int16 = {0x0, 0x0, 0x8f00, 0xefc2}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x8f, 0xc2, 0xef}}
mm7            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}


... I think that's about it...
 
-- 
// Mark Gjøl
I find the whole business of religion profoundly interesting. But it does mystify me that otherwise intelligent people take it seriously.
 - Douglas Adams
-- http://b0rken.dk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050210/0e8e2ba1/attachment.pgp>


More information about the MPlayer-dev-eng mailing list