Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8236656

java -version fails for alpine-glib container

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Won't Fix
    • Affects Version/s: 11.0.5, 14, 15
    • Fix Version/s: None
    • Component/s: hotspot
    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux

      Description

      ADDITIONAL SYSTEM INFORMATION :
      System: CentOS Linux release 7.6.1810 (Core)
      java package : jdk-11.0.5_linux-x64_bin.tar.gz


      A DESCRIPTION OF THE PROBLEM :
      use apline-glib latest docker container as base image, we installed jdk 11.0.5 in base image, when input "java -version" in command line ,error occured:
      Problematic frame:
      # C [libc.so.6+0x11dab1][thread 7 also had an error]

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      When input "java -version", result is :
      java version "11.0.5" 2019-10-15 LTS
      Java(TM) SE Runtime Environment 18.9 (build 11.0.5+10-LTS)
      Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.5+10-LTS, mixed mode)
      #
      [thread 29 also had an error]
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00007f7d4566eab1, pid=23, tid=28
      #
      # JRE version: Java(TM) SE Runtime Environment (11.0.5+10) (build 11.0.5+10-LTS)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (11.0.5+10-LTS, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
      # Problematic frame:
      # C [libc.so.6+0x11dab1]
      #
      # Core dump will be written. Default location: Core dumps may be processed with "/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t e %P %I %h" (or dumping to //core.23)
      #
      # An error report file with more information is saved as:
      # //hs_err_pid23.log
      [thread 38 also had an error]
      #[thread 26 also had an error]
      [thread 33 also had an error]
      [thread 30 also had an error]

      # If you would like to submit a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp
      #

      [error occurred during error reporting (), id 0xb, SIGSEGV (0xb) at pc=0x00007f7d44c885a5]
      [thread 24 also had an error]

      Aborted (core dumped)


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      make Dockerfile as follows:
      From frolvlad/alpine-glibc:latest
      RUN mkdir -p /usr/java/
      ADD jdk-11.0.5_linux-x64_bin.tar.gz /usr/java/
      ENV JAVA_HOME=/usr/java/jdk-11.0.5
      ENV PATH ${PATH}:${JAVA_HOME}/bin



        Attachments

          Activity

            People

            • Assignee:
              mikael Mikael Vidstedt
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: