int orientation = imageReader.getImageOrientation,
In Glide it use ExifInterface to get ImageOrientation when we load png file.
But we try to load more than 5MB file,
In the process ExifInterface analyze DataStream,
Because we use limited RecycleableBufferedInputStream(it has maximum 5MB)
It throw error message( "Mark has been invalidated~") because it set maximum buf size 5MB
You can easily test by using this image file "
https://www.sample-videos.com/img/Sample-png-image-5mb.png"
When I tested after set orientation to -1(default value) without using Exifinterface
It loaded image normally.
It's same issue with #4517 (
https://github.com/bumptech/glide/issues/4517)
Please check this issue