From owner-freebsd-emulation@FreeBSD.ORG Tue Sep 30 13:58:39 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 85D93106568C; Tue, 30 Sep 2008 13:58:39 +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 F237A8FC17; Tue, 30 Sep 2008 13:58: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 m8UDwYDM030769 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 30 Sep 2008 17:58:35 +0400 (MSD) Received: from vova by vbook.fbsd.ru with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KkfkH-000Cue-Tz; Tue, 30 Sep 2008 17:58:33 +0400 From: Vladimir Grebenschikov To: Chagin Dmitry In-Reply-To: <20080930133719.GA4089@dchagin.dialup.corbina.ru> References: <20080929200237.GA68300@dchagin.dialup.corbina.ru> <1222762139.1675.16.camel@localhost> <20080930133719.GA4089@dchagin.dialup.corbina.ru> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: SWsoft Date: Tue, 30 Sep 2008 17:58:33 +0400 Message-Id: <1222783113.1675.67.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: freebsd-emulation@freebsd.org Subject: Re: firefox & flash9 patches X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vova@fbsd.ru 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:58:39 -0000 On Tue, 2008-09-30 at 17:37 +0400, Chagin Dmitry wrote: > 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. I have neither DEBUG nor INVARIANTS in kernel configuration. Should I rebuild kernel with these options to test patch ? > also, please, show uname -v and installed plugins. FreeBSD 8.0-CURRENT #3: Tue Sep 30 10:25:13 MSD 2008 root@vbook.fbsd.ru:/usr/obj/usr/src/sys/VBOOK I have yesterday's 8-CURRENT. As for installed plug-ins, I guess I have only acrobat linux plugin, and it works in ff3. $ nspluginwrapper -v -a -i Auto-install plugins from /usr/X11R6/lib/browser_plugins Looking for plugins in /usr/X11R6/lib/browser_plugins Auto-install plugins from /usr/X11R6/lib/firefox/plugins Looking for plugins in /usr/X11R6/lib/firefox/plugins Auto-install plugins from /usr/local/lib/npapi/linux-flashplugin Looking for plugins in /usr/local/lib/npapi/linux-flashplugin Install plugin /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so ... already installed system-wide, skipping Auto-install plugins from /home/vova/.mozilla/plugins Looking for plugins in /home/vova/.mozilla/plugins Install plugin /home/vova/.mozilla/plugins/nppdf.so into /home/vova/.mozilla/plugins/npwrapper.nppdf.so $ nspluginwrapper -l Segmentation fault (core dumped) $ But! core file decoded fine: $ gdb /usr/local/bin/nspluginwrapper npconfig.core GNU gdb 6.1.1 [FreeBSD] ... [cut lots of libraries] #0 0x48359270 in gnome_vfs_xfer_delete_list () from /usr/local/lib/libgnomevfs-2.so.0 [New LWP 100181] (gdb) bt #0 0x48359270 in gnome_vfs_xfer_delete_list () from /usr/local/lib/libgnomevfs-2.so.0 #1 0x486f03f2 in std::bad_alloc::~bad_alloc () from /usr/lib/libstdc ++.so.6 #2 0x486f21d5 in __gnu_cxx::__atomic_add () from /usr/lib/libstdc ++.so.6 #3 0x48667969 in ?? () from /usr/lib/libstdc++.so.6 #4 0x48088140 in ?? () #5 0x480799b8 in ?? () from /libexec/ld-elf.so.1 #6 0xbfbfdd38 in ?? () #7 0x4805243c in dlsym () from /libexec/ld-elf.so.1 #8 0x48052dce in dlopen () from /libexec/ld-elf.so.1 #9 0x080490d4 in is_wrapper_plugin () #10 0x08049220 in is_wrapper_plugin_0 () #11 0x08048f34 in process_plugin_dir () #12 0x08048fd1 in process_list () #13 0x0804bb52 in main () (gdb) building port with DEBUG=yes and running binary from port directory (not stripped) gives no more details. Sorry for not enough details in first attempt. > thnx! -- Vladimir B. Grebenschikov vova@fbsd.ru