[mod.computers.vax] VAX/ELN question

futor@LLL-CRG.ARPA (Randal Futor) (02/04/86)

We have a MicroVAX II running ELN v2.1; the following section of code is
used to communicate with a `home-brew' device driver: (`>>' is our code)
>>SEND ( CM_MSG,
         CM_PORT );
>>WAIT_ANY ( CM_PORT );
>>RECEIVE ( CM_MSG,
            CM_COMMAND,
            CM_PORT );
It runs fine, but at random intervals (range: 5sec to many hours) the 
program stops & prints the message: (`<<' is system response)
<<JOB 7, PROCESS 4, PROGRAM GEM4 RAISED EXCEPTION.
<<ACCESS VIOLATION, REASON MASK = 00, VIRTUAL ADDRESSS = 00020410
<<                                   PC = 001CF85, 
<<PSL = 03C000A0
and the Edebug program counter points to the first statement following
the receive statement above. 

Any help we can get in helping us to decode the message or to fix the
problem would be greatly appreciated (the standard `thanx in advance').

Additionally, I'd like to know whether there is a list of <subject>-gurus
handy; I'm having some problems with some other DEC packages on our VAX
11/780 which runs VMS v4.2 (mainly, the things in the new VAXset) & would
really appreciate hearing from anyone else in a similar situation.
             Randy  (futor@lll-crg.arpa)  EDS S/W Librarian
               Lawrence Livermore National Laboratory
                 University of California -- Livermore, CA94550
                   (415)423-4337