[MPlayer-dev-eng] [PATCH] (loader/ext.c) VirtualAlloc() SIGSEGV on Linux + other fixes

Robert Lunnon bobl at optushome.com.au
Mon Aug 23 11:42:17 CEST 2004


On Mon, 23 Aug 2004 02:48 pm, A. Guru wrote:
> * On Friday 2004-08-20 at 00:16:40 +0100, Martin Simmons wrote:
> > Yes, I agree.  Your solution of removing MAP_FIXED is neater, provided
> > the OS can be trusted to return the requested address.  It looks like it
> > can on Linux 2.4.x kernels at least.
>
> Cool.
>
>
>
> There is a more efficient long term solution that would be optimal.
> All the various projects that need to implement a win32-compatible
> VirtualAlloc() on Linux, such as mplayer and wine (and xine?) (and
> avifile?), would benefit from lobbying on the Linux kernel mailing list
> for this minimal little patch:
>

And how does this solve antthing for Solaris, which by the way wont 
necessarily return the requested address except with MAP_FIXED

Bob




More information about the MPlayer-dev-eng mailing list