firefox & flash9 patches

Chagin Dmitry dchagin at freebsd.org
Tue Sep 30 13:37:30 UTC 2008


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 at 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 at 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


More information about the freebsd-emulation mailing list