ports/86207: WINE + Datasize of more than 0x50000000
Ulrich Spoerlein
q at galgenberg.net
Fri Sep 16 10:00:34 UTC 2005
>Number: 86207
>Category: ports
>Synopsis: WINE + Datasize of more than 0x50000000
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Sep 16 10:00:32 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Ulrich Spoerlein
>Release: FreeBSD 6.0-BETA2 i386
>Organization:
>Environment:
>Description:
When the max. Data Size exceeds more than 1GB (1GB is still fine), then
sys/kern/imgact_elf.c has trouble exec()'ing Wine. This also manifests
itself in ldd(1) crashing on the Wine binary.
>How-To-Repeat:
Set kern.maxdsiz="1342177280" in /boot/loader.conf, run wine or
ldd /usr/local/bin/wine.
% ldd `which wine`
/usr/local/bin/wine:
ELF interpreter /libexec/ld-elf.so.1 not found
/usr/local/bin/wine: signal 6
A maxdsiz of 1073741824 will work just fine, but YMMV.
% ldd `which wine`
/usr/local/bin/wine:
libwine.so.1 => /usr/local/lib/libwine.so.1 (0xbbf37000)
libc.so.6 => /lib/libc.so.6 (0xbbf4f000)
Note that using plain limit won't do. You have to reboot.
Now, I initially had a dsize of 2GB and since Wine tries something
funky with it's heap at 0x80000000 I thought this was it. But just
setting dsize somewhat above 1GB will trigger this too. Rather odd.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list