[comp.soft-sys.andrew] andrew p8-SUN 4.1.1 bug?

jip@helix.nih.gov (john powell) (12/28/90)

Environment: Sun4/370 running SUNos 4.1.1, X11R4 patchlevel 18
              andrew patchlevel 8, compiled with cc -O ...


1.  make fails during ness build:
    Making directory /usr/andrew/doc/atk/ness
    touch install.time
    (ANDREWDIR=/usr/andrew; export ANDREWDIR; \
    CLASSPATH=/usr/andrew/dlib/atk; export CLASSPATH; \
    WMHOST=; \
      /usr/andrew/bin/nessrun present.n nessauth.d)
    Starting nessrun (Version 1.5, ATK 15.5); please wait...
    sh: 11492 Illegal instruction

Completed the build manually ...

2.  help command fails with an illegal instruction if any UPPER case letters
    are used the help argument ...

     help AndrewSetup
     Starting help (Version 7.2, ATK 15.5); please wait...
     Illegal instruction

     help andrewsetup   ... works fine

     help Nothing       ... fails with illegal instruction

     help nothing       ... works (no help found for nothing)


Although not completly test, most things seems to work fine (ez, zip, bush,
etc)

	John Powell
	NIH, DCRT, CSL
	Bethesda, Md. 20892
	jip@helix.nih.gov

gk5g+@ANDREW.CMU.EDU (Gary Keim) (01/02/91)

Excerpts from misc: 27-Dec-90 andrew p8-SUN 4.1.1 bug? john
powell@nyu.edu (1064)

> 1.  make fails during ness build:
>     Making directory /usr/andrew/doc/atk/ness
>     touch install.time
>     (ANDREWDIR=/usr/andrew; export ANDREWDIR; \
>     CLASSPATH=/usr/andrew/dlib/atk; export CLASSPATH; \
>     WMHOST=; \
>       /usr/andrew/bin/nessrun present.n nessauth.d)
>     Starting nessrun (Version 1.5, ATK 15.5); please wait...
>     sh: 11492 Illegal instruction


We know what is going here and a fix will be in the next patch.  

Excerpts from misc: 27-Dec-90 andrew p8-SUN 4.1.1 bug? john
powell@nyu.edu (1064)

> 2.  help command fails with an illegal instruction if any UPPER case letters
>     are used the help argument ...


Very strange indeed.   It doesn't happen on a Sun3/60.  I'll check it out.

Gary Keim
ATK Group

jip@helix.nih.gov (john powell) (01/03/91)

>> 2.  help command fails with an illegal instruction if any UPPER case letters
>>    are used the help argument ...


>Very strange indeed.   It doesn't happen on a Sun3/60.  I'll check it out.

>Gary Keim


Our environment:
	Sun4/370 & 4/330 machines (4 kernaal NOT 4c) running 4.1.1 Sunos.
	Mit X11R4 pathc level 18, andrew patch level 8 (compiled with -O).
	Not using resolver libs or AMDS.  

Help command fails with illegal instruction if any UPPER case letters are
used in the help argument.  If only lower case leters are used help appears
to work correctly.  If select help on ... is choosen from the running help
menu and UPPER case letters are used it also crashes.

We have tried compiling without -O and with -DDEBUGGING (and adding a few debugging lines of our own and confirm that the illegal instruction occurs
on the call (or in) the tolower() routine in LowerCase.  We have 'cut' out the
LowerCase routine and used it in a small test program and it works fine.
To concur with your conclusion ....VERY STRANGE INDEED.  
If there is any way we can assist let us know ...


				John Powell
				jip@helix.nih.gov

gk5g+@ANDREW.CMU.EDU (Gary Keim) (01/04/91)

Excerpts from misc: 3-Jan-91 RE: andrew p8-SUN 4.1.1 bug? john
powell@ames.arc.nas (1128)

> Help command fails with illegal instruction if any UPPER case letters are
> used in the help argument.  If only lower case leters are used help appears
> to work correctly.  If select help on ... is choosen from the running help
> menu and UPPER case letters are used it also crashes.

We've discovered the problem and it is generally a dynamic loading
problem that has been resolved (no pun intended).  There will be a small
patch in the very near future that will rectify this situation
(hopefully without breaking things on the other platforms).

Gary Keim
ATK Group

PS - If you have a Sun4, are at Patchlevel8, and would like to volunteer
to test this mini-patch, give me a call at (412) 268-6789 or send e-mail.

gk5g+@ANDREW.CMU.EDU (Gary Keim) (01/05/91)

Thanks to those who have volunteered to the test the Sun4 mini-patch. 
We have a volunteer.

Gary Keim
ATK Group