[MPlayer-users] bugreport: crash

Andrew J. Yeckel ay2b at queue.org
Thu Aug 14 08:33:50 CEST 2003


I have a quicktime file, using the DV-NTSC codec (ID_VIDEO_FORMAT=dvc).  
I can play the file fine using mplayer, but when I use '-vo yuv4mpeg',
mplayer crashes, outputing only the 52 byte header to stream.yuv.  I am
using the lastest CVS version.  I have tried other videos (both QT and
AVI) using other codecs, and do not have this problem.

I'm running the latest debian/testing.

%uname -a
Linux quesadilla 2.4.20-2003_May_07 #53 Wed May 7 13:16:00 PDT 2003 i686 GNU/Linux

%ls -l /lib/libc[.-]*
-rwxr-xr-x    1 root     root      1104040 Mar 21 08:19 /lib/libc-2.3.1.so*
lrwxrwxrwx    1 root     root           13 Apr  6 23:36 /lib/libc.so.6 -> libc-2.3.1.so*

%X -version
This is a pre-release version of XFree86, and is not supported in any
way.  Bugs may be reported to XFree86 at XFree86.Org and patches submitted
to fixes at XFree86.Org.  Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs)

XFree86 Version 4.1.0.1 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: 21 December 2001
        If the server is older than 6-12 months, or if your card is
        newer than the above date, look for a newer version before
        reporting problems.  (See http://www.XFree86.Org/FAQ)
Build Operating System: Linux 2.4.17 i686 [ELF] 
Module Loader present

%gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/3.3.1/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 i386-linux
Thread model: posix
gcc version 3.3.1 20030626 (Debian prerelease)

%ld -v
GNU ld version 2.14.90.0.4 20030523 Debian GNU/Linux

%as --version
GNU assembler 2.14.90.0.4 20030523 Debian GNU/Linux
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `i386-linux'.

%cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
stepping        : 7
cpu MHz         : 1994.190
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips        : 3971.48

%mplayer -v -vo yuv4mpeg Payback.mov
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale

MPlayer dev-CVS-030813-22:08-3.3.1 (C) 2000-2003 MPlayer Team

CPU: Intel  (Family: 8, Stepping: 7)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Reading config file /etc/mplayer/mplayer.conf
Reading config file /home/shadow/.mplayer/config
Reading /home/shadow/.mplayer/codecs.conf: Can't open '/home/shadow/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf
CommandLine: '-v' '-vo' 'yuv4mpeg' 'Payback.mov'
get_path('font/font.desc') -> '/home/shadow/.mplayer/font/font.desc'
font: can't open file: /home/shadow/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/home/shadow/.mplayer/input.conf'
Can't open input config file /home/shadow/.mplayer/input.conf: No such file or directory
Can't open input config file /etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
get_path('Payback.mov.conf') -> '/home/shadow/.mplayer/Payback.mov.conf'

Playing Payback.mov
Not an URL!
[file] File size is 1475477916 bytes
STREAM: [file] Payback.mov
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x85c68c8  
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x85c68c8  
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x85c68c8  
Checking for REAL
DEMUXER: freeing demuxer at 0x85c68c8  
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x85c68c8  
DEMUXER: freeing demuxer at 0x85c7268  
Searching demuxer type for filename Payback.mov ext: .mov
Trying demuxer 7 based on filename extension
Checking for MOV
MOV: 'WIDE' chunk found!
MOV: Movie DATA found!
MOV: Movie header found!
MOV: 'WIDE' chunk found!
MOV: Movie DATA found!
QuickTime/MOV file format detected.
MOV: Movie header (100 bytes): tscale=600  dur=233633
--------------
MOV: Track #0:
MOV:  Track header!
tkhd len=84 ver=0 flags=0x0 id=1 dur=233633 lay=0 vol=256
MOV:  Edit atom!
MOV:   Edit list table (1 entries) (ver:0,flags:0)
MOV:     entry#0: duration: 233633  start time: 0  speed: 1.0x
MOV:  Media stream!
MOV:   Media header!
MOV:   Handler header: mhlr/soun (appl) Apple Sound Media Handler
MOV:   Media info!
MOV:    Sound header!
MOV:    Handler header: dhlr/alis (appl) Apple Alias Data Handler
MOV: unknown chunk: dinf 28
MOV:    Sample info!
MOV:     Description list! (cnt:1)
MOV:      desc #0: twos  (20 bytes)
MOV:     Sample duration table! (1 blocks)
MOV:     Sample->Chunk mapping table!  (286 blocks) (ver:0,flags:0)
MOV:     Sample size table! (entries=18690694 ss=1) (ver:0,flags:0)
MOV:     Chunk offset table! (428 chunks)
MOV track #0: 428 chunks, 0 samples
pts=18690694  scale=48000  time=389.389
==> Found audio stream: 0
Audio bits: 16  chans: 2  rate: 48000
Fourcc: twos
--------------
MOV: Track #1:
MOV:  Track header!
tkhd len=84 ver=0 flags=0x0 id=2 dur=233633 lay=0 vol=0
MOV: unknown chunk: load 16
MOV:  Edit atom!
MOV:   Edit list table (1 entries) (ver:0,flags:0)
MOV:     entry#0: duration: 233633  start time: 0  speed: 1.0x
MOV:  Media stream!
MOV:   Media header!
MOV:   Handler header: mhlr/vide (appl) Apple Video Media Handler
MOV:   Media info!
MOV:    Video header!
MOV:    Handler header: dhlr/alis (appl) Apple Alias Data Handler
MOV: unknown chunk: dinf 28
MOV:    Sample info!
MOV:     Description list! (cnt:1)
MOV:      desc #0: dvc   (70 bytes)
MOV:     Sample duration table! (1 blocks)
MOV:     Sample->Chunk mapping table!  (1 blocks) (ver:0,flags:0)
MOV:     Sample size table! (entries=11670 ss=120000) (ver:0,flags:0)
MOV:     Chunk offset table! (11670 chunks)
MOV track #1: 11670 chunks, 0 samples
pts=1167000  scale=2997  time=389.389
EL#0: pts=0  1st_sample=0  frames=11670 (389.388s)  pts_offs=0
==> Found video stream: 1
Image size: 720 x 480 (24 bpp)
Display size: 720 x 480
Fourcc: dvc   Codec: 'DV - NTSC'
--------------
MOV: longest streams: A: #0 (428 samples)  V: #1 (11670 samples)
[V] filefmt:7  fourcc:0x20637664  size:720x480  fps:29.97  ftime:=0.0334
get_path('sub/') -> '/home/shadow/.mplayer/sub/'
get_path('default.sub') -> '/home/shadow/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 192000->192000 (1536.0 kbit)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==========================================================================
vo_yuv4mpeg: Using (default) progressive frame mode
==========================================================================
Opening video decoder: [dshow] DirectShow video codecs
get_path('registry') -> '/home/shadow/.mplayer/registry'
Decoder supports the following YUV formats: YUY2 UYVY 
Decoder is capable of YUV output (flags 0x9)
VDec: vo config request - 720 x 480 (preferred csp: Packed YUY2)
[PP] Using codec's postprocessing, max q = 4.
Trying filter chain: vo
VDec: using BGR 24-bit as output csp (no 2)
Movie-Aspect is undefined - no prescaling applied.
VO Config (720x480->720x480,flags=0,'MPlayer',0x42475218)
VO: [yuv4mpeg] 720x480 => 720x480 BGR 24-bit 
VO: Description: yuv4mpeg output for mjpegtools (to "stream.yuv")
VO: Author: Robert Kesterson <robertk at robertk.com>
INFO: Win32/DShow video codec init OK!
Selected video codec: [qdv] vfm:dshow (Sony Digital Video (DV))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[libaf] Adding filter dummy 
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int 
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
ao2: 48000 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags:   4/4  (16384 bytes/frag)  free:  65536
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
Starting playback...
*** [vo] Allocating mp_image_t, 720x480x24bpp BGR packed, 1036800 bytes
get_path('subfont.ttf') -> '/home/shadow/.mplayer/subfont.ttf'
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.


MPlayer interrupted by signal 11 in module: flip_page
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. For details, see DOCS/en/bugreports.html#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/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.
Uninit audio filters...
[libaf] Removing filter dummy 
uninit audio: pcm
uninit video: dshow
Total Unfree 1146 bytes cnt 13 [(nil),0]
DEMUXER: freeing demuxer at 0x85c7268  
DEMUXER: freeing sh_audio at 0x85cb030  
DEMUXER: freeing sh_video at 0x85cb268  
vo: x11 uninit called but X11 not inited..


running in gdb, after the crash, I have:
(gdb) bt
#0  0x00000000 in ?? ()
#1  0x080b8291 in send_lpcm_packet ()
#2  0x08099d0c in main ()
#3  0x40943a51 in __libc_start_main () from /lib/libc.so.6
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0xffffffe0 to 0x20:
End of assembler dump.
(gdb) info all-registers
eax            0x40e5f008       1088811016
ecx            0x0      0
edx            0x2d0    720
ebx            0x7da70738       2108098360
esp            0xbfffd77c       0xbfffd77c
ebp            0xbfffd7d8       0xbfffd7d8
esi            0x870    2160
edi            0x168    360
eip            0x0      0x0
eflags         0x210246 2163270
cs             0x23     35
ss             0x2b     43
ds             0x2b     43
es             0x2b     43
fs             0x8f     143
gs             0x0      0
st0            44.422656064975335032940506607701536     (raw
0x4004b1b0ccc06219b7c0)
st1            0.5      (raw 0x3ffe8000000000000000)
st2            256      (raw 0x40078000000000000000)
st3            0        (raw 0x00000000000000000000)
st4            3        (raw 0x4000c000000000000000)
st5            -0.025499999523162841796875      (raw
0xbff9d0e5600000000000)
st6            -0.025499999523162841796875      (raw
0xbff9d0e5600000000000)
st7            -0.025499999523162841796875      (raw
0xbff9d0e5600000000000)
fctrl          0x37f    895
fstat          0x120    288
ftag           0xffff   65535
fiseg          0x23     35
fioff          0x8099e77        134848119
foseg          0x2b     43
fooff          0xbfffd908       -1073751800
fop            0x1c9    457
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
orig_eax       0xffffffff       -1
mm0            {uint64 = 0xb1b0ccc06219b7c0, v2_int32 = {0x6219b7c0, 
    0xb1b0ccc0}, v4_int16 = {0xb7c0, 0x6219, 0xccc0, 0xb1b0}, v8_int8 =
{0xc0, 
    0xb7, 0x19, 0x62, 0xc0, 0xcc, 0xb0, 0xb1}}
mm1            {uint64 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000}, 
  v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 
    0x0, 0x80}}
mm2            {uint64 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000}, 
  v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 
    0x0, 0x80}}
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 = 0xc000000000000000, v2_int32 = {0x0, 0xc0000000}, 
  v4_int16 = {0x0, 0x0, 0x0, 0xc000}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 
    0x0, 0xc0}}
mm5            {uint64 = 0xd0e5600000000000, v2_int32 = {0x0, 0xd0e56000}, 
  v4_int16 = {0x0, 0x0, 0x6000, 0xd0e5}, v8_int8 = {0x0, 0x0, 0x0, 0x0,
0x0, 
    0x60, 0xe5, 0xd0}}
mm6            {uint64 = 0xd0e5600000000000, v2_int32 = {0x0, 0xd0e56000}, 
  v4_int16 = {0x0, 0x0, 0x6000, 0xd0e5}, v8_int8 = {0x0, 0x0, 0x0, 0x0,
0x0, 
    0x60, 0xe5, 0xd0}}
mm7            {uint64 = 0xd0e5600000000000, v2_int32 = {0x0, 0xd0e56000}, 
  v4_int16 = {0x0, 0x0, 0x6000, 0xd0e5}, v8_int8 = {0x0, 0x0, 0x0, 0x0,
0x0, 
    0x60, 0xe5, 0xd0}}

If needed, I can provide the file I'm trying to view, but it's 1.4Gb, so
I'd rather not, if I don't have to.

--Andrew

-- 
"Those who would sacrifice essential liberty for temporary safety
 deserve neither liberty nor safety."



More information about the MPlayer-users mailing list