JDK-8213449 : Eclipse gets SIGSEGV in ciObjectFactory::create_new_metadata
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 8u121
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86_64
  • Submitted: 2018-11-06
  • Updated: 2018-11-07
  • Resolved: 2018-11-07
Related Reports
Duplicate :  
Description
ADDITIONAL SYSTEM INFORMATION :
Linux 4.4.130-1.el7.elrepo.x86_64 #1 SMP Sun Apr 29 09:01:23 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux

openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-b13)
OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)

A DESCRIPTION OF THE PROBLEM :
starting eclipse on the command line gave a segmentation fault

ERROR MESSAGES/STACK TRACES THAT OCCUR :
#                                                                                                                                                                                                                                                                                         
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f43688e2b47, pid=19572, tid=0x00007f4300551700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_121-b13) (build 1.8.0_121-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.121-b13 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x438b47]  ciObjectFactory::create_new_metadata(Metadata*)+0x327
#
# Core dump written. Default location: /home/jlinahan/core or core.19572
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

---------------  T H R E A D  ---------------

Current thread (0x00007f4364225000):  JavaThread "C1 CompilerThread3" daemon [_thread_in_vm, id=19603, stack(0x00007f4300452000,0x00007f4300552000)]

siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000000008

Registers:
RAX=0x0000000000000000, RBX=0x000000000000000a, RCX=0x00007f436a39f300, RDX=0x00007f4300551a20
RSP=0x00007f430054fc80, RBP=0x00007f430054fcf0, RSI=0x0000000000000001, RDI=0x0000000100001460
R8 =0x00007f42d4007b90, R9 =0x0000000000000159, R10=0x0000000000000002, R11=0x00007f4369b2eea0
R12=0x0000000100001460, R13=0x00007f42d4000a40, R14=0x00007f4364225000, R15=0x00007f42d4000a40
RIP=0x00007f43688e2b47, EFLAGS=0x0000000000010202, CSGSFS=0x0000000000000033, ERR=0x0000000000000004
  TRAPNO=0x000000000000000e

Top of Stack: (sp=0x00007f430054fc80)
0x00007f430054fc80:   00007f42d4007900 00007f43694341a0
0x00007f430054fc90:   00007f430054fd50 00007f4300ff8f30
0x00007f430054fca0:   00007f430054fd20 00007f43688d0dae
0x00007f430054fcb0:   00007f430054fd40 00007f4300550a50
0x00007f430054fcc0:   00007f43641be5d0 000000000000000a
0x00007f430054fcd0:   0000000100001460 00007f42d4000a40
0x00007f430054fce0:   0000000000000077 00007f43641c0080
0x00007f430054fcf0:   00007f430054fd30 00007f43688e2f75
0x00007f430054fd00:   00007f430054fd20 0000000000000003
0x00007f430054fd10:   0000000100001460 0000000000000003
0x00007f430054fd20:   0000000000000001 00007f42cc48fcc0
0x00007f430054fd30:   00007f430054fd70 00007f43688dda3e
0x00007f430054fd40:   00007f42cc48fcb0 00007f42cc48fcb0
0x00007f430054fd50:   0000000000000000 00007f42cc48fcc0
0x00007f430054fd60:   00007f42d4007a20 00007f43011dfea0
0x00007f430054fd70:   00007f430054fde0 00007f43688dcfaf
0x00007f430054fd80:   00007f43011dffa0 00007f42cc48ca00
0x00007f430054fd90:   00007f42cc48fc90 00007f42cc4949e8
0x00007f430054fda0:   00007f4364225910 0000000000010388
0x00007f430054fdb0:   00000000cec00398 00007f43011dfea0
0x00007f430054fdc0:   00007f430054fe40 00007f42d4007900
0x00007f430054fdd0:   00007f4364225000 00007f43694341a0
0x00007f430054fde0:   00007f430054fe30 00007f43688cf5f7
0x00007f430054fdf0:   0000000000000035 00007f42bc16c9d8
0x00007f430054fe00:   00007f430054fe90 00007f4300ffc618
0x00007f430054fe10:   00007f42d4007900 00007f43694341a0
0x00007f430054fe20:   00007f430054fe80 0000000000000000
0x00007f430054fe30:   00007f430054feb0 00007f43688d0847
0x00007f430054fe40:   00007f4300ffc618 00007f4364225000
0x00007f430054fe50:   00007f430054fe90 00007f43688d52c7
0x00007f430054fe60:   00007f4300ffc618 00007f4364225000
0x00007f430054fe70:   00007f4364225000 00007f43688d356d 

Instructions: (pc=0x00007f43688e2b47)
0x00007f43688e2b27:   83 c6 08 39 c7 7c e2 44 8d 48 ff 45 89 08 e9 7b
0x00007f43688e2b37:   fd ff ff 66 0f 1f 44 00 00 49 8b 04 24 4c 89 e7
0x00007f43688e2b47:   ff 50 08 84 c0 0f 84 05 fd ff ff 41 8b 44 24 08
0x00007f43688e2b57:   85 c0 0f 8e f8 fc ff ff 41 f6 84 24 0e 01 00 00 

Register to memory mapping:

RAX=0x0000000000000000 is an unknown value
RBX=0x000000000000000a is an unknown value
hs_err_pid19572.log                                                                                                                                                                                                                                                     1,1            Top
                                                                                                                                                                                                                                                                                   


REGRESSION : Last worked in version 8u181

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
start eclipse on command line

ACTUAL -
eclipse crashes with output in terminal:

Using libpython2.7.so from /home/jlinahan/awips2/ADE-17.3/python
warning: cannot find Ant environment
Assuming NetCDF is available in /usr
org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback.configuration bundle was activated before the state location was initialized.  Will retry after the state location is initialized.
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f43688e2b47, pid=19572, tid=0x00007f4300551700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_121-b13) (build 1.8.0_121-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.121-b13 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x438b47]  ciObjectFactory::create_new_metadata(Metadata*)+0x327
#
# Core dump written. Default location: /home/jlinahan/core or core.19572
#
# An error report file with more information is saved as:
# /home/jlinahan/hs_err_pid19572.log

[error occurred during error reporting , id 0xb]

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



FREQUENCY : always



Comments
Issue is reported against 8u121. This issue could be duplicate of JDK-8134389, please verify against latest version [1] If the issue is still reproducible, kindly share the reproducible test case. We will reopen this issue. [1] https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
07-11-2018