From owner-freebsd-sparc64@FreeBSD.ORG Tue Jun 17 08:46:03 2008 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CBB5106567E; Tue, 17 Jun 2008 08:46:03 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id 1EF408FC2B; Tue, 17 Jun 2008 08:46:03 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from 80-218-191-31.dclient.hispeed.ch ([80.218.191.31] helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1K8WpE-0006Bs-Ox; Tue, 17 Jun 2008 10:46:00 +0200 Message-ID: <485779C3.8010302@FreeBSD.org> Date: Tue, 17 Jun 2008 10:45:55 +0200 From: Pietro Cerutti Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.14 (X11/20080610) MIME-Version: 1.0 To: freebsd-sparc64@freebsd.org, freebsd-current X-Enigmail-Version: 0.95.6 OpenPGP: id=9571F78E; url=http://gahr.ch/pgp/ Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - FreeBSD.org X-Source: X-Source-Args: X-Source-Dir: Cc: Subject: sh seg-faults X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2008 08:46:03 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hi guys, I'm experiencing "random" sh core-dumps while building ports. During these core-dumps, sh is usually invoked by libtool. The system is FreeBSD atari.bfh.ch 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Tue Jun 17 01:31:25 UTC 2008 root@atari.bfh.ch:/usr/obj/usr/src/sys/ATARI sparc64 running a GENERIC-(WITNESS+INVARIANTS) kernel. The directory on my webserver [1] contains: - - the binary - - the dumped core - - a backtrace from GDB - - a listing of the frame where the error occurs The problem seems to be inside dowait() [jobs.c:912-1009]. Especially the lines 927-939 seem to be of interest. Unfortunately, I have no clue of sh's internals, so any hint is welcome! [1] http://gahr.ch/FreeBSD/misc/sh_coredump/ Thanks, - -- Pietro Cerutti gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEAREKAAYFAkhXecEACgkQwMJqmJVx946VPgCfW6kuonA5Fk3QhCUS82zO9kJ8 1J0AnAuBeEfY3voLas6PmQh/nsGhGxP1 =CK6e -----END PGP SIGNATURE-----