Obsolete
Status Update
Comments
sa...@google.com <sa...@google.com> #2
Thank you for your feedback. We assure you that we are doing our best to address the issue reported, however our product team has shifted work priority that doesn't include this issue. For now, we will be closing the issue as won't fix obsolete. If this issue currently still exists, we request that you log a new issue along with latest bug report here https://goo.gl/TbMiIO .
Description
Send a broken through an app which uses android.graphics.pdf.PdfRenderer to open/display the PDF
On Android SDK 21-22 the app crashes as soon as the PDF opens
On Android SDK 23-25 the app crashes as soon as you display the page with the broken content
- What happened.
App crashes without being able to use a try/catch block
- What you think the correct behavior should be.
Should be able to catch the error, instead an ANR is displayed
Don't forget to mention which version of Android you're using, and/or which device the problem appears on (model and Android version).
Have tried this on multiple versions of Android, from 5.1 to 7.1, multiple devices, every single one displays the ANR dialog
Please also run "adb bugreport" and archive the output.
BugReport doesn't seem to show what's happening.
When the app crashes, the following message is displayed in the logcat (I've trimmed out the package info):
A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 16170
A/AEE/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Note that the broken PDF displays in iOS browser and on OS X Preview, using the Drive PDF Viewer also displays the file on the same device