Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1712370
Summary: | [F30] java-1.8.0-openjdk SEGVs on i686 in G1 code due to a race condition | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Severin Gehwolf <sgehwolf> | ||||||
Component: | java-1.8.0-openjdk | Assignee: | Severin Gehwolf <sgehwolf> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 30 | CC: | ahughes, dbhole, extras-qa, jerboaa, jvanek, msrb, mvala, omajid | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i686 | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | java-1.8.0-openjdk-1.8.0.222.b10-0.fc30 java-1.8.0-openjdk-1.8.0.222.b10-0.fc29 | Doc Type: | If docs needed, set a value | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | 1683095 | Environment: | |||||||
Last Closed: | 2019-08-11 01:12:34 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Severin Gehwolf
2019-05-21 11:53:18 UTC
# cat reproducer_jdk8.sh #!/bin/bash JDK=/usr/lib/jvm/java-1.8.0-openjdk GC_BASHER_CLASSES=/gc-basher-classes-jdk8 for i in $(seq 50); do ${JDK}/bin/java \ -cp $GC_BASHER_CLASSES \ -Xmx256m \ -XX:+UseG1GC TestGCBasherWithG1 120000 retval=$? echo "iteration $i" if [ $retval -ne 0 ]; then exit $retval fi done exit $retval <mock-chroot> sh-5.0# bash reproducer_jdk8.sh iteration 1 iteration 2 iteration 3 iteration 4 iteration 5 iteration 6 iteration 7 iteration 8 iteration 9 iteration 10 iteration 11 iteration 12 iteration 13 iteration 14 iteration 15 iteration 16 iteration 17 # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0xf71b79e6, pid=850, tid=0xe66ffb40 # # JRE version: OpenJDK Runtime Environment (8.0_212-b04) (build 1.8.0_212-b04) # Java VM: OpenJDK Server VM (25.212-b04 mixed mode linux-x86 ) # Problematic frame: # V [libjvm.so+0x4349e6] G1BlockOffsetArrayContigSpace::block_start_unsafe(void const*)+0x76 # # 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: # //hs_err_pid850.log # # If you would like to submit a bug report, please visit: # http://bugreport.java.com/bugreport/crash.jsp # reproducer_jdk8.sh: line 9: 850 Aborted (core dumped) ${JDK}/bin/java -cp $GC_BASHER_CLASSES -Xmx256m -XX:+UseG1GC TestGCBasherWithG1 120000 iteration 18 Created attachment 1571596 [details]
hs_err file produced with JDK 8u212-b04 and reproducer_jdk8.sh
Created attachment 1571597 [details]
JDK 8u compatible patch for TestGCBasher in openjdk-11 sources
Apply this patch to JDK 11 sources of gcbasher in test/hotspot/jtreg/gc/stress/gcbasher of jdk-updates/jdk11u, revision e321dd1f202a (tag jdk-11.0.4+3). Then compile basher sources with JDK 8u and you should be able to run the JDK 8 reproducer.
Root cause of this problem is JDK-8225716 OpenJDK version 8u222-b07 (an EA tag) or better will have the root cause fixed. FEDORA-2019-3854a1727e has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-3854a1727e FEDORA-2019-146b81efba has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-146b81efba java-1.8.0-openjdk-1.8.0.222.b10-0.fc30 has been pushed to the Fedora 30 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-2019-146b81efba java-1.8.0-openjdk-1.8.0.222.b10-0.fc29 has been pushed to the Fedora 29 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-2019-3854a1727e java-1.8.0-openjdk-1.8.0.222.b10-0.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report. java-1.8.0-openjdk-1.8.0.222.b10-0.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report. |