MozillaFirebird with libthr on sparc64 dies with SIGILL

Kris Kennaway kris at obsecurity.org
Sat Jun 21 14:05:13 PDT 2003


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 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 "sparc64-portbld-freebsd5.1"..."/usr/X11R6/bin/MozillaFirebird": not in executable format: File format not recognized
> 
>  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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-sparc64/attachments/20030621/5ae13233/attachment.bin


More information about the freebsd-sparc64 mailing list