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

May 10th, 2012 - 05:40 pm ET by Robert Millan | Report spam
Package: wine-bin
Version: 1.2.2-0.1
Severity: grave
User: debian-bsd@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.

As I understand that the plan for Wheezy is to release with wine 1.4, I'm
not providing a fix to solve this in wine 1.2. If plans are changed to
release with 1.2, then please let me know and I'll cherry-pick the relevant
commits from upstream (and test them).

Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: kfreebsd-i386 (i386)

Kernel: kFreeBSD 8.1-1-amd64
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages wine-bin depends on:
ii libc0.1 2.13-32
ii libwine-bin 1.2.2-0.1
ii x11-utils 7.7~1

wine-bin recommends no packages.

Versions of packages wine-bin suggests:
ii libwine-gl 1.2.2-0.1
ii libwine-print 1.2.2-0.1

Versions of packages libwine depends on:
ii libc0.1 2.13-32
ii libfreetype6 2.4.9-1
ii libhal1 0.5.14-8
ii libice6 2:1.0.8-2
ii libjpeg8 8d-1
ii libmpg123-0 1.14.0-1
ii libpng12-0 1.2.49-1
ii libsm6 2:1.2.1-2
ii libssl1.0.0 1.0.1b-1
ii libx11-6 2:1.4.99.901-2
ii libxcursor1 1:1.1.13-1
ii libxext6 2:1.3.1-2
ii libxi6 2:1.6.0-1
ii libxinerama1 2:1.1.2-1
ii libxml2 2.7.8.dfsg-9
ii libxrandr2 2:1.3.2-2
ii libxrender1 1:0.9.7-1
ii zlib1g 1:1.2.7.dfsg-1

Versions of packages libwine recommends:
ii libgsm1 1.0.13-4

Versions of packages libwine suggests:
pn wine-doc <none>




To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 6 repliesReplies Make a reply

Replies

#1 Hilko Bengen
May 13th, 2012 - 05:10 pm ET | Report spam
* Robert Millan:

Package: wine-bin
Version: 1.2.2-0.1
Severity: grave
User:
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
| 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



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Similar topics