sh seg-faults

From: Pietro Cerutti <gahr_at_FreeBSD.org>
Date: Tue, 17 Jun 2008 10:45:55 +0200
-----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_at_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_at_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-----
Received on Tue Jun 17 2008 - 06:46:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:32 UTC