Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Sep 2012 09:57:31 +0100 (BST)
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        freebsd-hackers@freebsd.org, freebsd-ia64@freebsd.org
Subject:   analysing ia64 core dumps
Message-ID:  <201209060857.q868vVKP098573@mech-cluster241.men.bris.ac.uk>

next in thread | raw e-mail | index | archive | help
I'm trying to debug firefox and related on ia64.
I was told in gecko@ to ask here about analysing core dumps.

I rebuilt and reinstalled /usr/src/lib/libthr with
 DEBUG_FLAGS='-g -O0' 

What can I get from this trace:
 http://seis.bris.ac.uk/~mexas/ff-gdb ?


I also rebuilt freebsd-gecko/devel/nspr (a development
version of port devel/nspr) WITH_DEBUG=.
It fails several tests:
 http://seis.bris.ac.uk/~mexas/nspr-test.log

in particular this one:

          nbconn                        FAILED
        nbconn: Assertion failure: (rv == 1) && (pd.out_flags == PR_POLL_READ), at /usr/ports/freebsd-gecko/devel/nspr/work/nspr-4.9.2/mozilla/nsprpub/pr/tests/nbconn.c:368

# gdb ./nbconn nbconn.core
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 "ia64-marcel-freebsd"...
Core was generated by `nbconn'.
Program terminated with signal 6, Aborted.
Reading symbols from /lib/libthr.so.3...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x0000000120248a80 in thr_kill () from /lib/libc.so.7
[New Thread 120c04400 (LWP 100056/nbconn)]
(gdb) bt
#0  0x0000000120248a80 in thr_kill () from /lib/libc.so.7
#1  0x0000000000000000 in ?? ()
Previous frame identical to this frame (corrupt stack?)
(gdb) thread apply all bt

Thread 1 (Thread 120c04400 (LWP 100056/nbconn)):
#0  0x0000000120248a80 in thr_kill () from /lib/libc.so.7
#1  0x0000000000000000 in ?? ()
(gdb) 

What can I get from this trace?

Thank you

Anton



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