Access violation
Robert J.M. Edis
robert.edis@creatcomp.com
Fri, 14 Apr 2000 11:26:26 -0400
G'day Hamid
I have dealt with this issue before when running a C program from PH in
OpenVMS.
The problem occurs when the C program terminates with an error status.
PowerHouse cannot translate the message from the system as the C program
aborted abormally. The program is not in PowerHouse but the C program.
It was resolved for me by running the C program from a DCL script and
trapping the error status at the DCL level. I then created a VMS logical to
pass back to PowerHouse containing a value based on the C program's error
status. E.g., if $status indicated a fatal error I set the logical to 0 or
if the $status indicate no errors the logical was set to 1. I could
translate this value inside Quick and give a sensible message to the user
without Quick crashing with an Access Violation.
Have fun!
Blue
-----Original Message-----
From: Bourchi, H.
To: 'powerh-l@lists.swau.edu'
Sent: 4/14/00 2:37 AM
Subject: Access violation
Good day everyone,
Quick question, I am using ver. (7.10.F2) on Open vms. I am
debuging
a quick program online. My program has to add new records to some files.
Most of the times goes wel but some times it stops and appears this
error
"%SYSTEM-E-ACCVIO, access violation, reason mask=!XB, virtual
address=!XH,
PC=!XH, PS=!XL
%NONAME-W-NOMSG, Message number 00000000
%SYSTEM-F-ABORT, abort"
Any idea's ? My main program calls some C programs.Thats why I start it
with a qkgo file.
Regards,
Hamid Bourchi
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
= =
Subscribe: "subscribe powerh-l" in message body to
majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to
majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.