[foreign-jextract] Segmentation fault from generated code

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Thu Dec 17 21:50:53 UTC 2020


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.

Maurizio



More information about the panama-dev mailing list