From owner-freebsd-sparc64@FreeBSD.ORG Tue Jun 17 11:45:58 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 0C017106564A; Tue, 17 Jun 2008 11:45:58 +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 8F4C28FC18; Tue, 17 Jun 2008 11:45:57 +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 1K8ZdJ-0007Ux-Lw; Tue, 17 Jun 2008 13:45:53 +0200 Message-ID: <4857A3EE.4050909@FreeBSD.org> Date: Tue, 17 Jun 2008 13:45:50 +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 References: <485779C3.8010302@FreeBSD.org> In-Reply-To: <485779C3.8010302@FreeBSD.org> 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: Re: 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 11:45:58 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Pietro Cerutti wrote: | Hi guys, | | I'm experiencing "random" sh core-dumps while building ports. During | these core-dumps, sh is usually invoked by libtool. Indeed, this is a typical invocation of libtool which causes such seg-faults: /bin/sh /usr/ports/lang/php5/work/php-5.2.6/libtool --silent - --preserve-dup-deps --mode=compile cc -Isapi/cli/ - -I/usr/ports/lang/php5/work/php-5.2.6/sapi/cli/ - -DPHP_ATOM_INC -I/usr/ports/lang/php5/work/php-5.2.6/include - -I/usr/ports/lang/php5/work/php-5.2.6/main - -I/usr/ports/lang/php5/work/php-5.2.6 -I/usr/local/include/libxml2 - -I/usr/local/include -I/usr/ports/lang/php5/work/php-5.2.6/ext/date/lib - -I/usr/ports/lang /php5/work/php-5.2.6/TSRM - -I/usr/ports/lang/php5/work/php-5.2.6/Zend - -O2 -pipe -fno-strict-aliasing - -c /usr/ports/lang/php5/work/php-5.2.6/sapi/cli/php_cli_readline.c - -o sapi/cli/php_cli_readline.lo I say it's random, because re-issuing the command manually doesn't cause any problem. | | 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, | _______________________________________________ freebsd-sparc64@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-sparc64 To unsubscribe, send any mail to "freebsd-sparc64-unsubscribe@freebsd.org" - -- Pietro Cerutti gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEAREKAAYFAkhXo+wACgkQwMJqmJVx944zoQCgibIOh19+595b1LVWuMHdd4lM TEAAoKyhJlvUcD70rpxcQwSMjEd1upyw =0z1q -----END PGP SIGNATURE-----