Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 2008 10:45:55 +0200
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        freebsd-sparc64@freebsd.org, freebsd-current <freebsd-current@freebsd.org>
Subject:   sh seg-faults
Message-ID:  <485779C3.8010302@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
-----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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?485779C3.8010302>