i got an UnsatisfiedLinkError
まだ誰も着手していません。
評価
調査の方向性
Start by reproducing the failure with Processing 4.5.7 on Linux Mint, opening the Orthographic P3D example and pressing Play. Read the JOGL initialization stack trace, especially the calls through PSurfaceJOGL.initGL and TempFileCache.getTempDir; the report points to /tmp lacking executable permission. Done means the example starts without the UnsatisfiedLinkError on this setup.
索引モデルが issue の本文から書いたものです。
説明
Most appropriate sub-area of Processing 4?
I'm not sure
Processing version
4.5.7
Operating system
Linux Mint 22.3 x86_64
Bug description
i opened the Orthographic file in the camera folder of the java examples instead of a window when i pressed play i got this
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.(TempFileCache.java:84)
at com.jogamp.common.util.cache.TempJarCache.initSingleton(TempJarCache.java:96)
at com.jogamp.common.os.Platform$1.run(Platform.java:313)
at com.jogamp.common.util.SecurityUtil.doPrivileged(SecurityUtil.java:80)
at com.jogamp.common.os.Platform.(Platform.java:290)
at com.jogamp.opengl.GLProfile.(GLProfile.java:151)
at processing.opengl.PSurfaceJOGL.initGL(PSurfaceJOGL.java:204)
at processing.opengl.PSurfaceJOGL.initFrame(PSurfaceJOGL.java:130)
at processing.core.PApplet.initSurface(PApplet.java:10236)
at processing.core.PApplet.runSketch(PApplet.java:10142)
at processing.core.PApplet.main(PApplet.java:9861)
java.lang.UnsatisfiedLinkError: 'boolean jogamp.common.jvm.JVMUtil.initialize(java.nio.ByteBuffer)'
at jogamp.common.jvm.JVMUtil.initialize(Native Method)
at jogamp.common.jvm.JVMUtil.(JVMUtil.java:58)
at com.jogamp.common.os.Platform$1.run(Platform.java:324)
at com.jogamp.common.util.SecurityUtil.doPrivileged(SecurityUtil.java:80)
at com.jogamp.common.os.Platform.(Platform.java:290)
at com.jogamp.opengl.GLProfile.(GLProfile.java:151)
at processing.opengl.PSurfaceJOGL.initGL(PSurfaceJOGL.java:204)
at processing.opengl.PSurfaceJOGL.initFrame(PSurfaceJOGL.java:130)
at processing.core.PApplet.initSurface(PApplet.java:10236)
at processing.core.PApplet.runSketch(PApplet.java:10142)
at processing.core.PApplet.main(PApplet.java:9861)
A library used by this sketch relies on native code that is not available.
UnsatisfiedLinkError: 'boolean jogamp.common.jvm.JVMUtil.initialize(java.nio.ByteBuffer)'
UnsatisfiedLinkError: 'boolean jogamp.common.jvm.JVMUtil.initialize(java.nio.ByteBuffer)'
my version of linux dosent apply executable premissions for /tmp
pls fix this in a future version and sorry for any missing info
Steps to reproduce this
-
Open processing
-
press "Open examples"
-
double click the Orthographic file (the MoveEye and Perspective file also does the same)
-
Press play
snippet
// Paste your code below :)
/* heres the code that causes the crash */
boolean showPerspective = false;
void setup() {
size(600, 360, P3D);
noFill();
fill(255);
noStroke();
}
void draw() {
lights();
background(0);
float far = map(mouseX, 0, width, 120, 400);
if (showPerspective == true) {
perspective(PI/3.0, float(width)/float(height), 10, far);
} else {
ortho(-width/2.0, width/2.0, -height/2.0, height/2.0, 10, far);
}
translate(width/2, height/2, 0);
rotateX(-PI/6);
rotateY(PI/3);
box(180);
}
void mousePressed() {
showPerspective = !showPerspective;
}
Additional context
No response
Would you like to work on the issue?
No, I’m just reporting the issue
- 主要言語
- Java
- スター
- 527
- フォーク
- 190
- 平均マージ
- 1日 4時間
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
processing/processing4 のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
processing/processing4#1592 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
processing/processing4#1591 ·
-
`Processing lsp` never exits and leaves orphaned processes対応中かも @overcast302 が 24 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
processing/processing4#1578 · コメント 2 件 · リアクション 1 件 · 担当者 1 名 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
processing/processing4#1554 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
processing/processing4#1515 · リアクション 1 件 ·
processing/processing4 の issue をすべて見る
似ている issue
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
objectionary/lints#1640 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
openhab/openhab-addons#22168 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
wildfly/wildfly-channel#446 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信