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

Implementation new libpdfium so libs #16

Closed
wants to merge 2 commits into from
Closed

Implementation new libpdfium so libs #16

wants to merge 2 commits into from

Conversation

lion1988dev
Copy link

Update libpdfium so libs for fixing pdf view on Android 23 API

@johngray1965
Copy link
Owner

I hope to test this and make some other change to the project today (but my day is flying by very quickly already).

@johngray1965 johngray1965 self-requested a review February 5, 2024 19:07
@johngray1965
Copy link
Owner

Crashes on the very first test, never runs any of the others.

Your branch loads way fewer native libraries. Is it statically linking everything? If so, we should at least discuss the ins and outs of that.

Without your changes, it runs 60+ tests cleanly.

The log is from x86 in GenyMotion emulator. Does the same thing on Samsung S10 (with an arm process).

I gather you can run the tests, there must be something your environment? If I can't checkout your branch, and successfully run the tests, it won't get merged. If you have any ideas why it works for you and not for me, I'd be happy to hear them. Are you sure you don't already have some of libraries on the device your testing on? Can you test on a clean device (like a newly created emulator)?

02-05 19:16:02.753 25698 25698 F DEBUG : Cmdline: io.legere.pdfiumandroid.test
02-05 19:16:02.754 25698 25698 F DEBUG : pid: 25672, tid: 25689, name: roidJUnitRunner >>> io.legere.pdfiumandroid.test <<<
02-05 19:16:02.754 25698 25698 F DEBUG : uid: 10119
02-05 19:16:02.754 25698 25698 F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
02-05 19:16:02.754 25698 25698 F DEBUG : Abort message: 'Scudo ERROR: corrupted chunk header at address 0x24e800458000
02-05 19:16:02.754 25698 25698 F DEBUG : '
02-05 19:16:02.754 25698 25698 F DEBUG : rax 0000000000000000 rbx 0000000000006448 rcx 000078e5361dd69f rdx 0000000000000006
02-05 19:16:02.754 25698 25698 F DEBUG : r8 0000000000000000 r9 0000000000000000 r10 000078e2236c0ca0 r11 0000000000000203
02-05 19:16:02.754 25698 25698 F DEBUG : r12 000078e53b7f6018 r13 000078e2236c0f70 r14 000078e2236c0c98 r15 0000000000006459
02-05 19:16:02.754 25698 25698 F DEBUG : rdi 0000000000006448 rsi 0000000000006459
02-05 19:16:02.754 25698 25698 F DEBUG : rbp 0000000000000000 rsp 000078e2236c0c90 rip 000078e5361dd69f
02-05 19:16:02.754 25698 25698 F DEBUG : backtrace:
02-05 19:16:02.754 25698 25698 F DEBUG : #00 pc 000000000005e69f /apex/com.android.runtime/lib64/bionic/libc.so (abort+191) (BuildId: b20e259e999ae6a55a5f9df89753e904)
02-05 19:16:02.754 25698 25698 F DEBUG : #1 pc 0000000000048265 /apex/com.android.runtime/lib64/bionic/libc.so (scudo::die()+5) (BuildId: b20e259e999ae6a55a5f9df89753e904)
02-05 19:16:02.754 25698 25698 F DEBUG : #2 pc 0000000000048948 /apex/com.android.runtime/lib64/bionic/libc.so (scudo::ScopedErrorReport::~ScopedErrorReport()+24) (BuildId: b20e259e999ae6a55a5f9df89753e904)
02-05 19:16:02.754 25698 25698 F DEBUG : #3 pc 0000000000048a1c /apex/com.android.runtime/lib64/bionic/libc.so (scudo::reportHeaderCorruption(void*)+60) (BuildId: b20e259e999ae6a55a5f9df89753e904)
02-05 19:16:02.754 25698 25698 F DEBUG : #4 pc 000000000004a05e /apex/com.android.runtime/lib64/bionic/libc.so (scudo::Allocator<scudo::AndroidConfig, &(scudo_malloc_postinit)>::deallocate(void*, scudo::Chunk::Origin, unsigned long, unsigned long)+318) (BuildId: b20e259e999ae6a55a5f9df89753e904)
02-05 19:16:02.754 25698 25698 F DEBUG : #5 pc 0000000000030aa5 /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/lib/x86_64/libpdfiumandroid.so (DocumentFile::~DocumentFile()+85) (BuildId: edeb5307d747fa70755ba61678dab0f3e5f0f61b)
02-05 19:16:02.754 25698 25698 F DEBUG : #6 pc 0000000000032896 /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/lib/x86_64/libpdfiumandroid.so (Java_io_legere_pdfiumandroid_PdfDocument_nativeCloseDocument+54) (BuildId: edeb5307d747fa70755ba61678dab0f3e5f0f61b)
02-05 19:16:02.754 25698 25698 F DEBUG : #7 pc 00000000003a03ab /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+219) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.754 25698 25698 F DEBUG : #8 pc 000000000038d053 /apex/com.android.art/lib64/libart.so (nterp_helper+5643) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.755 25698 25698 F DEBUG : #9 pc 0000000000003018 [anon:dalvik-classes2.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk!classes2.dex] (io.legere.pdfiumandroid.PdfDocument.close+64)
02-05 19:16:02.755 25698 25698 F DEBUG : #10 pc 000000000038c8e0 /apex/com.android.art/lib64/libart.so (nterp_helper+3736) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.755 25698 25698 F DEBUG : #11 pc 0000000000001010 [anon:dalvik-classes6.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk!classes6.dex] (io.legere.pdfiumandroid.PdfDocumentTest.tearDown+20)
02-05 19:16:02.755 25698 25698 F DEBUG : #12 pc 0000000000395094 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+756) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.755 25698 25698 F DEBUG : #13 pc 000000000041da7a /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+218) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.755 25698 25698 F DEBUG : #14 pc 0000000000819472 /apex/com.android.art/lib64/libart.so (_jobject* art::InvokeMethod<(art::PointerSize)8>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long)+1442) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.755 25698 25698 F DEBUG : #15 pc 0000000000772698 /apex/com.android.art/lib64/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*)+56) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.755 25698 25698 F DEBUG : #16 pc 00000000000b5a30 /apex/com.android.art/javalib/x86_64/boot.oat (art_jni_trampoline+144) (BuildId: d92cc57761604ac2f5849e74a41f38bf70ac7a09)
02-05 19:16:02.755 25698 25698 F DEBUG : #17 pc 0000000000395094 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+756) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.755 25698 25698 F DEBUG : #18 pc 000000000041da7a /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+218) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.755 25698 25698 F DEBUG : #19 pc 00000000005a346c /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+428) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.755 25698 25698 F DEBUG : #20 pc 000000000059d27c /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1036) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.756 25698 25698 F DEBUG : #21 pc 000000000096e275 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1349) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.756 25698 25698 F DEBUG : #22 pc 000000000037e799 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+25) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.756 25698 25698 F DEBUG : #23 pc 00000000003453c0 [anon:dalvik-classes.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk] (org.junit.runners.model.FrameworkMethod$1.runReflectiveCall+20)
02-05 19:16:02.756 25698 25698 F DEBUG : #24 pc 0000000000594c52 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool)+306) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.756 25698 25698 F DEBUG : #25 pc 000000000059c66b /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+203) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.756 25698 25698 F DEBUG : #26 pc 000000000059d25d /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1005) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.756 25698 25698 F DEBUG : #27 pc 000000000096e275 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1349) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.756 25698 25698 F DEBUG : #28 pc 000000000037e799 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+25) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.756 25698 25698 F DEBUG : #29 pc 000000000033d39c [anon:dalvik-classes.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk] (org.junit.internal.runners.model.ReflectiveCallable.run+0)
02-05 19:16:02.756 25698 25698 F DEBUG : #30 pc 0000000000594c52 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool)+306) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.756 25698 25698 F DEBUG : #31 pc 000000000059c66b /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+203) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.756 25698 25698 F DEBUG : #32 pc 000000000059d25d /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1005) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.756 25698 25698 F DEBUG : #33 pc 000000000096e275 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1349) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.756 25698 25698 F DEBUG : #34 pc 000000000037e799 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+25) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.756 25698 25698 F DEBUG : #35 pc 000000000034561a [anon:dalvik-classes.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk] (org.junit.runners.model.FrameworkMethod.invokeExplosively+10)
02-05 19:16:02.757 25698 25698 F DEBUG : #36 pc 0000000000594c52 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool)+306) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.757 25698 25698 F DEBUG : #37 pc 000000000059c66b /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+203) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.757 25698 25698 F DEBUG : #38 pc 000000000059d25d /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1005) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.757 25698 25698 F DEBUG : #39 pc 000000000096e275 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1349) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.757 25698 25698 F DEBUG : #40 pc 000000000037e799 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+25) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.757 25698 25698 F DEBUG : #41 pc 000000000014c2a4 [anon:dalvik-classes.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk] (androidx.test.internal.runner.junit4.statement.RunAfters.evaluate+96)
02-05 19:16:02.757 25698 25698 F DEBUG : #42 pc 0000000000594c52 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool)+306) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.757 25698 25698 F DEBUG : #43 pc 000000000059c66b /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+203) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.757 25698 25698 F DEBUG : #44 pc 000000000059d25d /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1005) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.757 25698 25698 F DEBUG : #45 pc 000000000096e275 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1349) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.757 25698 25698 F DEBUG : #46 pc 000000000037e799 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+25) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.758 25698 25698 F DEBUG : #47 pc 0000000000343fe0 [anon:dalvik-classes.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk] (org.junit.runners.ParentRunner$3.evaluate+4)
02-05 19:16:02.758 25698 25698 F DEBUG : #48 pc 0000000000594c52 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool)+306) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.758 25698 25698 F DEBUG : #49 pc 000000000059c66b /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+203) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.758 25698 25698 F DEBUG : #50 pc 000000000059d25d /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1005) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.759 25698 25698 F DEBUG : #51 pc 000000000096e275 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1349) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.759 25698 25698 F DEBUG : #52 pc 000000000037e799 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+25) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.759 25698 25698 F DEBUG : #53 pc 0000000000342db8 [anon:dalvik-classes.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk] (org.junit.runners.BlockJUnit4ClassRunner$1.evaluate+16)
02-05 19:16:02.759 25698 25698 F DEBUG : #54 pc 0000000000594c52 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool)+306) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.760 25698 25698 F DEBUG : #55 pc 000000000059c66b /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+203) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.760 25698 25698 F DEBUG : #56 pc 000000000059d25d /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1005) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.760 25698 25698 F DEBUG : #57 pc 000000000096e275 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1349) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.760 25698 25698 F DEBUG : #58 pc 000000000037e799 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+25) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.761 25698 25698 F DEBUG : #59 pc 0000000000344a28 [anon:dalvik-classes.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk] (org.junit.runners.ParentRunner.runLeaf+16)
02-05 19:16:02.761 25698 25698 F DEBUG : #60 pc 0000000000594c52 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool)+306) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.761 25698 25698 F DEBUG : #61 pc 000000000059c66b /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+203) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.761 25698 25698 F DEBUG : #62 pc 000000000059d25d /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1005) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.761 25698 25698 F DEBUG : #63 pc 000000000096e275 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1349) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.762 25698 25698 F DEBUG : #64 pc 000000000037e799 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+25) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.762 25698 25698 F DEBUG : #65 pc 00000000003434da [anon:dalvik-classes.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk] (org.junit.runners.BlockJUnit4ClassRunner.runChild+38)
02-05 19:16:02.762 25698 25698 F DEBUG : #66 pc 0000000000594c52 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool)+306) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.762 25698 25698 F DEBUG : #67 pc 000000000059c66b /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+203) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.762 25698 25698 F DEBUG : #68 pc 000000000059d25d /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1005) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.762 25698 25698 F DEBUG : #69 pc 000000000096e275 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1349) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.762 25698 25698 F DEBUG : #70 pc 000000000037e799 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+25) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.763 25698 25698 F DEBUG : #71 pc 000000000034349a [anon:dalvik-classes.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk] (org.junit.runners.BlockJUnit4ClassRunner.runChild+6)
02-05 19:16:02.763 25698 25698 F DEBUG : #72 pc 0000000000594c52 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool)+306) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.763 25698 25698 F DEBUG : #73 pc 000000000059c66b /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+203) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.763 25698 25698 F DEBUG : #74 pc 000000000059d25d /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1005) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.763 25698 25698 F DEBUG : #75 pc 000000000096e275 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1349) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.763 25698 25698 F DEBUG : #76 pc 000000000037e799 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+25) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.764 25698 25698 F DEBUG : #77 pc 0000000000344048 [anon:dalvik-classes.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk] (org.junit.runners.ParentRunner$4.run+12)
02-05 19:16:02.764 25698 25698 F DEBUG : #78 pc 0000000000594c52 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool)+306) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.764 25698 25698 F DEBUG : #79 pc 000000000059c66b /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+203) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.764 25698 25698 F DEBUG : #80 pc 000000000059d25d /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1005) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.764 25698 25698 F DEBUG : #81 pc 0000000000975b6c /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1900) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.764 25698 25698 F DEBUG : #82 pc 000000000037e999 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+25) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.764 25698 25698 F DEBUG : #83 pc 0000000000343f64 [anon:dalvik-classes.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk] (org.junit.runners.ParentRunner$1.schedule+0)
02-05 19:16:02.764 25698 25698 F DEBUG : #84 pc 0000000000594c52 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool)+306) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.765 25698 25698 F DEBUG : #85 pc 000000000059c66b /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+203) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.765 25698 25698 F DEBUG : #86 pc 000000000059d25d /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1005) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.766 25698 25698 F DEBUG : #87 pc 0000000000975b6c /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1900) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.766 25698 25698 F DEBUG : #88 pc 000000000037e999 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+25) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.766 25698 25698 F DEBUG : #89 pc 00000000003449de [anon:dalvik-classes.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk] (org.junit.runners.ParentRunner.runChildren+50)
02-05 19:16:02.766 25698 25698 F DEBUG : #90 pc 0000000000594c52 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool)+306) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.766 25698 25698 F DEBUG : #91 pc 000000000059c66b /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+203) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.766 25698 25698 F DEBUG : #92 pc 000000000059d25d /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1005) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.766 25698 25698 F DEBUG : #93 pc 00000000009797f8 /apex/com.android.art/lib64/libart.so (MterpInvokeDirect+1416) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.766 25698 25698 F DEBUG : #94 pc 000000000037e899 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_direct+25) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.766 25698 25698 F DEBUG : #95 pc 000000000034467c [anon:dalvik-classes.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk] (org.junit.runners.ParentRunner.access$100+0)
02-05 19:16:02.766 25698 25698 F DEBUG : #96 pc 000000000097c481 /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+2337) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.766 25698 25698 F DEBUG : #97 pc 000000000037e919 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+25) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.767 25698 25698 F DEBUG : #98 pc 0000000000343fa4 [anon:dalvik-classes.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk] (org.junit.runners.ParentRunner$2.evaluate+8)
02-05 19:16:02.767 25698 25698 F DEBUG : #99 pc 0000000000594c52 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool)+306) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.767 25698 25698 F DEBUG : #100 pc 000000000059c66b /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+203) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.768 25698 25698 F DEBUG : #101 pc 000000000059d25d /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1005) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.768 25698 25698 F DEBUG : #102 pc 000000000096e275 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1349) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.768 25698 25698 F DEBUG : #103 pc 000000000037e799 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+25) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.768 25698 25698 F DEBUG : #104 pc 0000000000343fe0 [anon:dalvik-classes.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk] (org.junit.runners.ParentRunner$3.evaluate+4)
02-05 19:16:02.768 25698 25698 F DEBUG : #105 pc 0000000000594c52 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool)+306) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.768 25698 25698 F DEBUG : #106 pc 000000000059c66b /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+203) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.768 25698 25698 F DEBUG : #107 pc 000000000059d25d /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1005) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.769 25698 25698 F DEBUG : #108 pc 000000000096e275 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1349) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.769 25698 25698 F DEBUG : #109 pc 000000000037e799 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+25) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.769 25698 25698 F DEBUG : #110 pc 000000000034494c [anon:dalvik-classes.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk] (org.junit.runners.ParentRunner.run+32)
02-05 19:16:02.769 25698 25698 F DEBUG : #111 pc 0000000000594c52 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool)+306) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.769 25698 25698 F DEBUG : #112 pc 000000000059c66b /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+203) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.770 25698 25698 F DEBUG : #113 pc 000000000059d25d /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1005) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.770 25698 25698 F DEBUG : #114 pc 000000000096e275 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1349) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.770 25698 25698 F DEBUG : #115 pc 000000000037e799 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+25) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.770 25698 25698 F DEBUG : #116 pc 00000000001422b0 [anon:dalvik-classes.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk] (androidx.test.ext.junit.runners.AndroidJUnit4.run+4)
02-05 19:16:02.770 25698 25698 F DEBUG : #117 pc 0000000000594c52 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool)+306) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.770 25698 25698 F DEBUG : #118 pc 000000000059c66b /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+203) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.770 25698 25698 F DEBUG : #119 pc 000000000059d25d /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1005) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.770 25698 25698 F DEBUG : #120 pc 000000000096e275 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1349) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.770 25698 25698 F DEBUG : #121 pc 000000000037e799 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+25) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.770 25698 25698 F DEBUG : #122 pc 0000000000345108 [anon:dalvik-classes.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk] (org.junit.runners.Suite.runChild+0)
02-05 19:16:02.770 25698 25698 F DEBUG : #123 pc 0000000000594c52 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool)+306) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.770 25698 25698 F DEBUG : #124 pc 000000000059c66b /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+203) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.770 25698 25698 F DEBUG : #125 pc 000000000059d25d /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1005) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.770 25698 25698 F DEBUG : #126 pc 000000000096e275 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1349) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.770 25698 25698 F DEBUG : #127 pc 000000000037e799 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+25) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.770 25698 25698 F DEBUG : #128 pc 00000000003450ee [anon:dalvik-classes.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk] (org.junit.runners.Suite.runChild+6)
02-05 19:16:02.770 25698 25698 F DEBUG : #129 pc 0000000000594c52 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool)+306) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.770 25698 25698 F DEBUG : #130 pc 000000000059c66b /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+203) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.770 25698 25698 F DEBUG : #131 pc 000000000059d25d /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1005) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.770 25698 25698 F DEBUG : #132 pc 000000000096e275 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1349) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.770 25698 25698 F DEBUG : #133 pc 000000000037e799 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+25) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.770 25698 25698 F DEBUG : #134 pc 0000000000344048 [anon:dalvik-classes.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk] (org.junit.runners.ParentRunner$4.run+12)
02-05 19:16:02.770 25698 25698 F DEBUG : #135 pc 0000000000594c52 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool)+306) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.771 25698 25698 F DEBUG : #136 pc 000000000059c66b /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+203) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.771 25698 25698 F DEBUG : #137 pc 000000000059d25d /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1005) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.771 25698 25698 F DEBUG : #138 pc 0000000000975b6c /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1900) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.771 25698 25698 F DEBUG : #139 pc 000000000037e999 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+25) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.771 25698 25698 F DEBUG : #140 pc 0000000000343f64 [anon:dalvik-classes.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk] (org.junit.runners.ParentRunner$1.schedule+0)
02-05 19:16:02.771 25698 25698 F DEBUG : #141 pc 0000000000594c52 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool)+306) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.771 25698 25698 F DEBUG : #142 pc 000000000059c66b /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+203) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.772 25698 25698 F DEBUG : #143 pc 000000000059d25d /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1005) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.772 25698 25698 F DEBUG : #144 pc 0000000000975b6c /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1900) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.772 25698 25698 F DEBUG : #145 pc 000000000037e999 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+25) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.772 25698 25698 F DEBUG : #146 pc 00000000003449de [anon:dalvik-classes.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk] (org.junit.runners.ParentRunner.runChildren+50)
02-05 19:16:02.772 25698 25698 F DEBUG : #147 pc 0000000000594c52 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool)+306) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.772 25698 25698 F DEBUG : #148 pc 000000000059c66b /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+203) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.772 25698 25698 F DEBUG : #149 pc 000000000059d25d /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1005) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.772 25698 25698 F DEBUG : #150 pc 00000000009797f8 /apex/com.android.art/lib64/libart.so (MterpInvokeDirect+1416) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.772 25698 25698 F DEBUG : #151 pc 000000000037e899 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_direct+25) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.772 25698 25698 F DEBUG : #152 pc 000000000034467c [anon:dalvik-classes.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk] (org.junit.runners.ParentRunner.access$100+0)
02-05 19:16:02.772 25698 25698 F DEBUG : #153 pc 0000000000594c52 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool)+306) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.772 25698 25698 F DEBUG : #154 pc 00000000009599df /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+1007) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.772 25698 25698 F DEBUG : #155 pc 00000000003a053c /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+140) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.772 25698 25698 F DEBUG : #156 pc 000000000038baed /apex/com.android.art/lib64/libart.so (nterp_helper+165) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.772 25698 25698 F DEBUG : #157 pc 0000000000343fa4 [anon:dalvik-classes.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk] (org.junit.runners.ParentRunner$2.evaluate+8)
02-05 19:16:02.772 25698 25698 F DEBUG : #158 pc 000000000038c8e0 /apex/com.android.art/lib64/libart.so (nterp_helper+3736) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.772 25698 25698 F DEBUG : #159 pc 0000000000343fe0 [anon:dalvik-classes.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk] (org.junit.runners.ParentRunner$3.evaluate+4)
02-05 19:16:02.772 25698 25698 F DEBUG : #160 pc 000000000038c8e0 /apex/com.android.art/lib64/libart.so (nterp_helper+3736) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.772 25698 25698 F DEBUG : #161 pc 000000000034494c [anon:dalvik-classes.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk] (org.junit.runners.ParentRunner.run+32)
02-05 19:16:02.772 25698 25698 F DEBUG : #162 pc 000000000038c8e0 /apex/com.android.art/lib64/libart.so (nterp_helper+3736) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.772 25698 25698 F DEBUG : #163 pc 0000000000340faa [anon:dalvik-classes.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk] (org.junit.runner.JUnitCore.run+50)
02-05 19:16:02.772 25698 25698 F DEBUG : #164 pc 000000000038c8e0 /apex/com.android.art/lib64/libart.so (nterp_helper+3736) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.772 25698 25698 F DEBUG : #165 pc 0000000000340f5c [anon:dalvik-classes.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk] (org.junit.runner.JUnitCore.run+8)
02-05 19:16:02.772 25698 25698 F DEBUG : #166 pc 000000000038c8e0 /apex/com.android.art/lib64/libart.so (nterp_helper+3736) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.772 25698 25698 F DEBUG : #167 pc 0000000000148648 [anon:dalvik-classes.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk] (androidx.test.internal.runner.TestExecutor.execute+16)
02-05 19:16:02.772 25698 25698 F DEBUG : #168 pc 000000000038c8e0 /apex/com.android.art/lib64/libart.so (nterp_helper+3736) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.772 25698 25698 F DEBUG : #169 pc 00000000001486f4 [anon:dalvik-classes.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk] (androidx.test.internal.runner.TestExecutor.execute+20)
02-05 19:16:02.772 25698 25698 F DEBUG : #170 pc 000000000038c8e0 /apex/com.android.art/lib64/libart.so (nterp_helper+3736) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.772 25698 25698 F DEBUG : #171 pc 0000000000153332 [anon:dalvik-classes.dex extracted in memory from /data/app/~~PJgskBFQ4prPX5N9pO8rcg==/io.legere.pdfiumandroid.test-wyncFjh7PJ8w_baa21lPfA==/base.apk] (androidx.test.runner.AndroidJUnitRunner.onStart+274)
02-05 19:16:02.773 25698 25698 F DEBUG : #172 pc 000000000038c8e0 /apex/com.android.art/lib64/libart.so (nterp_helper+3736) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.773 25698 25698 F DEBUG : #173 pc 000000000023d886 /system/framework/framework.jar (android.app.Instrumentation$InstrumentationThread.run+94)
02-05 19:16:02.773 25698 25698 F DEBUG : #174 pc 0000000000395094 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+756) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.773 25698 25698 F DEBUG : #175 pc 000000000041da7a /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+218) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.774 25698 25698 F DEBUG : #176 pc 000000000081aa6e /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValuesart::ArtMethod*(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+478) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.774 25698 25698 F DEBUG : #177 pc 000000000087a03f /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1343) (BuildId: 21bb320319e600a99b465f6186e998cc)
02-05 19:16:02.774 25698 25698 F DEBUG : #178 pc 00000000000c794a /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+58) (BuildId: b20e259e999ae6a55a5f9df89753e904)
02-05 19:16:02.774 25698 25698 F DEBUG : #179 pc 000000000005fe57 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+55) (BuildId: b20e259e999ae6a55a5f9df89753e904)
02-05 19:16:02.798 234 234 E tombstoned: Tombstone written to: tombstone_17
02-05 19:16:02.867 421 421 I Zygote : Process 25672 exited due to signal 6 (Aborted)
02-05 19:16:02.873 728 762 I libprocessgroup: Successfully killed process cgroup uid 10119 pid 25672 in 0ms
02-05 19:16:02.885 25658 25658 D AndroidRuntime: Shutting down VM

