DImuthuUpe / AndroidPdfViewer

Android view for displaying PDFs rendered with PdfiumAndroid
Apache License 2.0
8.17k stars 1.91k forks source link

bug #148

Open Malonglong2016 opened 7 years ago

Malonglong2016 commented 7 years ago

SIGSEGV(SEGV_MAPERR) 0x0

00 pc 00000000000138d4 /system/lib64/libc.so (memcpy+276) [arm64-v8a::222da26190e5e35fc94d237699b4037b]

                                                              #01  pc 00000000000507c4  /system/lib64/libc.so (fread+176) [arm64-v8a::222da26190e5e35fc94d237699b4037b]
                                                              #02  pc 00000000001e744c  /data/app/com.redstar.mainapp-1/lib/arm64/libmodpdfium.so (FPDFAPI_FT_Stream_ReadAt+80) [arm64-v8a::8836e3ffc669cc699c32c71f18b5c65c]
                                                              #03  pc 00000000001e6094  /data/app/com.redstar.mainapp-1/lib/arm64/libmodpdfium.so (FPDFAPI_FT_Load_Sfnt_Table+136) [arm64-v8a::8836e3ffc669cc699c32c71f18b5c65c]
                                                              #04  pc 0000000000241e48  /data/app/com.redstar.mainapp-1/lib/arm64/libmodpdfium.so (_ZN13CFPF_SkiaFont11GetFontDataEjPhj+36) [arm64-v8a::8836e3ffc669cc699c32c71f18b5c65c]
                                                              #05  pc 000000000023fb90  /data/app/com.redstar.mainapp-1/lib/arm64/libmodpdfium.so (_ZN19CFX_AndroidFontInfo11GetFontDataEPvjPhj+36) [arm64-v8a::8836e3ffc669cc699c32c71f18b5c65c]
                                                              #06  pc 0000000000197d0c  /data/app/com.redstar.mainapp-1/lib/arm64/libmodpdfium.so (_ZN14CFX_FontMapper13FindSubstFontERK14CFX_ByteStringijiiiP13CFX_SubstFont+2284) [arm64-v8a::8836e3ffc669cc699c32c71f18b5c65c]
                                                              #07  pc 0000000000195d00  /data/app/com.redstar.mainapp-1/lib/arm64/libmodpdfium.so (_ZN11CFX_FontMgr13FindSubstFontERK14CFX_ByteStringijiiiP13CFX_SubstFont+184) [arm64-v8a::8836e3ffc669cc699c32c71f18b5c65c]
                                                              #08  pc 00000000001949f8  /data/app/com.redstar.mainapp-1/lib/arm64/libmodpdfium.so (_ZN8CFX_Font9LoadSubstERK14CFX_ByteStringijiiii+116) [arm64-v8a::8836e3ffc669cc699c32c71f18b5c65c]
                                                              #09  pc 00000000000db560  /data/app/com.redstar.mainapp-1/lib/arm64/libmodpdfium.so (_ZN12CPDF_CIDFont5_LoadEv+1664) [arm64-v8a::8836e3ffc669cc699c32c71f18b5c65c]
                                                              #10  pc 00000000000d3728  /data/app/com.redstar.mainapp-1/lib/arm64/libmodpdfium.so (_ZN9CPDF_Font4LoadEv+192) [arm64-v8a::8836e3ffc669cc699c32c71f18b5c65c]
                                                              #11  pc 00000000000d68e4  /data/app/com.redstar.mainapp-1/lib/arm64/libmodpdfium.so (_ZN9CPDF_Font11CreateFontFEP13CPDF_DocumentP15CPDF_Dictionary+308) [arm64-v8a::8836e3ffc669cc699c32c71f18b5c65c]
                                                              #12  pc 00000000000e566c  /data/app/com.redstar.mainapp-1/lib/arm64/libmodpdfium.so (_ZN16CPDF_DocPageData7GetFontEP15CPDF_Dictionaryi+260) [arm64-v8a::8836e3ffc669cc699c32c71f18b5c65c]
                                                              #13  pc 00000000000ef4c8  /data/app/com.redstar.mainapp-1/lib/arm64/libmodpdfium.so (_ZN24CPDF_StreamContentParser8FindFontERK14CFX_ByteString+136) [arm64-v8a::8836e3ffc669cc699c32c71f18b5c65c]
                                                              #14  pc 00000000000ef594  /data/app/com.redstar.mainapp-1/lib/arm64/libmodpdfium.so (_ZN24CPDF_StreamContentParser14Handle_SetFontEv+152) [arm64-v8a::8836e3ffc669cc699c32c71f18b5c65c]
                                                              #15  pc 00000000000ee960  /data/app/com.redstar.mainapp-1/lib/arm64/libmodpdfium.so (_ZN24CPDF_StreamContentParser10OnOperatorEPKc+204) [arm64-v8a::8836e3ffc669cc699c32c71f18b5c65c]
                                                              #16  pc 00000000000f3fb0  /data/app/com.redstar.mainapp-1/lib/arm64/libmodpdfium.so (_ZN24CPDF_StreamContentParser5ParseEPKhjj+296) [arm64-v8a::8836e3ffc669cc699c32c71f18b5c65c]
                                                              #17  pc 00000000000f57b4  /data/app/com.redstar.mainapp-1/lib/arm64/libmodpdfium.so (_ZN18CPDF_ContentParser8ContinueEP9IFX_Pause+948) [arm64-v8a::8836e3ffc669cc699c32c71f18b5c65c]
                                                              #18  pc 00000000000df618  /data/app/com.redstar.mainapp-1/lib/arm64/libmodpdfium.so (_ZN16CPDF_PageObjects13ContinueParseEP9IFX_Pause+28) [arm64-v8a::8836e3ffc669cc699c32c71f18b5c65c]
                                                              #19  pc 000000000009f06c  /data/app/com.redstar.mainapp-1/lib/arm64/libmodpdfium.so (FPDF_LoadPage+112) [arm64-v8a::8836e3ffc669cc699c32c71f18b5c65c]
                                                              #20  pc 00000000000117a0  /data/app/com.redstar.mainapp-1/lib/arm64/libjniPdfium.so [arm64-v8a::8212532e68f19aa3c0df10b0c46f65f3]
                                                              #21  pc 000000000110c8e4  /data/dalvik-cache/arm64/data@app@com.redstar.mainapp-1@base.apk@classes.dex (oatdata+17873124) [::996931d483f785d124feed9803bf0a0a]
                                                              java:
                                                              com.shockwave.pdfium.PdfiumCore.openPage(PdfiumCore.java:134)
                                                              com.github.barteksc.pdfviewer.RenderingAsyncTask.proceed(RenderingAsyncTask.java:117)
                                                              com.github.barteksc.pdfviewer.RenderingAsyncTask.doInBackground(RenderingAsyncTask.java:77)
                                                              com.github.barteksc.pdfviewer.RenderingAsyncTask.doIn
rekirt commented 7 years ago

i met this quest in HUAWEI/TAG-AL00/HWTAG-L6753:5.1