{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/fresco/issues/1913","repository_url":"https://api.github.com/repos/facebook/fresco","labels_url":"https://api.github.com/repos/facebook/fresco/issues/1913/labels{/name}","comments_url":"https://api.github.com/repos/facebook/fresco/issues/1913/comments","events_url":"https://api.github.com/repos/facebook/fresco/issues/1913/events","html_url":"https://github.com/facebook/fresco/issues/1913","id":260570849,"number":1913,"title":"dlopen failed: library \"/system/lib/libimagepipeline.so\" ","user":{"login":"hcadoid","id":10434110,"avatar_url":"https://avatars3.githubusercontent.com/u/10434110?v=4","gravatar_id":"","url":"https://api.github.com/users/hcadoid","html_url":"https://github.com/hcadoid","followers_url":"https://api.github.com/users/hcadoid/followers","following_url":"https://api.github.com/users/hcadoid/following{/other_user}","gists_url":"https://api.github.com/users/hcadoid/gists{/gist_id}","starred_url":"https://api.github.com/users/hcadoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hcadoid/subscriptions","organizations_url":"https://api.github.com/users/hcadoid/orgs","repos_url":"https://api.github.com/users/hcadoid/repos","events_url":"https://api.github.com/users/hcadoid/events{/privacy}","received_events_url":"https://api.github.com/users/hcadoid/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-09-26T10:21:17Z","updated_at":"2018-02-01T10:27:04Z","closed_at":"2017-10-09T10:08:03Z","author_association":"NONE","body":"From the user's statistical log，The test did not happen，Uncertainty，only in 7.1 devices。\r\nThe user's device is xiaomi mix2（7.1）,but I did not appear in google pixel。\r\nI read the previous issuse, they are through the SoLoader or ReLinker library to fix?\r\n\r\n\r\n\r\n\r\n```\r\n\"fresco\" : \"com.facebook.fresco:fresco:1.3.0\",\r\n \"fresco_gif\" : \"com.facebook.fresco:animated-gif:1.3.0\",\r\n ndk {\r\n            abiFilters \"armeabi\"\r\n   }\r\n\r\n```\r\n\r\n\r\n\r\n```\r\njava.lang.UnsatisfiedLinkError: dlopen failed: library \"/system/lib/libimagepipeline.so\" \r\nneeded or dlopened by \"/system/lib/libnativeloader.so\" is not accessible for the namespace \"classloader-namespace\"\r\n\tjava.lang.Runtime.loadLibrary0(Runtime.java:989)\r\n\tjava.lang.System.loadLibrary(System.java:1530)\r\n\tcom.facebook.common.soloader.SoLoaderShim$DefaultHandler.loadLibrary(SoLoaderShim.java:32)\r\n\tcom.facebook.common.soloader.SoLoaderShim.loadLibrary(SoLoaderShim.java:56)\r\n\tcom.facebook.imagepipeline.nativecode.ImagePipelineNativeLoader.load(ImagePipelineNativeLoader.java:43)\r\n\tcom.facebook.imagepipeline.memory.NativeMemoryChunk.<clinit>(NativeMemoryChunk.java:36)\r\n\tcom.facebook.imagepipeline.memory.NativeMemoryChunkPool.alloc(NativeMemoryChunkPool.java:60)\r\n\tcom.facebook.imagepipeline.memory.NativeMemoryChunkPool.alloc(NativeMemoryChunkPool.java:22)\r\n\tcom.facebook.imagepipeline.memory.BasePool.get(BasePool.java:260)\r\n\tcom.facebook.imagepipeline.memory.NativePooledByteBufferOutputStream.<init>(NativePooledByteBufferOutputStream.java:53)\r\n\tcom.facebook.imagepipeline.memory.NativePooledByteBufferFactory.newByteBuffer(NativePooledByteBufferFactory.java:100)\r\n\tcom.facebook.imagepipeline.memory.NativePooledByteBufferFactory.newByteBuffer(NativePooledByteBufferFactory.java:28)\r\n\tcom.facebook.imagepipeline.cache.BufferedDiskCache.readFromDiskCache(BufferedDiskCache.java:341)\r\n\tcom.facebook.imagepipeline.cache.BufferedDiskCache.access$400(BufferedDiskCache.java:38)\r\n\tcom.facebook.imagepipeline.cache.BufferedDiskCache$2.call(BufferedDiskCache.java:185)\r\n\tcom.facebook.imagepipeline.cache.BufferedDiskCache$2.call(BufferedDiskCache.java:168)\r\n\tbolts.g$5.run(Task.java:357)\r\n\tjava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)\r\n\tjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)\r\n\tjava.lang.Thread.run(Thread.java:761)\r\n```\r\n\r\n\r\n\r\n\r\n\r\n\r\n```\r\n\r\njava.lang.NoClassDefFoundError: <clinit> failed for class com.facebook.imagepipeline.memory.NativeMemoryChunk; see exception in other thread\r\n\tcom.facebook.imagepipeline.memory.NativeMemoryChunkPool.alloc(NativeMemoryChunkPool.java:60)\r\n\tcom.facebook.imagepipeline.memory.NativeMemoryChunkPool.alloc(NativeMemoryChunkPool.java:22)\r\n\tcom.facebook.imagepipeline.memory.BasePool.get(BasePool.java:260)\r\n\tcom.facebook.imagepipeline.memory.NativePooledByteBufferOutputStream.<init>(NativePooledByteBufferOutputStream.java:53)\r\n\tcom.facebook.imagepipeline.memory.NativePooledByteBufferFactory.newByteBuffer(NativePooledByteBufferFactory.java:100)\r\n\tcom.facebook.imagepipeline.memory.NativePooledByteBufferFactory.newByteBuffer(NativePooledByteBufferFactory.java:28)\r\n\tcom.facebook.imagepipeline.cache.BufferedDiskCache.readFromDiskCache(BufferedDiskCache.java:341)\r\n\tcom.facebook.imagepipeline.cache.BufferedDiskCache.access$400(BufferedDiskCache.java:38)\r\n\tcom.facebook.imagepipeline.cache.BufferedDiskCache$2.call(BufferedDiskCache.java:185)\r\n\tcom.facebook.imagepipeline.cache.BufferedDiskCache$2.call(BufferedDiskCache.java:168)\r\n\tbolts.g$5.run(Task.java:357)\r\n\tjava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)\r\n\tjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)\r\n\tjava.lang.Thread.run(Thread.java:761)\r\n\t\r\n```"},"comment":{"url":"https://api.github.com/repos/facebook/fresco/issues/comments/362223587","html_url":"https://github.com/facebook/fresco/issues/1913#issuecomment-362223587","issue_url":"https://api.github.com/repos/facebook/fresco/issues/1913","id":362223587,"user":{"login":"lambdapioneer","id":908387,"avatar_url":"https://avatars0.githubusercontent.com/u/908387?v=4","gravatar_id":"","url":"https://api.github.com/users/lambdapioneer","html_url":"https://github.com/lambdapioneer","followers_url":"https://api.github.com/users/lambdapioneer/followers","following_url":"https://api.github.com/users/lambdapioneer/following{/other_user}","gists_url":"https://api.github.com/users/lambdapioneer/gists{/gist_id}","starred_url":"https://api.github.com/users/lambdapioneer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lambdapioneer/subscriptions","organizations_url":"https://api.github.com/users/lambdapioneer/orgs","repos_url":"https://api.github.com/users/lambdapioneer/repos","events_url":"https://api.github.com/users/lambdapioneer/events{/privacy}","received_events_url":"https://api.github.com/users/lambdapioneer/received_events","type":"User","site_admin":false},"created_at":"2018-02-01T10:27:04Z","updated_at":"2018-02-01T10:27:04Z","author_association":"CONTRIBUTOR","body":"@huanting, the log provided suggests that the `DefaultHandler` is used and not the `SoLoader` library.\r\n\r\nThe newest 1.8.0 release of Fresco comes with SoLoader as default. Can you try if this helps?"}}
{"actor":{"display_login":"lambdapioneer"}}