[foreign-jextract] Segmentation fault from generated code
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Thu Dec 17 22:05:23 UTC 2020
On 17/12/2020 21:50, Maurizio Cimadamore wrote:
>
> On 17/12/2020 18:43, Filip Krakowski wrote:
>> The strange thing is that the segmentation fault disappears as soon
>> as I attach a (remote) debugger and manually step through the code.
>
> I believe this is probably explained by the fact that when debugging
> you probably go out of compiled mode, so we revert to the interpreter.
> There's probably either something off in the method handle intrinsics,
> or something with the library causing memory corruption which shows up
> somewhere else.
Since the crash seems to be in C1, you might also want to try
-XX:-TieredCompilation and see if that fixes the issue (not a real fix,
of course, but could be useful to diagnose what's wrong)
Maurizio
>
> Maurizio
>
More information about the panama-dev
mailing list