ABORTS - abort messages given by C programs.

Description:

C programs loaded to run in batch may be aborted for various reasons,1 just like other GCOS batch programs. In addition, the C library may abort the program with the following codes:

User's 0K MME Gebort
The program was unable to obtain more memory from GCOS to satisfy a call to malloc (or to other memory allocators).
User's NS MME Gebort
A stack overflow has occurred, or the stack has been destroyed by an erroneous assignment.
User's NG MME Gebort
The library was unable to write the abort file to file code PM after an abnormal termination.
User's 0B MME Gebort
The user program called the "abort" function.

Abort files:

If a fault occurs in a program under TSS, the system writes a sequential file called "abrt" into the AFT. In Batch, the library will attempt to write an abort file to file code PM. This file should be a sequential permanent file. The library requires an extra 1K of memory to do this, and must get wrapup; therefore, the file is not always written successfully.

Either of these files may be examined with your favorite post-mortem debugger.

Copyright © 1996, Bull HN and Thinkage Ltd.