This article explains how to analyze intermittent Signal 115 errors when using Oracle.
Resolution:
Analysis of the core dump using dbx stack trace will indicate where the error is occuring. The steps taken to analyze the RTS 115 error using a core dump are as follows:
The default action of the COBOL RTS is to catch the signal and report a 115 error to highlight an unexpected signal. When the core_on_error=2 runtime tunable is set in cob.cfg file, then the RTS does not catch the signal and a core file is produced instead.
Create a cob.cfg file and enter:
set core_on_error=2
export COBCONFIG=$Home/cob.cfg
The core file is of no use without the original executable and all the shared objects it has loaded, so it must be analyzed on the same system and with the same environment variables under which the core file was produced. For example, if the application is compiled to gnts, and rtsora is used to execute the gnts,enter:
dbx 'which rtsora32' core.123
If the application is a linked executable and the core file is named core.123 enter:
dbx /mytestdir/myexename core.123
dbx 'which rtsora32' core.123
where
fd
map
thread
thread info
thread current 1; where
thread current 2; where
quit