From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11541a,76bc8d7b164588c,start X-Google-Attributes: gid11541a,public X-Google-Thread: fee84,ec3b7b4adab24eb7 X-Google-Attributes: gidfee84,public From: marler@avalon.oit.gatech.edu (Mike Marler) Subject: Re: DUnix locking up on Netscape Navigator Date: 1996/05/16 Message-ID: <4nfbbu$h9r@avalon.oit.gatech.edu> X-Deja-AN: 156366301 references: <1996May14.170118.1500@xavier.xu.edu> organization: Georgia Institute of Technology newsgroups: comp.unix.osf.osf1,comp.infosystems.www.browsers.x system@xavier.xu.edu (Carl Dickhaus) writes: >On an ALPHA running DU 3.2C, on the console, /usr/bin/netscape from >a Decterm window, as SU, which used to work, now just hangs. >Sometimes, the only way out is a reboot. Sometimes, you can close out >the Decterm window from which netscape was launched. I posted about this problem many weeks ago; so, let me add a few more details which I learned via testing. 1) Not really part of the problem, but, perhaps worth noting is /usr/var/X11/xdm/Xservers was modified to contain the line :0 local /usr/bin/X11/X -nice -2 -terminate (also, Xdec just loves lots of memory) 2) uname -a produces "OSF1 alpha1 V3.2 214 alpha" 3) I was also able to have remote telnet sessions to the machine while testing. I actually used two workstations living next to each other in a lab. 4) I got a copy of 'trace' via "the net" to allow me to trace systems call made by the X server while Netscape was running. 5) I could try many different exercises with the end result being that the Xserver would finally do nothing but keep calling the select function with the same values for arguments until I killed the process. In fact I could reboot the machine, login on the console, start a remote telnet session to trace the Xserver, start Netscape 2.0 and never do/touch another thing at the console until the "select looping" began. My limited understanding of the problem is that the problem is probably based upon Netscape using X11R5 and X11R6 being the delivered release of X11 under OSF/1 3.2. Perhaps the solution is as one person suggested to me via email of obtaining older copies of the X11 libraries (a little difficult for me) - more on this later. Perhaps the problem was related to the following from http://search.netscape.com/eng/mozilla/1.1/faq_navx.html ("NETSCAPE NAVIGATOR FAQ FOR THE X WINDOW SYSTEM"): Why does Netscape crash every time I try to copy or paste in one of its text fields? On some systems, we linked Netscape against X11R5. If your system is not running X11R5, then you need to install the R5 "nls" directory before any R5 program will be able to copy or paste without crashing: this is a bug in R5 itself. When you started Netscape, it should have printed this message to stderr: netscape: locale `C' not supported. If the $XNLSPATH directory does not contain the proper config files, Netscape will crash the first time you try to paste into a text field. (This is a bug in the X11R5 libraries against which this program was linked.) Since neither X11R4 nor X11R6 come with these config files, we have included them with the Netscape distribution. The normal place for these files is /usr/lib/X11/nls/ (on SunOS), /usr/X386/lib/X11/nls/ (on Linux), or /usr/X11/lib/X11/nls/ (on BSDI.) If you can't create that directory, you should set the $XNLSPATH environment variable to point at the place where you installed the files. If you install that directory, copy and paste to or from Netscape (or any other R5 application) should work fine. Is an older version of /usr/lib/X11/nls needed? Well, the README file for Netscape 2.0 only mentions that this is needed and in the distribution for the above, SunOS 4.1, Linux, and BSDI. With additional comments below: These distributions also includes a directory called "nls". This directory is a standard part of the MIT X11R5 distribution, but is not included with X11R4- or X11R6-based systems (such as OpenWindows 3.0 or earlier, and XFree86 3.1 or later.) On these systems, Netscape has been linked against X11R5 (because Motif 1.2.4 has some bad bugs in conjunction with with X11R6.) Unfortunately, X11R5 has one rather serious bug, which is that if this "nls" directory does not exist, the program will dump core any time you try to copy or paste to or from a text field! So, if you don't have the "nls" directory on your system, you will need to install it first. Here is where Netscape looks for it (these default pathnames are hardcoded into the executable): SunOS 4.1: /usr/lib/X11/nls/ Linux: /usr/X386/lib/X11/nls/ BSDI: /usr/X11/lib/X11/nls/ If you choose not to create the directory there, then you must set the $XNLSPATH environment variable to the directory where you did install it. Does Netscape need to this for all versions of OSF/1 (Digital Unix) after version 2.0? (Note that I have also crossposted this article to comp.infosystems.www.browsers.x). The second paragraph leads me to think that this problem is probably unrelated to the problem which I am describing. add: 6) If I export the display used on the Alpha to be under the server running on a SUN workstation remotely across campus from the Alpha, then I never see "a hang". X11 version is not X11R6 on the SUN I used running Solaris 2.4. Mosaic works fine on the machine, but of course developing web pages to take advantage of Netscape features has quickly become the defacto standard today. Rather frustrating to be having what appears to be an incompatibility problem for something becoming a defacto standard. Any help is welcomed. Mike -- Mike Marler Information Technology, Georgia Tech mike.marler@oit.gatech.edu Atlanta, Georgia 30332-0715