Bug#298551: xterm: fatal pty error 23 (errno=22) on tty /dev/pts/1
Package: xterm
Version: 4.3.0.dfsg.1-12
Severity: normal
Hello,
on my shiny new Apple Powerbook G4 I encounter the problem described
in (closed) bug #105874. The problem is the following:
When I try to start xterm with eightBitInput set to false, I opens a
window for a fraction of a second but then dies with the error message
xterm: fatal pty error 23 (errno=22) on tty /dev/pts/1
The problem goes away when I set eightBitInput to true. The problem
did not occur when a virtually identical configuration was used on an i386
based system.
My feeble debugging attempts could narrow down the source of the problem
a little bit: the error message is caused by the following lines of
code (xterm/main.c, lines 3547-3548):
if (ioctl(ttyfd, TCSETA, &tio) == -1)
HsSysError(cp_pipe[1], ERROR_TIOCSETP);
This is executed in the child process after the fork, and the error
condition is reported back to the parent process via a pipe in an a
little bit convoluted manner.
Some information about my laptop can be found on my home page at
http://seehuhn.de/comp/powerbook/ . If you need any further information
please ask.
I hope this helps,
Jochen
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.11
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Versions of packages xterm depends on:
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libexpat1 1.95.8-1 XML parsing C library - runtime li
ii libfontconfig1 2.2.3-4 generic font configuration library
ii libfreetype6 2.1.7-2.3 FreeType 2 font engine, shared lib
ii libice6 4.3.0.dfsg.1-12 Inter-Client Exchange library
ii libncurses5 5.4-4 Shared libraries for terminal hand
ii libsm6 4.3.0.dfsg.1-12 X Window System Session Management
ii libxaw7 4.3.0.dfsg.1-12 X Athena widget set library
ii libxext6 4.3.0.dfsg.1-12 X Window System miscellaneous exte
ii libxft2 2.1.2-6 FreeType-based font drawing librar
ii libxmu6 4.3.0.dfsg.1-12 X Window System miscellaneous util
ii libxpm4 4.3.0.dfsg.1-12 X pixmap library
ii libxrender1 0.8.3-7 X Rendering Extension client libra
ii libxt6 4.3.0.dfsg.1-12 X Toolkit Intrinsics
ii xlibs 4.3.0.dfsg.1-12 X Keyboard Extension (XKB) configu
ii xlibs-data 4.3.0.dfsg.1-12 X Window System client data
-- no debconf information
Reply to: