[MPlayer-users] Re: [BUGREPORT][PATCH] crash in slave mode when playing audio file
Alban Bedel
albeu at free.fr
Wed Aug 13 18:53:04 CEST 2003
Hi ROSEN Jeremy,
on Wed, 13 Aug 2003 17:30:51 +0200 you wrote:
> Hello again
>
> I have a crash in mplayer
>
> I already reported this crash once but had little feedback, so here I go
> again, but with a patch
>
> when I run "mplayer -slave <audiofile> " then, while playing, I send the
> following command "loadfile <anyfile>" I get a crash
> audiofil has been tested with wma and mp3, anyfile with mp", wma and a
> couple of avi and mpg files
> a quick gdb run as documented in bugreport.html provides the following
> information
> crash happens at mplayer.c, in main line 3314 the line is
> int pts = sh_video->pts
>
> the problem is in an osd update block, it tries to update the video
> display but the sh_video pointer is null. the attach patch simply check
> for this null pointer.
>
> Note that I am not very familiar with the code base, and that might not
> be the correct way to fix this... this is my first intrusion into
> mplayer
>
> the patch is based on main CVS, a couple of days old, but the bug is
> also in 0.90
Thx applied. Patch should better go to -dev-eng (unlike bugreports).
Albeu
--
Everything is controlled by a small evil group
to which, unfortunately, no one we know belongs.
More information about the MPlayer-users
mailing list