Bug 2051302

Summary: x86_32 build fails when JIT is enabled [openjdk-8]
Product: [Fedora] Fedora Reporter: Andrew John Hughes <ahughes>
Component: java-1.8.0-openjdkAssignee: jiri vanek <jvanek>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: ahughes, dbhole, jerboaa, jvanek, msrb, mvala
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: java-1.8.0-openjdk-1.8.0.322.b04-0.2.ea.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-25 19:29:11 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:

Description Andrew John Hughes 2022-02-07 00:46:20 UTC
Build fails sporadically in Nimbus file generation either with:

Exception in thread "main" java.lang.ArithmeticException: / by zero
	at sun.misc.FloatingDecimal$BinaryToASCIIBuffer.dtoa(FloatingDecimal.java:684)
	at sun.misc.FloatingDecimal$BinaryToASCIIBuffer.access$100(FloatingDecimal.java:259)
	at sun.misc.FloatingDecimal.getBinaryToASCIIConverter(FloatingDecimal.java:1785)
	at sun.misc.FloatingDecimal.getBinaryToASCIIConverter(FloatingDecimal.java:1738)
	at sun.misc.FloatingDecimal.appendTo(FloatingDecimal.java:89)
	at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:736)
	at java.lang.StringBuilder.append(StringBuilder.java:226)
	at build.tools.generatenimbus.PainterGenerator.writeDecodeBezierX(PainterGenerator.java:419)
	at build.tools.generatenimbus.PainterGenerator.generate(PainterGenerator.java:286)
	at build.tools.generatenimbus.PainterGenerator.generate(PainterGenerator.java:125)
	at build.tools.generatenimbus.PainterGenerator.<init>(PainterGenerator.java:118)
	at build.tools.generatenimbus.PainterGenerator.writePainter(PainterGenerator.java:612)
	at build.tools.generatenimbus.UIRegion.write(UIRegion.java:174)
	at build.tools.generatenimbus.UIRegion.write(UIRegion.java:197)
	at build.tools.generatenimbus.SynthModel.write(SynthModel.java:74)
	at build.tools.generatenimbus.Generator.generate(Generator.java:206)
	at build.tools.generatenimbus.Generator.main(Generator.java:112)

or:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xe7ad5f47, pid=739865, tid=0xf681dac0
#
# JRE version: OpenJDK Runtime Environment (8.0_322-b04) (build 1.8.0_322-ea-b04)
# Java VM: OpenJDK Server VM (25.322-b04 mixed mode linux-x86 )
# Problematic frame:
# J 1143 C2 sun.misc.FloatingDecimal$BinaryToASCIIBuffer.dtoa(IJIZ)V (1509 bytes) @ 0xe7ad5f47 [0xe7ad58c0+0x687]

e.g. https://koji.fedoraproject.org/koji/taskinfo?taskID=82266041

x86_32 build has been switched to Zero to unblock the build while this bug is resolved. See https://src.fedoraproject.org/rpms/java-1.8.0-openjdk/pull-request/151 and https://bugzilla.redhat.com/show_bug.cgi?id=2045726

Comment 1 Fedora Update System 2022-02-07 07:53:23 UTC
FEDORA-2022-8a2e133345 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-8a2e133345

Comment 2 Fedora Update System 2022-02-07 07:56:57 UTC
FEDORA-2022-8a2e133345 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

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

Comment 4 Ben Cotton 2023-04-25 18:23:39 UTC
This message is a reminder that Fedora Linux 36 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '36'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 36 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 5 Fedora Admin user for bugzilla script actions 2023-04-26 00:13:18 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 6 Fedora Admin user for bugzilla script actions 2023-05-24 12:04:42 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 7 Ludek Smid 2023-05-25 19:29:11 UTC
Fedora Linux 36 entered end-of-life (EOL) status on 2023-05-16.

Fedora Linux 36 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.