Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!rutgers!elbereth.rutgers.edu!stone From: stone@elbereth.rutgers.edu (Robert Stone) Newsgroups: comp.unix.ultrix Subject: RE: longjmp botch Message-ID: Date: 13 May 91 15:26:13 GMT Organization: Rutgers Univ., New Brunswick, N.J. Lines: 28 I had the same problem with PawX11 on a DECstation running Ultrix 4.1, using the Cern library version cnl200. Since the dbx tool bombs running pawX11, I have over the last few days debbuged using the old-fashioned TYPE statement. What I uncovered was a problem with the lenght of a varialble used to hold the "host-name". There is a routine called 'ixopnwin' inside of higzx11c.c which looks up the client hostname and makes calls with this string to two Xlib system routines which put this hostname in the window title. Hence, two longjmp botch messages. This string is too small for most hostnames here at rutgers but probably ok for some hostnames at LANL. The change in the file higzx11c.c is: old -> char host_name[16]; new -> char host_name[20]; <--probably should be made even larger! Then compile and put it back into the library: cc -c -O higzx11c.c mv higzx11c.o x11int.o ar -vr libgrafX11.a x11int.o ar -ts libgrafX11.a B.Stone Stone@ruthep.rutgers.edu Rutgers High Energy Physics