[Mplayer-advusers] Re: mplayer still crashes with -fs

Attila Kinali attila at kinali.ch
Thu Feb 5 11:16:31 CET 2004


On 04 Feb 2004 23:30:46 -0500
Greg Stark <gsstark at mit.edu> wrote:


> Well sure, it's something with my X server, it is an X error after all.
> 
> But reporting "mplayer is crashing" to the xfree86 mailing lists won't get me
> very far... They're not going to be interested until we figure out why mplayer
> is crashing.

Simplest would be to write a simple x app that does exactly the same calls
to the xlib as mplayer and see where it crashes.

> It does seem to be fairly consistent that it's a BadWindow error during
> config. That presumably means something is wrong with either the mRootWin or
> vo_window parameters. 
> 
> There isn't any error checking in vo_x11_create_smooth_window but presumably
> vo_window is fine after that function since it works without -fs. So something
> about -fs is causing code to run that causes it to be invalid.
> 
> Where is -fs handled? Is it a different codepath from the 'f' key after the
> movie is playing?

Not really, altough i remember quite a few bugs in the handling of -fs and "f"
which broke one but not the other.

All x11 common functions are in x11_common.c, just specific stuff is in 
vo_x*.c.

> How can I check to see if a window is still valid from gdb? Is there a simple
> X call I can make that won't disturb mplayer?

xwininfo is your friend.


HTH
			Attila Kinali

-- 
egp ist vergleichbar mit einem ikea bausatz fuer flugzeugtraeger
			-- reeler in +kaosu




More information about the MPlayer-advusers mailing list