C/C++ Programmer's Guide (G06.25+)

Run-Time Messages
HP C/C++ Programmer’s Guide for NonStop Systems429301-008
22-5
CRE Service Function Messages
13
Cause. The pointer at location G[0] of the program’s user data segment to its primary
data structure—the Master Control Block (MCB)—does not point to the MCB. Both the
CRE and run-time libraries can report this error.
In the native environment, this error can occur if the MCB run-time data structure has
been corrupted.
Effect. The CRE attempts to restore the pointer at G[0] and to write a message to the
standard log file. However, because its environment might be corrupted, the CRE
might not be able to log a message. In that case, it calls PROCESS_STOP_,
specifying the ABEND variant, and the text “Corrupted Environment”.
Recovery. Check the program’s logic to see if it overwrote the MCB pointer at G[0].
Use a symbolic debugger to help isolate the problem.
14
Cause. The CRE backup process received an operating system message that it had
become the primary process but it had not yet received all of its initial checkpoint
information from its predecessor primary process.
Effect. The CRE invokes PROCESS_STOP_, specifying the ABEND variant and the
text “Premature takeover.”
Recovery. If the takeover occurred because of faulty program logic, correct the
program’s logic. If the takeover occurred for other reasons, such as a hardware failure,
you might want to rerun the program. Do not rerun the program if doing so will
duplicate operations already performed, such as updating a database a second time.
15
Cause. A list of checkpoint item descriptors that the CRE maintains for fault-tolerant
processes was invalid.
Effect. The CRE terminates the program.
Recovery. The list of items to checkpoint is maintained in the program’s address
space. Check the program’s logic. The program might have overwritten the checkpoint
list. Use a symbolic debugger to help isolate the problem.
MCB pointer corrupt
Premature takeover
Checkpoint list inconsistent