Date: Thu, 12 Apr 2007 18:12:39 +0200 (CEST) From: clemens fischer <ino-news@spotteswoode.dnsalias.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: clemens fischer <ino-news@spotteswoode.dnsalias.org> Subject: ports/111517: ports/devel/rlwrap can't allocate pty Message-ID: <20070412161239.E0816C7FE@spotteswoode.dnsalias.org> Resent-Message-ID: <200704121620.l3CGK252089896@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 111517 >Category: ports >Synopsis: ports/devel/rlwrap can't allocate pty >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Apr 12 16:20:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: clemens fischer >Release: FreeBSD 6.2-STABLE i386 >Organization: >Environment: System: FreeBSD spotteswoode.dnsalias.org 6.2-STABLE FreeBSD 6.2-STABLE #16: Mon Mar 5 16:49:13 CET 2007 root@spotteswoode.dnsalias.org:/usr/obj/usr/src/sys/spott i386 >Description: while installing, try the test: /ports/devel/rlwrap/work/rlwrap-0.28 0 # src/rlwrap perl test/testclient rlwrap: error: Could not open master pty: Input/output error /ports/devel/rlwrap/work/rlwrap-0.28 1 # i tried to find the bug through ktrace(1), it shows where rlwrap employs openpty(3): 4198 rlwrap CALL open(0xbfbfdb10,0x8006,0) 4198 rlwrap NAMI "/dev/ptyp0" 4198 rlwrap RET open -1 errno 5 Input/output error 4198 rlwrap CALL open(0xbfbfdb10,0x8006,0) 4198 rlwrap NAMI "/dev/ptyp1" 4198 rlwrap RET open -1 errno 5 Input/output error 4198 rlwrap CALL open(0xbfbfdb10,0x8006,0) 4198 rlwrap NAMI "/dev/ptyp2" 4198 rlwrap RET open -1 errno 5 Input/output error 4198 rlwrap CALL open(0xbfbfdb10,0x8006,0) 4198 rlwrap NAMI "/dev/ptyp3" 4198 rlwrap RET open -1 errno 5 Input/output error 4198 rlwrap CALL open(0xbfbfdb10,0x8006,0) 4198 rlwrap NAMI "/dev/ptyp4" 4198 rlwrap RET open -1 errno 5 Input/output error 4198 rlwrap CALL open(0xbfbfdb10,0x8006,0) 4198 rlwrap NAMI "/dev/ptyp5" 4198 rlwrap RET open -1 errno 5 Input/output error 4198 rlwrap CALL write(0x2,0xbfbfd900,0x3d) 4198 rlwrap GIO fd 2 wrote 61 bytes "rlwrap: error: Could not open master pty: Input/output error " 4198 rlwrap RET write 61/0x3d the similar, but deprecated utility ports/editors/cle displays: 4755 cle CALL open(0xbfbfdbd0,0x2,0x70) 4755 cle NAMI "/dev/ptyp0" 4755 cle RET open -1 errno 5 Input/output error 4755 cle CALL open(0xbfbfdbd0,0x2,0x70) 4755 cle NAMI "/dev/ptyp1" 4755 cle RET open -1 errno 5 Input/output error 4755 cle CALL open(0xbfbfdbd0,0x2,0x70) 4755 cle NAMI "/dev/ptyp2" 4755 cle RET open -1 errno 5 Input/output error 4755 cle CALL open(0xbfbfdbd0,0x2,0x70) 4755 cle NAMI "/dev/ptyp3" 4755 cle RET open -1 errno 5 Input/output error 4755 cle CALL open(0xbfbfdbd0,0x2,0x70) 4755 cle NAMI "/dev/ptyp4" 4755 cle RET open -1 errno 5 Input/output error 4755 cle CALL open(0xbfbfdbd0,0x2,0x70) 4755 cle NAMI "/dev/ptyp5" 4755 cle RET open -1 errno 5 Input/output error 4755 cle CALL open(0xbfbfdbd0,0x2,0x70) 4755 cle NAMI "/dev/ptyp6" 4755 cle RET open 3 4755 cle CALL open(0xbfbfdbd0,0x2,0x70) 4755 cle NAMI "/dev/ttyp6" 4755 cle RET open 4 and continues to complete its task: 4755 cle CALL sigaction(0x2,0xbfbfdbf0,0) 4755 cle RET sigaction 0 4755 cle CALL sigaction(0x3,0xbfbfdbf0,0) 4755 cle RET sigaction 0 4755 cle CALL sigaction(0x14,0xbfbfdbf0,0) 4755 cle RET sigaction 0 4755 cle CALL sigaction(0x13,0xbfbfdbf0,0) 4755 cle RET sigaction 0 4755 cle CALL sigaction(0x12,0xbfbfdbf0,0) 4755 cle RET sigaction 0 4755 cle CALL readlink(0x2818e2e3,0xbfbfd8d0,0x3f) 4755 cle NAMI "/etc/malloc.conf" 4755 cle RET readlink -1 errno 2 No such file or directory 4755 cle CALL issetugid 4755 cle RET issetugid 0 ... >How-To-Repeat: after installing, try eg.: # rlwrap telnet 0 25 rlwrap: error: Could not open master pty: Input/output error 1 >Fix: none known yet. regards, clemens >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070412161239.E0816C7FE>