bumptech / glide

An image loading and caching library for Android focused on smooth scrolling
https://bumptech.github.io/glide/
Other
34.67k stars 6.12k forks source link

crash for glide-source-th #5379

Open jackeysun6032 opened 8 months ago

jackeysun6032 commented 8 months ago

03-08 19:51:33.862 F/DEBUG ( 3447): 03-08 19:51:33.862 F/DEBUG ( 3447): Build fingerprint: 'HUAWEI/DCO-AL00/HWDCO:12/HUAWEIDCO-AL00/104.0.0.130C00:user/release-keys' 03-08 19:51:33.862 F/DEBUG ( 3447): Revision: '0' 03-08 19:51:33.862 F/DEBUG ( 3447): ABI: 'arm64' 03-08 19:51:33.862 F/DEBUG ( 3447): Timestamp: 2024-03-08 19:51:32.948096902+0800 03-08 19:51:33.862 F/DEBUG ( 3447): Process uptime: 0s 03-08 19:51:33.862 F/DEBUG ( 3447): Cmdline: com.**.avic 03-08 19:51:33.862 F/DEBUG ( 3447): pid: 6008, tid: 29702, name: glide-source-th >>> com.**.avic <<< 03-08 19:51:33.862 F/DEBUG ( 3447): uid: 10233 03-08 19:51:33.862 F/DEBUG ( 3447): tagged_addr_ctrl: 0000000000000001 03-08 19:51:33.862 F/DEBUG ( 3447): signal 7 (SIGBUS), code 2 (BUS_ADRERR), fault addr 0x73ce7fcff6 03-08 19:51:33.862 F/DEBUG ( 3447): x0 00000000784de00c x1 00000073ce7fcfd6 x2 000000000000017c x3 00000000784de200 03-08 19:51:33.862 F/DEBUG ( 3447): x4 00000073ce7fd1a2 x5 00000000784de40c x6 7ffeebf6a09d5ccf x7 a38cec69fa1ede1a 03-08 19:51:33.862 F/DEBUG ( 3447): x8 db95ca9b4752d324 x9 5861c0de38748d5a x10 36c5b24acdf80e64 x11 c5f57737062ac040 03-08 19:51:33.862 F/DEBUG ( 3447): x12 5872cb8b22e6324b x13 96ba3164d61ce7f4 x14 00000073a2aa3d90 x15 0000000000000004 03-08 19:51:33.862 F/DEBUG ( 3447): x16 00000074bfc128b8 x17 000000754fcbf660 x18 000000734b7c6000 x19 0000000000000400 03-08 19:51:33.862 F/DEBUG ( 3447): x20 0000000000000000 x21 00000073ce7fcda2 x22 b40000743192e500 x23 00000000784de000 03-08 19:51:33.862 F/DEBUG ( 3447): x24 00000073a2aa3cc0 x25 00000073a2aa8000 x26 0000000000000043 x27 00000074bf2c3a64 03-08 19:51:33.862 F/DEBUG ( 3447): x28 00000074bf2a0ac7 x29 00000073a2aa3d00 03-08 19:51:33.862 F/DEBUG ( 3447): lr 00000074bf6d3e34 sp 00000073a2aa3c90 pc 000000754fcbf60c pst 0000000020001000 03-08 19:51:33.862 F/DEBUG ( 3447): backtrace: 03-08 19:51:33.862 F/DEBUG ( 3447): #00 pc 000000000008560c /apex/com.android.runtime/lib64/bionic/libc.so (memcpy+284) (BuildId: a85ef5fb74e0282813cd1edb10854577) 03-08 19:51:33.862 F/DEBUG ( 3447): #01 pc 00000000004d3e30 /apex/com.android.art/lib64/libart.so (art::JNI::SetByteArrayRegion(_JNIEnv, _jbyteArray, int, int, signed char const)+816) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #02 pc 0000000000014584 /apex/com.android.art/javalib/arm64/boot-core-libart.oat (art_jni_trampoline+132) (BuildId: 2acc2a9293652ebf96d750c1b4621d5403cee3e0) 03-08 19:51:33.862 F/DEBUG ( 3447): #03 pc 00000000003c9f0c /apex/com.android.art/javalib/arm64/boot.oat (java.nio.DirectByteBuffer.get+348) (BuildId: cd789ea641586ef256c8b26d2287aaa827b271c9) 03-08 19:51:33.862 F/DEBUG ( 3447): #04 pc 0000000000212520 /apex/com.android.art/lib64/libart.so (nterp_helper+4016) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #05 pc 0000000000efc198 /dev/zero (com.bumptech.glide.util.a$a.read+40) 03-08 19:51:33.862 F/DEBUG ( 3447): #06 pc 0000000000218964 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #07 pc 00000000002845a8 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread, unsigned int, unsigned int, art::JValue, char const)+188) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #08 pc 0000000000656578 /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithVarArgs<art::ArtMethod>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject, art::ArtMethod, std::va_list)+468) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #09 pc 0000000000656718 /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithVarArgs<_jmethodID>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject, _jmethodID*, std::va_list)+92) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #10 pc 000000000048c218 /apex/com.android.art/lib64/libart.so (art::JNI::CallIntMethodV(_JNIEnv, _jobject, _jmethodID, std::__va_list)+644) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #11 pc 0000000000802434 /system/lib64/libhwui.so (_JNIEnv::CallIntMethod(_jobject, _jmethodID, ...)+120) (BuildId: ced2e34727f73be5aa239575cad9eddf) 03-08 19:51:33.862 F/DEBUG ( 3447): #12 pc 0000000000802204 /system/lib64/libhwui.so (JavaInputStreamAdaptor::doRead(void, unsigned long, _JNIEnv)+76) (BuildId: ced2e34727f73be5aa239575cad9eddf) 03-08 19:51:33.862 F/DEBUG ( 3447): #13 pc 00000000008020f8 /system/lib64/libhwui.so (JavaInputStreamAdaptor::read(void, unsigned long)+284) (BuildId: ced2e34727f73be5aa239575cad9eddf) 03-08 19:51:33.862 F/DEBUG ( 3447): #14 pc 0000000000450008 /system/lib64/libhwui.so (_ZN12_GLOBALN_119FrontBufferedStream4readEPvm$8f1c1c36362eb42cefaa8ed6ceaf4bc1+208) (BuildId: ced2e34727f73be5aa239575cad9eddf) 03-08 19:51:33.862 F/DEBUG ( 3447): #15 pc 00000000004516b0 /system/lib64/libhwui.so (sk_fill_buffered_input_buffer(jpeg_decompress_struct)+140) (BuildId: ced2e34727f73be5aa239575cad9eddf) 03-08 19:51:33.862 F/DEBUG ( 3447): #16 pc 0000000000039c50 /system/lib64/libjpeg.so (jpeg_fill_bit_buffer+176) (BuildId: 9143cba6339fbecb9c3d5a3696e545f2) 03-08 19:51:33.862 F/DEBUG ( 3447): #17 pc 000000000003a3c8 /system/lib64/libjpeg.so (decode_mcu+800) (BuildId: 9143cba6339fbecb9c3d5a3696e545f2) 03-08 19:51:33.862 F/DEBUG ( 3447): #18 pc 0000000000030990 /system/lib64/libjpeg.so (jpeg_skip_scanlines+936) (BuildId: 9143cba6339fbecb9c3d5a3696e545f2) 03-08 19:51:33.862 F/DEBUG ( 3447): #19 pc 000000000086fa20 /system/lib64/libhwui.so (SkJpegCodec::onSkipScanlines(int)+268) (BuildId: ced2e34727f73be5aa239575cad9eddf) 03-08 19:51:33.862 F/DEBUG ( 3447): #20 pc 0000000000873670 /system/lib64/libhwui.so (SkSampledCodec::sampledDecode(SkImageInfo const&, void, unsigned long, SkAndroidCodec::AndroidOptions const&)+1520) (BuildId: ced2e34727f73be5aa239575cad9eddf) 03-08 19:51:33.862 F/DEBUG ( 3447): #21 pc 0000000000451d20 /system/lib64/libhwui.so (SkSampledCodec::onGetAndroidPixels(SkImageInfo const&, void, unsigned long, SkAndroidCodec::AndroidOptions const&)+684) (BuildId: ced2e34727f73be5aa239575cad9eddf) 03-08 19:51:33.862 F/DEBUG ( 3447): #22 pc 00000000008268fc /system/lib64/libhwui.so (SkAndroidCodec::getAndroidPixels(SkImageInfo const&, void, unsigned long, SkAndroidCodec::AndroidOptions const)+404) (BuildId: ced2e34727f73be5aa239575cad9eddf) 03-08 19:51:33.862 F/DEBUG ( 3447): #23 pc 00000000007fdfec /system/lib64/libhwui.so (doDecode(_JNIEnv, std::1::unique_ptr<SkStreamRewindable, std::__1::default_delete >, _jobject, _jobject, long, long, bool)+4104) (BuildId: ced2e34727f73be5aa239575cad9eddf) 03-08 19:51:33.862 F/DEBUG ( 3447): #24 pc 00000000007fce38 /system/lib64/libhwui.so (nativeDecodeStream(_JNIEnv, _jobject, _jobject, _jbyteArray, _jobject, _jobject, long, long)+164) (BuildId: ced2e34727f73be5aa239575cad9eddf) 03-08 19:51:33.862 F/DEBUG ( 3447): #25 pc 00000000001d1eb8 /system/framework/arm64/boot-framework.oat (art_jni_trampoline+184) (BuildId: f92d5ca7f62020cba34a48a66c753c914c0fa654) 03-08 19:51:33.862 F/DEBUG ( 3447): #26 pc 00000000002eedd8 /system/framework/arm64/boot-framework.oat (android.graphics.BitmapFactory.decodeStreamInternal+504) (BuildId: f92d5ca7f62020cba34a48a66c753c914c0fa654) 03-08 19:51:33.862 F/DEBUG ( 3447): #27 pc 00000000002eea20 /system/framework/arm64/boot-framework.oat (android.graphics.BitmapFactory.decodeStream+448) (BuildId: f92d5ca7f62020cba34a48a66c753c914c0fa654) 03-08 19:51:33.862 F/DEBUG ( 3447): #28 pc 0000000000211608 /apex/com.android.art/lib64/libart.so (nterp_helper+152) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #29 pc 0000000000eef8e2 /dev/zero (com.bumptech.glide.load.resource.bitmap.ImageReader$a.c+10) 03-08 19:51:33.862 F/DEBUG ( 3447): #30 pc 00000000002132e4 /apex/com.android.art/lib64/libart.so (nterp_helper+7540) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #31 pc 0000000000eef1a6 /dev/zero (com.bumptech.glide.load.resource.bitmap.Downsampler.i+50) 03-08 19:51:33.862 F/DEBUG ( 3447): #32 pc 00000000021a1988 /memfd:jit-cache (deleted) (com.bumptech.glide.load.resource.bitmap.Downsampler.h+2552) 03-08 19:51:33.862 F/DEBUG ( 3447): #33 pc 0000000000212c48 /apex/com.android.art/lib64/libart.so (nterp_helper+5848) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #34 pc 0000000000eeed6c /dev/zero (com.bumptech.glide.load.resource.bitmap.Downsampler.e+192) 03-08 19:51:33.862 F/DEBUG ( 3447): #35 pc 0000000000212bc8 /apex/com.android.art/lib64/libart.so (nterp_helper+5720) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #36 pc 0000000000eef7ea /dev/zero (com.bumptech.glide.load.resource.bitmap.Downsampler.g+30) 03-08 19:51:33.862 F/DEBUG ( 3447): #37 pc 00000000002124c4 /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #38 pc 0000000000ef15fc /dev/zero (com.bumptech.glide.load.resource.bitmap.g.c+4) 03-08 19:51:33.862 F/DEBUG ( 3447): #39 pc 00000000002124c4 /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #40 pc 0000000000ef15dc /dev/zero (com.bumptech.glide.load.resource.bitmap.g.b+4) 03-08 19:51:33.862 F/DEBUG ( 3447): #41 pc 00000000002132e4 /apex/com.android.art/lib64/libart.so (nterp_helper+7540) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #42 pc 0000000000ee2f78 /dev/zero (com.bumptech.glide.load.engine.DecodePath.c+64) 03-08 19:51:33.862 F/DEBUG ( 3447): #43 pc 0000000000212bc8 /apex/com.android.art/lib64/libart.so (nterp_helper+5720) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #44 pc 0000000000ee2ef8 /dev/zero (com.bumptech.glide.load.engine.DecodePath.b+36) 03-08 19:51:33.862 F/DEBUG ( 3447): #45 pc 00000000002124c4 /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #46 pc 0000000000ee301c /dev/zero (com.bumptech.glide.load.engine.DecodePath.a+0) 03-08 19:51:33.862 F/DEBUG ( 3447): #47 pc 0000000000212bc8 /apex/com.android.art/lib64/libart.so (nterp_helper+5720) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #48 pc 0000000000ee9a5e /dev/zero (com.bumptech.glide.load.engine.l.b+62) 03-08 19:51:33.862 F/DEBUG ( 3447): #49 pc 0000000000212bc8 /apex/com.android.art/lib64/libart.so (nterp_helper+5720) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #50 pc 0000000000ee9ae6 /dev/zero (com.bumptech.glide.load.engine.l.a+38) 03-08 19:51:33.862 F/DEBUG ( 3447): #51 pc 0000000000212bc8 /apex/com.android.art/lib64/libart.so (nterp_helper+5720) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #52 pc 0000000000ee2102 /dev/zero (com.bumptech.glide.load.engine.DecodeJob.B+50) 03-08 19:51:33.862 F/DEBUG ( 3447): #53 pc 00000000002124c4 /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #54 pc 0000000000ee22d8 /dev/zero (com.bumptech.glide.load.engine.DecodeJob.i+20) 03-08 19:51:33.862 F/DEBUG ( 3447): #55 pc 00000000002124c4 /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #56 pc 0000000000ee2252 /dev/zero (com.bumptech.glide.load.engine.DecodeJob.h+22) 03-08 19:51:33.862 F/DEBUG ( 3447): #57 pc 00000000002124c4 /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #58 pc 0000000000ee2370 /dev/zero (com.bumptech.glide.load.engine.DecodeJob.j+124) 03-08 19:51:33.862 F/DEBUG ( 3447): #59 pc 00000000002124c4 /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #60 pc 0000000000ee2a6a /dev/zero (com.bumptech.glide.load.engine.DecodeJob.f+90) 03-08 19:51:33.862 F/DEBUG ( 3447): #61 pc 0000000000213a04 /apex/com.android.art/lib64/libart.so (nterp_helper+9364) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #62 pc 0000000000eeaaae /dev/zero (com.bumptech.glide.load.engine.q.h+82) 03-08 19:51:33.862 F/DEBUG ( 3447): #63 pc 00000000002124c4 /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #64 pc 0000000000eea59c /dev/zero (com.bumptech.glide.load.engine.q$a.c+28) 03-08 19:51:33.862 F/DEBUG ( 3447): #65 pc 0000000000213390 /apex/com.android.art/lib64/libart.so (nterp_helper+7712) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #66 pc 0000000000eeba08 /dev/zero (com.bumptech.glide.load.model.a$a.b+12) 03-08 19:51:33.862 F/DEBUG ( 3447): #67 pc 00000000002132e4 /apex/com.android.art/lib64/libart.so (nterp_helper+7540) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 I/AHAL: AudioStream( 1311): read: 4892: Exit: returning size: 0 size 03-08 19:51:33.862 F/DEBUG ( 3447): #68 pc 0000000000eea862 /dev/zero (com.bumptech.glide.load.engine.q.j+30) 03-08 19:51:33.862 F/DEBUG ( 3447): #69 pc 00000000002124c4 /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #70 pc 0000000000eea96c /dev/zero (com.bumptech.glide.load.engine.q.a+240) 03-08 19:51:33.862 F/DEBUG ( 3447): #71 pc 00000000002132e4 /apex/com.android.art/lib64/libart.so (nterp_helper+7540) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #72 pc 0000000000ee205e /dev/zero (com.bumptech.glide.load.engine.DecodeJob.A+46) 03-08 19:51:33.862 F/DEBUG ( 3447): #73 pc 00000000002124c4 /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #74 pc 0000000000ee2198 /dev/zero (com.bumptech.glide.load.engine.DecodeJob.C+96) 03-08 19:51:33.862 F/DEBUG ( 3447): #75 pc 00000000002124c4 /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #76 pc 0000000000ee2bce /dev/zero (com.bumptech.glide.load.engine.DecodeJob.run+58) 03-08 19:51:33.862 F/DEBUG ( 3447): #77 pc 000000000040175c /apex/com.android.art/javalib/arm64/boot.oat (java.util.concurrent.ThreadPoolExecutor.runWorker+988) (BuildId: cd789ea641586ef256c8b26d2287aaa827b271c9) 03-08 19:51:33.862 F/DEBUG ( 3447): #78 pc 00000000003fa7e4 /apex/com.android.art/javalib/arm64/boot.oat (java.util.concurrent.ThreadPoolExecutor$Worker.run+68) (BuildId: cd789ea641586ef256c8b26d2287aaa827b271c9) 03-08 19:51:33.862 F/DEBUG ( 3447): #79 pc 0000000000213344 /apex/com.android.art/lib64/libart.so (nterp_helper+7636) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #80 pc 0000000000ee777c /dev/zero (com.bumptech.glide.load.engine.executor.GlideExecutor$d$a.run+56) 03-08 19:51:33.862 F/DEBUG ( 3447): #81 pc 00000000001ffa3c /apex/com.android.art/javalib/arm64/boot.oat (java.lang.Thread.run+76) (BuildId: cd789ea641586ef256c8b26d2287aaa827b271c9) 03-08 19:51:33.862 F/DEBUG ( 3447): #82 pc 0000000000212520 /apex/com.android.art/lib64/libart.so (nterp_helper+4016) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #83 pc 0000000000ee76be /dev/zero (com.bumptech.glide.load.engine.executor.GlideExecutor$c$a.run+10) 03-08 19:51:33.862 F/DEBUG ( 3447): #84 pc 0000000000218964 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #85 pc 00000000002845a8 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread, unsigned int, unsigned int, art::JValue, char const)+188) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #86 pc 000000000065620c /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject, art::ArtMethod, jvalue const)+460) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #87 pc 00000000006abcb4 /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1240) (BuildId: 487649b2f9d8d243602a637656e44058) 03-08 19:51:33.862 F/DEBUG ( 3447): #88 pc 00000000000ebe70 /apex/com.android.runtime/lib64/bionic/libc.so!libc.so (pthread_start(void*)+264) (BuildId: a85ef5fb74e0282813cd1edb10854577) 03-08 19:51:33.862 F/DEBUG ( 3447): #89 pc 000000000008b7f0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: a85ef5fb74e0282813cd1edb10854577)

"com.github.bumptech.glide:compiler:4.14.2" "com.github.bumptech.glide:okhttp3-integration:4.14.2" "com.github.bumptech.glide:recyclerview-integration:4.14.2" "com.github.bumptech.glide:glide:4.14.2" "jp.wasabeef:glide-transformations:4.1.0" Glide Version:4.14.2

"com.squareup.okhttp3:okhttp:3.14.9" Integration libraries:okhttp:3.14.9

Device/Android Version: Huawei Mate50pro/Android 12

  RequestBuilder builder;
        if (ImageUtil.isGif(ext)) {
            builder = Glide.with(getContext().getApplicationContext()).asGif().load(new File(path));
        } else {
            RequestOptions options = new RequestOptions()
                    .override(width, height)
                    .fitCenter()
                    .placeholder(R.drawable.nim_image_default)
                    .error(R.drawable.nim_image_default);

            builder = Glide.with(getContext().getApplicationContext())
                    .asBitmap()
                    .apply(options)
                    .thumbnail(0.1f)
                    .load(new File(path))
            ;
        }
        builder.into(this);
ywj1997-david commented 2 months ago

解决了吗