[Top][All Lists]

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

Re: portable openpty, forkpty

From: Bruno Haible
Subject: Re: portable openpty, forkpty
Date: Sat, 24 Apr 2010 18:24:24 +0200
User-agent: KMail/1.9.9

Hi Simon,

> Now the test-openpty self-test hangs on my Mac OS X machine, and the
> process doesn't even go away from the process table after a 'kill -9'.
> Here is a gdb session, which suggests it hangs when shutting down the
> process:

Strange. This program now uses the MacOS built-in openpty function.
I see no problem on MacOS X 10.5.

You could try to isolate the problem by adding explicit
  printf ("%d\n", close (master));
  printf ("%d\n", close (slave));
statements before the "return 0;". Other than that, it looks like the simple
test program is triggering a bug in MacOS X?


reply via email to

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