Subject: strange problem
To: None <tech-userlevel@netbsd.org>
From: Emmanuel Dreyfus <p99dreyf@criens.u-psud.fr>
List: tech-userlevel
Date: 06/03/2001 22:50:58
The following code produces a segmentation fault on PowerPC, m68k and
i386. Anyone has an idea why?

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

#define STACK_SIZE (2*1024*1024)

int main (int argc, char** argv) {
        int res;
        int sign =3D 0x66666666;
        char altstack[STACK_SIZE];

        exit (0);
}


--=20
Emmanuel Dreyfus. =20
Vous avez deplac=E9 la souris.=20
Windows NT doit maintenant redemarrer pour valider les modifications.
p99dreyf@criens.u-psud.fr