HP3000-L Archives

May 2006, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Stan Sieler <[log in to unmask]>
Reply To:
Stan Sieler <[log in to unmask]>
Date:
Tue, 9 May 2006 11:33:06 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (127 lines)
Hi,

>   Find the stack trace below;
>     909   +-F-I-L-E---I-N-F-O-R-M-A-T-I-O-N---D-I-S-P-L-A-Y+
>     910   !  ERROR NUMBER: 52    RESIDUE: 0                !
>     911   !  BLOCK NUMBER: 22897926     NUMREC: 0          !
>     912   +------------------------------------------------+
>     913   **** PROGRAM ERROR #18 :
>     914   PROCESS QUIT
>     915    .PARAM = 8
>     916   
>     917   Intrinsic layer; a privilege violation occurred.
>     918   
>     919   File System message 17
>     920   
>     921   FFILEINFO intrinsic.
>     922   
>     923   SUBSYS_INTRIN_ID message 311
>     924   ABORT: FPEPP.CD35300A.SDMOCOLS
>     925          PC=a.00ab44e8 dbg_stackdump_cmds+$28
>     926   NM* 0) SP=41642f50 RP=a.005372a8 trap_handler.handle_setdump+$f4
>     927   NM  1) SP=41642ed0 RP=a.00538784 trap_handler+$3ec
>     928   NM  2) SP=41642e50 RP=a.0052a0a4 cm_traphandler+$24
>     929   NM  3) SP=416427d0 RP=a.0052a06c ?cm_traphandler+$8
>     930            export stub: a.00ebdf24 arg_regs+$28
>     931   NM  4) SP=41642790 RP=a.00e80b24 nm_switch_code+$94c
>     932   NM  5) SP=41642660 RP=a.00e6bc5c SWT_RETURN
>     933          (switch marker frame)
>     934      CM       SYS  % 230.404    SWITCH'TO'NM'+%4       (MItroc CCG)  SUSER1
>     935      CM *  0) SYS  % 230.404    SWITCH'TO'NM'+%4       (MItroc CCG)  SUSER1
>     936      CM    1) SYS  % 200.25453  ABORT+%1353            (MItroc CCG)  KNSEG3
>     937      CM    2) SYS  % 200.24076  QUIT+%4                (MITroc CCG)  KNSEG3
>     938      CM    3) PROG %   4.273    WARN+%233              (mITroc CCG)  UTIL
>     939      CM    4) PROG %   5.545    EDS'FILE'CHANGE+%230   (mITroc CCG)  INIT
>     940      CM    5) PROG %   3.13637  OB'+%141               (mITroc CCG)  PREP
>     941      CM    6) SYS  % 166.0      ?TERMINATE             (MItroc CCG)  CMSWITCH

I'm a bit puzzled ... the lines from 909..912 plus stack trace 
look like the following happened:

   Your program apparently called FFILEINFO,
   probably within the routine "EDS'FILE'CHANGE", 
   noticed a problem with it,
   and reported the error (via PRINTFILEINFO)
        (the above is from lines 909-912)

   and then EDS'FILE'CHANGE calls your own routine WARN, which calls
   the QUIT intrinsic.  (The last 3 are in the stack trace.)

What puzzles me is the text at lines 916-923 ... they wouldn't show up in that
scenario.

Here's what I get for a similar PRINTFILEINFO/WARN/QUIT call sequence:

+-F-I-L-E---I-N-F-O-R-M-A-T-I-O-N---D-I-S-P-L-A-Y+
!  ERROR NUMBER: 52    RESIDUE: 0                !
!  BLOCK NUMBER: 131074       NUMREC: 26         !
+------------------------------------------------+
**** PROGRAM ERROR #18 :PROCESS QUIT .PARAM = 18
ABORT: T.PUB.SIELER
       PC=a.00ac54e8 dbg_stackdump_cmds+$28
NM* 0) SP=41642f50 RP=a.005482a8 trap_handler.handle_setdump+$f4
NM  1) SP=41642ed0 RP=a.00549784 trap_handler+$3ec
NM  2) SP=41642e50 RP=a.0053b0a4 cm_traphandler+$24
NM  3) SP=416427d0 RP=a.0053b06c ?cm_traphandler+$8
         export stub: a.00ecef24 arg_regs+$28
NM  4) SP=41642790 RP=a.00e91b24 nm_switch_code+$94c
NM  5) SP=41642660 RP=a.00e7cc5c Compatability_Mode
       (switch marker frame)
   CM       SYS  % 230.404    SWITCH'TO'NM'+%4       (MItroc CCG)  SUSER1
   CM *  0) SYS  % 230.404    SWITCH'TO'NM'+%4       (MItroc CCG)  SUSER1
   CM    1) SYS  % 200.25453  ABORT+%1353            (MItroc CCG)  KNSEG3
   CM    2) SYS  % 200.24076  QUIT+%4                (MITroc CCG)  KNSEG3
   CM    3) PROG %   0.42     WARN+%2                (mITroc CCG)  SEG'
   CM    4) PROG %   0.35     FOO+%33                (mITroc CCE)  SEG'
   CM    5) PROG %   0.1      OB'+%1                 (mITroc CCG)  SEG'
   CM    6) SYS  % 166.0      ?TERMINATE             (MItroc CCG)  CMSWITCH
NM  6) SP=41642320 RP=a.00540ae8 outer_block+$1cc
NM  7) SP=41642130 RP=a.00000000
     (end of NM stack)

At this point, if the problem is easily repeatable, I'd do:

   1) logon

   2) run a "GOD" program (grant.pub.lpstools, god.pub.vesoft, etc.)

      (or, replace 1 & 2 with "logon to a user with PM capability")

   3) run  FPEPP.CD35300A.SDMOCOLS; debug

      (If you don't get a Debug prompt, then you don't have adequate
      privileges)

   4) (at the debug prompt)

      b ?EDS'FILE'CHANGE            (don't forget the "?")

      c

run the program as normal.  When you hit the EDS'FILE'CHANGE breakpoint:

   5) (at the debug prompt)

      b ?FFILEINFO                    (don't forget the "?")
  
      c

when you hit the FFILEINFO breakpoint, check the parameters:

     cm
     dr
     tr
     dq -%17, %14                    
     c
    

Note: the above assumes that (a) you call EDS'FILE'CHANGE only once,
and that the next call to FFILEINFO is the one that encounters the problem.

Hope that helps,

Stan

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2