[MPlayer-users] mplayer segfaults with "-vo sdl"

Nilmoni Deb ndeb at ece.cmu.edu
Thu Dec 12 03:48:02 CET 2002


Using latest mplayer cvs and the latest SDL (Dec 10 tarball).
Running SUSE 8.0 linux/i386 with glibc-2.2.5-38. Compiler is gcc-2.95.3.
Mplayer optimized for i686. Running mplayer as:

	mplayer -vo sdl -noxv file.vob

When I switch to fullscreen mode and then non-fs mode and then again to
fullscreen mode, mplayer crashes. The bug is perfectly reproducible.
The gdb output is as follows:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 11069)]
0x4010dcb3 in pthread_mutex_lock () from /lib/libpthread.so.0
(gdb) bt
#0  0x4010dcb3 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x4054ac3b in free () from /lib/libc.so.6
#2  0x4047fb8f in SDL_FreeYUV_SW (_this=0x8513028, overlay=0x8518358)
    at SDL_yuv_sw.c:1305
#3  0x4047ec37 in SDL_FreeYUVOverlay (overlay=0x8518358) at SDL_yuv.c:89
#4  0x8099b15 in vlvo_draw_slice_420 ()
(gdb) thread 1
[Switching to thread 1 (Thread 1024 (LWP 11069))]
#0  0x4010dcb3 in pthread_mutex_lock () from /lib/libpthread.so.0




I am using SUSE 8.0 linux with glibc-2.2.5-38. Compiler is gcc-2.95.3.

While I am not sure if this is a bug of SDL or mplayer or GLIBC, I thought
reporting this may be a good idea. Note that if I use the SDL driver with
xvideo support as in:

	mplayer -vo sdl file.vob

then this crash does not happen. Could it be something to do with SDL
trying to free stuff related to YUV overlay when such overlay doesnot
exist (after all, xvideo is being suppressed) ?

thanks
- Nil




More information about the MPlayer-users mailing list