Diagnostics checks have been added to the Standalone Multi-User (FPUTFGET) library to help track down incorrect header values in the even that a data file is writing unexpected values to the header. The checks are controlled by setting the following environment variables before running a process that uses the Standalone Multi-User library.
setenv FAIRCOM_PROCESS_DUMP_TYPE stack
On Unix systems, the library uses the pstack utility to create the stack dump. The stack dump is written to the file pstack_<seqnum>.<pid>.txt, where <seqnum> is a sequential number that the library increments on each stack dump creation (starting with the value 1), and <pid> is the process ID of the process.
On Windows systems, the library uses the procdump utility to create a minidump. The minidump is written to the file procdump_stack_<seqnum>.<pid>.dmp, where <seqnum> is a sequential number that the library increments on each stack dump creation (starting with the value 1), and <pid> is the process ID of the process.
setenv FAIRCOM_PROCESS_DUMP_TYPE full
On Unix systems, the library uses the gcore utility to create the full process dump. The process dump is written to the file gcore_<seqnum>.<pid>, where <seqnum> is a sequential number that the library increments on each stack dump creation (starting with the value 1), and <pid> is the process ID of the process.
On Windows systems, the library uses the procdump utility to create a full dump. The full dump is written to the file procdump_full_<seqnum>.<pid>.dmp, where <seqnum> is a sequential number that the library increments on each stack dump creation (starting with the value 1), and <pid> is the process ID of the process.
NOTE: If you have enabled process dump creation, be sure to install the required utility for your system (pstack, gcore, or procdump).