Bug 2005829

Summary: SIGILL when building jpype on z13
Product: [Fedora] Fedora Reporter: Dan Horák <dan>
Component: java-11-openjdkAssignee: jiri vanek <jvanek>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: ahughes, ashundi, jerboaa, jvanek, mageia-java, mhroncok, projects.rg
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-11 09:02:59 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 467765, 1899449, 2049705    
Attachments:
Description Flags
error log none

Description Dan Horák 2021-09-20 09:45:52 UTC
Created attachment 1824579 [details]
error log

Description of problem:
A build of jpype package fails with a SIGILL emitted by openjdk when the build runs on a z13 machine. There is no problem when the builder is z14, I haven't tried a z15 yet.


Version-Release number of selected component (if applicable):
java-11-openjdk-11.0.12.0.7-7.fc36.s390x.rpm

How reproducible:
100%


Steps to Reproduce:
1. wget https://kojipkgs.fedoraproject.org//work/tasks/2578/75732578/jpype-1.3.0-1.fc36.src.rpm (update not yet committed into the jpype package)
2. extract source and spec
3. fedpkg mockbuild

Actual results:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGILL (0x4) at pc=0x0000050f000003e9 (sent by kill), pid=1295, tid=1295
#
# JRE version: OpenJDK Runtime Environment 18.9 (11.0.12+7) (build 11.0.12+7)
# Java VM: OpenJDK 64-Bit Server VM 18.9 (11.0.12+7, mixed mode, tiered, compressed oops, g1 gc, linux-s390x)
# Problematic frame:
# C  [libc.so.6+0x9ee50]  __pthread_kill_internal+0xd0
#
...


Expected results:
no crash

Additional info:
in the attached hs_err log

koji scratch build = https://koji.fedoraproject.org/koji/taskinfo?taskID=75732616

Comment 1 Dan Horák 2021-09-20 11:44:18 UTC
hmm, after downgrading glibc from glibc-2.34.9000-8.fc36.s390x to glibc-2.34-1.fc35.s390x, the build runs fine on z13 machine. This would point to glibc as the culprit.

Comment 2 Dan Horák 2021-09-20 14:14:08 UTC
or maybe not, for whatever reason, I can't reproduce the crash locally any more, but I am still getting the crash in scratch builds consistently in koji ...

Comment 3 Raphael Groner 2021-09-20 18:48:43 UTC
Please retry with https://bodhi.fedoraproject.org/updates/FEDORA-2021-c7cc4c3cda and reenable execution of tests for s390x.

Comment 4 Ben Cotton 2022-02-08 20:19:29 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 5 Raphael Groner 2022-03-08 21:49:59 UTC
ping? any news?

Comment 6 Dan Horák 2022-03-10 10:09:02 UTC
seems jpype 1.3.0 builds OK on s390x in koji, for the record all builders are now z15, not z13

Comment 7 Raphael Groner 2022-03-10 16:12:25 UTC
Thanks for verification. Can this bug get closed then? As we've this as blocker for FTBFS in rz2049705.

Comment 8 Raphael Groner 2022-03-10 16:13:05 UTC
As blocker in bz2049705.