[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference share::zap

Title:Zap Technical Conference
Notice:ZAP Version 5.3 is available. See note 1.1
Moderator:ZAPDEV::MACONI
Created:Mon Feb 24 1986
Last Modified:Mon May 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:170
Total number of notes:492

119.0. "Problem With ZAP$Monitor..." by GIZARD::WETZEL () Fri Oct 16 1992 11:21

From:	DEKVC::SEUNGYONGJUN 16-OCT-1992 03:51:08.09
To:	HORUS::MAINTAINER
CC:	BOHOSHEEN,JAEHYUNGROH
Subj:	ZAP$MONITOR Problem

Hello, I have had the problem testing ZAP$MONITOR on the VAX4200 system as the
 following report written by one of our Customer Support Enginner. Please
clarify the cause of it and let me know the way of getting over. I'll provide
it to the customer shortly. Prompt answer would be highly appreciated.

Best Regards,
Seung Yong.


  ------------------------------Problem----------------------------------------
  FATAL BUG CHECK INTERMITTENTLY
  Mf:0830-1730 Sat:0830-1230 Sun:0000-0000
  -----------------------------------------------------------------------------


   For the SSRVEXCEPTN, Unexpected System Service Exception.  The current 
   process was ZAP$MONITOR and image was ZAP$MONITOR.EXE.  The image called 
   SYS$EXIT system service, and then the process in Kernel mode was excuting
   RET to return from the procedure.   KRPs were used for storage local to
   the execution of the procedure.  System tried to get KRP.   However, the 
   pointer to KRP lookaside list  is invalid.   That is, Access Violation to 
   insert KRP Lookaside List   "INSQUE (R1),@04(R0)"   in  DEALLOCATE_KRP 
   routine in the SYSGETJPI module.

    Internal and Data structure book  mentions that the most common use
   of the KRP  is to store  an equivalence name returned from  a logical name 
   translation.   So, I'd recommand to check the portion of handling logical 
   name in the application ZAP$MONITOR.   Hope it to help you.

   Best regards,
   S.J  
******************************************************************************
SDA> sho crash
System crash information
------------------------
Time of system crash:  2-OCT-1992 10:05:42.62Version of system: VAX/VMS VERSION V5.4-2  
System Version Major ID/Minor ID: 1/0
System type: VAX 4000-200
Crash CPU ID/Primary CPU ID:  00/00
Bitmask of CPUs active/available:  00000001/00000001
CPU bugcheck codes:
	CPU 00 -- SSRVEXCEPT, Unexpected system service exception
CPU 00 reason for Bugcheck: SSRVEXCEPT, Unexpected system service exception
Process currently executing on this CPU: ZAP$Monitor 5.0 <=======
Current image file: $1$DIA0:[SYS0.SYSCOMMON.][ZAP]ZAP$MONITOR.EXE;1
Current IPL: 0  (decimal)
CPU database address:  80868000

General registers:

	R0  = 00000009   R1  = 80002398   R2  = 00000004   R3  = 8050EA50
	R4  = 8051A1E0   R5  = 805162A0   R6  = 00000000   R7  = 7FF26430
	R8  = 80516308   R9  = 8051A1E0   R10 = 00000000   R11 = 805162A0
	AP  = 7FFE7770   FP  = 7FFE7758   SP  = 7FFE7758   PC  = 8000239E
	PSL = 00000000

	P0BR   = 80ECC600     SBR    = 01F8DE00     ASTLVL = 00000004
	P0LR   = 00000B45     SLR    = 00019080     SISR   = 00000000
	P1BR   = 80714400     PCBB   = 0164C220     ICCS   = 00000040
	P1LR   = 001FF922     SCBB   = 01F78E00     SID    = 14000006

	TODR   = 9DD65982     CCR    = 00000014     IPCR0  = 00000020
	DSER   = 00000000     QBEAR  = 0000000F     DEAR   = 00000000
	MSER   = 00000000     MMESR  = 00000044     MMCDSR = 00001077
	CBTCR  = C0000004     BEHR   = 0000003F

	ISP    = 80869200
	KSP    = 7FFE7758
	ESP    = 7FFE9800
	SSP    = 7FFECA48
	USP    = 7FF2626C

                No spinlocks currently owned by CPU 00

SDA> sho stack
Process stacks (on CPU 00)
--------------------------
Current operating stack (KERNEL):

		7FFE7738  8051A1E0	
		7FFE773C  00000000	
		7FFE7740  805162A0	
		7FFE7744  7FFE7770	CTL$GL_KSTKBAS+00570
		7FFE7748  7FFE7758	CTL$GL_KSTKBAS+00558
		7FFE774C  7FFE7750	CTL$GL_KSTKBAS+00550
		7FFE7750  8000239E	EXE$EXCPTN+00006
		7FFE7754  00000000	

	 SP =>  7FFE7758  00000000 call frame	
		7FFE775C  00000000	
		7FFE7760  7FF262A8 ap
		7FFE7764  7FFE77E4 fp	   CTL$GL_KSTKBAS+005E4
		7FFE7768  80000014 ret pc  EXE$QIOW_3+00004
		7FFE776C  802204C4	   EXE$CONTSIGNAL+0007C
		7FFE7770  00000002	
		7FFE7774  7FFE7794 s.a  CTL$GL_KSTKBAS+00594
		7FFE7778  7FFE777C m.a  CTL$GL_KSTKBAS+0057C
		7FFE777C  00000004 MA	
		7FFE7780  7FFE77E4	CTL$GL_KSTKBAS+005E4
		7FFE7784  FFFFFFFD	
		7FFE7788  7FFEFFB8 r0   CTL$GL_KRPFL
		7FFE778C  7FFEFFB8 r1   CTL$GL_KRPFL
		7FFE7790  000008F8	BUG$_GFX_INVTB+00008
		7FFE7794  00000005 SA	
		7FFE7798  0000000C	
		7FFE779C  00000005	
		7FFE77A0  31383537 v.a	
		7FFE77A4  802611AD pc   EXE$CHKIMAGNAME+00442
		7FFE77A8  00C00000 psl  PSL$M_PRVMOD
		7FFE77AC  0000001B	
		7FFE77B0  0000000C	
		7FFE77B4  80260932	EXE$GETJPI+003D2
		7FFE77B8  7FFEFFB8	CTL$GL_KRPFL
		7FFE77BC  80004360	LNM$AL_MUTEX
		7FFE77C0  0000000D	
		7FFE77C4  0004FFF9	
		7FFE77C8  00000069	
		7FFE77CC  00000003	
		7FFE77D0  00000001	
		7FFE77D4  02040001	
		7FFE77D8  00000000	
		7FFE77DC  8050EA50	
		7FFE77E0  00000002	
		7FFE77E4  00000000	
		7FFE77E8  00000000	
		7FFE77EC  7FF262A8  <---pointer for Argument count
		7FFE77F0  7FF2626C  <---User Stack pointer	
		7FFE77F4  8021E3E0	EXE$EXCEPTION+001E5
		7FFE77F8  7FFEE0DE	SYS$EXIT+0019E
		7FFE77FC  03C00000

SDA> ex/i 802611ad-20;30
EXE$CHKIMAGNAME+00422:  BISL2   #02,-14(FP)
EXE$CHKIMAGNAME+00426:  MOVL    -08(FP),R4
EXE$CHKIMAGNAME+0042A:  RSB     
EXE$CHKIMAGNAME+0042B:  MOVZWL  #09A8,R0
EXE$CHKIMAGNAME+00430:  BRB     EXE$CHKIMAGNAME+00426
DEALLOCATE_KRP:
EXE$CHKIMAGNAME+00432:  MOVQ    R0,-(SP)             ;save work registers
EXE$CHKIMAGNAME+00435:  MOVL    -2C(FP),R1           ;get KRP pointer.
                                                     R1:7FFEFFB8 <- -2C(FP)
EXE$CHKIMAGNAME+00439:  BEQL    EXE$CHKIMAGNAME+00449  ;none present
EXE$CHKIMAGNAME+0043B:  MOVAB   @#CTL$GL_KRPFL,R0      ;get pointer to KRP 
                                                        list.  R0:7FFEFFB8
EXE$CHKIMAGNAME+00442:  INSQUE  (R1),@04(R0) <--------- Access Violation!!
EXE$CHKIMAGNAME+00446:  CLRL    -2C(FP)
EXE$CHKIMAGNAME+00449:  MOVQ    (SP)+,R0
EXE$CHKIMAGNAME+0044C:  RSB     
EXE$CHKIMAGNAME+0044D:  MOVAB   @#CTL$GL_KRPFL,R0
EXE$CHKIMAGNAME+00454:  REMQUE  @00(R0),R1

SDA> ex/i 80260932-30;40
EXE$GETJPI+003A5:  MOVB    1C(R3),R0
EXE$GETJPI+003A9:  CMPB    R0,1C(R4)
EXE$GETJPI+003AD:  BGEQU   EXE$GETJPI+003BA
EXE$GETJPI+003AF:  CMPB    #10,R0
EXE$GETJPI+003B2:  BGTRU   EXE$GETJPI+003BA
EXE$GETJPI+003B4:  JSB     SCH$CHSEP
EXE$GETJPI+003BA:  BLBC    @#SMP$GL_FLAGS,EXE$GETJPI+003CA
EXE$GETJPI+003C1:  MOVZBL  #2F,R0
EXE$GETJPI+003C4:  JSB     @#V_SMP$RELEASE
EXE$GETJPI+003CA:  MTPR    #00,#12
EXE$GETJPI+003CD:  JSB     @(SP)+
EXE$GETJPI+003CF:  BSBW    EXE$CHKIMAGNAME+00432 ;jump to deallocate_krp
                                                 ;routine to get KRP adrs
                                                 ;from -2C(FP).
EXE$GETJPI+003D2:  MOVZWL  #01,R0
EXE$GETJPI+003D5:  RET     
EXE$GETJPI+003D6:  MOVZWL  #08E8,R0
EXE$GETJPI+003DB:  BRB     EXE$GETJPI+003EA
EXE$GETJPI+003DD:  MOVZWL  #03A4,R0
EXE$GETJPI+003E2:  BBC     #06,-14(FP),EXE$GETJPI+003EA


SDA> show process/reg
Process index: 0019   Name: ZAP$Monitor 5.0   Extended PID: 00000119
--------------------------------------------------------------------

Saved process registers
-----------------------
R0   = 0000001B    R1   = 0000000C    R2   = 00000004    R3   = 8050EA50
R4   = 8051A1E0    R5   = 805162A0    R6   = 00000000    R7   = 7FF26430
R8   = 80516308    R9   = 8051A1E0    R10  = 00000000    R11  = 805162A0
AP   = 7FF262A8    FP   = 7FFE77E4    PC   = 8026092D    PSL  = 00C00004
                          ********
KSP  = 7FFE77AC    ESP  = 7FFE9800    SSP  = 7FFECA48    USP  = 7FF2626C
P0BR = 80ECC600    P0LR = 00000B45    P1BR = 80714400    P1LR = 001FF922

Active registers for current process
------------------------------------
R0   = 00000009    R1   = 80002398    R2   = 00000004    R3   = 8050EA50
R4   = 8051A1E0    R5   = 805162A0    R6   = 00000000    R7   = 7FF26430
R8   = 80516308    R9   = 8051A1E0    R10  = 00000000    R11  = 805162A0
AP   = 7FFE7770    FP   = 7FFE7758    PC   = 8000239E    PSL  = 00000000
KSP  = 7FFE7758    ESP  = 7FFE9800    SSP  = 7FFECA48    USP  = 7FF2626C
P0BR = 80ECC600    P0LR = 00000B45    P1BR = 80714400    P1LR = 001FF922

SDA> ex 7ffe77e4-2c
CTL$GL_KSTKBAS+005B8:  7FFEFFB8   "�.�." <---movl -2c(fp),r1  
                                                     So, R1:7ffeffb8 as KRP
                                                     pointer.

SDA> eva @ctl$gl_krpfl
Hex = 41545608   Decimal = 1096046088		

SDA> ex ctl$gl_krpbl
CTL$GL_KRPBL:  31383537   "7581"

SDA> eval ctl$gl_krpfl
Hex = 7FFEFFB8   Decimal = 2147418040		CTL$GL_KRPFL

SDA> ex 7ffeffbc
CTL$GL_KRPBL:  31383537   "7581"

SDA> val que ctl$gl_krpfl
Error in forward queue linkage at address 7FFEFFB8, after tracing 0 elements
  ^
  |
  |-------?? invalid KRP lookaside list header


SDA> eval ctl$c_krp_cpunt
SDA> eval ctl$c_krp_count
Hex = 00000004   Decimal = 4		ACB$L_ASTQBL
						ACB$V_PKAST
						ACF$L_CONFIGREG
						ACF$M_SCBVEC
						ACF$V_SUPPORT
						  |
				(remaining symbols suppressed by default)
SDA> eval ctl$c_krp_size 
Hex = 00000200   Decimal = 512		ACL$S_READACL
						BUG$_IVWSETLIST
						CDRP$M_WALK_2P
						CPU$M_QLOST
						CPU$Q_SWIQFL
						  |
				(remaining symbols suppressed by default)

	
SDA> sho stack/user
Process stacks (on CPU 00)
--------------------------
USER stack:

		7FF2624C  7FF26410	
		7FF26250  7FF263E8	
		7FF26254  0012A9B8	
		7FF26258  00159788	
		7FF2625C  00125600	
		7FF26260  00000004	
		7FF26264  00000001	
		7FF26268  000003EC	BUG$_TIPCUFLOW+00004

	 SP =>  7FF2626C  00000000	
		7FF26270  2FFC0000	
		7FF26274  7FF2633C 	
		7FF26278  7FF26318	
		7FF2627C  00127085 ret pc <------	
		7FF26280  00000001 r2	
		7FF26284  7FF26318 r3	
		7FF26288  00000000 r4	
		7FF2628C  00000000 r5	
		7FF26290  7FFED100 r6	
		7FF26294  7FFED100 r7	
		7FF26298  02040001 r8	
		7FF2629C  00000005 r9	
		7FF262A0  7FFED701 r10	
		7FF262A4  FFFF0019 r11	
		7FF262A8  00000007 arg list	
		7FF262AC  00000002 ;pushl #02	
		7FF262B0  7FF2638C ;pushl 08(ap)	
		7FF262B4  00000000 ;pushl #00	
		7FF262B8  7FF2639C ;pushl 04(ap)
		7FF262BC  7FF26390 ;pushl 0c(ap)	
		7FF262C0  00000000 ;pushl #00
		7FF262C4  00000000 ;pushl #00	
		7FF262C8  7FF22020	
		7FF262CC  00000001	
		7FF262D0  00000019	
		7FF262D4  2450415A	


SDA> ex/i 127085-30;30
00127055:  MOVL    R0,R2
00127058:  PUSHL   #00
0012705A:  PUSHL   #02
0012705C:  PUSHL   #00
0012705E:  PUSHAB  -08(FP)
00127061:  PUSHL   #02
00127063:  CALLS   #05,@#SYS$EXIT+000E0
0012706A:  MOVL    R0,R2
0012706D:  PUSHL   #00
0012706F:  PUSHL   #00
00127071:  PUSHL   0C(AP)
00127074:  PUSHL   04(AP)
00127077:  PUSHL   #00
00127079:  PUSHL   08(AP)
0012707C:  PUSHL   #02
0012707E:  CALLS   #07,@#SYS$EXIT+00198 <--------
00127085:  MOVL    R0,R2

SDA> ex 7ff2633c <--saved AP
7FF2633C:  00000003   "...."
SDA> ex 7ff26340 <--04(AP)
7FF26340:  7FF2639C   ".c�."
SDA> ex 7ff26344 <--08(AP)
7FF26344:  7FF2638C   ".c�."
SDA> ex 7ff26348 <--0C(AP)
7FF26348:  7FF26390   ".c�."

SDA> sho call 7ff26318
Call Frame Information
----------------------
	Call Frame Generated by CALLS Instruction

Condition Handler	7FF26318  00000000	
SP Align Bits = 00	7FF2631C  203C0000
   Saved  AP		7FF26320  7FF265E0	
   Saved  FP		7FF26324  7FF265A4	
   Return PC		7FF26328  0012CA1B	
	R2		7FF2632C  00000000	
	R3		7FF26330  00004A24	XWB$M_STS_DATIMR+00A24
	R4		7FF26334  00000800	SWP$AL_PTRPAG
	R5		7FF26338  00000000	
Align Stack by 0 Bytes =>
Argument List		7FF2633C  00000003
			7FF26340  7FF2639C	
			7FF26344  7FF2638C	
			7FF26348  7FF26390	


  C-ONE Distribution List for DEKBA0397 
  -------------------------------------

    NM%DEKVC::HOONJONGKI                    ! KI, HOON-JONG
    NM%DEKVC::WANKIKIM                      ! KIM, WAN-KI
    NM%DEKVC::ILRYONGKWEON                  ! KWEON, IL-RYONG
    NM%DEKVC::WANKIKIM                      ! KIM, WAN-KI
    NM%DEKVC::MIKEKELLY                     ! KELLY, MIKE
    NM%DEKVC::SEUNGJOOSON                   ! SON, SEUNG-JOO
T.RTitleUserPersonal
Name
DateLines
119.1duplicated note with 118DEKVC::SEUNGJOOSONMon Oct 19 1992 23:399
	Hello,

	This note is duplicated topic with privious notes(#118) happening in 
        same site.   Keith Maconi asked me to copy full dump file to ZAPDEV::,
        and  he/she is taking a look it, i think.   
    
	Very sorry for my inconvenient.  Regards,
	
			Seung-joo Son /Seoul Korea
119.2Ooops. My mistake...GIZARD::WETZELTue Oct 20 1992 10:217
I should have looked, before I leaped.  Moderator, please delete this note
if you wish.


		Thanks,

			Phil
119.3Any Update??SIOG::KILROYWed Jun 30 1993 06:195
    Hello,	
    		Any update on this problem?  I have recieved a dump of an
    identical crash from a large customer here in Ireland.
    
    			Regards John Kilroy.