Segmentation fault in JVM_LookupLambdaProxyClassFromArchive

Aleksey Shipilev shipilev at amazon.de
Wed Aug 7 09:40:59 UTC 2024


Hi,

On 07.08.24 11:22, Alexey Genus wrote:
> Based on my observations, the segmentation fault was introduced in
> version 22.0.2, as version 22.0.1 works fine. It also works fine on my
> M1 Mac, but fails on linux amd64.

Yes, it can be a CDS bug. But I also see Continuations on the failure stack, so it might be 
Loom-related? I see a couple of CDS- and Loom-related changes here:
   https://builds.shipilev.net/backports-monitor/release-notes-22.0.2.html

> The hs_err log file is uploaded here
> https://gist.github.com/genuss/e2afaef603332298ea1666c7014c1ca8

The si_addr for the crash is weird:
   siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x00007fcaf7fe56cc

...as it does not relate to any mapping.

I think these would be good next steps:
  1. This happened on Alpine, does the issue reproduce on other Linux-es?
  2. Are you able to build the JDK from source? Can you bisect between jdk-22.0.1-ga and 
jdk-22.0.2-ga tags from this repo: https://github.com/openjdk/jdk22u/tags ?
  3. Otherwise, can you try with fastdebug binaries? You can use one from here, if this is 
convenient: https://builds.shipilev.net/openjdk-jdk22/

-Aleksey



Amazon Web Services Development Center Germany GmbH
Krausenstr. 38
10117 Berlin
Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss
Eingetragen am Amtsgericht Charlottenburg unter HRB 257764 B
Sitz: Berlin
Ust-ID: DE 365 538 597


More information about the hotspot-runtime-dev mailing list