[ 
https://issues.apache.org/jira/browse/CASSANDRA-18050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17838118#comment-17838118
 ] 

Thomas De Keulenaer edited comment on CASSANDRA-18050 at 4/17/24 11:19 AM:
---------------------------------------------------------------------------

Hi,

There is an issue with JNA and libffi when the TMP and HOME dirs are not 
writable nor executable:
* https://issues.apache.org/jira/browse/CASSANDRA-19565
* https://davecturner.github.io/2021/08/30/seven-year-old-segfault.html

With JNA >= 5.10.0 you can specify LIBFFI_TMPDIR.
I think it is best to set this to the same value as jna.tmpdir. Perhaps in 
cassandra-env.sh?



was (Author: twdkeule):
Hi,

There is an issue with JNA and libffi when the TMP and HOME dirs are not 
writable nor executable:
* https://issues.apache.org/jira/browse/CASSANDRA-19565
* https://davecturner.github.io/2021/08/30/seven-year-old-segfault.html
With JNA >= 5.10.0 you can specify LIBFFI_TMPDIR.
I think it is best to set this to the same value as jna.tmpdir. Perhaps in 
cassandra-env.sh?


> Update JNA
> ----------
>
>                 Key: CASSANDRA-18050
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18050
>             Project: Cassandra
>          Issue Type: Task
>          Components: Build
>            Reporter: Ekaterina Dimitrova
>            Assignee: Brandon Williams
>            Priority: Normal
>             Fix For: 5.0-alpha1, 5.0
>
>
> JNA needs to be updated for JDK 17 support. There was an update pre-4.0 but 
> not to the latest version (confirmed with the people involved, there was no 
> particular reason not to update to the latest version, just missed on rebase 
> of older PR)
> More details to come, opening this as a placeholder for now



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to