Wind River OS でソフトウェアを実行しているときに、以下の例外が発生します。内部的には、この例外をスローしている JNA ライブラリを使用しています。
Exception in thread "Thread-33" java.lang.UnsatisfiedLinkError: /tmp/jna-3506402/jna3961384745178924050.tmp: /tmp/jna-3506402/jna3961384745178924050.tmp: failed to map segment from shared object.
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1938)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1821)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:851)
at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:826)
at com.sun.jna.Native.<clinit>(Native.java:140)
at com.pty4j.unix.linux.OSFacadeImpl.<clinit>(OSFacadeImpl.java:95)
at com.pty4j.unix.PtyHelpers.<clinit>(PtyHelpers.java:212)
at com.pty4j.unix.Pty.ptyMasterOpen(Pty.java:142)
at com.pty4j.unix.Pty.openMaster(Pty.java:194)
at com.pty4j.unix.Pty.<init>(Pty.java:57)
at com.pty4j.PtyProcess.exec(PtyProcess.java:62)
at com.pty4j.PtyProcess.exec(PtyProcess.java:54)
/tmp を exec と noexec でマウントしてみました。しかし、それでも助けにはなりません。
通常の Ubuntu、Red Hat では、期待どおりに動作しており、Wind River でのみこのエラーがスローされます。
どんな助けでも大歓迎です。
ありがとう、ラメッシュ G.