Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

Problem with librdpdf.so in armeabi-v7a

More
IP: 192.168.0.71 11 years 4 months ago #7553 by Felix85
Hello radaee Team.

I run into a problem using your pdf Library for different Devices.

It works fine on Nexus 5/10/7 ...
But on my Samsung GT-P7500 Android:4.0.4 i got the following Error:

signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr 5ccd5fe8
10-27 11:27:28.230: I/DEBUG(5021): r0 00000000 r1 4008a690 r2 00000000 r3 9cd674cb
10-27 11:27:28.510: I/DEBUG(5021): #00 pc 000c9fe8 /data/data/at.apa.pdfwlclient.whitelabel/lib/librdpdf.so
10-27 11:27:28.510: I/DEBUG(5021): #01 pc 00012500 /system/lib/libc.so (pthread_once)

i found some information about this ERROR and could FIX it.

Here i get the Informations:
code.google.com/p/android/issues/detail?id=26199

"Ok, I found it. The problem came from libgnustl_shared.so which has been generated incorrectly.

Turns out that the library was compiled with -mfpu=vfpv3, while -mfpu=vfp or -mfpu=vfpv3-d16 should have been used. Apparently, vpfv3 == vfpv3-d32, which makes the compiler assume there are 32 double FPU registers, instead of 16.

The same problem unfortunately exists in the STLport and GAbi++ prebuilt binaries.

Damned.

I have a pending patch that fixes the issue in the build scripts, and adds a unit test that checks the instructions of all prebuilt binaries now. However, this won't be available until the next release.

In the meantime, you have several alternatives:

1/ Copy the 'armeabi' binaries over the 'armeabi-v7a'. This works, but will affect FPU performance for all computations implemented by the STL libraries (not within your code):"


I copy the armeabi/librdpdf.so into armeabi-v7a and now it works.
But this means you have something wrong in your build-process, can you please fix this asap.
We want to put our Project this week into the store.
More
IP: 192.168.0.71 11 years 4 months ago #7555 by radaee
plz try 3.1 beta, shall fixed this issue.
More
IP: 192.168.0.71 11 years 4 months ago #7560 by Felix85
Hello,
Thank you for your fast answer.

The bad News its still not working for me i download the Version from 15.10.2015.
From: www.androidpdf.mobi/download/download-android

I some Researchs for the Device and its an arm7 Processor. So the lib have to work if you can fix the build.

Beside this your Library works pretty good and fits our needs, great work.

Thanks.
More
IP: 192.168.0.71 11 years 4 months ago - 11 years 4 months ago #7561 by Felix85
oh 3.1 beta, my bad i will test it immediately
Last edit: 11 years 4 months ago by aroundmeflip.
More
IP: 192.168.0.71 11 years 4 months ago #7562 by Felix85
Hello again.

My first try was only to override the lib.so files with the new one.

Now i got a new ERROR:

10-27 13:45:55.940: I/DEBUG(9956): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
10-27 13:45:55.940: I/DEBUG(9956): Build fingerprint: 'samsung/GT-P7500/GT-P7500:4.0.4/IMM76D/XWMPJ:user/release-keys'
10-27 13:45:55.940: I/DEBUG(9956): pid: 10914, tid: 10958 >>> at.apa.pdfwlclient.whitelabel <<<
10-27 13:45:55.940: I/DEBUG(9956): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadd00d
10-27 13:45:55.940: I/DEBUG(9956): r0 00000000 r1 001b5b08 r2 00000000 r3 00000000
10-27 13:45:55.940: I/DEBUG(9956): r4 deadd00d r5 409bfc88 r6 0000020c r7 5c7f2d00
10-27 13:45:55.940: I/DEBUG(9956): r8 5da63be8 r9 5c7f2cf8 10 5c0339b1 fp 5da63bfc
10-27 13:45:55.940: I/DEBUG(9956): ip 00000000 sp 5da639a0 lr 40957f8f pc 40957f8e cpsr 60000030
10-27 13:45:55.940: I/DEBUG(9956): d0 000000013f800000 d1 0000000042620000
10-27 13:45:55.940: I/DEBUG(9956): d2 0000000000000000 d3 449ec00044a02000
10-27 13:45:55.940: I/DEBUG(9956): d4 00000000bf800000 d5 0000000000000000
10-27 13:45:55.940: I/DEBUG(9956): d6 4010000000000000 d7 0000000000000000
10-27 13:45:55.940: I/DEBUG(9956): d8 0000000000000000 d9 0000000000000000
10-27 13:45:55.940: I/DEBUG(9956): d10 0000000000000000 d11 0000000000000000
10-27 13:45:55.940: I/DEBUG(9956): d12 0000000000000000 d13 0000000000000000
10-27 13:45:55.940: I/DEBUG(9956): d14 0000000000000000 d15 0000000000000000
10-27 13:45:55.940: I/DEBUG(9956): scr 60000010
10-27 13:45:56.300: I/DEBUG(9956): #00 pc 00050f8e /system/lib/libdvm.so (dvmAbort)
10-27 13:45:56.300: I/DEBUG(9956): #01 pc 00055c14 /system/lib/libdvm.so (_Z20dvmDecodeIndirectRefP6ThreadP8_jobject)
10-27 13:45:56.300: I/DEBUG(9956): #02 pc 00056e6c /system/lib/libdvm.so
10-27 13:45:56.360: I/DEBUG(9956): #03 pc 0001ee74 /data/data/at.apa.pdfwlclient.whitelabel/lib/librdpdf.so (Java_com_radaee_pdf_Document_setCache)


My second try was to use your new edits too (com.radaee.pdf and com.radaee.util).
But now i have many Errors in com.radaee.view and this files are not in the beta package :/
More
IP: 192.168.0.71 11 years 4 months ago #7571 by radaee
you shall replace java codes, for native interfaces changed, due to support 64 bits platform.
all handle values are change from 32 bits to 64 bits.
Time to create page: 0.423 seconds
Powered by Kunena Forum