perm filename BUGS[S,AIL]11 blob sn#041439 filedate 1973-05-15 generic text, type C, neo UTF8
COMMENT ⊗   VALID 00005 PAGES
C REC  PAGE   DESCRIPTION
C00001 00001
C00002 00002	IV-IZ AND J SERIES BUGS
C00009 00003	K-SERIES 
C00015 00004	L-SERIES BUGS
C00021 00005	M-SERIES BUGS
C00024 ENDMK
C⊗;
IV-IZ AND J SERIES BUGS

#<NUMBER> <TAB> DESCR (INITIALS OF PERSON ENTERING BUG)
	[FILES]  INITIALS (DATE FIXED) {OK WHEN CHECKED}

#IV	DRYROTS AT NOSY -- NON-EXTERNAL PROCEDURE
	UNDECLARED FORWARD MESSAGE PROCEDURES SHOULD BE IGNORED
	[GEN/29] RHT (9-22-72) OK JRL

#IW 	IF STATEMENT INSIDE OF DO LOOP- PARSE ERROR
	[HEL]  KVL (9-22-72) OK JRL

#IX	CAUSE LOSSAGE -- BUG FIXED BUT SUSPECT FILE IS OLDER
	THAN IT SHOULD BE.  I.E. FEAR THAT SOME PREVIOUS DEBUGGING
	WAS LOST.
	[NWORLD] RHT (9-22-72) OK RHT

#IY	SPURIOUS CALL TO BEXIT IF EXTERNAL PROC DECL IN SIM PROC
	THE PROBLEM WAS KILL SET GOING OUT FOR BLOCK
	[PROCSS] RHT (9-25-72)

#IZ	GLOBAL ARRAYS IN OUTER SEGMENTS GETTING BAD LVI ENTRIES
	FIXED BY NOT PUTTING OUT LVI FOR GLOBALS
	[GEN] RHT (9-25-72)

#JA	BEGIN INTEGER I; BEGIN DEFINE I=....  -- COMPLAINS ABOUT
	DUPLICATE IDENTIFIER DECLARATION WHEN DEFINING I.  THIS
	IS DUE, POSSIBLY, TO DEFINES NOW BEING PLACED GLOBALLY EVEN
	WHEN DEFINED LOCALLY -- SHOULD BE AT LEAST DOCUMENTED, SINCE
	IT IS A DISTINCT INCOMPATIBILITY.  (DCS)

#JB	PROCEDURES INSIDE SIMPLE PROCEDURES CAUSE TROUBLE. (RHT)

#JC	REQUIRE "FOO    [PRJ,PRG]" SOURCE_FILE SEEMS TO CAUSE 
	A SAIL COMMAND ERROR (RHT)

#JD	DATUM(A←COP(B⊗C)) DOESN'T  PARSE CORRECTLY.(JRL,KVL)
	[LEAP,HEL,GEN] JRL (9-27-72) OK JRL

#JE     LNOT OF A CONSTANT NOT PREFORMED.
	[EXPRS/6] JRL (9-26-72) OK JRL

#JF	MESSAGE PROCEDURE LINK BLOCK GETTING PDA INSTEAD OF ENTRY ADDR
	[GEN/29] RHT (9-27-72)

#JG	IDPB GOING OUT AS IBP, PROBLEM WAS B GETTING CLOBBERED BY TOTAL
	[EXPRS/10] RHT (9-27-72) OK RHT

#JH	USER INITIALIZATION REQUEST LOSSAGE (HRLZI WAS IN AS HLRZI)
	[GEN/35] RHT (9-29-72) OK RHT

#JI	IFGLOBAL NOT WORKING(HAND-EYE SYSTEM)
	[LEPRUN] JRL (10-2-72)

#JJ	DRYROT ERASE1 FP2 FREE LIST WAS BEING GARBAGED
	[LEPRUN] JRL (10-2-72)

#JK	WHEN RECLAIMING  VALUE SET PARAMETER LIST SPACE, AC 1 WITH FUNCTION
	RESULT IS DESTROYED.
	[STATS] RHT (10-3-72)

#JL     THE BNDFOR BIT WAS BEING TURNED OFF FOR SETS EVEN THOUGH VALID ONLY FOR ITEMS
	(LEPRUN] JRL (10-4-72) OK JRL

#JM	SYMBOL FOR BLOCK GOING OUT WITH WRONG DDT LEVEL FIXED BY MOVING
	THE KILL SET SEMBLK PTR IN THE BLOCK SEMBLK
	[PROCSS] RHT (10-4-72) OK RHT

#JN	LENGTH(ITEM⊗ITEM) PRODUCED "ITEM TYPE MISMATCH", DUMMY SEMBLK FOR DERIVED
	SET NOT PLACED IN PROPER LOCATION.
	[LEAP] JRL (10-8-72)

#JO	COMPILER DOESN'T ACCEPT {ITMVR←ITMEXPR} BECAUSE AE NEVER BECOMES IP OR SP
	[HEL,LEAP] JRL (10-8-72)

#JP	EVALUATION OF MACRO CALL IN MACRO DEFN WASNT ALWAYS HAPPENING. RHT
	[SYM,HEL,GEN] HJS (10-12-72)

#JQ	ERROR RECOVERY PROD FOR MEMORY CALLED AT BAD TIME RHT
	[HEL/11] RHT (10-15-72) OK RHT

#JR	CODE FOR DISPLAY STRING ITEMVARS INCORRECTLY USING STRING STACK
	[TOTAL/24,9] JRL (10-17-72)

#JS	EVLLST NOT ADJUSTING ADEPTH. RHT
	[LEAP/23] RHT (10-17-72) RHT OK RHT

#JT     LIST PROCEDURES SOMETIMES RETURN FREE_STORAGE LIST AS RESULT
	[STATS] JRL 

#JU	QUICK CODE FORGETS AC1 IN A VERY BAD WAY
	[GEN/49] RHT (10-22-72) OK RHT

#JV	MEMORY[X] TRIES TO INDEX WITH AC 0
	[GEN/41] RHT (10-20-72) OK RHT

#JW	PUT ITM IN DATUM(LITMVR) AFTER ∞ DOESN'T COMPUTE ∞ CORRECTLY
	CAUSED BY HEL CALLING STSET BEFORE REFINF
	[HEL] JRL (11-2-72)

#JX	EXTERNAL PROCEDURE α, FOLLOWED IN SAME PROG. BY INTERNAL PROCEDURE α,
	IS LEGAL -- THE INTERNAL ONE PREVAILS OF COURSE -- ALLOWS INCLUSION
	OF GLOBAL EXTERNAL DECL. SOURCE FILE BY EVERYBODY, DEF'N OF PROCEDURES
	WHEREVER.
	[SYM] DCS (11-2-72) OK DCS

#JY	MEMORY[ID←XXXXX] FOULING UP ACKTAB?? RHT
	SHORT INTEGERS CAUSED THE MESS
	[GEN/42] RHT (11-2-72) 

#JZ	FROM THIS DAY FORWARD, A MACRO WILL BE ENTERED ONLY WHEN IT IS FIRST
	ENCOUNTERED.  THEREAFTER, IT WILL ONLY BE REDEFINED, AT THE SAME BLOCK
        LEVEL!! IN OTHER WORDS, SCOPE RULES ARE IGNORED AFTER FIRST APPEARANCE
	OF A MACRO, UNTIL THE BLOCK IN WHICH IT WAS FIRST DECLARED GOES AWAY.
	HOPEFULLY, LATER, A SEPARATE MACRO BLOCK STRUCTURE WILL BE INVENTED.
	[SYM] HJS (11-4-72)
K-SERIES 

#KA	REMEMBER I IN CONTEXT CAUSES PUSH P,0 TO BE EMITED
	BECAUSE SBITS ENTRY IS COPIED INTO SBITS OF ADCON
	SOLUTION DO A GENMOV(INCOR) OF PARAM.
	[LEAP] BY JRL (11-8-72)

#KAB	IT IS CLAIMED THAT IMMEDIATE INSTRUCTIONS AREN'T GENERATED
	FOR LOGICAL OPERATIONS

#KB	SYNTUP CODE IN PRUP CLOBBERS LPSA BY CALL TO ZOTDIS
	& THEN TRIES TO USE IT.  THE TROUBLE ONLY SEEMS
	TO SHOW UP WHEN CREFFING.  I DON'T QUITE UNDERSTAND
	WHY, SINCE LPSA IS USED AS A CHAIN LINK THAT IS
	ALWAYS SEARCHED.  RHT
	[STATS/25] RHT (11-11-72) OK RHT

#KC	FOR HISEG, THE INITIAL PDA,,0 FIXUP WAS GOING TO
	THE LOW SEG.  DCS
	[SAIL/27] RHT (11-13-72) OK RHT

#KD	CORTMPS IN RECURSIVE PROCEDURES NOT WORKING CORRECTLY
	FOR ADRINS. RHT
	[STATS/35] RHT (11-13-72)

