Bug 2005829 - SIGILL when building jpype on z13
Summary: SIGILL when building jpype on z13
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: java-11-openjdk
Version: 36
Hardware: s390x
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: jiri vanek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ZedoraTracker 1899449 2049705
TreeView+ depends on / blocked
 
Reported: 2021-09-20 09:45 UTC by Dan Horák
Modified: 2022-03-11 09:02 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-03-11 09:02:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
error log (86.49 KB, text/plain)
2021-09-20 09:45 UTC, Dan Horák
no flags Details

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.


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