Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Crash on startup #1060

Open
NCrashed opened this issue Apr 29, 2022 · 2 comments
Open

Crash on startup #1060

NCrashed opened this issue Apr 29, 2022 · 2 comments
Labels
android bug Something isn't working

Comments

@NCrashed
Copy link
Contributor

Report from user received by email:

java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "getrandom" referenced by "/data/app/org.ergvein.wallet-1/split_config.arm64_v8a.apk!/lib/arm64-v8a/libHaskellActivity.so"...
	at java.lang.Runtime.loadLibrary0(Runtime.java:977)
	at java.lang.System.loadLibrary(System.java:1530)
	at systems.obsidian.HaskellActivity.<clinit>(HaskellActivity.java:40)
	at java.lang.Class.newInstance(Native Method)
	at android.app.Instrumentation.newActivity(Instrumentation.java:1079)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2632)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2801)
	at android.app.ActivityThread.-wrap12(ActivityThread.java)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1540)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:163)
	at android.app.ActivityThread.main(ActivityThread.java:6358)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:909)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:799)
@NCrashed NCrashed added bug Something isn't working android labels Apr 29, 2022
@NCrashed
Copy link
Contributor Author

NCrashed commented Apr 29, 2022

I found that android version with a kernel older than 3.17 doesn't support getrandom syscall.

@NCrashed
Copy link
Contributor Author

Android 5 Lollipop runs kernel 3.16.1. The issue is more likely occurred at 22 API level that we doesn't support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant