Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jun 2003 14:05:11 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Morten Rodal <morten@rodal.no>
Cc:        sparc64@FreeBSD.org
Subject:   Re: MozillaFirebird with libthr on sparc64 dies with SIGILL
Message-ID:  <20030621210511.GA82582@rot13.obsecurity.org>
In-Reply-To: <20030621132803.GA1608@atlantis.rodal.no>
References:  <20030621110620.GA72595@rot13.obsecurity.org> <20030621132803.GA1608@atlantis.rodal.no>

next in thread | previous in thread | raw e-mail | index | archive | help

--cNdxnHkX5QqsyA0e
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Jun 21, 2003 at 03:28:03PM +0200, Morten Rodal wrote:
> On Sat, Jun 21, 2003 at 04:06:20AM -0700, Kris Kennaway wrote:
> > > gdb53 MozillaFirebird MozillaFirebird-bin.core
> > GNU gdb 5.3 (FreeBSD)
> > Copyright 2002 Free Software Foundation, Inc.
> > GDB is free software, covered by the GNU General Public License, and yo=
u are
> > welcome to change it and/or distribute copies of it under certain condi=
tions.
> > Type "show copying" to see the conditions.
> > There is absolutely no warranty for GDB.  Type "show warranty" for deta=
ils.
> > This GDB was configured as "sparc64-portbld-freebsd5.1"..."/usr/X11R6/b=
in/MozillaFirebird": not in executable format: File format not recognized
>=20
>  Maybe you should try to run gdb with
> "/usr/X11R6/lib/firebird/lib/mozilla-1.4b/MozillaFirebird-bin" instead
> of "MozillaFirebird" (since that is a shell script)?

Heh, oops..that's what I get for trying to debug at 4AM!

(gdb) disassemble
Dump of assembler code for function _ctx_start:
0x41a64d20 <_ctx_start>:        call  %g1
0x41a64d24 <_ctx_start+4>:      mov  %g2, %l0
0x41a64d28 <_ctx_start+8>:      call  0x41b94320 <__isthreaded+17712>
0x41a64d2c <_ctx_start+12>:     mov  %l0, %o0
0x41a64d30 <_ctx_start+16>:     illtrap  0
0x41a64d34 <_ctx_start+20>:     b,a   %xcc, 0x41a64d40 <scandir>
0x41a64d38 <_ctx_start+24>:     nop
0x41a64d3c <_ctx_start+28>:     nop
End of assembler dump.
(gdb) bt
#0  0x0000000041a64d20 in _ctx_start () from /usr/lib/libc.so.5

Looks more sane :)

Kris

--cNdxnHkX5QqsyA0e
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE+9MiHWry0BWjoQKURAgyGAJ9OePZXLlwz2KuKVDQ+V8qq2FSlvwCguQGc
CRzIgKr5HSZvDid2WJJujBk=
=3ihY
-----END PGP SIGNATURE-----

--cNdxnHkX5QqsyA0e--


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