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

Conference clt::decset

Title:DECset
Notice:DECset V12.1 (see Notes 4.21 & 4.23)
Moderator:EDSDS6::TOWNSEND
Created:Tue Nov 12 1991
Last Modified:Fri May 23 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:328
Total number of notes:1286

325.0. "pca accvio, no data collected etc help.," by GIDDAY::SHCHIU () Mon Apr 28 1997 04:03

------------------------------



I have a customer site involved with defence project, NO source code or
anything is available.

Can someone from engineering help?

rgds


/stanley 

    -----------------
ALPHA/VMS V6.1
ALPHA 7640
ADA  v3.07
PCA UPG FROM V4.3 TO V4.4-3


PROCESS QUOTA : 
Fillm    =   5000
BIOlm    =    250
DIOlm    =    250
Enqlm    =   1680
Bytlm    =1200000
WSdef    =  10000
WSquota  =  20000
WSextent = 200000
Pgflquo  = 600000




There are multiple problem for this cases:


1. pca crashes with following  msg:

    I
%SYSTEM-F-ACCVIO, access violation, reason mask=00,
virtual address=00000004, PC=0128D234, PS=0000001B


get user to turn on $ set watch file/class=all

user discovered that the .PCA file is written and closed, then ...


- series of directory accesses to locate SINGLE_TEST_DEBUG
 (the /DEBUG version)

- File protection entry showing access requested value of
00000003 and status 00000001

- List of file read attributes

- Access to the .PCA file status of 00000001

- ACCVIO, reason mask 00, virtual address=00000004,
PC=01027234, PS=0000001B

... then it continue to  executes the user file without recording any
data.

user reckons  the problem may be associated with one of
(a)  a transfer address when PCA is used
(b)  an image activation underneath PCA

the assumption above is that the ACCVIO is a result of
problems in the error handling mechanism.


    I have requested user to go into SDA and check if process run out off
    anything resource, but found no shortage of process quota.
    

2. 

* program 1 (SINGLE_TEST):
the /nodebug version worked most of the time;
The version linked /DEBUG fails every time
the /debug version runs
but at the end of the data collection says that no data
was collected.  Both versions link with UNAS components
(see below) but they are not used during this execution.


