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

java.lang.UnsatisfiedLinkError #1552

Closed
qiiyue opened this issue Nov 23, 2016 · 4 comments
Closed

java.lang.UnsatisfiedLinkError #1552

qiiyue opened this issue Nov 23, 2016 · 4 comments
Labels

Comments

@qiiyue
Copy link

qiiyue commented Nov 23, 2016

java.lang.UnsatisfiedLinkError: No implementation found for void com.facebook.imagepipeline.memory.NativeMemoryChunk.nativeFree(long) (tried Java_com_facebook_imagepipeline_memory_NativeMemoryChunk_nativeFree and Java_com_facebook_imagepipeline_memory_NativeMemoryChunk_nativeFree__J)
at com.facebook.imagepipeline.memory.NativeMemoryChunk.nativeFre[ 212.360000] ioctl: u8bSigstate = 1
e(Native Method)
at com.facebook.imagepipeline.memory.NativeMemoryChunk.close(NativeMemoryChunk.java:75)
at com.facebook.imagepipeline.memory.NativeMemoryChunk.finalize(NativeMemoryChunk.java:243)
at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:202)
at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:185)
at java.lang.Thread.run(Thread.java:818)

this issue had discovery in 2 android-tv, all of them is api23. it is still cannot load image when restart app.

@kirwan
Copy link
Contributor

kirwan commented Nov 23, 2016

I suggest trying the solution here to use the ReLinker library. We've found that's helped people in the past with this kind of problem.

You can use the same technique with Facebook's full SoLoader library.

Please let me know if that helps.

@LucianWang
Copy link

The device is currently experiencing this situation is some smart TV (Android6.0), in the simulator Android6.0 did not find this situation. I view SoLoader library just to support the Android 4.3. Is there any other way to solve or prevent it?
this is log : W/NativeMemoryChunk( 6186): finalize: Chunk c1f90e4 still active. Underlying address = 0

@kirwan
Copy link
Contributor

kirwan commented Nov 25, 2016

We use SoLoader but it was open-sourced later than Fresco so isn't part of the library.

SoLoader adds greater reliability than the default behaviour which just tries once to call System.loadLibrary(String).

The failures we tend to see occur somewhat randomly and rarely so I'm not surprised you haven't seen them in your own tests.

@LucianWang
Copy link

Thank you very much!My problem has been solved.

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

No branches or pull requests

4 participants