Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Oct 2009 15:13:43 +0200
From:      Louis Croisez <louis.croisez@gmail.com>
To:        freebsd-ports-bugs@freebsd.org
Subject:   ports/86207: WINE + Datasize of more than 0x50000000
Message-ID:  <34d8b2fe0910080613q6b87b1fal1b1b46c413495bd1@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,
you wrote 4 years ago a bug report on the FreeBSD mailing list concerning a
problem of ld-elf.so.1 library.
Apparently, the status of this bug was "resolved/closed".

Problem is that I have the same behavior now on my FreeNAS distribution
running 7.2 kernel:
~# ldd `which wine`
/usr/local/bin/wine:
ELF interpreter /libexec/ld-elf.so.1 not found
/usr/local/bin/wine: signal 6
~# wine
ELF interpreter /libexec/ld-elf.so.1 not found
Abort
~# uname -a
FreeBSD freenas.local 7.2-RELEASE-p1 FreeBSD 7.2-RELEASE-p1 #0: Fri Jun 19
20:56:48 UTC 2009 root@vmbsd72i386:/usr/obj/freenas/usr/src/sys/FREENAS-i38=
6
i386

I have tried your workaround (setting a smaller value of kern.maxdsiz in
/boot/loader.conf below 1Meg) but it does not work. The problem is still
there.
Could you help me? Do you know a solution?


>  ports/86207: WINE + Datasize of more than 0x50000000*Ulrich Spoerlein* q
> at galgenberg.net <freebsd-ports-bugs%40freebsd.org?Subject=3Dports/86207=
%3A%20WINE%20%2B%20Datasize%20of%20more%20than%200x50000000&In-Reply-To=3D>
> *Fri Sep 16 03:00:34 PDT 2005*
>
>
>    - Previous message: ports/86206: Unable to build OpenOffice2.0Beta2<ht=
tps://mail.google.com/mail/html/compose/static_files/066256.html>
>    - Next message: ports/86207: WINE + Datasize of more than 0x50000000<h=
ttps://mail.google.com/mail/html/compose/static_files/066258.html>
>    - *Messages sorted by:* [ date ]<https://mail.google.com/mail/html/com=
pose/static_files/date.html#66257>
>     [ thread ]<https://mail.google.com/mail/html/compose/static_files/thr=
ead.html#66257>
>     [ subject ]<https://mail.google.com/mail/html/compose/static_files/su=
bject.html#66257>
>     [ author ]<https://mail.google.com/mail/html/compose/static_files/aut=
hor.html#66257>
>
> ------------------------------
>
> >*Number:         86207*>*Category:       ports*>*Synopsis:       WINE + =
Datasize of more than 0x50000000*>*Confidential:   no*>*Severity:       non=
-critical*>*Priority:       low*>*Responsible:    freebsd-ports-bugs*>*Stat=
e:          open*>*Quarter:        *>*Keywords:       *>*Date-Required:*>*C=
lass:          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=3D"1342177280" in /boot/loader.conf, ru=
n 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 =3D> /usr/local/lib/libwine.so.1 (0xbbf37000)
>         libc.so.6 =3D> /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:*
>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34d8b2fe0910080613q6b87b1fal1b1b46c413495bd1>