#3 closed defect (worksforme)
Crashes with BadWindow error when running fullscreen xv
Reported by: | Owned by: | beastd | |
---|---|---|---|
Priority: | normal | Component: | vo |
Version: | HEAD | Severity: | normal |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
When starting in fullscreen mode, mplayer usually (but not always) crashes with
a BadWindow error. It appears to be some sort of interaction with the window
manager. I use the rather obscure vtwm window manager, but the same crash
happens with twm using system default config files. It does NOT crash with no
window manager running.
Starting in non-fullscreen mode always works, and once started, switching back
and forth between full-screen and windowed mode using the "f" key always works.
If I use -vo x11 instead of -vo xv, it does not crash.
I'm using Red Hat Fedora Core 2 with a custom 2.6.6 SMP kernel.
Processor is a 2.8G P4 with hyperthreading enabled.
The crash happens on pre-packaged rpms and when built from source from the
latest snapshot.
X server is xorg, using nvidia display driver. Graphics card is GeForce FX
- From Xorg.log: X Protocol Version 11, Revision 0, Release 6.7
There are at least 3 different ways I've seen this crash. Below is
the gdb trace for the most common.
(gdb) r -v -vo xv -fs dvd://
The program being debugged has been started already.
Start it from the beginning? (y or n)
Please answer y or n.
The program being debugged has been started already.
Start it from the beginning? (y or n)
Please answer y or n.
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/src/MPlayer-20040625/mplayer -v -vo xv -fs dvd://
Error while mapping shared library sections:
: Success.
Error while reading shared library symbols:
: No such file or directory.
[Thread debugging using libthread_db enabled]
[New Thread 1079562912 (LWP 7049)]
Error while reading shared library symbols:
: No such file or directory.
Error while reading shared library symbols:
: No such file or directory.
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale
MPlayer dev-CVS-040624-21:00-3.3.3 (C) 2000-2004 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Northwood 2821 MHz (Family: 8, Stepping: 3)
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 /usr/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/morrison/.mplayer/config
Reading /home/morrison/.mplayer/codecs.conf: Can't open
'/home/morrison/.mplayer/codecs.conf': No such file or directory
Reading /usr/etc/mplayer/codecs.conf: Can't open '/usr/etc/mplayer/codecs.conf':
No such file or directory
Using built-in default codecs.conf.
CommandLine: '-v' '-vo' 'xv' '-fs' 'dvd://'
init_freetype
get_path('font/font.desc') -> '/home/morrison/.mplayer/font/font.desc'
font: can't open file: /home/morrison/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup
scripts.
Using usleep() timing
get_path('input.conf') -> '/home/morrison/.mplayer/input.conf'
Can't open input config file /home/morrison/.mplayer/input.conf: No such file or
directory
Can't open input config file /usr/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
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('.conf') -> '/home/morrison/.mplayer/.conf'
Playing dvd://.
get_path('DVDKeys') -> '/home/morrison/.mplayer/DVDKeys'
Reading disc structure, please wait...
There are 23 titles on this DVD.
There are 33 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
[open] audio stream: 0 audio format: ac3 (5.1) language: en aid: 128
[open] audio stream: 1 audio format: ac3 (stereo) language: en aid: 129
[open] audio stream: 2 audio format: ac3 (5.1) language: en aid: 130
[open] number of audio channels on disk: 3.
[open] subtitle ( sid ): 0 language: en
[open] number of subtitles on disk: 1
DVD start cell: 0 pack: 0x0-0x7160
DVD start=0 end=2233632
DVD Seek! lba=0x0 cell=0 packs: 0x0-0x7160
Angle-seek synced by cell/vob IDN search!
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x8558820
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x8558820
Checking for Nullsoft Streaming Video
DEMUXER: freeing demuxer at 0x8558820
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x8558820
Checking for REAL
DEMUXER: freeing demuxer at 0x8558820
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x8558820
DEMUXER: freeing demuxer at 0x85591c0
DEMUXER: freeing demuxer at 0x85591c0
Searching demuxer type for filename dvd:// ext: (null)
Checking for MOV
DEMUXER: freeing demuxer at 0x85591c0
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x85591c0
DEMUXER: freeing demuxer at 0x85591c0
DEMUXER: freeing demuxer at 0x85591c0
DEMUXER: freeing demuxer at 0x85591c0
DEMUXER: freeing demuxer at 0x85591c0
DEMUXER: freeing demuxer at 0x85591c0
DEMUXER: freeing demuxer at 0x85591c0
DVD Seek! lba=0x0 cell=0 packs: 0x0-0x7160
Angle-seek synced by cell/vob IDN search!
Checking for PVA
DEMUXER: freeing demuxer at 0x85591c0
Checking for MPEG-TS...
TRIED UP TO POSITION 86640, FOUND 47, packet_size= 0, SEEMS A TS? 0
DVD Seek! lba=0x2A cell=0 packs: 0x0-0x7160
Angle-seek synced by cell/vob IDN search!
DEMUXER: freeing demuxer at 0x85591c0
DVD Seek! lba=0x0 cell=0 packs: 0x0-0x7160
Angle-seek synced by cell/vob IDN search!
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=1140851708
LMLM4 Stream Format not found
DEMUXER: freeing demuxer at 0x85591c0
system stream synced at 0xD (0)!
==> Found video stream: 0
MPEG-PS file format detected.
==> Found audio stream: 128
Searching for sequence header... OK!
VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 8601.6 kbps (1075.2 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x480 fps:29.97 ftime:=0.0334
get_path('sub/') -> '/home/morrison/.mplayer/sub/'
get_path('default.sub') -> '/home/morrison/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer.
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer.
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe) 48000 Hz 448.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 56000->192000 (448.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x960 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Unknown wm type...
[x11] Current fstype setting doesn't honour any X atoms
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
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: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer 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: 8/8 (8192 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...
==> Found audio stream: 129
==> Found audio stream: 130
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (720x480->854x480,flags=1,'MPlayer',0x32315659)
VO: [xv] 720x480 => 854x480 Planar YV12 [fs]
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel@…> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
Error while reading shared library symbols:
: No such file or directory.
Error while reading shared library symbols:
: No such file or directory.
Error while reading shared library symbols:
: No such file or directory.
Error while reading shared library symbols:
: No such file or directory.
using Xvideo port 145 for hw scaling
[xv-fs] dx: 0 dy: 120 dw: 1280 dh: 720
[xv] dx: 0 dy: 120 dw: 1280 dh: 720
X11 error: BadWindow (invalid Window parameter)
Type: 0, display: 859ee78, resourceid: 3000001, serial: 56
Error code: 3, request code: 3d, minor code: 0
Program received signal SIGABRT, Aborted.
[Switching to Thread 1079562912 (LWP 7049)]
0xffffe410 in ?? ()
(gdb) bt
#0 0xffffe410 in ?? ()
#1 0xbfffd56c in ?? ()
#2 0x00000006 in ?? ()
#3 0x00001b89 in ?? ()
#4 0x006bce49 in raise () from /lib/tls/libc.so.6
#5 0x006be872 in abort () from /lib/tls/libc.so.6
#6 0x08093d3e in x11_errorhandler (display=0x0, event=0xbfffd740)
at x11_common.c:206
#7 0x00814a94 in _XError () from /usr/X11R6/lib/libX11.so.6
#8 0x00812ff3 in _XReply () from /usr/X11R6/lib/libX11.so.6
#9 0x008c68ae in DPMSInfo () from /usr/X11R6/lib/libXext.so.6
#10 0x08096389 in saver_off (mDisplay=0x8c8440) at x11_common.c:1667
#11 0x08099f6d in config (width=140130600, height=1280, d_width=854,
d_height=480, flags=1, title=0x8365ef5 "MPlayer", format=842094169)
at vo_xv.c:451
#12 0x080ccb44 in config (vf=0x85a70e0, width=720, height=480, d_width=854,
d_height=480, flags=1, outfmt=842094169) at vf_vo.c:48
#13 0x080c45d4 in mpcodecs_config_vo (sh=0x855bbc0, w=480, h=854,
preferred_outfmt=0) at vd.c:304
#14 0x080c5fcb in decode (sh=0x855bbc0, data=0x409b7008, len=11589, flags=0)
at vd_libmpeg2.c:120
#15 0x080c40c2 in decode_video (sh_video=0x855bbc0, start=0x0, in_size=0,
drop_frame=0) at dec_video.c:309
#16 0x080747bc in main (argc=6, argv=0xbfffefc4) at mplayer.c:2097
Change History (3)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
Owner: | changed from | to
---|
comment:3 by , 19 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
No reply from the reporter, closing.
Does this problem still exist with newer xorg releases?