<div dir="ltr"><div>Hello,</div><div><br></div><div>I stumbled upon another crash.</div><div><br></div><div><div style="background-color:rgb(255,255,255);color:rgb(8,8,8)"><pre style="font-family:"JetBrains Mono",monospace"><span style="font-family:arial,sans-serif"><font size="2">When:<br><span style="color:rgb(0,51,179)">* </span>running a Spring Boot app with <span style="color:rgb(0,109,204)"><a href="https://github.com/openjdk/leyden/tree/premain">https://github.com/openjdk/leyden/tree/premain</a><br></span><span style="color:rgb(0,51,179)">* </span>FlightRecorder was enabled for the aotconf creation<br><span style="color:rgb(0,51,179)">* </span>FlightRecorder was disabled for the aotcache creation<br><span style="color:rgb(0,51,179)">* </span>FlightRecorder is enabled for the production run<br>Then the app crashes with a segmentation fault.</font></span></pre></div>I wrote a reproducer <a href="https://github.com/obourgain/leyden-crash/tree/crash_jfr">https://github.com/obourgain/leyden-crash/tree/crash_jfr</a> (notice the branch crash_jfr).</div><div><br></div><div>Also, -XX:StartFlightRecording<span style="font-family:arial,sans-serif"><font size="2"> option for traning and production run are not the same, it prevents the use of the AOT cache.</font></span></div><br><div>Regards.</div></div>