http://bugs.winehq.org/show_bug.cgi?id=14360
Summary: dosmem forgot MAP_FIXED Product: Wine Version: 1.0.0 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: jreiser@BitWagon.com
Created an attachment (id=14657) --> (http://bugs.winehq.org/attachment.cgi?id=14657) dosmem use MAP_FIXED; new WINE_NO_DOSMEM_64KB environment variable
Dosmem forgot MAP_FIXED when calling wine_anon_mmap() to allocate memory at assumed fixed addresses for the low 1 MiB and 64 KiB. It is a bug to assume that the result address equals the requested address, unless MAP_FIXED. Also, add a new environment variable WINE_NO_DOSMEM_64KB to inhibit the low 64 KiB, even if the opreating system would allow it. By default, Linux 2.6.24 prohibits mmap in the range [0, 0x10000). Patch is attached and will be sent to wine-patches@winehq.org.
http://bugs.winehq.org/show_bug.cgi?id=14360
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #1 from Austin English austinenglish@gmail.com 2009-01-05 11:12:06 --- Is this still an issue in current (1.1.12 or newer) wine? Would you mind resubmitting the patch and asking for comments?
http://bugs.winehq.org/show_bug.cgi?id=14360
--- Comment #2 from Austin English austinenglish@gmail.com 2009-07-16 13:10:17 --- This area has changed a lot recently, might be worth taking another look/re-valgrinding.
http://bugs.winehq.org/show_bug.cgi?id=14360
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=14360
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2010-05-19 16:39:50 --- It's not supposed to use MAP_FIXED, we don't know what's in there, and in fact getting a different address is OK. There's nothing to fix here.
http://bugs.winehq.org/show_bug.cgi?id=14360
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Austin English austinenglish@gmail.com 2010-05-19 16:55:31 --- Closing.