bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reboots?


From: Niels Möller
Subject: Re: Reboots?
Date: 03 Apr 2001 10:01:12 +0200

Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de> writes:

> And at some time (when running mach_thread_self several times in threads
> where the above error already happened) the kernel will panic with
> thread_invoke or thread_dispatch. Seems that there is some
> non-robustness in this area.

Have you tried creating a reasonably small test-case that provokes the
error?

IIRC, Roland said that the sequence of messages corresponded to a fork
immediately followed by another fork by the child. Perhaps something
simple like

  #include <unistd.h>
  int main(int argc, char **argv)
  {
    if (!fork()) fork();
    _exit(0);
  }

or

  #include <unistd.h>
  int main(int argc, char **argv)
  {
    int i;
    for (i = 0; i < 47; i++)
      if (fork()) break;
    _exit(0);
  }

also crashes?

/Niels



reply via email to

[Prev in Thread] Current Thread [Next in Thread]