Bug 1818078 - java segmentation faults in GCC10-built java-1.8.0-openjdk-aarch32
Summary: java segmentation faults in GCC10-built java-1.8.0-openjdk-aarch32
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: java-1.8.0-openjdk-aarch32
Version: 32
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Alex Kashchenko
QA Contact: Fedora Extras Quality Assurance
URL: https://bugs.openjdk.java.net/browse/...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-27 15:41 UTC by Mat Booth
Modified: 2020-04-06 00:16 UTC (History)
7 users (show)

Fixed In Version: java-1.8.0-openjdk-aarch32-1.8.0.242.b07-2.fc32
Clone Of:
Environment:
Last Closed: 2020-04-06 00:16:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
openjdk bug system JDK-8241296 0 None None None 2020-03-27 15:55:44 UTC

Description Mat Booth 2020-03-27 15:41:51 UTC
Same as bug 1813550 -- here's a copy of the comment I left there:


I beleive I am still seeing the seg fault in the java-1.8.0-openjdk-aarch32 package -- is there still an update pending?

For example as seen in this task: https://koji.fedoraproject.org/koji/taskinfo?taskID=42782568

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xb5582e7c, pid=19031, tid=0xa25e3460
#
# JRE version: OpenJDK Runtime Environment (8.0_242-b07) (build 1.8.0_242-b07)
# Java VM: OpenJDK Client VM (25.242-b07 mixed mode linux-aarch32 )
# Problematic frame:
# V  [libjvm.so+0x330e7c]  JNIHandleBlock::oops_do(OopClosure*)+0xa8
#
# Core dump written. Default location: /builddir/build/BUILD/netty-netty-4.1.13.Final/core or core.19031
#
# An error report file with more information is saved as:
# /builddir/build/BUILD/netty-netty-4.1.13.Final/hs_err_pid19031.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

Comment 1 Alex Kashchenko 2020-03-27 15:48:37 UTC
Will update aarch32 package ASAP.

Comment 2 Raphael Groner 2020-03-27 15:55:44 UTC
From IRC:

[27.03.20 16:40] <jerboaa> RaphGro, yes. this patch. needs to get added to aarch32 package: https://src.fedoraproject.org/rpms/java-1.8.0-openjdk/blob/master/f/jdk8241296-jnihandleblock_segfault.patch

[27.03.20 16:41] <jerboaa> https://bugs.openjdk.java.net/browse/JDK-8241296 suggests it's going to be in the 8u252 release this April. probably not worth the trouble :)

Comment 3 Mat Booth 2020-03-27 16:06:07 UTC
(In reply to Raphael Groner from comment #2)
> From IRC:
> 
> [27.03.20 16:40] <jerboaa> RaphGro, yes. this patch. needs to get added to
> aarch32 package:
> https://src.fedoraproject.org/rpms/java-1.8.0-openjdk/blob/master/f/
> jdk8241296-jnihandleblock_segfault.patch
> 
> [27.03.20 16:41] <jerboaa> https://bugs.openjdk.java.net/browse/JDK-8241296
> suggests it's going to be in the 8u252 release this April. probably not
> worth the trouble :)

So my choice is: Switch my packages back to building with the JIT (sloooooooow) or just not building my packages at all?

If you want to delay, let me know and I can back-port the patch myself.

Comment 4 Severin Gehwolf 2020-03-27 17:36:19 UTC
(In reply to Mat Booth from comment #3)
> (In reply to Raphael Groner from comment #2)
> > From IRC:
> > 
> > [27.03.20 16:40] <jerboaa> RaphGro, yes. this patch. needs to get added to
> > aarch32 package:
> > https://src.fedoraproject.org/rpms/java-1.8.0-openjdk/blob/master/f/
> > jdk8241296-jnihandleblock_segfault.patch
> > 
> > [27.03.20 16:41] <jerboaa> https://bugs.openjdk.java.net/browse/JDK-8241296
> > suggests it's going to be in the 8u252 release this April. probably not
> > worth the trouble :)
> 
> So my choice is: Switch my packages back to building with the JIT
> (sloooooooow) or just not building my packages at all?
> 
> If you want to delay, let me know and I can back-port the patch myself.

I believe Alex said he plans to fix the package ASAP :)

Comment 5 Alex Kashchenko 2020-03-27 22:25:38 UTC
Started test scratch build with the fix:

https://koji.fedoraproject.org/koji/taskinfo?taskID=42809386

Comment 6 Andrew John Hughes 2020-03-27 22:43:52 UTC
The fix is in 8u252 b08, the last public build promotion.

For rawhide. we'll start updating to these EA builds over the next few weeks. Ironically, GCC 10 is also the reason we are behind on this (we couldn't build for about one and a half months) and so can't just bump to the next upstream build.

The final version will be added to F32 after release in mid-April.

Comment 7 Fedora Update System 2020-03-28 11:49:32 UTC
FEDORA-2020-8f9a344a29 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-8f9a344a29

Comment 8 Fedora Update System 2020-03-29 01:42:04 UTC
FEDORA-2020-8f9a344a29 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-8f9a344a29`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-8f9a344a29

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2020-04-06 00:16:03 UTC
FEDORA-2020-8f9a344a29 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.