[MPlayer-dev-eng] [PATCH] fix segfault when starting gui with gcc-4.4

Erik-Jan ej.lfs at xs4all.nl
Sun Nov 1 17:21:07 CET 2009


Hi,

When i start gmplayer, it sometimes (not always) crashes with a 
segfault. After some digging (quite difficult: when run under gdb I 
couldn't get it to crash), I found the problem was in gui/skin/font.c. I 
guess my shiny new gcc (4.4.2, with ppl) is doing some optimizations to 
this code that wasn't done there before.

Attached is a patch that fixes this problem on my pc. I've searched for 
similar code in other places, and found three more occurances. They are 
fixed in the patch as well.

Bye
Erik-Jan

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: MPlayer-20091101-segfault_in_gui-1.patch
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20091101/8e7e75c5/attachment.txt>


More information about the MPlayer-dev-eng mailing list