From owner-freebsd-emulation@FreeBSD.ORG Mon Nov 24 00:11:20 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6B231065673 for ; Mon, 24 Nov 2008 00:11:20 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from vexpert.dbai.tuwien.ac.at (vexpert.dbai.tuwien.ac.at [128.131.111.2]) by mx1.freebsd.org (Postfix) with ESMTP id 96BC48FC17 for ; Mon, 24 Nov 2008 00:11:20 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from acrux.dbai.tuwien.ac.at (acrux [128.131.111.60]) by vexpert.dbai.tuwien.ac.at (Postfix) with ESMTP id C2C7939113; Mon, 24 Nov 2008 00:41:24 +0100 (CET) Received: by acrux.dbai.tuwien.ac.at (Postfix, from userid 1203) id 0E34910055; Mon, 24 Nov 2008 00:41:28 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by acrux.dbai.tuwien.ac.at (Postfix) with ESMTP id F313510046; Mon, 24 Nov 2008 00:41:28 +0100 (CET) Date: Mon, 24 Nov 2008 00:41:28 +0100 (CET) From: Gerald Pfeifer To: Jan Henrik Sylvester In-Reply-To: <49189FB4.4060403@janh.de> Message-ID: References: <49189FB4.4060403@janh.de> User-Agent: Alpine 1.99 (LSU 1142 2008-08-13) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: emulation list freebsd Subject: Re: wine-1.1.8 regression -- wine: could not load L"...": Invalid address X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Nov 2008 00:11:20 -0000 On Mon, 10 Nov 2008, Jan Henrik Sylvester wrote: > On wine-1.1.8, I cannot run many application that used to run fine on > wine-1.1.7, for example an old version (4.10) of irfanview: > > wine: could not load L"C:\\irfanview-OLD\\i_view32.exe": Invalid address > > I did recompile wine with standard port options and without additional > patches and removed my old ~/.wine directory. The issue remains. Going > back to 1.1.7 immediately fixes the problem. I just committed an update to the emulators/wine port which passed my testing with both 16- and 32-bit Windows applications. Does that update address the issue you have been seeing? > Since this happens for many application including popular ones, I > suspect this might be a FreeBSD thing. (Since winehq.org seems to be > down, I cannot check for one of the applications in question running > successfully on Linux.) Yes, this definitely was/is a "FreeBSD thing". Sadly, there is not much of a FreeBSD community looking after Wine, mostly two or three volunteers making a change/fix now and then. I hope the update I committed today does address the issues you have been seeing, or it may be difficult to get them addressed. Gerald -- Gerald (Jerry) Pfeifer gerald@pfeifer.com http://www.pfeifer.com/gerald/ From owner-freebsd-emulation@FreeBSD.ORG Mon Nov 24 09:07:23 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42F931065676 for ; Mon, 24 Nov 2008 09:07:23 +0000 (UTC) (envelope-from sfourman@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.28]) by mx1.freebsd.org (Postfix) with ESMTP id F0B508FC16 for ; Mon, 24 Nov 2008 09:07:22 +0000 (UTC) (envelope-from sfourman@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so771075ywe.13 for ; Mon, 24 Nov 2008 01:07:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=2bxGQ207altAj3MBNHj5uVCASgSicMHfcXzD58jlW3Q=; b=xDt9sh03Hs9edvhN/VeJZg0VC9dc7xoY91GBcqSZy/n8HWSQuFrzuEMz6yVZj7z1KX zZLUfid7yfrEAgM3fIu8DbRpE2vUUkPRJLbvqJjDi4ir/dVb+B1SKeRKD9jEs7//0yXY Eu0z6Dd7R1n3YWCewnC5P+c8ybMiOH67Ioxr4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=uGL0nYu9R5cvzLH3ss7D8bejbD58xcasv14LTmDSNyFjn4n6bhUPryjdSFjO++9fk1 w5Dd7G5JQ5hSlu/SstArsIx6eH/oUsZpWUKFWyljjNt8F9kXe6nbBu0o9fQ2BQVVsPsK dw0/LEBDx/8StKvQblmbWwa7+nOGRawxdJT/Q= Received: by 10.65.72.7 with SMTP id z7mr3116559qbk.43.1227517641675; Mon, 24 Nov 2008 01:07:21 -0800 (PST) Received: by 10.64.184.9 with HTTP; Mon, 24 Nov 2008 01:07:21 -0800 (PST) Message-ID: <11167f520811240107v17a5c1cbxb63817d0abd19e66@mail.gmail.com> Date: Mon, 24 Nov 2008 03:07:21 -0600 From: "Sam Fourman Jr." To: "Gerald Pfeifer" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <49189FB4.4060403@janh.de> Cc: Jan Henrik Sylvester , emulation list freebsd Subject: Re: wine-1.1.8 regression -- wine: could not load L"...": Invalid address X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Nov 2008 09:07:23 -0000 On Sun, Nov 23, 2008 at 5:41 PM, Gerald Pfeifer wrote: > On Mon, 10 Nov 2008, Jan Henrik Sylvester wrote: >> On wine-1.1.8, I cannot run many application that used to run fine on >> wine-1.1.7, for example an old version (4.10) of irfanview: >> >> wine: could not load L"C:\\irfanview-OLD\\i_view32.exe": Invalid address it would appear World of warcraft is still broken. it works fine in 1.1.7 wine: configuration in '/home/sfourman/.wine' has been updated. FreeFontPath: FPE "/usr/local/lib/X11/fonts/misc/" refcount is 2, should be 1; fixing. wine: could not load L"C:\\Program Files\\World of Warcraft\\Wow.exe": Invalid address [sfourman@Sam ~/.wine/drive_c/Program Files/World of Warcraft]$ wine --version wine-1.1.9 [sfourman@Sam ~/.wine/drive_c/Program Files/World of Warcraft]$ Sam Fourman Jr. From owner-freebsd-emulation@FreeBSD.ORG Mon Nov 24 11:07:10 2008 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CDE5E1065675 for ; Mon, 24 Nov 2008 11:07:10 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BD2668FC13 for ; Mon, 24 Nov 2008 11:07:10 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mAOB7AEs019869 for ; Mon, 24 Nov 2008 11:07:10 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mAOB79qd019865 for freebsd-emulation@FreeBSD.org; Mon, 24 Nov 2008 11:07:09 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 24 Nov 2008 11:07:09 GMT Message-Id: <200811241107.mAOB79qd019865@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-emulation@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-emulation@FreeBSD.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Nov 2008 11:07:10 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- f ports/127018 emulation Linuxulator incapable of using FreeBSD's LDAP environm o kern/126232 emulation [linux] Linux ioctl TCGETS (0x5401) always fails o ports/121800 emulation x11-toolkits/linux-openmotif - OpenMotif upgrade to 2. o kern/97326 emulation [linux] file descriptor leakage in linux emulation o ports/91318 emulation [fix] graphics/linux_dri: works on amd64 too o kern/91293 emulation [svr4] [patch] *Experimental* Update to the SVR4 emula o kern/73777 emulation [linux] [patch] linux emulation: root dir special hand a kern/72920 emulation [linux]: path "prefixing" is not done on unix domain s o kern/41543 emulation [patch] [request] easier wine/w23 support o kern/39201 emulation [linux] [patch] ptrace(2) and rfork(RFLINUXTHPN) confu o kern/29698 emulation [linux] [patch] linux ipcs doesn'work o kern/21463 emulation [linux] Linux compatability mode should not allow setu o kern/11165 emulation [ibcs2] IBCS2 doesn't work correctly with PID_MAX 9999 13 problems total. From owner-freebsd-emulation@FreeBSD.ORG Mon Nov 24 21:59:23 2008 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6486F1065673 for ; Mon, 24 Nov 2008 21:59:23 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 241F38FC18 for ; Mon, 24 Nov 2008 21:59:23 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from [85.173.17.95] (helo=moosa) by services.ipt.ru with esmtpa (Exim 4.54 (FreeBSD)) id 1L4jSj-0004Vl-EI; Tue, 25 Nov 2008 00:59:21 +0300 To: luizbcampos References: <38095920@ipt.ru> From: Boris Samorodov Date: Tue, 25 Nov 2008 00:58:57 +0300 In-Reply-To: (luizbcampos@gmail.com's message of "Mon\, 24 Nov 2008 16\:44\:43 -0200") Message-ID: <50122126@ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@FreeBSD.org Subject: Re: downloading linux_base-fc4 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Nov 2008 21:59:23 -0000 Please, keep CC to emulation@ ML. On Mon, 24 Nov 2008 16:44:43 -0200 luizbcampos wrote: > On 10/21/08, Boris Samorodov wrote: > > On Tue, 21 Oct 2008 14:49:01 -0200 luizbcampos wrote: > > > >> After I had tried to download linux_base-fc4 I got file > >> unavailable not found no access...I need to put my printer to work! > > > > You may try to use packages: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/packages-using.html > > > >> What`s the matter? > > > > You didn't show any diagnostics (exact commands, exact output, etc.) > > so it's hard to say anything. > > > >> # pkg_add -r linux_base-fc4 > Error: FTP unable to get > ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages/7.0-release/Latest/linux_base-fc4.tbz:file > unavailable (file not found, no access) > >> The problem lingers on... There are two problems here. First, I'm not sure where did you get .../packages/7.0-release/... directory. That should be a .../packages-7.0-release/... one. Second, try to use linux_base package, i.e. "pkg_add -r linux_base". WBR -- bsam From owner-freebsd-emulation@FreeBSD.ORG Mon Nov 24 22:59:31 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E719810656DD for ; Mon, 24 Nov 2008 22:59:31 +0000 (UTC) (envelope-from kozlov@ravenloft.kiev.ua) Received: from istc.kiev.ua (wolf.istc.kiev.ua [193.108.236.1]) by mx1.freebsd.org (Postfix) with ESMTP id A330C8FC24 for ; Mon, 24 Nov 2008 22:59:31 +0000 (UTC) (envelope-from kozlov@ravenloft.kiev.ua) Received: from [91.123.146.100] (helo=ravenloft.kiev.ua) by istc.kiev.ua with esmtp (Exim 4.52) id 1L4jWU-0007d5-W4; Tue, 25 Nov 2008 00:03:15 +0200 Date: Tue, 25 Nov 2008 00:03:11 +0200 From: Alex Kozlov To: "Sam Fourman Jr." , Gerald Pfeifer , Jan Henrik Sylvester , freebsd-emulation@freebsd.org, spam@rm-rf.kiev.ua Message-ID: <20081124220311.GA14308@ravenloft.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Score: 2.0 (++) X-Spam-Report: Content analysis detailz: (2.0 points, 10.0 required) * 2.0 DNS_FROM_SECURITYSAGE RBL: Envelope sender in * blackholes.securitysage.com Cc: Subject: Re: wine-1.1.8 regression -- wine: could not load L"...": Invalid address X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Nov 2008 22:59:32 -0000 On Mon, Nov 24, 2008 at 03:07:21AM -0600, Sam Fourman Jr. wrote: > On Sun, Nov 23, 2008 at 5:41 PM, Gerald Pfeifer wrote: >> On Mon, 10 Nov 2008, Jan Henrik Sylvester wrote: >>> On wine-1.1.8, I cannot run many application that used to run fine on >>> wine-1.1.7, for example an old version (4.10) of irfanview: >>> wine: could not load L"C:\\irfanview-OLD\\i_view32.exe": Invalid address > it would appear World of warcraft is still broken. it works fine in 1.1.7 > wine: could not load L"C:\\Program Files\\World of Warcraft\\Wow.exe": > Invalid address Can You please test this patch? (Drop it in emulators/wine/files) Thanks. Index: dlls/ntdll/virtual.c @@ -1250,8 +1254,13 @@ } /* try to find space in a reserved area for the virtual heap */ - if (!wine_mmap_enum_reserved_areas( alloc_virtual_heap, &heap_base, 1 )) +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) + heap_base = wine_anon_mmap( address_space_limit - 10 * VIRTUAL_HEAP_SIZE, + VIRTUAL_HEAP_SIZE, PROT_READ|PROT_WRITE, 0 ); +#else + if (!wine_mmap_enum_reserved_areas( alloc_virtual_heap, &heap_base, 0 )) heap_base = wine_anon_mmap( NULL, VIRTUAL_HEAP_SIZE, PROT_READ|PROT_WRITE, 0 ); +#endif assert( heap_base != (void *)-1 ); virtual_heap = RtlCreateHeap( HEAP_NO_SERIALIZE, heap_base, VIRTUAL_HEAP_SIZE, -- Adios From owner-freebsd-emulation@FreeBSD.ORG Mon Nov 24 23:29:51 2008 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B0681065672 for ; Mon, 24 Nov 2008 23:29:51 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from server.mypc.hu (server.mypc.hu [87.229.73.95]) by mx1.freebsd.org (Postfix) with ESMTP id EB4DC8FC16 for ; Mon, 24 Nov 2008 23:29:50 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by server.mypc.hu (Postfix) with ESMTP id F17CC14D70B8; Tue, 25 Nov 2008 00:12:17 +0100 (CET) X-Virus-Scanned: amavisd-new at t-hosting.hu Received: from server.mypc.hu ([127.0.0.1]) by localhost (server.mypc.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id SdgWPqgUiFmT; Tue, 25 Nov 2008 00:12:16 +0100 (CET) Received: from [192.168.1.105] (catv-80-98-156-89.catv.broadband.hu [80.98.156.89]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.mypc.hu (Postfix) with ESMTPSA id E7D5C14D701F; Tue, 25 Nov 2008 00:12:15 +0100 (CET) Message-ID: <492B34CE.5060103@FreeBSD.org> Date: Tue, 25 Nov 2008 00:12:14 +0100 From: =?ISO-8859-1?Q?G=E1bor_K=F6vesd=E1n?= User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: emulation@FreeBSD.org Content-Type: multipart/mixed; boundary="------------000305000002070301070700" Cc: Subject: [Fwd: cvs commit: ports/emulators/linux_dist-gentoo-stage3 Makefile distinfo pkg-plist.i586 pkg-plist.i686 pkg-plist.x86 ports/emulators/linux_dist-gentoo-stage3/files pkg-message.in] X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Nov 2008 23:29:51 -0000 This is a multi-part message in MIME format. --------------000305000002070301070700 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit FYI. I updated the stage1 and stage3 linux_dist and linux_base ports. The linux_dist ports install a complete Gentoo environment into which you can chroot and even install packages from the Gentoo portage. The linux_base ports can be used as an alternative to the Fedore distributions but these are not fully supported, i.e. they are supposed to work but nothing is guarantied. The stage2 ports have been removed because no stage2 tarball distributions are shipped for 2008.0. Regards, -- Gabor Kovesdan EMAIL: gabor@FreeBSD.org WWW: http://www.kovesdan.org --------------000305000002070301070700 Content-Type: message/rfc822; name="cvs commit: ports/emulators/linux_dist-gentoo-stage3 Makefile distinfo pkg-plist.i586 pkg-plist.i686 pkg-plist.x86 ports/emulators/linux_dist-gentoo-stage3/filespkg-message.in.eml" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename*0="cvs commit: ports/emulators/linux_dist-gentoo-stage3 Makefil"; filename*1="e distinfo pkg-plist.i586 pkg-plist.i686 pkg-plist.x"; filename*2="86 ports/emulators/linux_dist-gentoo-stage3/files pk"; filename*3="g-message.in.eml" Return-Path: X-Original-To: gabor@t-hosting.hu Delivered-To: gabor@t-hosting.hu Received: from localhost (localhost [127.0.0.1]) by server.mypc.hu (Postfix) with ESMTP id 923FE14D796D for ; Mon, 24 Nov 2008 14:23:53 +0100 (CET) X-Virus-Scanned: amavisd-new at t-hosting.hu Received: from server.mypc.hu ([127.0.0.1]) by localhost (server.mypc.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 4Xq2qGlqvidc for ; Mon, 24 Nov 2008 14:23:51 +0100 (CET) Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by server.mypc.hu (Postfix) with ESMTP id CC67914D7968 for ; Mon, 24 Nov 2008 14:23:35 +0100 (CET) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id C27EE1525AE for ; Mon, 24 Nov 2008 13:23:29 +0000 (UTC) (envelope-from owner-ports-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id 06D6410656B5; Mon, 24 Nov 2008 13:23:28 +0000 (UTC) Delivered-To: gabor@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 538) id E3133106567B; Mon, 24 Nov 2008 13:23:27 +0000 (UTC) Delivered-To: ports-committers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEFC11065672; Mon, 24 Nov 2008 13:23:22 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9FD788FC1D; Mon, 24 Nov 2008 13:23:22 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id mAODNMWd086003; Mon, 24 Nov 2008 13:23:22 GMT (envelope-from gabor@repoman.freebsd.org) Received: (from gabor@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id mAODNMno086002; Mon, 24 Nov 2008 13:23:22 GMT (envelope-from gabor) Message-Id: <200811241323.mAODNMno086002@repoman.freebsd.org> From: Gabor Kovesdan Date: Mon, 24 Nov 2008 13:23:22 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/emulators/linux_dist-gentoo-stage3 Makefile distinfo pkg-plist.i586 pkg-plist.i686 pkg-plist.x86 ports/emulators/linux_dist-gentoo-stage3/files pkg-message.in X-FreeBSD-CVS-Branch: HEAD Sender: owner-ports-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG gabor 2008-11-24 13:23:22 UTC FreeBSD ports repository Modified files: emulators/linux_dist-gentoo-stage3 Makefile distinfo pkg-plist.i686 pkg-plist.x86 emulators/linux_dist-gentoo-stage3/files pkg-message.in Removed files: emulators/linux_dist-gentoo-stage3 pkg-plist.i586 Log: - Update to 2008.0 Revision Changes Path 1.12 +19 -4 ports/emulators/linux_dist-gentoo-stage3/Makefile 1.2 +6 -9 ports/emulators/linux_dist-gentoo-stage3/distinfo 1.2 +0 -1 ports/emulators/linux_dist-gentoo-stage3/files/pkg-message.in 1.3 +0 -33446 ports/emulators/linux_dist-gentoo-stage3/pkg-plist.i586 (dead) 1.3 +31565 -31937 ports/emulators/linux_dist-gentoo-stage3/pkg-plist.i686 1.3 +31549 -31927 ports/emulators/linux_dist-gentoo-stage3/pkg-plist.x86 --------------000305000002070301070700-- From owner-freebsd-emulation@FreeBSD.ORG Tue Nov 25 10:20:38 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E40FA1065670 for ; Tue, 25 Nov 2008 10:20:38 +0000 (UTC) (envelope-from vova@sw.ru) Received: from relay.sw.ru (mailhub.sw.ru [195.214.232.25]) by mx1.freebsd.org (Postfix) with ESMTP id 37F5A8FC1E for ; Tue, 25 Nov 2008 10:20:37 +0000 (UTC) (envelope-from vova@sw.ru) Received: from vbook.fbsd.ru ([10.30.1.111]) (authenticated bits=0) by relay.sw.ru (8.13.4/8.13.4) with ESMTP id mAPAKWZj003493 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 25 Nov 2008 13:20:35 +0300 (MSK) Received: from vova by vbook.fbsd.ru with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1L4v20-000IMC-3Z; Tue, 25 Nov 2008 13:20:32 +0300 From: Vladimir Grebenschikov To: Alex Kozlov In-Reply-To: <20081124220311.GA14308@ravenloft.kiev.ua> References: <20081124220311.GA14308@ravenloft.kiev.ua> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Tue, 25 Nov 2008 13:20:32 +0300 Message-Id: <1227608432.1731.72.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: Jan Henrik Sylvester , freebsd-emulation@freebsd.org, Gerald Pfeifer Subject: Re: wine-1.1.8 regression -- wine: could not load L"...": Invalid address X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Nov 2008 10:20:39 -0000 On Tue, 2008-11-25 at 00:03 +0200, Alex Kozlov wrote: > On Mon, Nov 24, 2008 at 03:07:21AM -0600, Sam Fourman Jr. wrote: > > On Sun, Nov 23, 2008 at 5:41 PM, Gerald Pfeifer wrote: > >> On Mon, 10 Nov 2008, Jan Henrik Sylvester wrote: > >>> On wine-1.1.8, I cannot run many application that used to run fine on > >>> wine-1.1.7, for example an old version (4.10) of irfanview: > >>> wine: could not load L"C:\\irfanview-OLD\\i_view32.exe": Invalid address > > it would appear World of warcraft is still broken. it works fine in 1.1.7 > > wine: could not load L"C:\\Program Files\\World of Warcraft\\Wow.exe": > > Invalid address > Can You please test this patch? (Drop it in emulators/wine/files) > Thanks. Patch helps me. Thank you. Now no more "Invalid address" messages. > Index: dlls/ntdll/virtual.c > @@ -1250,8 +1254,13 @@ > } > > /* try to find space in a reserved area for the virtual heap */ > - if (!wine_mmap_enum_reserved_areas( alloc_virtual_heap, &heap_base, 1 )) > +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) > + heap_base = wine_anon_mmap( address_space_limit - 10 * VIRTUAL_HEAP_SIZE, > + VIRTUAL_HEAP_SIZE, PROT_READ|PROT_WRITE, 0 ); > +#else > + if (!wine_mmap_enum_reserved_areas( alloc_virtual_heap, &heap_base, 0 )) > heap_base = wine_anon_mmap( NULL, VIRTUAL_HEAP_SIZE, PROT_READ|PROT_WRITE, 0 ); > +#endif > > assert( heap_base != (void *)-1 ); > virtual_heap = RtlCreateHeap( HEAP_NO_SERIALIZE, heap_base, VIRTUAL_HEAP_SIZE, > > > -- > Adios > _______________________________________________ > freebsd-emulation@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-emulation > To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org" -- Vladimir B. Grebenschikov vova@fbsd.ru From owner-freebsd-emulation@FreeBSD.ORG Tue Nov 25 21:39:26 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 083181065673 for ; Tue, 25 Nov 2008 21:39:26 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from vexpert.dbai.tuwien.ac.at (vexpert.dbai.tuwien.ac.at [128.131.111.2]) by mx1.freebsd.org (Postfix) with ESMTP id C05FE8FC1D for ; Tue, 25 Nov 2008 21:39:25 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from acrux.dbai.tuwien.ac.at (acrux [128.131.111.60]) by vexpert.dbai.tuwien.ac.at (Postfix) with ESMTP id 799AA39104; Tue, 25 Nov 2008 22:39:21 +0100 (CET) Received: by acrux.dbai.tuwien.ac.at (Postfix, from userid 1203) id BC58010055; Tue, 25 Nov 2008 22:39:25 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by acrux.dbai.tuwien.ac.at (Postfix) with ESMTP id AAB2510046; Tue, 25 Nov 2008 22:39:25 +0100 (CET) Date: Tue, 25 Nov 2008 22:39:25 +0100 (CET) From: Gerald Pfeifer To: Vladimir Grebenschikov In-Reply-To: <1227608432.1731.72.camel@localhost> Message-ID: References: <20081124220311.GA14308@ravenloft.kiev.ua> <1227608432.1731.72.camel@localhost> User-Agent: Alpine 1.99 (LSU 1142 2008-08-13) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Jan Henrik Sylvester , freebsd-emulation@freebsd.org Subject: Re: wine-1.1.8 regression -- wine: could not load L"...": Invalid address X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Nov 2008 21:39:26 -0000 On Tue, 25 Nov 2008, Vladimir Grebenschikov wrote: > Patch helps me. Thank you. > Now no more "Invalid address" messages. Cool. Thanks a lot for addressing this Alex, and Vladimir for your testing! Alex, would you mind submitting this patch upstream as well, to wine-patches@winehq.org Cc:ing me on that? (If you prefer, I can also do this, but since it's your patch...) I'm currently travelling and will try to update our port in the next couple of days; the earlier this gets upstream or at least upstream review the better. Thanks again to everyone helping with this! Gerald From owner-freebsd-emulation@FreeBSD.ORG Tue Nov 25 22:26:32 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD5CC1065674 for ; Tue, 25 Nov 2008 22:26:32 +0000 (UTC) (envelope-from tijl@ulyssis.org) Received: from mailrelay003.isp.belgacom.be (mailrelay003.isp.belgacom.be [195.238.6.53]) by mx1.freebsd.org (Postfix) with ESMTP id 5EA738FC20 for ; Tue, 25 Nov 2008 22:26:32 +0000 (UTC) (envelope-from tijl@ulyssis.org) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiQFAAwKLElR9SgM/2dsb2JhbACBbdElgn0 Received: from 12.40-245-81.adsl-dyn.isp.belgacom.be (HELO kalimero.kotnet.org) ([81.245.40.12]) by relay.skynet.be with ESMTP; 25 Nov 2008 23:26:30 +0100 Received: from kalimero.kotnet.org (kalimero.kotnet.org [127.0.0.1]) by kalimero.kotnet.org (8.14.3/8.14.3) with ESMTP id mAPMQPKE008730; Tue, 25 Nov 2008 23:26:26 +0100 (CET) (envelope-from tijl@ulyssis.org) From: Tijl Coosemans To: freebsd-emulation@freebsd.org, Alex Kozlov Date: Tue, 25 Nov 2008 23:26:23 +0100 User-Agent: KMail/1.9.10 References: <20081124220311.GA14308@ravenloft.kiev.ua> <1227608432.1731.72.camel@localhost> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200811252326.25299.tijl@ulyssis.org> Cc: Jan Henrik Sylvester , Gerald Pfeifer Subject: Re: wine-1.1.8 regression -- wine: could not load L"...": Invalid address X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Nov 2008 22:26:32 -0000 Alex, On Tuesday 25 November 2008 22:39:25 Gerald Pfeifer wrote: > Alex, would you mind submitting this patch upstream as well, to=20 > wine-patches@winehq.org Cc:ing me on that? (If you prefer, I can > also do this, but since it's your patch...) >=20 > I'm currently travelling and will try to update our port in the > next couple of days; the earlier this gets upstream or at least > upstream review the better. It should probably first be discussed with Alexandre Julliard. The original code fails because it ends up allocating the virtual heap somewhere in the beginning of address space which probably interferes with other mappings. The patch moves this to (address_space_limit - 10 * VIRTUAL_HEAP_SIZE). I'm not sure that's correct. I think simply 0x80000000 would be better, but that's what Alexandre can tell you. Also, in the #else case you change a 1 into a 0. Is that intentional? =2D =A0 =A0if (!wine_mmap_enum_reserved_areas( alloc_virtual_heap, &heap_ba= se, 1 )) + =A0 =A0if (!wine_mmap_enum_reserved_areas( alloc_virtual_heap, &heap_base= , 0 )) From owner-freebsd-emulation@FreeBSD.ORG Tue Nov 25 23:59:30 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C6321065674 for ; Tue, 25 Nov 2008 23:59:30 +0000 (UTC) (envelope-from kozlov@ravenloft.kiev.ua) Received: from istc.kiev.ua (wolf.istc.kiev.ua [193.108.236.1]) by mx1.freebsd.org (Postfix) with ESMTP id E903A8FC1E for ; Tue, 25 Nov 2008 23:59:29 +0000 (UTC) (envelope-from kozlov@ravenloft.kiev.ua) Received: from [91.123.146.100] (helo=ravenloft.kiev.ua) by istc.kiev.ua with esmtp (Exim 4.52) id 1L565s-000497-Cy; Wed, 26 Nov 2008 00:09:34 +0200 Date: Wed, 26 Nov 2008 00:08:52 +0200 From: Alex Kozlov To: Gerald Pfeifer , freebsd-emulation@freebsd.org, spam@rm-rf.kiev.ua Message-ID: <20081125220852.GA53049@ravenloft.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Score: 0.1 (/) X-Spam-Report: Content analysis detailz: (0.1 points, 10.0 required) * 0.1 URI_NO_WWW_ANY_CGI URI: CGI with long hostname other fourth-level * "www" Cc: Subject: Re: wine-1.1.8 regression -- wine: could not load L"...": Invalid address X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Nov 2008 23:59:30 -0000 On Tue, Nov 25, 2008 at 10:39:25PM +0100, Gerald Pfeifer wrote: >> Patch helps me. Thank you. >> Now no more "Invalid address" messages. > Cool. Thanks a lot for addressing this Alex, and Vladimir for your > testing! Problem was surprisingly easy to diagnose. > Alex, would you mind submitting this patch upstream as well, to > wine-patches@winehq.org Cc:ing me on that? (If you prefer, I can > also do this, but since it's your patch...) I'm already contact to julliard@winehq.org. If You think it is necessary, You can submit patch to wine-patches. p.s. Preliminary analysis: After this commit http://source.winehq.org/git/wine.git/?a=commitdiff;h=222e406deb878a6312b3c4bf3bcd0e185fa2ff2c wine on freebsd 6/7 almost completely broken. I believe this is because wine reserves only dos area on freebsd. So wine_mmap_enum_reserved_areas fail: if (!wine_mmap_enum_reserved_areas( alloc_virtual_heap, &heap_base, 0 )) heap_base = wine_anon_mmap( NULL, VIRTUAL_HEAP_SIZE, PROT_READ|PROT_WRITE, 0 ); Then wine_anon_mmap with NULL as base (this changes to 0x110000 - another freebsd kludge) map first available address. After this map_image can't map PE to 0x400000 and in most cases fail with: warn:module:map_image Need to relocate module from 0x400000 to 0x660000, but there are no relocation records Quick and dirty workaround: Index: dlls/ntdll/virtual.c @@ -1250,8 +1254,13 @@ } /* try to find space in a reserved area for the virtual heap */ - if (!wine_mmap_enum_reserved_areas( alloc_virtual_heap, &heap_base, 1 )) +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) + heap_base = wine_anon_mmap( address_space_limit - 10 * VIRTUAL_HEAP_SIZE, + VIRTUAL_HEAP_SIZE, PROT_READ|PROT_WRITE, 0 ); +#else + if (!wine_mmap_enum_reserved_areas( alloc_virtual_heap, &heap_base, 0 )) heap_base = wine_anon_mmap( NULL, VIRTUAL_HEAP_SIZE, PROT_READ|PROT_WRITE, 0 ); +#endif assert( heap_base != (void *)-1 ); virtual_heap = RtlCreateHeap( HEAP_NO_SERIALIZE, heap_base, VIRTUAL_HEAP_SIZE, Logs. WINEDEBUG=all wine 1.1.7: 0009:trace:module:load_native_dll Trying native dll L"C:\\Arcanum\\Arcanum.exe" 0009: create_mapping( access=000f0005, attributes=00000000, size=000000000, protect=192, file_handle=0x18, objattr={rootdir=0x0,sd={},name=L""} ) 0009: create_mapping() = 0 { handle=0x1c } 0009:trace:virtual:NtMapViewOfSection handle=0x1c process=0xffffffff addr=0x0 off=000000000 size=0 access=2 0009: get_mapping_info( handle=0x1c ) 0009: get_mapping_info() = 0 { size=000356000, protect=128, header_size=4096, base=0x400000, mapping=0x20, shared_file=0x0 } 0009: get_handle_fd( handle=0x1c ) 0009: *fd* 0x1c -> 68 0009: get_handle_fd() = 0 { type=1, removable=0, access=000f0005, options=00000000 } 0009:trace:virtual:VIRTUAL_DumpView View: 0x400000 - 0x755fff (anonymous) 0009:trace:virtual:VIRTUAL_DumpView 0x400000 - 0x755fff c-rWx >0009:trace:module:map_image mapped PE file at 0x400000-0x756000 0009:trace:module:map_image mapping section .text at 0x401000 off 1000 size 195000 virt 195000 flags 60000020 0009:trace:module:map_image mapping section .rdata at 0x596000 off 196000 size 4000 virt 3cc0 flags 40000040 0009:trace:module:map_image mapping section .data at 0x59a000 off 19a000 size 36000 virt 1a1318 flags c0000040 0009:trace:module:map_image mapping section .idata at 0x73c000 off 1d0000 size 2000 virt 10c0 flags c0000040 0009:trace:module:map_image mapping section .rsrc at 0x73e000 off 1d2000 size 3000 virt 27a0 flags 40000040 0009:trace:module:map_image mapping section .reloc at 0x741000 off 1d5000 size 15000 virt 14a90 flags 42000040 WINEDEBUG=all wine 1.1.9: 001b:trace:module:load_native_dll Trying native dll L"C:\\Arcanum\\Arcanum.exe" 001b: create_mapping( access=000f0005, attributes=00000000, size=000000000, protect=00000140, file_handle=0x18, objattr={rootdir=0x0,sd={},name=L""} ) 001b: create_mapping() = 0 { handle=0x1c } 001b:trace:virtual:NtMapViewOfSection handle=0x1c process=0xffffffff addr=0x0 off=000000000 size=0 a ccess=2 001b: get_mapping_info( handle=0x1c, access=00000005 ) 001b: get_mapping_info() = 0 { size=000356000, protect=256, header_size=4096, base=0x400000, mapping =0x20, shared_file=0x0 } 001b: get_handle_fd( handle=0x1c ) 001b: *fd* 0x1c -> 21 001b: get_handle_fd() = 0 { type=1, removable=0, access=000f0005, options=00000000 } 001b:trace:virtual:map_view got mem with anon mmap 0x660000-0x9b6000 001b:trace:heap:RtlAllocateHeap (0x110000,00000001,00000371): returning 0x110998 001b:trace:virtual:VIRTUAL_DumpView View: 0x660000 - 0x9b5fff (anonymous) 001b:trace:virtual:VIRTUAL_DumpView 0x660000 - 0x9b5fff c-rWx >001b:trace:module:map_image mapped PE file at 0x660000-0x9b6000 001b:trace:module:map_image mapping section .text at 0x661000 off 1000 size 195000 virt 195000 flags 60000020 001b:trace:module:map_image mapping section .rdata at 0x7f6000 off 196000 size 4000 virt 3cc0 flags 40000040 001b:trace:module:map_image mapping section .data at 0x7fa000 off 19a000 size 36000 virt 1a1318 flags c0000040 001b:trace:module:map_image mapping section .idata at 0x99c000 off 1d0000 size 2000 virt 10c0 flags c0000040 001b:trace:module:map_image mapping section .rsrc at 0x99e000 off 1d2000 size 3000 virt 27a0 flags 40000040 001b:trace:module:map_image mapping section .reloc at 0x9a1000 off 1d5000 size 15000 virt 14a90 flags 42000040 001b:warn:module:map_image Need to relocate module from 0x400000 to 0x660000, but there are no relocation records wine_anon_map log on 1.1.9: base=0x1000 size=0x10f000 prot=0 flags=1042 ptr=0x1000 base=0x0 size=0x1000 prot=0 flags=1052 ptr=0x0 >base=0x110000 size=0x400000 prot=3 flags=1002 ptr=0x110000 # VIRTUAL_HEAP base=0x7ffe0000 size=0x10000 prot=3 flags=1002 ptr=0x7ffe0000 base=0x110000 size=0x2000 prot=3 flags=1002 ptr=0x510000 base=0x110000 size=0x8000 prot=3 flags=1002 ptr=0x511000 base=0x110000 size=0x120000 prot=0 flags=1002 ptr=0x518000 base=0x7e180000 size=0x1000 prot=3 flags=1012 ptr=0x7e180000 base=0x7e240000 size=0x1000 prot=3 flags=1012 ptr=0x7e240000 base=0x110000 size=0x11000 prot=3 flags=1002 ptr=0x630000 base=0x110000 size=0x11000 prot=3 flags=1002 ptr=0x631000 >base=0x400000 size=0x356000 prot=7 flags=1002 ptr=0x631000 # PE image base=0x110000 size=0x366000 prot=7 flags=1002 ptr=0x631000 base=0x110000 size=0x11000 prot=3 flags=1002 ptr=0x631000 base=0x1000 size=0x10f000 prot=0 flags=1042 ptr=0x1000 base=0x0 size=0x1000 prot=0 flags=1052 ptr=0x0 base=0x110000 size=0x400000 prot=3 flags=1002 ptr=0x110000 base=0x7ffe0000 size=0x10000 prot=3 flags=1002 ptr=0x7ffe0000 base=0x110000 size=0x2000 prot=3 flags=1002 ptr=0x510000 base=0x110000 size=0x8000 prot=3 flags=1002 ptr=0x511000 base=0x110000 size=0x120000 prot=0 flags=1002 ptr=0x518000 base=0x110000 size=0x12000 prot=3 flags=1002 ptr=0x630000 base=0x110000 size=0x11000 prot=3 flags=1002 ptr=0x632000 base=0x7e180000 size=0x1000 prot=3 flags=1012 ptr=0x7e180000 base=0x7e240000 size=0x1000 prot=3 flags=1012 ptr=0x7e240000 base=0x400000 size=0x356000 prot=7 flags=1002 ptr=0x641000 base=0x110000 size=0x366000 prot=7 flags=1002 ptr=0x641000 -- Adios From owner-freebsd-emulation@FreeBSD.ORG Tue Nov 25 23:59:53 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43D40106564A for ; Tue, 25 Nov 2008 23:59:53 +0000 (UTC) (envelope-from kozlov@ravenloft.kiev.ua) Received: from istc.kiev.ua (wolf.istc.kiev.ua [193.108.236.1]) by mx1.freebsd.org (Postfix) with ESMTP id 062628FC19 for ; Tue, 25 Nov 2008 23:59:52 +0000 (UTC) (envelope-from kozlov@ravenloft.kiev.ua) Received: from [91.123.146.100] (helo=ravenloft.kiev.ua) by istc.kiev.ua with esmtp (Exim 4.52) id 1L56iQ-0004yP-9h; Wed, 26 Nov 2008 00:49:19 +0200 Date: Wed, 26 Nov 2008 00:48:45 +0200 From: Alex Kozlov To: Tijl Coosemans , Gerald Pfeifer , freebsd-emulation@freebsd.org, Alex Kozlov Message-ID: <20081125224845.GA56243@ravenloft.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Spam-Report: Content analysis detailz: (0.0 points, 10.0 required) Cc: Subject: Re: wine-1.1.8 regression -- wine: could not load L"...": Invalid address X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Nov 2008 23:59:53 -0000 On Tue, Nov 25, 2008 at 11:26:23PM +0100, Tijl Coosemans wrote: >> Alex, would you mind submitting this patch upstream as well, to >> wine-patches@winehq.org Cc:ing me on that? (If you prefer, I can >> also do this, but since it's your patch...) >> >> I'm currently travelling and will try to update our port in the >> next couple of days; the earlier this gets upstream or at least >> upstream review the better. > It should probably first be discussed with Alexandre Julliard. The > original code fails because it ends up allocating the virtual heap > somewhere in the beginning of address space which probably interferes > with other mappings. > The patch moves this to (address_space_limit - 10 * VIRTUAL_HEAP_SIZE). > I'm not sure that's correct. I think simply 0x80000000 would be better, > but that's what Alexandre can tell you. I'm also not sure. That why this patch quick and dirty. Let see what Julliard has to say. > Also, in the #else case you change a 1 into a 0. Is that intentional? > -    if (!wine_mmap_enum_reserved_areas( alloc_virtual_heap, &heap_base, 1 )) > +    if (!wine_mmap_enum_reserved_areas( alloc_virtual_heap, &heap_base, 0 )) No, this is a mistake. -- Adios From owner-freebsd-emulation@FreeBSD.ORG Thu Nov 27 04:59:25 2008 Return-Path: Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 040AD1065672; Thu, 27 Nov 2008 04:59:25 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DE5128FC0A; Thu, 27 Nov 2008 04:59:24 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mAR4xOVU075734; Thu, 27 Nov 2008 04:59:24 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mAR4xO6a075730; Thu, 27 Nov 2008 04:59:24 GMT (envelope-from linimon) Date: Thu, 27 Nov 2008 04:59:24 GMT Message-Id: <200811270459.mAR4xO6a075730@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-emulation@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/129169: [linux] [patch] Linux Emulation ENOTCONN error using non-blocking TCP X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Nov 2008 04:59:25 -0000 Old Synopsis: Linux Emulation ENOTCONN error using non-blocking TCP New Synopsis: [linux] [patch] Linux Emulation ENOTCONN error using non-blocking TCP Responsible-Changed-From-To: freebsd-bugs->freebsd-emulation Responsible-Changed-By: linimon Responsible-Changed-When: Thu Nov 27 04:59:02 UTC 2008 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=129169 From owner-freebsd-emulation@FreeBSD.ORG Thu Nov 27 20:30:54 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14CF4106567B for ; Thu, 27 Nov 2008 20:30:54 +0000 (UTC) (envelope-from me@janh.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.10]) by mx1.freebsd.org (Postfix) with ESMTP id A27058FC16 for ; Thu, 27 Nov 2008 20:30:53 +0000 (UTC) (envelope-from me@janh.de) Received: from janh.freebsd (e177237112.adsl.alicedsl.de [85.177.237.112]) by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis) id 0MKwtQ-1L5nVc32YE-0004To; Thu, 27 Nov 2008 21:30:46 +0100 Message-ID: <492F00F9.6060601@janh.de> Date: Thu, 27 Nov 2008 21:20:09 +0100 From: Jan Henrik Sylvester User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: Gerald Pfeifer References: <49189FB4.4060403@janh.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX18Ip3EAgCOMJ/1G+Pfuy1yqqUES0LdFWTLQXc+ aFY0jDOUzZsOp5PDkIQ/SIRcwi6jL4dxKa23+XErZ9ONkaifdR M7zGhDsIulbt2nuR6kQIg== Cc: emulation list freebsd Subject: Re: wine-1.1.8 regression -- wine: could not load L"...": Invalid address X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Nov 2008 20:30:54 -0000 Gerald Pfeifer wrote: > On Mon, 10 Nov 2008, Jan Henrik Sylvester wrote: >> On wine-1.1.8, I cannot run many application that used to run fine on >> wine-1.1.7, for example an old version (4.10) of irfanview: >> >> wine: could not load L"C:\\irfanview-OLD\\i_view32.exe": Invalid address >> >> I did recompile wine with standard port options and without additional >> patches and removed my old ~/.wine directory. The issue remains. Going >> back to 1.1.7 immediately fixes the problem. > > I just committed an update to the emulators/wine port which passed my > testing with both 16- and 32-bit Windows applications. Does that update > address the issue you have been seeing? Sorry for getting back so late and replying to the wrong mail -- I have been moving and do not have internet, yet. I downloaded the wine_anon_mmap patch from Tijl (?) earlier, but do not have the mail here. I had to change some whitespace for it to apply cleanly. With 1.1.9, I still had the same issue for the two applications I tested. The wine_anon_mmap patch fixed the issue for both. Thanks, Jan Henrik