Subject: Re: fork1 and new stack
To: Andrey Petrov <>
From: Emmanuel Dreyfus <>
List: tech-kern
Date: 04/26/2002 22:29:00
> What information SEGV gives you? Your clone started and segv-faulted
> right away?

The child starts by an infinite loop, so that I can attach it with gdb,
then jump outside the loop. During the different try I made to get
things working, I have been able to attach the child. I had a SIGSEGV on
a stack access.

With the version I posted, I get an immediate SIGSEGV, I don't even
loop. I'm looking for a method to attach the child before it dies.

Emmanuel Dreyfus. En tant que serveur, Windows NT fait en moins bien=20
ce que UNIX fait depuis des ann=E9es avec une interface utilisateur=20
que seul un utilisateur d'UNIX est capable d'admirer.