From owner-freebsd-ia64@FreeBSD.ORG Sun Sep 2 20:36:18 2012 Return-Path: Delivered-To: ia64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 46FBA106566C; Sun, 2 Sep 2012 20:36:18 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-legacy2.sentex.ca (freebsd-legacy2.sentex.ca [IPv6:2607:f3e0:0:3::6502:9c]) by mx1.freebsd.org (Postfix) with ESMTP id 078048FC18; Sun, 2 Sep 2012 20:36:17 +0000 (UTC) Received: from freebsd-legacy2.sentex.ca (localhost [127.0.0.1]) by freebsd-legacy2.sentex.ca (8.14.5/8.14.5) with ESMTP id q82KaHam078347; Sun, 2 Sep 2012 20:36:17 GMT (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-legacy2.sentex.ca (8.14.5/8.14.5/Submit) id q82KaH8E078346; Sun, 2 Sep 2012 20:36:17 GMT (envelope-from tinderbox@freebsd.org) Date: Sun, 2 Sep 2012 20:36:17 GMT Message-Id: <201209022036.q82KaH8E078346@freebsd-legacy2.sentex.ca> X-Authentication-Warning: freebsd-legacy2.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [releng_8 tinderbox] failure on ia64/ia64 X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Sep 2012 20:36:18 -0000 TB --- 2012-09-02 19:27:27 - tinderbox 2.9 running on freebsd-legacy2.sentex.ca TB --- 2012-09-02 19:27:27 - FreeBSD freebsd-legacy2.sentex.ca 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2012-09-02 19:27:27 - starting RELENG_8 tinderbox run for ia64/ia64 TB --- 2012-09-02 19:27:27 - cleaning the object tree TB --- 2012-09-02 19:27:27 - cvsupping the source tree TB --- 2012-09-02 19:27:27 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/RELENG_8/ia64/ia64/supfile TB --- 2012-09-02 19:27:50 - building world TB --- 2012-09-02 19:27:50 - CROSS_BUILD_TESTING=YES TB --- 2012-09-02 19:27:50 - MAKEOBJDIRPREFIX=/obj TB --- 2012-09-02 19:27:50 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-09-02 19:27:50 - SRCCONF=/dev/null TB --- 2012-09-02 19:27:50 - TARGET=ia64 TB --- 2012-09-02 19:27:50 - TARGET_ARCH=ia64 TB --- 2012-09-02 19:27:50 - TZ=UTC TB --- 2012-09-02 19:27:50 - __MAKE_CONF=/dev/null TB --- 2012-09-02 19:27:50 - cd /src TB --- 2012-09-02 19:27:50 - /usr/bin/make -B buildworld >>> World build started on Sun Sep 2 19:27:51 UTC 2012 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Sun Sep 2 20:25:30 UTC 2012 TB --- 2012-09-02 20:25:30 - generating LINT kernel config TB --- 2012-09-02 20:25:30 - cd /src/sys/ia64/conf TB --- 2012-09-02 20:25:30 - /usr/bin/make -B LINT TB --- 2012-09-02 20:25:30 - cd /src/sys/ia64/conf TB --- 2012-09-02 20:25:30 - /usr/sbin/config -m LINT TB --- 2012-09-02 20:25:30 - building LINT kernel TB --- 2012-09-02 20:25:30 - CROSS_BUILD_TESTING=YES TB --- 2012-09-02 20:25:30 - MAKEOBJDIRPREFIX=/obj TB --- 2012-09-02 20:25:30 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-09-02 20:25:30 - SRCCONF=/dev/null TB --- 2012-09-02 20:25:30 - TARGET=ia64 TB --- 2012-09-02 20:25:30 - TARGET_ARCH=ia64 TB --- 2012-09-02 20:25:30 - TZ=UTC TB --- 2012-09-02 20:25:30 - __MAKE_CONF=/dev/null TB --- 2012-09-02 20:25:30 - cd /src TB --- 2012-09-02 20:25:30 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun Sep 2 20:25:30 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -Werror /src/sys/vm/device_pager.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -Werror /src/sys/vm/phys_pager.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -Werror /src/sys/vm/redzone.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -Werror /src/sys/vm/sg_pager.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -Werror /src/sys/vm/swap_pager.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -Werror /src/sys/vm/uma_core.c /src/sys/vm/uma_core.c: In function 'keg_fetch_slab': /src/sys/vm/uma_core.c:2164: error: 'struct uma_zone' has no member named 'uz_sleeps' *** Error code 1 Stop in /obj/ia64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-09-02 20:36:17 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-09-02 20:36:17 - ERROR: failed to build LINT kernel TB --- 2012-09-02 20:36:17 - 3487.05 user 481.88 system 4129.92 real http://tinderbox.freebsd.org/tinderbox-releng_8-RELENG_8-ia64-ia64.full From owner-freebsd-ia64@FreeBSD.ORG Mon Sep 3 11:09:33 2012 Return-Path: Delivered-To: freebsd-ia64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CD491106564A for ; Mon, 3 Sep 2012 11:09:33 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B66B48FC0C for ; Mon, 3 Sep 2012 11:09:33 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q83B9XG0046241 for ; Mon, 3 Sep 2012 11:09:33 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q83B9V49045874 for freebsd-ia64@FreeBSD.org; Mon, 3 Sep 2012 11:09:31 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 3 Sep 2012 11:09:31 GMT Message-Id: <201209031109.q83B9V49045874@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-ia64@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-ia64@FreeBSD.org X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 11:09:33 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ia64/169926 ia64 [ia64] netstat -r: kvm_read: Bad address o ia64/169781 ia64 /usr/bin/csup ends in sigwai state and never exits o ia64/167618 ia64 [ia64] Implement revision 232832 o ia64/158547 ia64 [ia64] Epilog counter (ar.ec) needs to be saved and re o ia64/156900 ia64 ia64 -current r221488 panic if kern.maxssiz=536748033 o ia64/147501 ia64 [ia64] options PREEMPTION causes instability 6 problems total. From owner-freebsd-ia64@FreeBSD.ORG Thu Sep 6 08:57:38 2012 Return-Path: Delivered-To: freebsd-ia64@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-ia64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: Porting FreeBSD to the IA-64 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 From owner-freebsd-ia64@FreeBSD.ORG Fri Sep 7 15:07:05 2012 Return-Path: Delivered-To: freebsd-ia64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8CD8106564A; Fri, 7 Sep 2012 15:07:05 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id AF4338FC12; Fri, 7 Sep 2012 15:07:05 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 00359B948; Fri, 7 Sep 2012 11:07:05 -0400 (EDT) From: John Baldwin To: freebsd-hackers@freebsd.org, mexas@bristol.ac.uk Date: Fri, 7 Sep 2012 10:49:11 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p17; KDE/4.5.5; amd64; ; ) References: <201209060857.q868vVKP098573@mech-cluster241.men.bris.ac.uk> In-Reply-To: <201209060857.q868vVKP098573@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Message-Id: <201209071049.11682.jhb@freebsd.org> Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Fri, 07 Sep 2012 11:07:05 -0400 (EDT) Cc: freebsd-ia64@freebsd.org Subject: Re: analysing ia64 core dumps X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Sep 2012 15:07:06 -0000 On Thursday, September 06, 2012 4:57:31 am Anton Shterenlikht wrote: > 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' You don't need -O0, probably just -g. You should probably do this for libc as well I think. That might help your backtrace. What I tend to do for these btw is build debug shared libraries and use LD_LIBRARY_PATH to run my test program with those libraries rather than overwriting the main libraries in /lib. -- John Baldwin