https://bugs.winehq.org/show_bug.cgi?id=49225
--- Comment #5 from Damjan Jovanovic damjan.jov@gmail.com --- map_view() sees "base" is non-NULL, and calls map_fixed_area(), which calls unix_funcs->mmap_is_in_reserved_area() and takes this case in the switch statement:
case 0: /* not in a reserved area, do a normal allocation */
There, the bad pointer is returned from:
if ((ptr = wine_anon_mmap( base, size, VIRTUAL_GetUnixProt(vprot), 0 )) == (void *)-1)