[MPlayer-dev-eng] [PATCH] menu segfault

Colin Leroy colin at colino.net
Sun Nov 17 15:04:03 CET 2002


Hi,

Currently trying Alban's menu stuff... Quite cool ! 
I have a segfault at uninit, attached patch fixes it, I'm sure it's a bad
patch but there's the idea : vf_menu is currently set to NULL too soon.

Btw, segfault happening using `-menu -double -dr -noslices -vo xvidix
-fs`.

Shame on me, i didn't compile with -g so the backtrace is useless.

Here it is, just in case:
#0  __pthread_mutex_lock (mutex=0x80808490) at mutex.c:99
#1  0x0f4d0888 in __libc_free (mem=0x80808490) at malloc.c:3151
#2  0x1015d4f0 in av_free (ptr=0x80808490) at mem.c:76
#3  0x1015d33c in __av_freep (ptr=0x103af98c) at utils.c:36
#4  0x1015e758 in MPV_common_end (s=0x103af710) at mpegvideo.c:487
#5  0x101b49f0 in h263_decode_end (avctx=0x80808490) at h263dec.c:119
#6  0x1015d284 in avcodec_close (avctx=0x10338440) at utils.c:168
#7  0x100a5920 in uninit ()
#8  0x1009ab10 in uninit_video ()
#9  0x10020a84 in uninit_player ()
#10 0x100251a8 in main ()

-- 
Colin
if(debut) {
    fin=true;
}
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: menu_segfault.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20021117/6268793f/attachment.txt>


More information about the MPlayer-dev-eng mailing list