Date: Tue, 17 Jun 2008 13:45:50 +0200 From: Pietro Cerutti <gahr@FreeBSD.org> To: freebsd-sparc64@freebsd.org, freebsd-current <freebsd-current@freebsd.org> Subject: Re: sh seg-faults Message-ID: <4857A3EE.4050909@FreeBSD.org> In-Reply-To: <485779C3.8010302@FreeBSD.org> References: <485779C3.8010302@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4857A3EE.4050909>