Skip to content

Help binding a function #323

Answered by basshelal
keastrid asked this question in Q&A
Feb 17, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

This is probably the worst situation to be in, a crash with no clue on what causes, though usually when the Hotspot VM crashes it dumps the hs_err_pid.log files, not dumping it is strange and you may want to look into that. It's unrelated to JNR-FFI but it's worth making sure you get those files being dumped because at the very least you can know which part of your Java code is causing the crash and hopefully figure out where it maps on the native side. Often it's not a JNR-FFI issue but rather, the native library is trying to access some inaccessible or invalid memory, either you didn't allocate the memory, it got freed, or it's not in the correct format the library expects (ie passed a …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@keastrid
Comment options

@basshelal
Comment options

Answer selected by keastrid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants