Opened 12 years ago

Closed 12 years ago

#1025 closed defect (invalid)

mplayer freezes X11 / machine unusable

Reported by: myemailu@… Owned by: beastd
Priority: normal Component: vo
Version: 1.0rc2 Severity: major
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:


When playing this file:

on my opensuse 10.3 system, mplayer opens the "video"-window und the "user-interface" window, then pints the "viedo"-output windo magenta and freezes the system. X11 does nor react at all, mouse cursor does not move, command keys (to kill X server or switch to a text console etc) do not work. The machine is basically unusable and needs a cold reboot.

When swiching off video output (-vo null), mplayer seems to work fine and outputs this:

mars@linux-2jd9:~$ mplayer -v -vo null
MPlayer 1.0rc2-SUSE Linux 10.3 (i686)-Packman-4.2.1 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) proswssor (Family: 6, Model: 10, Stepping: 0)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/home/mars/.mplayer/codecs.conf'
Reading /home/mars/.mplayer/codecs.conf: Can't open '/home/mars/.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.
Configuration: --prefix=/usr --confdir=/etc/mplayer --datadir=/usr/share/mplayer --libdir=/usr/lib --mandir=/usr/share/man --enable-runtime-cpudetection --enable-bl --enable-fbdev --enable-zr --enable-gui --enable-menu --language=all --enable-xvmc --with-xvmclib=XvMCW --enable-largefiles --enable-smb --enable-joystick --enable-radio --enable-radio-capture --realcodecsdir=/usr/lib/RealPlayer10/codecs
CommandLine?: '-v' '-vo' 'null' ''
get_path('font/font.desc') -> '/home/mars/.mplayer/font/font.desc'
font: can't open file: /home/mars/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay?
get_path('fonts') -> '/home/mars/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/mars/.mplayer/input.conf'
Can't open input config file /home/mars/.mplayer/input.conf: No such file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 81 binds
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
get_path('') -> '/home/mars/.mplayer/'

get_path('sub/') -> '/home/mars/.mplayer/sub/'
[file] File size is 94138 bytes
STREAM: [file]
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: QuickTime?/MPEG4/Motion JPEG 2000 format
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo?
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename ext: .mov
Trying demuxer 7 based on filename extension
Checking for MOV
ISO: File Type Major Brand: Original QuickTime?
ISO: File Type Minor Version: 537199360
ISO: File Type Compatible Brand #0: qt
ISO: File Type Compatible Brand #1:
ISO: File Type Compatible Brand #2:
ISO: File Type Compatible Brand #3:
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=10566

MOV: Track #0:
MOV: Track header!
tkhd len=84 ver=0 flags=0x0 id=1 dur=10566 lay=0 vol=0
MOV: Edit atom!
MOV: Edit list table (1 entries) (ver:0,flags:0)
MOV: entry#0: duration: 10566 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: avc1 (135 bytes)
MOV: Sample duration table! (1 blocks)
MOV: unknown chunk: ctts 720
MOV: unknown chunk: cslg 24
MOV: Syncing samples (keyframes) table! (1 entries) (ver:0,flags:0)
MOV: unknown chunk: sdtp 93
MOV: Sample->Chunk mapping table! (1 blocks) (ver:0,flags:0)
MOV: Sample size table! (entries=89 ss=0) (ver:0,flags:0)
MOV: Chunk offset table! (89 chunks)
MOV track #0: 89 chunks, 89 samples
pts=10680 scale=600 time=17.800
EL#0: pts=0 1st_sample=0 frames=89 (17.610s) pts_offs=0
==> Found video stream: 0
[mov] Video stream found, -vid 0
MOV: AVC decoder configuration record atom (43)!
MOV: avcC version: 1
MOV: avcC profile: 77
MOV: avcC profile compatibility: 64
MOV: avcC level: 31
MOV: avcC nal length size: 4
MOV: avcC number of sequence param sets: 1
MOV: avcC sps 0 have length 20
MOV: avcC number of picture param sets: 1
MOV: avcC pps 0 have length 4
MOV: Found unknown movie atom colr (18)!
Image size: 899 x 623 (24 bpp)
Display size: 899 x 623
Fourcc: avc1 Codec: 'H.264'

MOV: longest streams: A: #-1 (0 samples) V: #0 (89 samples)
VIDEO: [avc1] 899x623 24bpp 5.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:7 fourcc:0x31637661 size:899x623 fps: 5.00 ftime:=0.2000
get_path('sub/') -> '/home/mars/.mplayer/sub/'
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
Audio: no sound
Freeing 0 unused audio chunks.
Starting playback...
[ffmpeg] aspect_ratio: 0.000000
VDec: vo config request - 899 x 623 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (899x623->899x623,flags=0,'MPlayer',0x32315659)
VO: [null] 899x623 => 899x623 Planar YV12
VO: Description: Null video output
VO: Author: Aaron Holtzman <aholtzma@…>
* [vo] Exporting mp_image_t, 900x624x12bpp YUV planar, 842400 bytes
ds_fill_buffer: EOF reached (stream: video)
EOF code: 1 89 6% 0% 0.0% 0 0

Uninit video: ffmpeg
vo: x11 uninit called but X11 not inited..

Exiting... (End of file)

Change History (1)

comment:1 Changed 12 years ago by reimar

  • Resolution set to invalid
  • Status changed from new to closed

If your machine or even just your X server hangs, that is _definitely_ a bug in your kernel or in some application running as root (e.g. the X server).
A normal program like MPlayer _may never_ cause such a thing.
Most likely it is a bug in the XVideo part of your video card driver, -vo x11 should help in this case.
I would assume it is related to the video having odd dimensions, in that case -vf crop=896:608 (with -vo xv) should help as well.
In both cases it would be a serious issue in you video card driver and you should report it to those developing that.

Note: See TracTickets for help on using tickets.