Crash in producers.LocalExifThumbnailProducer.getExifInterface
See original GitHub issueHi, we got some crash report from our users
Fatal Exception: java.lang.StackOverflowError: stack size 1036KB
at java.io.ByteArrayInputStream.read(ByteArrayInputStream.java:145)
at android.media.ExifInterface$ByteOrderAwarenessDataInputStream.readFully(ExifInterface.java:2353)
at android.media.ExifInterface.readImageFileDirectory(ExifInterface.java:2029)
at android.media.ExifInterface.readImageFileDirectory(ExifInterface.java:2019)
at android.media.ExifInterface.readImageFileDirectory(ExifInterface.java:2046)
at android.media.ExifInterface.readImageFileDirectory(ExifInterface.java:2019)
at android.media.ExifInterface.readImageFileDirectory(ExifInterface.java:2046)
at android.media.ExifInterface.readImageFileDirectory(ExifInterface.java:2019)
at android.media.ExifInterface.readImageFileDirectory(ExifInterface.java:2046)
at android.media.ExifInterface.readImageFileDirectory(ExifInterface.java:2019)
at android.media.ExifInterface.readImageFileDirectory(ExifInterface.java:2046)
at android.media.ExifInterface.readImageFileDirectory(ExifInterface.java:2019)
at android.media.ExifInterface.readImageFileDirectory(ExifInterface.java:2046)
at android.media.ExifInterface.readImageFileDirectory(ExifInterface.java:2019)
at android.media.ExifInterface.readImageFileDirectory(ExifInterface.java:2046)
at android.media.ExifInterface.readImageFileDirectory(ExifInterface.java:2019)
at android.media.ExifInterface.readImageFileDirectory(ExifInterface.java:2046)
at android.media.ExifInterface.readImageFileDirectory(ExifInterface.java:2019)
at android.media.ExifInterface.readImageFileDirectory(ExifInterface.java:2046)
at android.media.ExifInterface.readImageFileDirectory(ExifInterface.java:2019)
at android.media.ExifInterface.readImageFileDirectory(ExifInterface.java:2046)
at android.media.ExifInterface.readImageFileDirectory(ExifInterface.java:2019)
at android.media.ExifInterface.readImageFileDirectory(ExifInterface.java:2046)
at android.media.ExifInterface.readImageFileDirectory(ExifInterface.java:2019)
at android.media.ExifInterface.readExifSegment(ExifInterface.java:1868)
at android.media.ExifInterface.getJpegAttributes(ExifInterface.java:1667)
at android.media.ExifInterface.loadAttributes(ExifInterface.java:1334)
at android.media.ExifInterface.(ExifInterface.java:1052)
at com.facebook.imagepipeline.producers.LocalExifThumbnailProducer.getExifInterface(SourceFile:136)
at com.facebook.imagepipeline.producers.LocalExifThumbnailProducer$1.getResult(SourceFile:2103)
at com.facebook.common.executors.StatefulRunnable.run(SourceFile:45)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)
Issue Analytics
- State:
- Created 7 years ago
- Comments:14 (3 by maintainers)
Top Results From Across the Web
Weird fatal crash with ExifInterface and VM aborting
I'm getting a strange fatal crash with ExifInterface. The line that gives the crash is this, quite straightforward (Foto.java:341): ExifInterface exif = new ......
Read more >ExifInterface - Android Developers
This is a class for reading and writing Exif tags in various image file formats ... inside the image file, or null if...
Read more >tests/camera/src/android/hardware/cts/CameraTest.java
Some exif tags that are not defined by ExifInterface but supported. ... assertNoLetters(parameters.get("jpeg-thumbnail-size-values"),.
Read more >Facebook - Bountysource
My app crashes while trying to draw very large gif image. ... ExifInterface: Encountered exception while getting thumbnail android.system.
Read more >Image Authentication using JPEG Headers
Keywords: Metadata, JPEG, IMEI, EXIF interface ... manufacturers embed the serial number of the device into the image metadata ... Thumbnail and Image...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So glad to see this issue was fixed with f38a2bc8c2b196b7e821af13595b08dd15d987dd , Thank you @franzks and @lambdapioneer
Sorry, I’m not actually using this project at all. I had the same crash behavior in one of my own Android applications (entirely unrelated to this project / not using it). Found this issue as it was the best search result. I’m only posting here to confirm it happens elsewhere and wanted to note that most devices are immune, but some are not. My solution in my own app is simply to route all calls through the above code.