Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal signal 11 on large files #45

Open
titovnick opened this issue Jul 26, 2016 · 5 comments
Open

Fatal signal 11 on large files #45

titovnick opened this issue Jul 26, 2016 · 5 comments

Comments

@titovnick
Copy link

Good day!
Getting Fatal signal 11 at opening 70 mb size pdf.
Error - A/libc: Fatal signal 11 (SIGSEGV), code 128, fault addr 0x0 in tid 7413 (AsyncTask #4)
or
Error - A/libc: Fatal signal 11 (SIGSEGV), code 128, fault addr 0x0 in tid 7021 (AsyncTask #2)

Stacktrace:
`pid: 32022, tid: 32308, name: AsyncTask #4 >>> package.name <<<
signal 11 (SIGSEGV), code 128 (SI_KERNEL), fault addr 0x0
eax 00000000 ebx d4e9c20c ecx 00000000 edx cde485b8
esi 00000000 edi 00000001
xcs 00000023 xds 0000002b xes 0000002b xfs 000000ff xss 0000002b
eip d4c125a0 ebp d44f8df8 esp d44f8dbc flags 00210246

backtrace:
#00 pc 002af5a0 /data/app/package.name-1/lib/x86/libmodpdfium.so
#1 pc 002b2990 /data/app/package.name-1/lib/x86/libmodpdfium.so (opj_dwt_decode_real+1456)
#2 pc 002029ee /data/app/package.name-1/lib/x86/libmodpdfium.so (opj_tcd_decode_tile+414)
#3 pc 001f161b /data/app/package.name-1/lib/x86/libmodpdfium.so (opj_j2k_decode_tile+123)
#4 pc 001f1b67 /data/app/package.name-1/lib/x86/libmodpdfium.so
#5 pc 001e56b4 /data/app/package.name-1/lib/x86/libmodpdfium.so (opj_j2k_decode+180)
#6 pc 001f8360 /data/app/package.name-1/lib/x86/libmodpdfium.so (opj_jp2_decode+80)
#7 pc 001f529f /data/app/package.name-1/lib/x86/libmodpdfium.so (opj_decode+63)
#8 pc 00149a74 /data/app/package.name-1/lib/x86/libmodpdfium.so (CJPX_Decoder::Init(unsigned char const, int)+532)
#9 pc 00149bf9 /data/app/package.name-1/lib/x86/libmodpdfium.so (CCodec_JpxModule::CreateDecoder(unsigned char const, unsigned int, int)+73)
#10 pc 0011dd61 /data/app/package.name-1/lib/x86/libmodpdfium.so (CPDF_DIBSource::LoadJpxBitmap()+129)
#11 pc 0011e9f3 /data/app/package.name-1/lib/x86/libmodpdfium.so (CPDF_DIBSource::CreateDecoder()+579)
#12 pc 00120c87 /data/app/package.name-1/lib/x86/libmodpdfium.so (CPDF_DIBSource::StartLoadDIBSource(CPDF_Document, CPDF_Stream const, int, CPDF_Dictionary, CPDF_Dictionary, int, unsigned int, int)+487)
#13 pc 001172c9 /data/app/package.name-1/lib/x86/libmodpdfium.so (CPDF_ImageCache::StartGetCachedBitmap(CPDF_Dictionary, CPDF_Dictionary, int, unsigned int, int, CPDF_RenderStatus, int, int)+169)
#14 pc 001173b2 /data/app/package.name-1/lib/x86/libmodpdfium.so (CPDF_PageRenderCache::StartGetCachedBitmap(CPDF_Stream, int, unsigned int, int, CPDF_RenderStatus, int, int)+130)
#15 pc 00120ec9 /data/app/package.name-1/lib/x86/libmodpdfium.so (CPDF_ProgressiveImageLoaderHandle::Start(CPDF_ImageLoader, CPDF_ImageObject const, CPDF_PageRenderCache, int, unsigned int, int, CPDF_RenderStatus, int, int)+121)
#16 pc 00121032 /data/app/package.name-1/lib/x86/libmodpdfium.so (CPDF_ImageLoader::StartLoadImage(CPDF_ImageObject const, CPDF_PageRenderCache, void&, int, unsigned int, int, CPDF_RenderStatus, int, int)+130)
#17 pc 001184f3 /data/app/package.name-1/lib/x86/libmodpdfium.so (CPDF_ImageRenderer::StartLoadDIBSource()+179)
#18 pc 0011a3cd /data/app/package.name-1/lib/x86/libmodpdfium.so (CPDF_ImageRenderer::Start(CPDF_RenderStatus, CPDF_PageObject const, CFX_Matrix const, int, int)+173)
#19 pc 00115a10 /data/app/package.name-1/lib/x86/libmodpdfium.so (CPDF_RenderStatus::ContinueSingleObject(CPDF_PageObject const, CFX_Matrix const, IFX_Pause)+400)
#20 pc 00115bee /data/app/package.name-1/lib/x86/libmodpdfium.so (CPDF_ProgressiveRenderer::Continue(IFX_Pause)+414)
#21 pc 00115f51 /data/app/package.name-1/lib/x86/libmodpdfium.so (CPDF_ProgressiveRenderer::Start(CPDF_RenderContext, CFX_RenderDevice, CPDF_RenderOptions const, IFX_Pause, int)+129)
#22 pc 00082352 /data/app/package.name-1/lib/x86/libmodpdfium.so (FPDF_RenderPage_Retail(CRenderContext, void, int, int, int, int, int, int, int, IFSDK_PAUSE_Adapter*)+626)
#23 pc 00082d99 /data/app/package.name-1/lib/x86/libmodpdfium.so (FPDF_RenderPageBitmap+345)
#24 pc 0000654b /data/app/package.name-1/lib/x86/libjniPdfium.so (Java_com_shockwave_pdfium_PdfiumCore_nativeRenderPageBitmap+779)
#25 pc 002c9ded /data/dalvik-cache/x86/data@app@package.name-1@base.apk@classes.dex`

Thanks for your help.
Best, Nick.

@kellyrose0902
Copy link

I have this issues too when loading pdf with multiple images

@grilo341
Copy link

grilo341 commented Nov 3, 2016

I have same issue

@matav
Copy link

matav commented Dec 17, 2016

I have same problem

@TalhaAkkas
Copy link

same problem here
with detail it wont occur files from assets but it happens when i try to open file from internal files dir

@matav
Copy link

matav commented Feb 12, 2017

My problem is in the x86 processor. Just copy the library from the ARM to x86 folder. Old library in x86 deleted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants