Subject: Re: firefox-bin on -current?
To: Juan RP <juan@xtrarom.org>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: current-users
Date: 05/24/2005 12:06:58
In message <20050524172320.571378a2.juan@xtrarom.org>, Juan RP writes:
>On Tue, 24 May 2005 09:41:27 -0400
>"Steven M. Bellovin" <smb@cs.columbia.edu> wrote:
>
>> Is anyone successfully running firefox-bin 1.0.4 on -current?  On my 
>> machines, I'm getting a segmentation fault.  (I need the -bin version 
>> because I often can't print from the compiled version -- but that's a 
>> separate problem.)
>
>Running fine here:
>
>NetBSD Nocturno 3.99.5 NetBSD 3.99.5 (Nocturno) #30: Mon May 23
>11:15:04 CEST 2005  juan@Nocturno:/home/juan/build/obj/sys/arch/i386/
>compile/Nocturno i386
>
>[juan@Nocturno][~]> pkg_info|grep firefox
>firefox-bin-1.0.4   Lightweight gecko-based web browser (binary package)
>[juan@Nocturno][~]>
>

Hmm -- I wonder if it has anything to do with the fact that I use xorg.

Is there any way to persuade gdb to give me a useful backtrace.  Here's 
what I get:

$ gdb /usr/pkg/lib/firefox-linux/firefox-bin *.core
GNU gdb 5.3nb1
Copyright 2002 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 "i386--netbsdelf"...(no debugging symbols found)...
Core was generated by `firefox-bin'.
Program terminated with signal 11, Segmentation fault.
/usr/src/gnu/dist/gdb/gdb/solib-svr4.c:1282: gdb-internal-error: legacy_fetch_link_map_offsets called without legacy link_map support enabled.
An internal GDB error was detected.  This may make further
debugging unreliable.  Quit this debugging session? (y or n) n

Create a core file containing the current state of GDB? (y or n) n

#0  0xbd206871 in ?? ()
(gdb) bt
#0  0xbd206871 in ?? ()
#1  0xbda5c54b in ?? ()
#2  0x087836c4 in nsPRUint32Key::Clone() const ()
#3  0xbda5fe31 in ?? ()
#4  0xbdbeb004 in ?? ()
#5  0x084250a5 in nsPRUint32Key::Clone() const ()
#6  0x0842514a in nsPRUint32Key::Clone() const ()
#7  0x08419cbf in nsPRUint32Key::Clone() const ()
#8  0x08412628 in nsPRUint32Key::Clone() const ()
#9  0x0841de9d in nsPRUint32Key::Clone() const ()
#10 0x08422402 in nsPRUint32Key::Clone() const ()
#11 0x08460722 in nsPRUint32Key::Clone() const ()
#12 0x08460367 in nsPRUint32Key::Clone() const ()
#13 0x0827517d in nsReadingIterator<unsigned short>::advance(int) ()
#14 0x082728aa in nsReadingIterator<unsigned short>::advance(int) ()
#15 0x0827517d in nsReadingIterator<unsigned short>::advance(int) ()
#16 0x0827b55a in nsReadingIterator<unsigned short>::advance(int) ()
#17 0x08420760 in nsPRUint32Key::Clone() const ()
#18 0x08420597 in nsPRUint32Key::Clone() const ()
#19 0x0827517d in nsReadingIterator<unsigned short>::advance(int) ()
#20 0x08277dc8 in nsReadingIterator<unsigned short>::advance(int) ()
#21 0x0841fc27 in nsPRUint32Key::Clone() const ()
#22 0x0841de9d in nsPRUint32Key::Clone() const ()
---Type <return> to continue, or q <return> to quit---
#23 0x08441653 in nsPRUint32Key::Clone() const ()
#24 0x0822c5ac in nsReadingIterator<unsigned short>::advance(int) ()
#25 0x08466116 in nsPRUint32Key::Clone() const ()
#26 0x0832c9fe in nsPRUint32Key::Clone() const ()
#27 0x0832b676 in nsPRUint32Key::Clone() const ()
#28 0x0817a82a in nsWritingIterator<unsigned short>::advance(int) ()
#29 0x0817aa39 in nsWritingIterator<unsigned short>::advance(int) ()
#30 0x08178370 in nsWritingIterator<unsigned short>::advance(int) ()
#31 0x08178d80 in nsWritingIterator<unsigned short>::advance(int) ()
#32 0x0817798a in nsWritingIterator<unsigned short>::advance(int) ()
#33 0x08177205 in nsWritingIterator<unsigned short>::advance(int) ()
#34 0x08188f1b in nsReadingIterator<unsigned short>::advance(int) ()
#35 0x08188cbf in nsReadingIterator<unsigned short>::advance(int) ()
#36 0x08189ca7 in nsReadingIterator<unsigned short>::advance(int) ()
#37 0x084f67f4 in nsPRUint32Key::Clone() const ()
#38 0x080d0288 in nsXPTCStubBase::Stub229() ()
#39 0x080d0de3 in nsXPTCStubBase::Stub229() ()
#40 0x080d0caf in nsXPTCStubBase::Stub229() ()
#41 0xbdb399e6 in ?? ()
#42 0xbdb4b853 in ?? ()
#43 0xbdb4b7a6 in ?? ()
#44 0xbdb4cdd3 in ?? ()
#45 0x0821382c in nsReadingIterator<unsigned short>::advance(int) ()
---Type <return> to continue, or q <return> to quit---
#46 0xbd6a786f in ?? ()
#47 0xbd6849ca in ?? ()
#48 0xbd686adb in ?? ()
#49 0xbd686d07 in ?? ()
#50 0xbd8d411f in ?? ()
#51 0x08213ad8 in nsReadingIterator<unsigned short>::advance(int) ()
#52 0x085d44ef in nsPRUint32Key::Clone() const ()
#53 0x0877f873 in nsPRUint32Key::Clone() const ()
#54 0x08073ae3 in nsXPTCStubBase::Stub229() ()
#55 0xbd1f392b in ?? ()


		--Steven M. Bellovin, http://www.cs.columbia.edu/~smb