Subject: Re: kern/32682: netbsd-3 ptyfs intermittent failure with Matlab
To: Christos Zoulas <christos@zoulas.com>
From: Hauke Fath <hf@spg.tu-darmstadt.de>
List: netbsd-bugs
Date: 07/25/2006 14:26:10
Am 17.07.2006 um 10:58 Uhr -0400 schrieb Christos Zoulas:
>| But I still see matlab failing to open a /dev/pts/? every now and
>| then, although the /dev/ptmx && /dev/pts/? way should be the only way
>| to get a pty on the machine now, so no concurrent access, right?|

Yet another data point: When another user logs in, with or without 
running Matlab, this frequently "fixes" the pty problem for the first 
user.

>I have a theory. The pty returned by ptmx is not being marked as in
>use immediately, so it can be potentially returned twice to two different
>processes. I will check.

Did you get any further with that theory?

	hauke

-- 
/~\  The ASCII Ribbon Campaign                    Hauke Fath
\ /    No HTML/RTF in email	        Institut für Nachrichtentechnik
  X     No Word docs in email	                  TU Darmstadt
/ \  Respect for open standards              Ruf +49-6151-16-3281