Subject: Re: kern/32682: netbsd-3 ptyfs intermittent failure with Matlab
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Hauke Fath <hf@spg.tu-darmstadt.de>
List: netbsd-bugs
Date: 09/19/2006 15:25:03
The following reply was made to PR kern/32682; it has been noted by GNATS.

From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: christos@zoulas.com (Christos Zoulas)
Cc: gnats-bugs@NetBSD.org, kern-bug-people@NetBSD.org,
	gnats-admin@NetBSD.org
Subject: Re: kern/32682: netbsd-3 ptyfs intermittent failure with Matlab
Date: Tue, 19 Sep 2006 14:32:49 +0200

 Am 25.07.2006 um 12:00 Uhr -0400 schrieb Christos Zoulas:
 >On Jul 25,  2:26pm, hf@spg.tu-darmstadt.de (Hauke Fath) wrote:
 >
 >| >| 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?
 >
 >No, I have not and I am swamped between work and moving to a new apartment
 >(I have no working internet or computers where I've moved yet).
 >I will be more available in a couple of weeks, sorry.
 
 Hi Christos,
 
 have you found any time for looking into this in the meantime? I kind 
 of get prodded daily over the issue...  ;)
 
 	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