A gdb warning noting "expected core file size" shows when trying to obtain a stack dump from a CA Spectrum SpectroSERVER core file.

book

Article ID: 19329

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

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.

Environment

Release:
Component:

Resolution

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.

Additional Information

Reference the "SpectroSERVER Known Anomalies" section of the documentation for more information.