C/C++ Programmer's Guide (G06.27+, H06.03+)

Table Of Contents
HP C/C++ Programmer’s Guide for NonStop Systems429301-010
22-1
22 Run-Time Messages
Trap and Signal Messages (messages 1-10)
CRE Service Function Messages on page 22-3 (messages 11-29)
Heap-Management Messages on page 22-9 (message 30-39)
Function Parameter Message on page 22-12 (message 40)
Math Function Messages on page 22-12 (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 details on the error messages and the CRE, see 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. For additional detail, see the
language-specific manuals for the routines in your program for additional detail. The
Guardian Programmers 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