[MPlayer-dev-eng] Compiling MPlayer under Wine
Ingo Brückl
ib at wupperonline.de
Sat Oct 8 15:21:18 CEST 2011
I wrote on Fri, 07 Oct 2011 12:16:25 +0200:
> The reason why the GUI made so much problems is very strange and I'm still
> investigating. MPlayer continued crashing with a segmentation fault at
> ShowWindow(gui->mainwindow, SW_SHOW). I very carefully analyzed the
> win32/gui.c code but couldn't find any bug in there. Being tired after
> hours of testing I disabled the signal handler for SIGSEGV in mplayer.c to
> see what happens and guess what ... everything was just working fine. No
> crash, no problems. I'm now setting up gdb to have a deeper look into it.
Well, it turned out that the crash is caused by Wine somewhere in
create_alpha_bitmap(). No idea where and why, but it does so with both v1.2
and v1.3.29, and there are quite some search engine hits concerning this
issue. Wine itself doesn't crash (does it handle those faults?), and as
mentioned earlier without a SIGSEGV signal handler in MPlayer, the GUI starts
and runs just fine.
So I've come up with this really ugly patch, but I see no other solution.
This is, except for documentation, the last patch necessary for a Wine build.
So if #5, #6 and #7 are ok, then we're done and I could apply. (Or shall I
post all patches again in their final versions? #2 has got a Windows to Unix
filename conversion function and #4 has been revised according to Diego's
suggestion.)
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winegcc.7.patch
Type: text/x-c++
Size: 487 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20111008/92950f35/attachment.bin>
More information about the MPlayer-dev-eng
mailing list