wasabeef/glide-transformations

SupportRSBlurTransformation Crash on Android 5.1

donglua opened this issue · 1 comments

Bug Reporting

1 #00 pc 00000156 /data/app/cn.jingzhuan.stock-1/lib/arm/librsjni_androidx.so (JNI_OnLoad+17) [armeabi-v5te]
--
2 #01 pc 001ddfc5 /system/lib/libart.so (art::JavaVMExt::LoadNativeLibrary(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, art::Handle<art::mirror::ClassLoader>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*)+1444) [armeabi-v8]
3 #02 pc 00203ba3 /system/lib/libart.so (art::Runtime_nativeLoad(_JNIEnv*, _jclass*, _jstring*, _jobject*, _jstring*)+490) [armeabi-v8]
4 #03 pc 0007aa05 /data/dalvik-cache/arm/system@framework@boot.oat [armeabi]
5 java:
6 java.lang.Runtime.doLoad(Runtime.java:429)
7 java.lang.Runtime.load(Runtime.java:330)
8 java.lang.System.load(System.java:981)
9 androidx.renderscript.RenderScript.internalCreate(SourceFile:1406)
10 androidx.renderscript.RenderScript.create(SourceFile:1599)
11 androidx.renderscript.RenderScript.create(SourceFile:1549)
12 androidx.renderscript.RenderScript.create(SourceFile:1525)
13 androidx.renderscript.RenderScript.create(SourceFile:1512)
14 jp.wasabeef.glide.transformations.internal.SupportRSBlur.blur(SourceFile:39)
15 jp.wasabeef.glide.transformations.SupportRSBlurTransformation.transform(SourceFile:78)
16 jp.wasabeef.glide.transformations.BitmapTransformation.transform(SourceFile:50)
17 com.bumptech.glide.load.engine.DecodeJob.onResourceDecoded(SourceFile:548)
18 com.bumptech.glide.load.engine.DecodeJob$DecodeCallback.onResourceDecoded(SourceFile:612)
19 com.bumptech.glide.load.engine.DecodePath.decode(SourceFile:46)
20 com.bumptech.glide.load.engine.LoadPath.loadWithExceptionList(SourceFile:58)
21 com.bumptech.glide.load.engine.LoadPath.load(SourceFile:43)
22 com.bumptech.glide.load.engine.DecodeJob.runLoadPath(SourceFile:515)
23 com.bumptech.glide.load.engine.DecodeJob.decodeFromFetcher(SourceFile:480)
24 com.bumptech.glide.load.engine.DecodeJob.decodeFromData(SourceFile:466)
25 com.bumptech.glide.load.engine.DecodeJob.decodeFromRetrievedData(SourceFile:418)
26 com.bumptech.glide.load.engine.DecodeJob.onDataFetcherReady(SourceFile:387)
27 com.bumptech.glide.load.engine.SourceGenerator.onDataReady(SourceFile:112)
28 com.bumptech.glide.load.model.MultiModelLoader$MultiFetcher.onDataReady(SourceFile:145)
29 com.bumptech.glide.load.data.HttpUrlFetcher.loadData(SourceFile:60)
30 com.bumptech.glide.load.model.MultiModelLoader$MultiFetcher.loadData(SourceFile:100)
31 com.bumptech.glide.load.engine.SourceGenerator.startNext(SourceFile:62)
32 com.bumptech.glide.load.engine.DecodeJob.runGenerators(SourceFile:309)
33 com.bumptech.glide.load.engine.DecodeJob.runWrapped(SourceFile:279)
34 com.bumptech.glide.load.engine.DecodeJob.run(SourceFile:235)
35 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
36 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
37 java.lang.Thread.run(Thread.java:818)
38 com.bumptech.glide.load.engine.executor.GlideExecutor$DefaultThreadFactory$1.run(SourceFile:446)

Steps to Reproduce

    val options = RequestOptions()
        .error(R.drawable.ico_default_header)
        .transform(SupportRSBlurTransformation(10))
        .diskCacheStrategy(DiskCacheStrategy.RESOURCE)

    Glide.with(this)
        .load(uri)
        .apply(options)
        .into(mBinding.ivUserBackground)
  implementation 'jp.wasabeef:glide-transformations:4.0.0'

OS details

  • Device: OPPO R9TM
  • OS: 5.1

image

Hey, any update here?