glide-transformations icon indicating copy to clipboard operation
glide-transformations copied to clipboard

strange crash while blurring a bitmap

Open icourt-android opened this issue 7 years ago • 1 comments

here is the code: Glide.with(context) .load(path) .priority(Priority.IMMEDIATE) .thumbnail(0.1f) .transform(new BlurTransformation(50)) .dontAnimate() .into(imageView);

there is not any log useful.

I debug it, found the code in BlurTransformation class: bitmap = RSBlur.blur(context, bitmap, radius); into the blur method, I found the RenderScript fallback to the finally block: rs.destroy();

the destroy method may call Thread.currentThread().interrupt()

i don't know the reason, so i submit an issue, please help.

icourt-android avatar Feb 27 '18 05:02 icourt-android

@icourt-android Could I get information on your devices?

wasabeef avatar Apr 02 '18 04:04 wasabeef