AndroidPdfViewer icon indicating copy to clipboard operation
AndroidPdfViewer copied to clipboard

Application is crashing Fatal signal 11 when opening PDF on few tablets

Open soniamelimu opened this issue 9 years ago • 11 comments

Application is crashing Fatal signal 11 when opening PDF on few tablets. The PDF contain images and text and is of 11 pages. Please help as we cannot make the application live with this issue.

Attaching the PDF.

testingcrashpdf.pdf

Crash LOG -- : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 5483 (PDF renderer)

soniamelimu avatar Mar 24 '17 09:03 soniamelimu

Tested your pdf and no errors here..

1stmetro avatar Mar 24 '17 09:03 1stmetro

Thanks for the reply, Yes in few devices its not crashing but on some it is Android version 5.1(its crashing). Please load it from internal or external storage as loading a pdf from assets is working, means same pdf is not getting crashed.

Thanks Sonia

soniamelimu avatar Mar 24 '17 09:03 soniamelimu

I'm loading it from internal drive on latest 7.1 OS and working fine. Go back to basics and use the example code to check its not something in your code causing this.

1stmetro avatar Mar 24 '17 10:03 1stmetro

I am checking in sample code only which i have downloaded from github. On same tablet the sample app is working fine when loading pdf from assets and if loading from internal/external storage then its not working.

Also i have observed that its not working on Android 5.1

Thanks Sonia

soniamelimu avatar Mar 24 '17 10:03 soniamelimu

Sorry if I'm a little confused when you load from a file it fails on some tablets not others that would be down to the paths as different versions of Android use different names for internal external storage check your paths on each device then use file manager to check path is the same on device to .

1stmetro avatar Mar 24 '17 10:03 1stmetro

PDF opened but when i scroll it closes the sample application.

Says this error- Crash LOG -- : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 5483 (PDF renderer)

soniamelimu avatar Mar 24 '17 11:03 soniamelimu

Test with the sample pdf and prove it works on all your devices could be issue with the of pdf format, pdfform etc.

1stmetro avatar Mar 24 '17 11:03 1stmetro

same issue here pdfviewer crashes on android 5.0.1 and works fine on 4.4.4 i can send you all required data to fix it, attached is my test file Ref1_ImpactOfiPads.pdf

ElBedeawi avatar Apr 10 '17 13:04 ElBedeawi

Same issue still exist on few PDF on Android 5.0.1 +.

soniamelimu avatar Apr 11 '17 04:04 soniamelimu

That pdf is a weird format as I don't render the text and I'm using a version of off code that doesnt have issues with rendering, save the pdf as standard format and it will work.

1stmetro avatar Apr 11 '17 05:04 1stmetro

Works fine on android 4.4.2 but on 6.0 the app crashes.

Sorry for trouble. I've investigate this issue, some fonts in my pdf file cannot be rendered correctly on Android 5.1(text is white but should be black), on Android 6.0 the app crashes.

VitaliyLutchenko avatar May 22 '17 14:05 VitaliyLutchenko