IBM Support

IV76132: JVM FAILS TO RENAME CORE DUMP FROM CHILD PROCESS IF %T IS SPECIFIED IN CORE_PATTERN

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: JVMDUMP012E Error in System dump: Unable to
    derive system core filename from pattern in
    /proc/sys/kernel/core_pattern: "core.%p.%t". "%t" specifier is
    not supported. Look for core file generated by child process
    with pid = 4552
    .
    Stack Trace: N/A
    .
    The JVM produces system dumps on Linux by using the fork() API
    to start an identical process to the parent JVM process. The JVM
    then generates a signal in the child process which triggers the
    Linux OS to create a system dump for the child process. The
    parent JVM processes and renames the system dump, as required,
    by the -Xdump options. If the %t specifier is used in the
    proc/sys/kernel/core_pattern setting, the system dump is written
    successfully, but the dump is not renamed by the JVM. The dump
    filename is the OS name (typically core.<pid>) instead of the
    filename specified in the JVM -Xdump settings.
    

Local fix

  • Workarounds for the issue are either to modify
    /proc/sys/kernel/core_pattern to remove the %t specifier, or to
    locate the core dump using its OS filename instead of the
    filename specified in the JVM -Xdump settings.
    

Problem summary

  • The problem is caused when the JVM is unable to locate the core
    dump produced by the child process.
    

Problem conclusion

  • The JVM has been updated to locate and rename the core dump.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR2       (8.0.2.0)
       7 R1 SR3 FP20  (7.1.3.20)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV76132

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-08-18

  • Closed date

    2015-08-18

  • Last modified date

    2017-03-09

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    J9 COMMON CODE

  • Fixed component ID

    620700127

Applicable component levels

  • R270 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
21 February 2022