Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Android app demo crash: UnsatisfiedLinkError: Couldn't load cublas from loader #94

Open
Dalychan opened this issue Mar 21, 2017 · 0 comments

Comments

@Dalychan
Copy link

I built android-torch successfully with CUDA=OFF, when I run the app it crashes and I get the following error:

03-21 15:11:16.875: E/ENSWrapper(1683): return OMX_ErrorNotImplemented - GetExtensionIndex OMX.ST.AFM.pcmprocessing.spl h=0x45d97f80 cParameterName=STE.ADM IndexType=unknown OMX_INDEXTYPE [ 0x20eef2a3 ] 03-21 15:11:17.236: E/AndroidRuntime(27819): FATAL EXCEPTION: main 03-21 15:11:17.236: E/AndroidRuntime(27819): Process: com.torch.torchdemo, PID: 27819 03-21 15:11:17.236: E/AndroidRuntime(27819): java.lang.UnsatisfiedLinkError: Couldn't load cublas from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.torch.torchdemo-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.torch.torchdemo-1, /vendor/lib, /system/lib, /system/lib/ste_omxcomponents]]]: findLibrary returned null 03-21 15:11:17.236: E/AndroidRuntime(27819): at java.lang.Runtime.loadLibrary(Runtime.java:358) 03-21 15:11:17.236: E/AndroidRuntime(27819): at java.lang.System.loadLibrary(System.java:526) 03-21 15:11:17.236: E/AndroidRuntime(27819): at com.torch.Torch.setContext(Torch.java:23) 03-21 15:11:17.236: E/AndroidRuntime(27819): at com.torch.torchdemo.TorchDemo.onCreate(TorchDemo.java:20) 03-21 15:11:17.236: E/AndroidRuntime(27819): at android.app.Activity.performCreate(Activity.java:5998) 03-21 15:11:17.236: E/AndroidRuntime(27819): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) 03-21 15:11:17.236: E/AndroidRuntime(27819): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2181) 03-21 15:11:17.236: E/AndroidRuntime(27819): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2283) 03-21 15:11:17.236: E/AndroidRuntime(27819): at android.app.ActivityThread.access$800(ActivityThread.java:144) 03-21 15:11:17.236: E/AndroidRuntime(27819): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1205) 03-21 15:11:17.236: E/AndroidRuntime(27819): at android.os.Handler.dispatchMessage(Handler.java:102) 03-21 15:11:17.236: E/AndroidRuntime(27819): at android.os.Looper.loop(Looper.java:136) 03-21 15:11:17.236: E/AndroidRuntime(27819): at android.app.ActivityThread.main(ActivityThread.java:5158) 03-21 15:11:17.236: E/AndroidRuntime(27819): at java.lang.reflect.Method.invokeNative(Native Method) 03-21 15:11:17.236: E/AndroidRuntime(27819): at java.lang.reflect.Method.invoke(Method.java:515) 03-21 15:11:17.236: E/AndroidRuntime(27819): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732) 03-21 15:11:17.236: E/AndroidRuntime(27819): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566) 03-21 15:11:17.236: E/AndroidRuntime(27819): at dalvik.system.NativeStart.main(Native Method) 03-21 15:11:17.466: E/AudioService(2143): Could not get client death handler for stream: 3 03-21 15:11:17.466: E/AudioService(2143): Could not get client death handler for stream: 3 03-21 15:11:27.075: E/WindowManager(2143): Starting window AppWindowToken{42767c60 token=Token{4200a188 ActivityRecord{41e7bc70 u0 com.torch.torchdemo/.TorchDemo t22}}} timed out 03-21 15:11:30.969: E/ENSWrapper(1683): return OMX_ErrorNotImplemented - GetExtensionIndex OMX.ST.AFM.pcmprocessing.spl h=0x42ceff80 cParameterName=STE.ADM IndexType=unknown OMX_INDEXTYPE [ 0x20eef2a3 ] 03-21 15:13:33.191: E/audio_a2dp_hw(1680): adev_set_parameters: ERROR: set param called even when stream out is null 03-21 15:13:33.502: E/AudioService(2143): Could not get client death handler for stream: 3 03-21 15:13:33.502: E/AudioService(2143): Could not get client death handler for stream: 3 03-21 15:13:38.246: E/KeyguardHostView(2233): Error when trying to bind default AppWidget: java.lang.IllegalArgumentException: not a appwidget provider: ComponentInfo{/}

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant