When using gdb to obtain a stack trace from a core dump file, the stack trace does not generate properly and a similar message is seen in the gdb output:
Warning: /usr/spectrum/SS/core.12516 is truncated: expected core file size >= 35057664, found: 15433728.
When running on Red Hat Enterprise Linux any core dump that is generated when the SpectroSERVER crashes is truncated. Visit the following website for detailed information about the known defect that causes this issue: https://bugzilla.redhat.com/show_bug.cgi?id=759213
Make the following modifications to generate the core dump files without truncation.
1. Log into the server as "root".
2. Enter the following text into /etc/sysctl.conf:
# new core pattern (https://bugzilla.redhat.com/show_bug.cgi?id=759213)
kernel.core_pattern = core.%p
3. Execute the following command:
sysctl -p
If SpectroSERVER crashes, the crash details are logged completely in the core dump file. This core dump file is helpful for analyzing any issue underlying a crash.