C/C++ Programmer's Guide (G06.25+)
HP C/C++ Programmer’s Guide for NonStop Systems—429301-008
22-1
22 Run-Time Messages
•
Trap and Signal Messages on page 22-1 (messages 1-10)
•
CRE Service Function Messages on page 22-4 (messages 11-29)
•
Heap-Management Messages on page 22-10 (message 30-39)
•
Function Parameter Message on page 22-13 (message 40)
•
Math Function Messages on page 22-13 (messages 41-49)
•
Function Parameter Messages on page 22-15 (messages 55-57)
•
Input/Output Messages on page 22-16 (messages 59-91)
•
Environment Messages on page 22-23 (messages 275-276)
This section presents the error messages that can occur during the execution of C and
C++ programs. The Common Run-Time Environment (CRE) emits these messages.
For more information on the error messages and the CRE, refer to the Common
Run-Time Environment (CRE) Programmer’s Guide.
Trap and Signal Messages
The TNS CRE reports the messages in this subsection if a trap occurs and your
program has neither disabled traps nor enabled its own trap handler. The native CRE
reports the messages in this subsection if a signal is raised and your program does not
have its own signal handler for the signal that was raised. The CRE or run-time library
terminates your program.
The CRE treats trap 4, arithmetic fault, as a program logic error, not a trap. If your
program has disabled overflow traps, the TNS CRE returns control to your run-time
library. The native CRE raises a SIGFPE signal instead. See the language-specific
manuals for the routines in your program for additional detail. The Guardian
Programmer’s Guide describes traps and signals.
1
The CRE trap processing function was called with an unknown trap number.
2
An address was specified that was not within either the virtual code area or the virtual
data area allocated to the process.
Unknown trap
Illegal address reference