From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 6 17:07:37 2009 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 EDD8F106566B; Thu, 6 Aug 2009 17:07:37 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id A9F2D8FC14; Thu, 6 Aug 2009 17:07:37 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id E98901E002FF; Thu, 6 Aug 2009 19:07:36 +0200 (CEST) Received: from triton.kn-bremen.de (noident@localhost [127.0.0.1]) by triton.kn-bremen.de (8.14.3/8.14.3) with ESMTP id n76H5QTa011130; Thu, 6 Aug 2009 19:05:26 +0200 (CEST) (envelope-from nox@triton.kn-bremen.de) Received: (from nox@localhost) by triton.kn-bremen.de (8.14.3/8.14.3/Submit) id n76H5QML011129; Thu, 6 Aug 2009 19:05:26 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Thu, 6 Aug 2009 19:05:26 +0200 To: "Sean C. Farley" Message-ID: <20090806170526.GA10971@triton.kn-bremen.de> References: <20090628082701.GA34665@triton.kn-bremen.de> <200908061418.36989.tijl@ulyssis.org> <200908061710.39039.tijl@ulyssis.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-emulation@FreeBSD.org, Juergen Lock Subject: Re: nspluginwrapper patch for testing 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, 06 Aug 2009 17:07:38 -0000 On Thu, Aug 06, 2009 at 11:14:22AM -0500, Sean C. Farley wrote: > On Thu, 6 Aug 2009, Tijl Coosemans wrote: > > > On Thursday 06 August 2009 15:15:10 Sean C. Farley wrote: > >> On Thu, 6 Aug 2009, Tijl Coosemans wrote: > >>> On Thursday 06 August 2009 12:14:10 Boris Samorodov wrote: > >>>> On Thu, 6 Aug 2009 10:59:21 +0200 Tijl Coosemans wrote: > >>>>> Can this be committed before the 8.0 ports freeze? > >>>> > >>>> According to the list this solution appears to be helpful, > >>>> so the answer is "yes" (or rather "should"). > >>>> > >>>> Can you provide a commit log? > >>> > >>> Limit the stack size for plugins. Linux glibc threading behaves > >>> slightly differently with a smaller stack size and the Flash plugins > >>> rely on this behaviour. > >>> > >>> Suggested by: dchagin > >>> Patch by: nox > >> > >> Also, it helps for running Google Earth. Until I limited the stack > >> size for it, it would crash if I zoomed in too close to the Earth. > >> It still crashes for me when exiting Google Earth, but I am able to > >> live with that. This is when running on i386 7-STABLE with the > >> Nvidia driver v185.18.29. > > > > You mean a similar patch should applied to the google-earth port? > > I am not sure. It helps me, but I do not know if my case is peculiar. > I do not have this problem on an amd64 7-STABLE (same revision as above) > using the radeonhd driver. However, on the amd64 system, the RV610 chip > does not have hardware acceleration at this time. Can anyone replicate > my problem? Already committed. :) (As Linux has a smaller stack by default iiuc its unlikely to hurt, and it _seems_ to help against the hangs/deadlocks I got which I used to work around by forcing googleearth onto a single cpu too.) Thanx, Juergen