From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 6 08:57:38 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D18B106564A; Thu, 6 Sep 2012 08:57:38 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id DC3268FC17; Thu, 6 Sep 2012 08:57:37 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1T9Xtz-0001pt-K9; Thu, 06 Sep 2012 09:57:31 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1T9Xtz-0006b2-Bc; Thu, 06 Sep 2012 09:57:31 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q868vVAS098574; Thu, 6 Sep 2012 09:57:31 +0100 (BST) (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q868vVKP098573; Thu, 6 Sep 2012 09:57:31 +0100 (BST) (envelope-from mexas) Date: Thu, 6 Sep 2012 09:57:31 +0100 (BST) From: Anton Shterenlikht Message-Id: <201209060857.q868vVKP098573@mech-cluster241.men.bris.ac.uk> To: freebsd-hackers@freebsd.org, freebsd-ia64@freebsd.org Cc: Subject: analysing ia64 core dumps X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2012 08:57:38 -0000 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