Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Sep 2008 17:37:19 +0400
From:      Chagin Dmitry <dchagin@freebsd.org>
To:        Vladimir Grebenschikov <vova@fbsd.ru>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: firefox & flash9 patches
Message-ID:  <20080930133719.GA4089@dchagin.dialup.corbina.ru>
In-Reply-To: <1222762139.1675.16.camel@localhost>
References:  <20080929200237.GA68300@dchagin.dialup.corbina.ru> <1222762139.1675.16.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080930133719.GA4089>