HP3000-L Archives

July 1998, Week 1

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:
Gavin Scott <[log in to unmask]>
Reply To:
Gavin Scott <[log in to unmask]>
Date:
Wed, 1 Jul 1998 12:03:47 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (31 lines)
Dennis wrote:
> Chen Hai Jing ([log in to unmask]) wrote:
> : :RUN SPN010E.NEWPROG
> : **** INTERNAL TRAP
> : Data PAGE Fault
> : [VSM] Invalid Pointer Error
> : ABORT: SPN010E.NEWPROG.SPN
> : NM PROG  129c.0000812c szspn01+$4fc
>
> Fire up the debugger and see if you can find any STMT entries need that
> address.                                                      ^^^^near?

I believe he's suggesting that you do something like:

:RUN SPN010E.NEWPROG.SPN;DEBUG
nmdebug > won
nmdebug > pj szspn01+4fc

then use the 'pf' and 'pb' (p window forward and back) commands to look
for "instructions" that disassemble as "*** STMT <some number>" which
tells you the original statement number (from a compiler listing) that
the code you are looking at is from.  This (plus a compiler listing
with statement numbers of course) will let you map the abort address
back to the line of code it occurred it.

> Or compile with $CONTROL BOUNDS and see if it detects any errors.

Always a good suggestion with COBOL problems of this sort.

G.

ATOM RSS1 RSS2