#KE	IBP WITH FIXARR ARG COMPLAINS  JRL 
	[EXPRS/10] JRL (11-17-72)

#KF	THE SYNTAX ERROR  FOR J←1 UNTIL N ... CAUSES
	A DRYROT AT GETAD.  THE TROUBLE IS THAT WAIT
	GETS ENTERED WITH THE STEP NOT SET UP 
	[STATS]

#KG	SPROUT'S ALLSTO FAILS TO CLEAR DISPLAY ON PAGE 9 OF
	TOOLS.SAI[H,AJT].  IN FACT THERE WAS NO ALLSTO IN THE CODE.
	[PROCSS] RHT (11-21-72) OK RHT

#KH	REMNENTS OF OLD FORMFX STUFF CAUSED LOSSAGE WHEN
	RELEASING VALUE SET TO SIMPLE PROC.  FIX WAS TO FLUSH IT.
	[TOTAL/27] RHT (11-21-72)

#KI	DPB USING WRONG AC IN DEPOSIT, PROBLEM WAS BAD FIX TO BUG KE
	[EXPRS/10] JRL (11-21-72)

#KJ	ECHK WITH ITEMVAR WAS RETURNING BAD TBITS IN TEMP SEMBLK
	A HRRI SHOULD HAVE BEEN A MOVEI
	[LEAP] JRL (11-21-72)

#KK	ISTRIPLE CAUSES DRYROT AT BPOP MSG. CAUSED BY GLBSTK NOT HAVING
	BEEN CALLED

#KL	STACSV SAVES 16 REGISTERS IN 14 WORDS( A REMARKABLE ACHIEVEMENT)
	[GOGOL/9] JRL(11-22-72)

#KM	POLISH FIXUP FOR EXT PD MESSED UP
	[GEN/30] RHT (11-24-72)

#KN	LPTYPCK RETURNS WRONG TOKEN TYPE. TLNN SHOULD HAVE BEEN TLNE
	[LEAP] JRL(11-26-72)

#KO	CVLIST DOES NOT CORRECTLY MARK RESULT AS LIST
	[LEAP] JRL(11-27-72)

#KP	FDONS SOMETIMES DESTROYS AC 1. BAD THING IF A RETURN()
	[LEPRUN] JRL (11-28-72)

#KQ	STORA GETS CONFUSED BY FIXARRS INAC
	[TOTAL] JRL (11-30-72)

#KR	DATUM(ITVARR[EXPR],REAL ARRAY)[1] IN A KKP PROGRAM CAUSED A
	BAD STRING TO BE ENTERED FOR THE ARRAY NAME IN THE ARERR UUO
	FOR THE BOUNDS CHECK ON [1].  THE REASON IS THAT THE SEMBLK
	REPRESENTING THE RESULTANT REAL ARRAY DIDN'T HAVE A LEGITIMATE
	ITEMVAR SEMBLK POINTER IN $VAL, SINCE IT'S SO COMPLICATED.  
	MAYBE IT SHOULD HAVE, BUT FOR THE PRESENT, I'VE INSERTED A
	PATCH TO USE A DUMMY NAME FOR THESE GUYS
	[ARRAY] DCS (12-6-72)

#KS	ADD LOADVR SWITCH TO TAKE CARE OF DIFFERENT CODES FOR .REL,LIB
	REQUESTS FROM SAIL PROGS FOR LOADER 54.
	[SAIL,TOTAL] JRL (12-13-72)

#KT	BEXIT NOT GETTING CALLED IF ONLY HAVE KILL SET.  TYPO THE CAUSE
	[GEN/14] RHT (1-9-72)

#KU	ARRAY ITEMS SHOULD NOT NORMALLY BE OWN OTHERWISE TWO
	PROGRAMS WITH THE SAME ARRAY ITEM WILL HAVE TWO ARRAYS ALLOCATED
	[ARRAY] JRL(1-8-73)

#KV	TEST FOR INILNK = 0 FOR LIBRARY IN USER INITIALIZATION .UINIT
	[GOGOL] JRL(1-8-73)

#KW	DON'T ALLOW INTERNAL OR EXTERNAL ITEM DECLARATIONS
	[GEN] JRL (1-8-73)

#KX	AN ALLSTO SHOULD BE DONE EITHER AT BEGINNING OF BLOCK OR
	BEFORE EVERY CALL TO BEXIT
	[GEN/14] RHT (1-9-72)