@lion1988dev
Copy link
Author

Hello, regarding libraries, its a shared linking. Thanks for the logs, i will investigate it and will come back to you with results

@lion1988dev
Copy link
Author

From my side, i have tested it with real devices and on Android emulators different versions and all is works

@lion1988dev
Copy link
Author

Hello, @johngray1965
I have checked on clean devices Samsung S10 different versions (6, 8, 13) with different architectures x86/x86_64, arm/arm_64 and all is works fine. Regarding failed tests, im working on it, i see that the tests failed on my branch

@lion1988dev
Copy link
Author

Hello, @johngray1965 . Im already fixed tests, checked it one by one, looks like good, pushed changes, please check

@lion1988dev
Copy link
Author

lion1988dev commented Feb 27, 2024

Hello @johngray1965
Hello, @johngray1965 . Im already fixed tests, checked it one by one, looks like good, pushed changes, please check
Any news regarding this one, could you check please?

Copy link
Owner

@johngray1965 johngray1965 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why malloc instead of new?

@@ -57,11 +57,6 @@ find_library( # Sets the name of the path variable.
target_link_libraries( # Specifies the target library.
pdfiumandroid

libabsl
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you changing these dependencies? Its not necessarily a dead-breaker, but it needs to be clearly justified.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because, libpdfium.so, already contains all required dependencies

@@ -126,6 +126,38 @@ FPDF_EXPORT FPDF_PAGE FPDF_CALLCONV FPDFPage_New(FPDF_DOCUMENT document,
FPDF_EXPORT void FPDF_CALLCONV FPDFPage_Delete(FPDF_DOCUMENT document,
int page_index);

// Experimental API.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these just due to the new version of pdfium?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

@@ -284,8 +284,8 @@ Java_io_legere_pdfiumandroid_PdfiumCore_nativeOpenMemDocument(JNIEnv *env, jobje
}

int size = (int) env->GetArrayLength(data);
auto *cDataCopy = new jbyte[size];
env->GetByteArrayRegion(data, 0, size, cDataCopy);
auto *cDataCopy = malloc(size);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this being changed to malloc?

@johngray1965
Copy link
Owner

I have a number of concerns. There are lot of changes to the pdfium headers and whatnot. Are they just do a new pdfium? I can update the pdfium version (In fact I should).

The tests still failed (i haven't looked into why).

The PR is rather large. I'm concerned about accepting binaries changes (and I don't much want to go back to building it myself). It's getting harder and harder to justify targeting less than API 23.

@johngray1965
Copy link
Owner

I'm updating the libraries to the latest from: https://github.com/bblanchon/pdfium-binaries

@lion1988dev
Copy link
Author

lion1988dev commented Feb 27, 2024

I'm updating the libraries to the latest from: https://github.com/bblanchon/pdfium-binaries

@johngray1965 It will not work with Android 23-24-25,. Im also working with pdfium-binaries, but i added changes to the configurations and rebuild it for fixing Android 23-24-25

@lion1988dev
Copy link
Author

I'm updating the libraries to the latest from: https://github.com/bblanchon/pdfium-binaries

@johngray1965 It will not work with Android 23-24-25,. Im also working with pdfium-binaries, but i added changes to the configurations and rebuild it for fixing Android 23-24-25

@lion1988dev
Copy link
Author

lion1988dev commented Feb 27, 2024

As i see in your description, minimal Android API is 21

@lion1988dev
Copy link
Author

lion1988dev commented Feb 27, 2024

So, what we will do? Because your PDF library not working with Android 21-22-23-24 and you declared that it should work from 21. Im trying to help you with that and i dont understand your todays comment, tests are fixed, libraries worked from > Android 23. I can leave your so files, which i removed in current MR, but it no sense, because its already included in new pdfium so

@johngray1965
Copy link
Owner

It was working with 21, it's probably do to pdfium updates. But sorry, I'm not willing to accept the binaries or build them myself. So the only real options for you to release your own version or get Pdfium to accept the changes so they go into the offical (or semi-official builds)

But when I update the libraries, I'll work out some of the issues, then you have a smaller delta.

@lion1988dev
Copy link
Author

lion1988dev commented Feb 27, 2024

So, go step by step:

I'm not willing to accept the binaries or build

  1. Im using https://github.com/bblanchon/pdfium-binaries which are you using official sources of pdfium

  2. All the changes we are discussed in this thread: Shared libraries cannot locate symbol "__register_atfork", Android API 21-22-23 bblanchon/pdfium-binaries#147 with bblanchon

  3. I have only two small changes regarding pdfium build:

  • Updated hash-style to both
  • Lower minimal android sdk version

Why malloc instead of new?
4. If we are talking regarding free() function, correctly is to use malloc or calloc for reservation memory, but not new

  1. Also, i dont understand, why your minimal Android version is 21, but its not correct, please change it to correct SDK version which is really works

  2. Regarding tests, which were fixed, i have tested it and it works, try to check it one by one, not all

@johngray1965
Copy link
Owner

I pushed an update to use the latest version of pdfium. That moved to just one library like yours. So it now has a lot of your changes. I still don't know I can run the tests for yours. After I updated the libraries and headers, I just needed to adjust the CMakeLists.txt and it worked. No changes to the code.

@lion1988dev
Copy link
Author

lion1988dev commented Feb 27, 2024

I pushed an update to use the latest version of pdfium. That moved to just one library like yours. So it now has a lot of your > changes.
Great news! Its a first step to out win ;)

I still don't know I can run the tests for yours. After I updated the libraries and headers, I just needed to adjust the CMakeLists.txt and it worked. No changes to the code.
I will create new MR, which will be created from your newest master, will check it again together. Its very important, because we need to solve 23-24-25 version of SDK, i think it will be a good profit for you and for me also, because i need to use PDF view for my project ;)

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

Successfully merging this pull request may close these issues.

2 participants