From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Sep 16 10:00:34 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12A8716A41F for ; Fri, 16 Sep 2005 10:00:34 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB68B43D46 for ; Fri, 16 Sep 2005 10:00:32 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j8GA0WXq085079 for ; Fri, 16 Sep 2005 10:00:32 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j8GA0WBv085078; Fri, 16 Sep 2005 10:00:32 GMT (envelope-from gnats) Resent-Date: Fri, 16 Sep 2005 10:00:32 GMT Resent-Message-Id: <200509161000.j8GA0WBv085078@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ulrich Spoerlein Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A30D16A41F; Fri, 16 Sep 2005 09:59:34 +0000 (GMT) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CB9943D45; Fri, 16 Sep 2005 09:59:33 +0000 (GMT) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Received: from wrzx30.rz.uni-wuerzburg.de (wrzx30.rz.uni-wuerzburg.de [132.187.1.30]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id E4F68E2642; Fri, 16 Sep 2005 11:59:31 +0200 (CEST) Received: from virusscan (localhost [127.0.0.1]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id C88469D706; Fri, 16 Sep 2005 11:59:31 +0200 (CEST) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id B216690966; Fri, 16 Sep 2005 11:59:31 +0200 (CEST) Received: from frodo.galgenberg.net (wwsx14.win-screen.uni-wuerzburg.de [132.187.253.14]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id A3EABE2642; Fri, 16 Sep 2005 11:59:31 +0200 (CEST) Received: from coyote.q.local (gb-21-237.galgenberg.net [172.16.21.237]) by frodo.galgenberg.net (8.13.1/8.13.1) with ESMTP id j8G9xU2D094799; Fri, 16 Sep 2005 11:59:30 +0200 (CEST) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Received: from roadrunner.q.local (roadrunner.q.local [192.168.0.148]) by coyote.q.local (8.13.3/8.13.1) with ESMTP id j8G9xUhP090230; Fri, 16 Sep 2005 11:59:30 +0200 (CEST) (envelope-from q@roadrunner.q.local) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.4/8.13.4) with ESMTP id j8G9xTc8001140; Fri, 16 Sep 2005 11:59:29 +0200 (CEST) (envelope-from q@roadrunner.q.local) Received: (from q@localhost) by roadrunner.q.local (8.13.4/8.13.4/Submit) id j8G9xTZS001139; Fri, 16 Sep 2005 11:59:29 +0200 (CEST) (envelope-from q) Message-Id: <200509160959.j8G9xTZS001139@roadrunner.q.local> Date: Fri, 16 Sep 2005 11:59:29 +0200 (CEST) From: Ulrich Spoerlein To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: gerald@FreeBSD.org Subject: ports/86207: WINE + Datasize of more than 0x50000000 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ulrich Spoerlein List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2005 10:00:34 -0000 >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: