[pkg-wine-party] Bug#672415: Bug#672415: virtual memory allocation problem on kfreebsd-i386 (solved in wine 1.4)

Hilko Bengen bengen at debian.org
Sun May 13 21:05:52 UTC 2012


* Robert Millan:

> Package: wine-bin
> Version: 1.2.2-0.1
> Severity: grave
> User: debian-bsd at lists.debian.org
> Usertags: kfreebsd
>
> wine 1.2.2 introduces a severe regression on kfreebsd-i386, all programs fail
> due to virtual memory allocation problems:
>
>   $ notepad
>   wine: failed to initialize: /usr/lib/wine/ntdll.dll.so: failed to map segment from shared object: Cannot allocate memory
>
> this has been fixed in wine upstream, and the fix is included in wine 1.4.

Am I guessing correctly that this is the relevant upstream commit?

,----
| commit 5f694ddf4c211c1c167a15541c2654175ce42a62
| Author: Francois Gouget <fgouget at free.fr>
| Date:   Fri Nov 26 16:18:32 2010 +0100
| 
|     configure: Load wine lower in memory on FreeBSD to leave more space for mmap
|    
|     If not provided an explicit address, FreeBSD won't mmap any memory
|     below the executable. In particularly this means any memory below that
|     is unavailable to dlopen() and malloc().  This fixes the bug where
|     large WineLib binaries, in particular winetest, failed to load because
|     there was not enough space left for them and the native libraries they
|     linked to.  The drawback is that we can no longer load very large
|     Windows executables (between about 1.5 and 2 GB).
`----

Cheers,
-Hilko





More information about the pkg-wine-party mailing list