Subject: Re: kern/32682: netbsd-3 ptyfs intermittent failure with Matlab
To: Hauke Fath <hf@spg.tu-darmstadt.de>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-bugs
Date: 02/22/2006 13:17:58
On Feb 22,  4:47pm, hf@spg.tu-darmstadt.de (Hauke Fath) wrote:
-- Subject: Re: kern/32682: netbsd-3 ptyfs intermittent failure with Matlab

| Doesn't look that easy.
| 
| I just encountered the bug on an idle machine that I had logged into 
| remotely, i.e. no KDE stuff running (the login prompter is gdm, and 
| there were a few leftover dbus-daemon-1 processes).
| 
| Matlab 14 aborted, and a ktrace showed me it wanted /dev/pts/1 but 
| didn't get it. The fstat /dev/{t,p}typ1 came up _empty_.
| 
| I opened another remote xterm, became root to install the lsof 
| package. The second login did successfully create /dev/pts/1. After 
| that, Matlab would start up just fine, and create a /dev/pts/2, but 
| owned root:wheel unlike 0 and 1 which were owned by my id, group tty.
| 
| Any ideas about where to go from here?

Can you ktrace the pty transactions on a successful matlab pty creation?

christos