[comp.windows.open-look] xhost crashes OpenWindows server

schoett@informatik.tu-muenchen.de (Oliver Schoett) (06/13/91)

I have a problem with /usr/openwin/bin/xhost under OpenWindows 2.0 as
delivered with SunOS 4.1.1.  When called without arguments, it crashes
the server.  Here is the end of the 'trace' output for such a crash:

  sendto (21, "\0\6\1\0\0\1\0\0\0\0\0\0\4star\ninformatik\13tu-".., 63, 0, 0xf77a3140, 16) = -1 EISCONN (Socket is already connected)
  sendto (21, "\0\6\1\0\0\1\0\0\0\0\0\0\4star\ninformatik\13tu-".., 63, 0, 0xf77a3150, 16) = -1 EISCONN (Socket is already connected)
  sendto (21, "\0\6\1\0\0\1\0\0\0\0\0\0\4star\ninformatik\13tu-".., 63, 0, 0xf77a3160, 16) = -1 EISCONN (Socket is already connected)
  close (21) = 0
  open ("/etc/hosts", 0, 0666) = 21
  ioctl (21, 0x40125401, 0xf7ffeea4) = -1 ENOTTY (Inappropriate ioctl for device)
  fstat (21, 0xf7ffef18) = 0
  brk (0x2ce000) = 0
  read (21, "#\n# 15.02.91, Thomas Roell\n#\n# N".., 8192) = 1097
  read (21, "", 8192) = 0
  close (21) = 0
  brk (0x2cc000) = 0
  brk (0x622c000) = -1 ENOMEM (Not enough memory)
  - SIGSEGV (11)
  open ("/dev/kbd", 02, 0) = - SIGIO (23)
  select (6, 0xf7ffe158, 0, 0, 0x1a5554) = 

One strage thing about this problem is that it may be gone for a week
but then return.  When it is present, it is repeatable.  Does anybody
know what might be wrong?


Oliver Schoett	     Institut f. Informatik, Technische Univ. M"unchen
		     Postfach 20 24 20,	   8000 M"unchen 2,    Germany
schoett@informatik.tu-muenchen.de    phone +49 89 2105-2390  fax -8207