Wind River Support Network

HomeDefectsLIN8-9005
Fixed

LIN8-9005 : openjre-8-72b05 fails in RCPL0025

Created: Apr 11, 2018    Updated: Dec 3, 2018
Resolved Date: May 9, 2018
Found In Version: 8.0.0.25
Fix Version: 8.0.0.26
Severity: Severe
Applicable for: Wind River Linux 8
Component/s: Userspace

Description

Between RCPL0024 and RCPL0025 JVM there is a change preventing the JVM to work.

root@qemu2:~# java
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (os_linux_zero.cpp:254), pid=334, tid=3086115952
#  fatal error: caught unhandled signal 11
#
# JRE version:  (8.0) (build )
# Java VM: OpenJDK Zero VM (25.66-b00 interpreted mode linux-ppc )
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /root/hs_err_pid334.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp

Workaround

$cd layers/meta-java
$git reset --hard aac1da4400f515a2fd711fa8e55aa6d6974e3d13
$cd ../..
$make -C build openjdk-8.distclean;make -C build openjre-8.distclean
$make fs

JVM will work again

Steps to Reproduce

1) Create a project 

$installDir/wrlinux-8/wrlinux/configure --with-layer=meta-java,common,common-downloads --enable-board=qemuppc --enable-kernel=standard --enable-rootfs=glibc-small --enable-reconfig=yes --enable-bootimage=cpio.gz.u-boot --enable-rm-oldimgs=yes --enable-internet-download=yes --with-template=feature/jre8 --with-rcpl-version=0025

2) Try to run java, it will fail:
# java

Other Downloads


Live chat
Online