Long parameter list crashes JVM on x86

dreamlike_ocean lei dreamlike.vertx at gmail.com
Fri Aug 9 13:45:17 UTC 2024


Panama-dev team:
I run a batch generation ffi code on Linux x86_64 and found that if the
parameter list is very long (about 86), the jvm will crash, but it will not
happen on Mac aarch64. For specific reproduction code and crash reports,
please see https://github.com/dreamlike-ocean/PanamaCrash

I appreciate your assistance in resolving this matter. Please let me know
if you need any additional information.

My build toolchain:
Apache Maven 3.9.4 (dfbb324ad4a7c8fb0bf182e6d91b0ae20e3d2dd9)
Maven home: /home/dreamlike/.sdkman/candidates/maven/current
Java version: 22.0.1, vendor: Oracle Corporation, runtime:
/home/dreamlike/jdks/openjdk-22.0.1_linux-x64_bin/jdk-22.0.1 Default
locale: zh_CN, platform encoding: UTF-8 OS name: "linux", version:
"6.8.0-31-generic", arch: "amd64", family: "unix


Best regards, dreamlike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/panama-dev/attachments/20240809/a7921079/attachment.htm>


More information about the panama-dev mailing list