#KY	IT IS CLAIMED THAT DONE OFTEN CAUSES A JUMP TO A JUMP AND THAT
	IN A SERIES OF SEVERAL DONES EACH MAY JUMP TO THE NEXT.

#KZ	DATUM OF OWN ARRAY ELEMENT DOESN'T WORK CORRECTLY, OWN BIT
	SHOULD BE REMOVED BY PREVIOUS OPERATION
	[LEAP] JRL (1-9-73)

L-SERIES BUGS

#LA	CVSIX IS DISHONEST FOR [ ] , .  

#LB	"TYPO" IN RESUME REWRITE.  THE TARGET OF THE RESUME IS RESTARTED,
	(IN SOME "NOTNOW" CASES); NOT ONLY IS THIS NOT DESIRED, BUT ALSO
	THE STACKS AREN'T SWITCHED -- CONFUSION RESULTS.
	DCS [NWORLD] OK 1-15-73

#LC     A FORMAL PARAMETER TO A MACRO DEFINITION, WHICH HAS PREVIOUSLY
	BEEN DEFINED TO BE A MACRO NAME ITSELF DOESN'T WORK.
	E. G. DEFINE FOO(P) = ⊂...⊃; WHERE P WAS PREVIOUSLY DEFINED AS MACRO.
	[SYM] HJS 1-17-73

#LD	WHILE ITEM⊗ITEMVAR ≠ PHI CAUSES RETRIEVAL CONSTRUCTION FAILURE.
	SEE FILE BUG.SAI
	[HEL] JRL 1-22-73

#LE	SEARCHES WITH SAME ? ITEMVAR TWICE DON'T WORK
	E.G  ∀ ? X | X⊗X≡A DO
	[LEAP] JRL
#LF	ITEMVAR COMPARISONS DON'T WORK WHEN 1 THING ON STACK.
	A HRL WAS A HRLI BY MISTAKE
	[LEAP] JRL 2-4-73

#LG	RESULT OF MATCHING PROCEDURE NOT RETURNED CORRECTLY.

#LH	ASSIGN IS NASTILY FAILING TO ADJUST ADEPTH
	[LEAP] RHT 2-6-73

#LI	<INTEGER>←<REAL CON>*<INTEGER PARAM> CAUSES FAILURE TO
	TO TYPE CONVERSIONS

#LJ	MAKE A⊗B≡FOO(ITEM) FAILS BECAUSE RDYCAL DOES NOT DO OKSTACK.
	[STATS] JRL 2-9-73

#LK	END OF MATCHING PROCEDURE CAUSES DRYROT BPOP
	[STATS] JRL 2-12-73

#LL	MATCHING PROCEDURE DOES NOT UNPROTECT AC CONTAINING UNBOUND
	[STATS] JRL 2-14-73

#LM 	PITBND NOT BINDING THE ENVIRON WHEN IT SHOULD
	[IOSER/39] RHT 2-17-73

#LN	ABORT EXECUTION AFTER FINDING A SYNTAX ERROR. ALSO MAKE SEMANTIC
	ERRORS AFTER SYNTAX ERRORS VISIBLE.
	[GOGOL/24] [GEN/26?] [SAIL/26]  KVL 2-22-72

#LO	GLOBAL ARRAY ITEMVAR ARRAYS DON'T WORK
	[ARRAY] JRL 2-23-73

#LP	GO TO OUT OF A PROCESS WAS LOOPING. PUT IN ERROR TRAP
	[IOSER/37] RHT 2-25-73

#LQ	SPROUT OU A FORWARD PROCEDURE LOSES BECAUSE PDA GETS PUT OUT
	AS 0.  EVIDENTLY, THE PD FIXUPS ARE LOST WHEN THE PROCEDURE
	IS FINALLY DECLARED. -- RHT
	[STATS] RHT 3-13-72 OK RHT

#LR	SPROUT OF AN EXTERNAL PROCEDURE LOSES BECAUSE OF SOME TROUBLE
	WITH FINDING THE PROPER KILL SET. SEE FILPRO[S,RHT]
	[PROCSS/5] RHT 3-13-72

#LS	"SAIL IN LEVEL TROUBLE" WHEN REDECLARING A VARIABLE WHICH
	HAS BEEN DECLARED IN A GLOBAL PROCEDURE -- SE TEST1.SAI[1,RKN]
	ALSO GET SIMILAR LOSSAGE IN A MACRO DECLARATION. THE TROUBLE
	WAS THAT THE LEVEL FIELDS WERE SET WRONG FOR OWN ARRAYS
	[SYM/29] RHT 3-12-73

