On Mon, Mar 16, 2020 at 4:18 AM Andrew Hughes <gnu.andrew(a)redhat.com> wrote:
On 15/03/2020 14:02, Fabio Valentini wrote:
> Hi everybody,
> The latest java-1.8.0-openjdk update for rawhide (the first build with
> GCC 10) seems to have introduced some serious problems - including
> crashes and segmentation faults during package builds for Java
> The broken update landed in rawhide with the
> Fedora-Rawhide-20200313.n.0 compose:
> java-1.8.0-openjdk-1:22.214.171.124.b06-0.0.ea.fc32 ->
> I haven't been able to reproduce the crashes reliably, so I assume
> it's something that's either randomly triggered, or dependent on the
> specific hardware / architecture (but this seems to affect at least
> x86_64, i686, and aarch64, so I'm not so sure it's architecture
> koschei started complaining about a whole lot of Java packages since
> the update landed:
> The same java-1.8.0-openjdk update has also landed in f32
> updates-testing, but I haven't been able to reproduce any crashes with
> that version (so far), so I'm not sure if this is also affecting the
> f32 update, or if it's isolated to rawhide.
> Here's the - seemingly unaffected - f32 update for the same version:
> I've reported this issue here:
> Does somebody have experience with debugging the JVM? Please help :D
The OpenJDK package itself is no different to the one that's been
earlier versions of Fedora since January  . I believe GCC 10 is
the issue here.
I belive so.
It has taken a significant effort to even get java-1.8.0-openjdk to
build with GCC 10 , mainly by turning off a number of optimisations,
and a backlog of changes has built up. We really need to be getting
these packages updated for the next security update this time next month.
Do you know if F32 & rawhide are using the same GCC?
fedora 32 and rawhide have the same version of GCC (10.0.1).
rawhide is at: gcc-10.0.1-0.9.fc33
fedora 32 has gcc-10.0.1-0.8.fc32 in stable, and gcc-10.0.1-0.9.fc32
I've now been able to reproduce JVM crashes with the
java-1.8.0-openjdk build from fedora f32 updates-testing as well
(which is the first build of openjdk with GCC 10).
>  https://koji.fedoraproject.org/koji/buildinfo?buildID=1435761
>  https://koji.fedoraproject.org/koji/buildinfo?buildID=1435767
>  https://bugzilla.redhat.com/show_bug.cgi?id=1795268
> Andrew :)
> Senior Free Java Software Engineer
> Red Hat, Inc. (http://www.redhat.com
> PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net
> Fingerprint = 5132 579D D154 0ED2 3E04 C5A0 CFDA 0F9B 3596 4222