The .PCA file for the /DEBUG version has various entries
"*<x_SENTINEL>*" for the last 6 blocks (where x is a 3 char
string.  These are the only entries in each of these blocks.

The 7th last block has binary data, but the 8th last block
has debugger reference info - including full file spec's -
and these references include those to $64$DUA213: which is
a disk that WE DON'T HAVE !

The version with /NODEBUG contains none of this information.


The .EXE's contain exactly the same Image Section
Descriptors - but the /DEBUG version contains values for
the global symbol table.


.EXE sizes    without debug 23058 blocks, with 35437





* program 2 (TU_PROMPT_FOR_SWITCHES):
Both /debug and /nodebug work fine.

EXE sizes   without debug 1223 blocks, with 1702

* program 3 (TP):

linked with /NODEBUG, runs using UNAS and causes the
access violation at the start of this call.
.EXE size 30,000 blocks.

The accvio , symtom is same as the first program, after it
accvio it will continue to execute the run but no data save
into .pca file.



-------------------------------




UNAS is a 3rd party message handler while communicates
in consistent fashion between major platforms (VMS, unix ..)
and re-organised data when little v big endian situations
arise.  It appears to be layed over OpenVMS mailboxes
and it traps most asynch system calls and passes them
to the user program as if they were a genuine user message.

user is  trying to obtain more details from the user, and
will try to determine if UNAS ( third party  sw )
has an exit-handler


-----------------------------------


    
T.RTitleUserPersonal
Name
DateLines
325.1EDSDS6::GLEASONDaryl Gleason, DECset EngineeringMon Apr 28 1997 11:2164
    Hi Stanley,

    Thanks for the legwork thus far. 
    
    Not having access to the source code or at least the images is going to
    complicate things rather severely; PCA is that kind of product.
    However, there are some things that we may be able to isolate.

    UNAS is a complete unknown, and it's entirely possible that the problem may
    be the result of attempted interaction between it and PCA. Can the programs
    be run without UNAS, or are they architected such that UNAS is an
    integral component? The more we can find out about it, the better.

>1. pca crashes with following  msg:
>
>    I
>%SYSTEM-F-ACCVIO, access violation, reason mask=00,
>virtual address=00000004, PC=0128D234, PS=0000001B

    Does this program run successfully using just the VMS DEBUGger and not PCA?
    Does GO/NOCOLLECT from the PCA collector succeed or fail? Is UNAS involved
    in this program?

>* program 1 (SINGLE_TEST):
>the /nodebug version worked most of the time;
>The version linked /DEBUG fails every time
>the /debug version runs
>but at the end of the data collection says that no data
>was collected.  Both versions link with UNAS components
>(see below) but they are not used during this execution.

    This is somewhat unclear. Is the DEBUG version using PCA or VMS DEBUG?
    What does it mean that the /nodebug version worked "most of the time"?
    Under what circumstances did it fail? Also, the questions above apply
    here as well.

>The 7th last block has binary data, but the 8th last block
>has debugger reference info - including full file spec's -
>and these references include those to $64$DUA213: which is
>a disk that WE DON'T HAVE !

    We don't have this either, so it's not related to the PCA development
    environment here; it must be related to something in the user's
    environment -- a logical name, a linker options file, or something. This is
    important to track down.

>* program 2 (TU_PROMPT_FOR_SWITCHES):
>Both /debug and /nodebug work fine.

    Does this mean that it worked with PCA or VMS DEBUG (or both)? Is UNAS
    involved in this image?

>* program 3 (TP):
>
>linked with /NODEBUG, runs using UNAS and causes the
>access violation at the start of this call.
>.EXE size 30,000 blocks.

    Same questions. 
    
    As I said, it would be really great if we could get UNAS out of the
    picture and see what happens; would that be possible?

    -- Daryl
325.2will do.GIDDAY::SHCHIUWed Apr 30 1997 01:1414
    
    
    Daryl,
    
    thanks for prompted response.
    
    I am getting user to collect info as you suggested.
    
    will get back once it is ready.
    
    
    rgds
    
    /stanley
325.3feedback from userGIDDAY::SHCHIUThu May 15 1997 22:2248
    
    
    DAryl,
    
    
    Sorry for taking so long to get back to you.
    
    
    1. All the program under under vms debugger without problem.
       under pca with do/nocollect ,works fine without error.
    
       Yes for every program user claims UNAS is involved.
    
    
    In regarding to the 7th last block  has binary data ,but
    the 8th block  where debugger has reference , contains 
    information $64$DUA213: , user claims he check all his
    application and Unas, they do not have this disk as reference
    point.   well, we can only treat this a mystry.
    
    * program 2 (TU_PROMPT_FOR_SWITCHES):
    >Both /debug and /nodebug work fine.
    
    this small program does have Unas third party application, and
    it works fine under vms debugger as well as  pca.
    
    >* program 3 (TP):
    >linked with /NODEBUG, runs using UNAS and causes the
    >access violation at the start of this call.
    >.EXE size 30,000 blocks.
    
    
    User can not pull the third party application out of the program.
    So this really a problem here.
    
    
    I will keep you inform about the progress. AS user is NOT
    treat this as high priority.
    
    
    rgds
    
    
    /stanley 
    
    
      
    
325.4EDSDS6::GLEASONDaryl Gleason, DECset EngineeringFri May 16 1997 13:1239
    Hi Stanley,
    
    Thanks for the info.
    
>In regarding to the 7th last block  has binary data ,but the 8th block 
>where debugger has reference , contains  information $64$DUA213: , user
>claims he check all his application and Unas, they do not have this disk
>as reference point.   well, we can only treat this a mystry.
    
    That's interesting. How was this information obtained? I'm wondering if
    ANALYZE/OBJECT or /IMAGE could be used to get more information about
    the section that contains the disk reference. If so, it might be
    possible to identify exactly where the reference comes from.
    
>I will keep you inform about the progress. AS user is NOT treat this as
>high priority.
    
    Okay, thanks, that's good to know. I ran this by our PCA engineer, and
    he had the following ideas on additional questions to ask:
    
    - Did these programs ever work with PCA? If so, what has changed?
    
    - Is it possible to try these programs on a VAX? If so, what is the
    result?
    
    - What data is being collected?
    
    - Do any other data collections work (e.g., SET COVERAGE PROGRAM BY
    ROUTINE)? It would be helpful to see what happens with other types of
    collections.
    
    - Which interface is being used, the character cell or the DECwindows?
    Is there any change in behavior when the other is used?
    
    - Would it be possible for us to see the output of the Analyzer LIST
    ALL command?
    
    
    -- Daryl
325.5thanks , will do.GIDDAY::SHCHIUMon May 19 1997 21:2414
    
    Daryl,
    
    
    thanks for the reply.
    
    will get back to you later.
    
    
    rgds
    
    
    /stanley