Title: fix: preserve exec permissions on jspawnhelper in bundled JDK ([#1537… by ZanDev32 · Pull Request #1542 · processing/processing4 · GitHub
Open Graph Title: fix: preserve exec permissions on jspawnhelper in bundled JDK ([#1537… by ZanDev32 · Pull Request #1542 · processing/processing4
X Title: fix: preserve exec permissions on jspawnhelper in bundled JDK ([#1537… by ZanDev32 · Pull Request #1542 · processing/processing4
Description: Fix: 3D/OpenGL sketches crash with UnsatisfiedLinkError on Linux — jspawnhelper missing exec permission
Closes #1537
Summary
3D/OpenGL sketches (P3D, P2D, OBJ-loading, anything using JOGL) crashed on launch with UnsatisfiedLinkError. The cause was lib/jspawnhelper losing its executable permission during the includeJdk Gradle copy task. Without the exec bit, the bundled JDK could not fork+exec child processes, which broke JOGL's temp-directory validation and prevented native libraries from loading.
The crash
Warning: Caught Exception while retrieving executable temp base directory:
java.io.IOException: Could not determine a temporary executable directory
at com.jogamp.common.util.IOUtil.getTempDir(IOUtil.java:1401)
at com.jogamp.common.util.cache.TempFileCache.
Open Graph Description: Fix: 3D/OpenGL sketches crash with UnsatisfiedLinkError on Linux — jspawnhelper missing exec permission Closes #1537 Summary 3D/OpenGL sketches (P3D, P2D, OBJ-loading, anything using JOGL) crashed ...
X Description: Fix: 3D/OpenGL sketches crash with UnsatisfiedLinkError on Linux — jspawnhelper missing exec permission Closes #1537 Summary 3D/OpenGL sketches (P3D, P2D, OBJ-loading, anything using JOGL) crashed ...
Opengraph URL: https://github.com/processing/processing4/pull/1542
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8de966f5-790b-357f-e8fd-b772067a030a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E8D2:7152C:162FF9E:1F7EBFA:6A5FA6B5 |
| html-safe-nonce | 39a16d7f6695837f6cb5d25ac66f4b6f34453672fad671a332c9407b9c26d5ca |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOEQyOjcxNTJDOjE2MkZGOUU6MUY3RUJGQTo2QTVGQTZCNSIsInZpc2l0b3JfaWQiOiI3NjAxNjQxOTk4ODM3MDY1Mzk3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | bf01f19c6a92cea2a217a50e4b3ff198be8ca24929a7cda1b9ae1f47c2b6594c |
| hovercard-subject-tag | pull_request:4023158908 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/processing/processing4/pull/1542/files |
| twitter:image | https://avatars.githubusercontent.com/u/52073144?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/52073144?s=400&v=4 |
| og:image:alt | Fix: 3D/OpenGL sketches crash with UnsatisfiedLinkError on Linux — jspawnhelper missing exec permission Closes #1537 Summary 3D/OpenGL sketches (P3D, P2D, OBJ-loading, anything using JOGL) crashed ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9b835c054d57dfb6ce72ba8f0eb8f16f0370860631609eb10df818738c61c68d |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/processing/processing4 git https://github.com/processing/processing4.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 844382769 |
| octolytics-dimension-repository_nwo | processing/processing4 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 844382769 |
| octolytics-dimension-repository_network_root_nwo | processing/processing4 |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4df9bc0bde4bfd7cd95e75afdd7f103984ece3a1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width