Segmentation fault encountered while re-platforming Gen application from AIX to Linux. The Gen 8.6 client/server code runs fine but encountered the Segmentation fault when running batch code. An XI Batch environment is used for the batch programs but when tested from command line the Segmentation fault can be seen:
# ./LMB1
Segmentation fault (core dumped)
Release : 8.63
Steps to follow:
1. Check to see if ulimit is set large enough for a core file to be created.
2. Send the stack trace from running the core file through a debugger, see Gen Linux segmentation fault stack trace and log file .
3. Send the log file, lg-<executable>-<pid>.log file.
In the log file, the application.ini file was identified as being large. The recommendation is to decrease the size by specifying only the one DTU where the application sends trace information. The application.ini file had many commented-out combinations as could be seen in the log file. This correction resolved the Segmentation fault issue.