Subject: netbsd32 vs. alpha
To: None <current-users@netbsd.org, port-alpha@netbsd.org>
From: Dave Huang <khym@bga.com>
List: current-users
Date: 12/31/1999 10:29:35
Is anyone else having trouble with a recent -current kernel on the
alpha? If I grep for something in a few files, things are okay, but if I
grep in a bunch of files, grep dies with SIGABRT and no core dump. I
don't know what the cutoff is, but it seems to have something to do with
the length of the command line. The last thing ktrace sees is the NAMI
on the executable. Also, OSF1 binaries die the same way, regardless of
the length of the commandline.

I grepped for SIGABRT in /usr/src/sys/kern (which I couldn't do all at
once :), and the only mention of it is in kern_exec.c, which was
recently changed for the EXEC_32 stuff. Whereas before, it'd always use
the sizeof(char *) version, now it uses sizeof(int) unless EXEC_32 is
set, which I'm guessing it's not :) So it sounds like it's no longer
allocating enough room on the stack for the commandline or something
like that...
-- 
Name: Dave Huang     |   Mammal, mammal / their names are called /
INet: khym@bga.com   |   they raise a paw / the bat, the cat /
FurryMUCK: Dahan     |   dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 24 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++