-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In my JNI library call a function in another share libray built by native-image, message : Segmentation fault #9216
Comments
Hi @chyohn, thank you for reporting this. |
Hi @selhagani , Thanks for your reply. |
Hi Chyohn, I tested the provided reproducer, but I encountered a different error than the one you mentioned. Could you please provide more details about the commands you use to reproduce the issue? Thank you |
Hi @selhagani , Thanks for your follow-up,The commands for each step as follows: step1: git clone https://github.com/chyohn/graalvm-demo.git
step2: cd graalvm-demo
step3: mvn clean package
step4: cd bin
step5: jni-client.exe
|
Hi @chyohn , Unfortunately I still cannot reproduce the issue. Here is the error I am getting:
|
Please create a native image bundle of your application and share it with us, you can find details on how to generate bundles in here: https://www.graalvm.org/latest/reference-manual/native-image/overview/Bundles/ |
I'm closing this issue since I didn't get a response from you. If you have any further questions or need for assistance feel free to reach out to us. |
Describe the issue
Hi, as the title I want to call a share function in my JNI, all code build by native-image. it's crashed when invoke at the line of call the shared function, message as below.
Steps to reproduce the issue
My demo is here graalvm-demo and my detailed steps is in README.md
Describe GraalVM and your environment:
java -version
The text was updated successfully, but these errors were encountered: