Skip to content

Segfault running pmd with GenCopy plan #553

@KipHamiltons

Description

@KipHamiltons

This crash happens even with larger metaspace size. Tested with slowdebug and release - both have segfault crash. It's been consistent for me.

This does not segfault on stable dacapo. It happens with both dacapo-evaluation-git-29a657f and dacapo-evaluation-git-f480064 though.

Running pmd with standard openjdk without passing it any flags does not have the issue.

mmtk-openjdk commit: 86368b2

The command and output are:
./build/linux-x86_64-normal-server-$DEBUG_LEVEL/jdk/bin/java -XX:MetaspaceSize=5000M -jar /usr/share/benchmarks/dacapo/dacapo-evaluation-git-f480064.jar -t 12

--------------------------------------------------------------------------------
IMPORTANT NOTICE:  This is NOT a release build of the DaCapo suite.
Since it is not an official release of the DaCapo suite, care must be taken when
using the suite, and any use of the build must be sure to note that it is not an
offical release, and should note the relevant git hash.

Feedback is greatly appreciated.   The preferred mode of feedback is via github.
Please use our github page to create an issue or a pull request.
    https://github.com/dacapobench/dacapobench.
--------------------------------------------------------------------------------

===== DaCapo evaluation-git-f480064 pmd starting =====
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f36ca16ed17, pid=24660, tid=24690
#
# JRE version: OpenJDK Runtime Environment (11.0.11) (build 11.0.11-internal+0-adhoc.kiph.openjdk)
# Java VM: OpenJDK 64-Bit Server VM (11.0.11-internal+0-adhoc.kiph.openjdk, mixed mode, tiered, third-party gc, linux-amd64)
# Problematic frame:
# C  [libmmtk_openjdk.so+0xb3d17]  mmtk::plan::generational::global::Gen$LT$VM$GT$::trace_object_full_heap::h86399f868c3d6108+0x97
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to /home/kiph/mmtk/mmtk-openjdk/repos/openjdk/core.24660)
#
# An error report file with more information is saved as:
# /home/kiph/mmtk/mmtk-openjdk/repos/openjdk/hs_err_pid24660.log
#
# If you would like to submit a bug report, please visit:
#   https://bugreport.java.com/bugreport/crash.jsp
#
./all_bms.sh: line 12: 24660 Aborted                 (core dumped) ./build/linux-x86_64-normal-server-$DEBUG_LEVEL/jdk/bin/java -XX:+UseThirdPartyHeap -XX:MetaspaceSize=5000M -Xms512M -Xmx512M -jar /usr/share/benchmarks/dacapo/dacapo-evaluation-git-f480064.jar -t 12 pmd

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: Bugclient:openjdkUse issue tracker in the mmtk-openjdk repo instead.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions