From owner-freebsd-emulation@FreeBSD.ORG Tue Sep 30 13:37: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 8F15710656BD for ; Tue, 30 Sep 2008 13:37:30 +0000 (UTC) (envelope-from root@dchagin.dialup.corbina.ru) Received: from contrabass.post.ru (contrabass.post.ru [85.21.78.5]) by mx1.freebsd.org (Postfix) with ESMTP id 4333C8FC2C for ; Tue, 30 Sep 2008 13:37:29 +0000 (UTC) (envelope-from root@dchagin.dialup.corbina.ru) Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.post.ru (Postfix) with ESMTP id BA1EF1F70AD; Tue, 30 Sep 2008 17:37:27 +0400 (MSD) X-Virus-Scanned: by cgpav Uf39PSi9pFi9oFi9 Received: from dchagin.dialup.corbina.ru ([78.107.232.239] verified) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPS id 1242007076; Tue, 30 Sep 2008 17:37:27 +0400 Received: from dchagin.dialup.corbina.ru (localhost.chd.net [127.0.0.1]) by dchagin.dialup.corbina.ru (8.14.3/8.14.2) with ESMTP id m8UDbO7e004186; Tue, 30 Sep 2008 17:37:24 +0400 (MSD) (envelope-from root@dchagin.dialup.corbina.ru) Received: (from root@localhost) by dchagin.dialup.corbina.ru (8.14.3/8.14.2/Submit) id m8UDbJ8i004185; Tue, 30 Sep 2008 17:37:19 +0400 (MSD) (envelope-from root) Date: Tue, 30 Sep 2008 17:37:19 +0400 From: Chagin Dmitry To: Vladimir Grebenschikov Message-ID: <20080930133719.GA4089@dchagin.dialup.corbina.ru> References: <20080929200237.GA68300@dchagin.dialup.corbina.ru> <1222762139.1675.16.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1222762139.1675.16.camel@localhost> User-Agent: Mutt/1.4.2.3i Cc: freebsd-emulation@freebsd.org Subject: Re: firefox & flash9 patches 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, 30 Sep 2008 13:37:30 -0000 On Tue, Sep 30, 2008 at 12:08:59PM +0400, Vladimir Grebenschikov wrote: > On Tue, 2008-09-30 at 00:02 +0400, Chagin Dmitry wrote: > > Hi, > > > > please, test following patches (just -current). > > with them firefox && flash9 forks for me, > > I tested only on ia32@amd64 with 2.6.16 enabled, > > firefox 2.0.0.16 and flash9 plugin. > > I've tried to check your patch - kernel builds ok, but nspluginwrapper > drops core > $ nspluginwrapper -l > Segmentation fault (core dumped) > $ > > and it kills gdb if I tried to run it under gdb > $ gdb nspluginwrapper > GNU gdb 6.1.1 [FreeBSD] > ... > (gdb) r -l > Starting program: /usr/local/bin/nspluginwrapper -l > (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...Assertion failed: ((mapbits & CHUNK_MAP_ALLOCATED) != 0), function arena_salloc, file /usr/src/lib/libc/stdlib/malloc.c, line 3555. > Abort (core dumped) > $ > > I am puzzled, how to use it ? > Any help will be very appreciated. > Hi, Can you be more specific? Do you have any DEBUG options in kernel? especially INVARIANTS - in this case it's necessary to build kernel. also, please, show uname -v and installed plugins. dchagin# uname -v FreeBSD 8.0-CURRENT #0: Tue Sep 30 09:55:27 MSD 2008 root@dchagin.dialup.cor bina.ru:/usr/obj/usr/local/root/pub/lxr/src/sys/ORA dchagin# dchagin# gdb nspluginwrapper GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... (gdb) (gdb) r -l Starting program: /usr/local/bin/nspluginwrapper -l Program exited normally. (gdb) thnx! -- Have fun! chd