Subject: Re: Random segfaults
To: None <port-sparc@NetBSD.org>
From: Rui Paulo <rpaulo@NetBSD.org>
List: port-sparc
Date: 07/06/2005 12:07:29
On 2005.07.05 22:04:12 +0000, Rui Paulo wrote:
 | I never did that; right now I'm trying to find out if it was due to big
 | changes. I'm now checking if 2.0C (which has no statvfs) has the problem.

Ok! 2.0C runs fine. I'm guess this is a statvfs related problem then.
It can explain the crashes on binaries trying to start (every binary
does several __fstat13() calls while initing) and it also explains
why 2.0 binaries don't crash under 3.0_BETA or -current: 
 
revision 1.195
date: 2004/04/21 01:05:43;  author: christos;  state: Exp;  lines: +2 -2
Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.
^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^
 
I can investigate this later at night, but probably someone with more clue
on statvfs() can take a look ?
 
		-- Rui Paulo