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
> packages.
>
> The broken update landed in rawhide with the
> Fedora-Rawhide-20200313.n.0 compose:
> java-1.8.0-openjdk-1:1.8.0.242.b06-0.0.ea.fc32 ->
> java-1.8.0-openjdk-1:1.8.0.242.b08-0.fc33
>
> 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
> related).
>
> koschei started complaining about a whole lot of Java packages since
> the update landed:
>
>
https://koschei.fedoraproject.org/affected-by/java-1.8.0-openjdk-headless...
>
> 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:
>
https://bodhi.fedoraproject.org/updates/FEDORA-2020-af190951f6
>
> I've reported this issue here:
>
https://bugzilla.redhat.com/show_bug.cgi?id=1813550
>
> Does somebody have experience with debugging the JVM? Please help :D
>
> Fabio
>
(snip)
The OpenJDK package itself is no different to the one that's been
in
earlier versions of Fedora since January [0] [1]. 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 [2], 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
in updates-testing.
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).
Fabio
> [0]
https://koji.fedoraproject.org/koji/buildinfo?buildID=1435761
> [1]
https://koji.fedoraproject.org/koji/buildinfo?buildID=1435767
> [2]
https://bugzilla.redhat.com/show_bug.cgi?id=1795268
>
> Thanks,
> --
> 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
>