#LT	SOURCE FILE NOT FOUND- ERRMSG PICKED UP FILENAME FROM WRONG LOC
	[SAIL/  ] JRL 3-15-73

#LU	GLOBAL NOT WORKING CAUSED BY BUG IN ALLGLO
	[LEAP] JRL 3-16-73

#LV	Lynn Quam complains that certain routines (e.g. REALIN) cause
	phoney overflows which wreak havoc with interrupt processing.

#LW	LOOP BUG.  EVIDENTLY A FORSTO (OR WHATEVER) ISN'T HAPPENING
	JUST BEFORE THE STEP UNTIL PART OF A LOOP HEADER.  THIS CAUSES
	THE COMPILER TO THING THAT DISPLAYS ARE STILL VALID AT THE
	JUMPBACK POINT.  -- SEE LOOPBG.SAI[S,AIL] FOR EXAMPLE

#LX	GET A DRYROT AT GETAD FROM DRYROT.SAI[S,AIL].(COPIED FROM FAKE.SAI
	[H,TOB].  THE TROUBLE HAS TO DO WITH RANDOM DECLARED AS EXTERN PROC
	& NOT EXTERN REAL PROC.

#LY	GLOBAL PROPS DESTROYED ON PROGRAM INITIALIZATION OF ITEM TYPE.
	FIX IS TO CHECK IF THIS PROGRAM IS INITIALIZING GLOBAL MODEL.
	[LEPRUN] JRL 4-5-73

#LZ	JEG IS COMPLAINING ABOUT A DRYROT AT EFORM FROM AESTH.SAI[A,JEG]
M-SERIES BUGS

#MA	EQU("CONST",I) →→ PUSH SP,SCT1↔PUSH SP,STC2↔PUSH P,I↔
	PUSHJ	P,EQU↔  I.E. IT LEAVES OUT A CALL TO PUTCH

#MB	MACRO TYPE STRING SEMBLKS WERE BEING FREBLK'ED WITHOUT
	REMOVING THEM FROM HASH TABLE,STRING RINGS

	ALSO STRING CONSTANTS WILL NOW BE REMOPPED IF NOT IN USE
	($ADDR NON ZERO, OR KPSTR BIT ON IN $SBITS IF IN USE).
	THIS SHOULD REMEDY THE OLD STRING CONSTANT COMMENT PROBLEM
	WITH PNAMES, BLOCKNAMES AND PRELOADED STRING ARRAYS

#MC     FREBLK ING A SEMBLK (PROC ARG) WITHOUT URGSTR
	[GEN] RHT 4-20-73

#MD	PTRAC'S SHOULD BE STORA'D BY STORING ONLY RIGHT HALF, TO BE
	CONSISTENT [TOTAL] JRL 4-22-73

#ME	FORWARD MATCHING PROCEDURES CAUSE DRYROT. WAS PUTTING OUT
	CODE FOR THEM ERRONEOUSLY
	[STATS] 4-25-73

#MF	I BLEW IT IN CREFSYM, WHEN I MADE USE OF AN ALREADY EXISTENT
	ROUTINE, FRNP1, TO PRINT OCTAL SYMBOL SYNONYMS.  ANYHOW, I
	MANAGED THEREBY TO CLOBBER AC B, WHICH CAUSED THE LISTING
	FILE TO BE GARBAGED UTTERLY.  THE FUNNY THING IS THAT NOBODY'S
	COMPLAINED MUCH.
	[SYM] 5-1-73 DCS

#MG	I BLEW IT IN USING LDYFLG TO PREVENT ZEROING OF OWN ARRAYS.
	I FIXED THIS BY MAKING THE USE OF LDYFLG MORE CLEVER.
	[ARRAY] 5-10-73 RHT OK RHT

#MH	LOOP CODE GETTING DRYROT AT EPNT BECAUSE NOT BEING SURE TO
	GET ACCESS TO LOOP INCR BEFORE ADDING
	[STATS]/9 5-11-73 RHT OK RHT

#MI	LDYFLG NOT GETTING CLEARED FOR NON PRELOADED ARRAYS
	[ARRAY]/10 5-14-73 RHT

#MJ	UNTIL EXPR IN FOR STATEMENT BEING REMOPED INCORRECTLY
	[STATS]    5-15-73 JRL

#MK	EXIF2 NOT SETTING UP PROPERLY FOR CALL OF MARK WITH STRING ARGUMENT
	[EXPRS]	   5-15-73 JRL