Bug 1379061

Summary: java-1.8.0-openjdk-aarch32: crash to compile scala stuff
Product: [Fedora] Fedora Reporter: gil cattaneo <puntogil>
Component: java-1.8.0-openjdk-aarch32Assignee: Chris Phillips @ TO <chphilli>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ahughes, akashche, alex.kasko.mail, dbhole, jerboaa, jvanek, mizdebsk, msrb, omajid
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: java-1.8.0-openjdk-aarch32-1.8.0.102-6.160812.fc25 java-1.8.0-openjdk-aarch32-1.8.0.102-6.160812.fc24 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-12 18:59:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1381342    
Attachments:
Description Flags
scala snippet that causes crash
none
stdout output
none
crash log none

Description gil cattaneo 2016-09-24 13:16:05 UTC
Description of problem:
[INFO] ------------------------------------------------------------------------
[INFO] Building Querydsl - Scala support 4.0.4
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (compile) @ querydsl-scala ---
[WARNING] Parameter tasks is deprecated, use target instead
[INFO] Executing tasks
main:
    [mkdir] Created dir: /builddir/build/BUILD/querydsl-QUERYDSL_4_0_4/querydsl-scala/target/classes
   [scalac] Compiling 17 scala and 1 java source files to /builddir/build/BUILD/querydsl-QUERYDSL_4_0_4/querydsl-scala/target/classes
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (assembler_aarch32.hpp:215), pid=27932, tid=0xb5198470
#  guarantee(val < (1U << nbits)) failed: Field too big for insn
#
# JRE version: OpenJDK Runtime Environment (8.0_102) (build 1.8.0_102-160812)
# Java VM: OpenJDK Client VM (25.102-b160812 mixed mode linux-aarch32 )
# Core dump written. Default location: /builddir/build/BUILD/querydsl-QUERYDSL_4_0_4/core or core.27932
#
# An error report file with more information is saved as:
# /builddir/build/BUILD/querydsl-QUERYDSL_4_0_4/hs_err_pid27932.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

Version-Release number of selected component (if applicable):
java-1.8.0-openjdk-aarch32  armv7hl 1:1.8.0.102-7.160812.fc26


How reproducible:
Always

Comment 1 gil cattaneo 2016-09-27 12:57:57 UTC
another failure: https://apps.fedoraproject.org/koschei/package/typesafe-config?collection=f26 (use sbt)

Comment 2 Severin Gehwolf 2016-09-29 08:24:21 UTC
This isn't the Zero JVM built for armv7hl, resetting component.

Comment 3 Severin Gehwolf 2016-09-29 08:25:00 UTC
*** Bug 1380261 has been marked as a duplicate of this bug. ***

Comment 4 Alex Kashchenko 2016-09-30 19:16:12 UTC
Created attachment 1206350 [details]
scala snippet that causes crash

Comment 5 Alex Kashchenko 2016-09-30 19:17:27 UTC
Created attachment 1206351 [details]
stdout output

Comment 6 Alex Kashchenko 2016-09-30 19:18:52 UTC
Created attachment 1206352 [details]
crash log

Comment 7 Alex Kashchenko 2016-09-30 19:26:23 UTC
To reproduce, download Scala 2.10.4 ( http://www.scala-lang.org/download/2.10.4.html ) and run the attached code snippet ( https://bugzilla.redhat.com/attachment.cgi?id=1206350 ):

./scala-2.10.4/bin/scala Crash1379061.scala

Comment 9 Chris Phillips @ TO 2016-10-04 15:05:41 UTC
Fix is in upstream:

Changeset: 51039f5f10ba
Author:    snazarki
Date:      2016-10-04 13:21 +0300
URL:       http://hg.openjdk.java.net/aarch32-port/jdk8u/hotspot/rev/51039f5f10ba

8167027: Scala HelloWord crash
Reviewed-by: enevill

! src/cpu/aarch32/vm/macroAssembler_aarch32.cpp

Comment 10 Fedora Update System 2016-10-05 01:54:27 UTC
java-1.8.0-openjdk-aarch32-1.8.0.102-6.160812.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-7a51d27f55

Comment 11 Fedora Update System 2016-10-05 02:26:12 UTC
java-1.8.0-openjdk-aarch32-1.8.0.102-6.160812.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-e81949ac7d

Comment 12 Fedora Update System 2016-10-12 18:59:10 UTC
java-1.8.0-openjdk-aarch32-1.8.0.102-6.160812.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2016-10-12 23:22:52 UTC
java-1.8.0-openjdk-aarch32-1.8.0.102-6.160812.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.