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

SIGSEGV using SetRect, CopyAnnot on line annot

More
IP: 192.168.0.71 9 years 5 months ago #12133 by tkarpiniec
Hi, I recently upgraded to PDFViewer 3.11 on armeabi Android and there is now a crash when using Annotation.SetRect(), Page.CopyAnnot() or Annotation.MoveToPage() on a line annotation. It happens 100% of the time with the same backtrace, going somewhere inside librdpdf.so. (It is different on 32 and 64-bit devices.) I have confirmed that I am supplying good handles and rect parameters. Non-line annotation types can be moved without a problem.

Is it a known bug? Is there anywhere I can download a somewhat older version to compare? Thanks.
More
IP: 192.168.0.71 9 years 5 months ago #12141 by nermeen
Our developers are looking into your issue, we will get back to you as soon as possible.
More
IP: 192.168.0.71 9 years 5 months ago #12142 by tkarpiniec
Thank you! Sorry, I completely forgot to include the backtraces. They will probably help.

Nexus 6P:
Code:
03-22 16:48:34.210 533-533/? A/DEBUG: pid: 1688, tid: 1688, name: ents.<redacted> >>> com.<redacted> <<< 03-22 16:48:34.210 533-533/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x10 03-22 16:48:34.235 533-533/? A/DEBUG: r0 d54f0458 r1 00000010 r2 ffbe3674 r3 000000b5 03-22 16:48:34.235 533-533/? A/DEBUG: r4 00000000 r5 00000000 r6 ffffffff r7 00000000 03-22 16:48:34.235 533-533/? A/DEBUG: r8 00000000 r9 f5476500 sl 00000001 fp 00000000 03-22 16:48:34.235 533-533/? A/DEBUG: ip 00000003 sp ffbe35e0 lr d535670f pc f734b5cc cpsr 200d0010 03-22 16:48:34.237 533-533/? A/DEBUG: backtrace: 03-22 16:48:34.237 533-533/? A/DEBUG: #00 pc 000185cc /system/lib/libc.so (strcmp+488) 03-22 16:48:34.237 533-533/? A/DEBUG: #01 pc 0011470b /data/app/com.<redacted>-2/lib/arm/librdpdf.so 03-22 16:48:34.237 533-533/? A/DEBUG: #02 pc fffffffd <unknown>

Galaxy Tab A:
Code:
backtrace: #00 pc 001140bc /data/app/com.<redacted>-1/lib/arm/librdpdf.so #01 pc 00114757 /data/app/com.<redacted>-1/lib/arm/librdpdf.so #02 pc 0008ccad /data/app/com.<redacted>-1/lib/arm/librdpdf.so #03 pc 001272e5 /data/app/com.<redacted>-1/lib/arm/librdpdf.so #04 pc 000b4d47 /data/app/com.<redacted>-1/lib/arm/librdpdf.so #05 pc 00037aed /data/app/com.<redacted>-1/lib/arm/librdpdf.so (Java_com_radaee_pdf_Page_copyAnnot+196) #06 pc 0024f011 /data/dalvik-cache/arm/data@app@com.<redacted>[email protected]@classes.dex
More
IP: 192.168.0.71 9 years 5 months ago #12147 by nermeen
A new beta version 3.12beta1 has been published, that should fix your issue.
More
IP: 192.168.0.71 9 years 5 months ago #12148 by tkarpiniec
Hi nermeen. I have tested 3.12 beta 1 and I have confirmed that it fixes the crash moving line annotations. Thanks!

Unfortunately, this release is unstable, while 3.11 was okay. It crashes at random times and I have collected a couple of backtraces, including addresses. Can you please advise if you are able to confirm the problem?
Code:
03-23 10:00:16.937 14804-14804/com.<redacted> A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x30a in tid 14804 (ents.<redacted>) 03-23 10:00:17.039 533-533/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 03-23 10:00:17.040 533-533/? A/DEBUG: Build fingerprint: 'google/angler/angler:6.0.1/MTC19T/2741993:user/release-keys' 03-23 10:00:17.040 533-533/? A/DEBUG: Revision: '0' 03-23 10:00:17.040 533-533/? A/DEBUG: ABI: 'arm' 03-23 10:00:17.040 533-533/? A/DEBUG: pid: 14804, tid: 14804, name: ents.<redacted> >>> com.<redacted> <<< 03-23 10:00:17.040 533-533/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x30a 03-23 10:00:17.071 533-533/? A/DEBUG: r0 000002f2 r1 d1ff0600 r2 ffbe4208 r3 ffbe4208 03-23 10:00:17.072 533-533/? A/DEBUG: r4 ffbe4208 r5 d05aff60 r6 d1ff0600 r7 ffbe41e8 03-23 10:00:17.072 533-533/? A/DEBUG: r8 132a7e50 r9 f5476500 sl 00000080 fp 00000000 03-23 10:00:17.072 533-533/? A/DEBUG: ip d5321e9d sp ffbe41a8 lr d53ad5f1 pc d5425b56 cpsr 600f0030 03-23 10:00:17.080 533-533/? A/DEBUG: backtrace: 03-23 10:00:17.080 533-533/? A/DEBUG: #00 pc 00138b56 /data/app/com.<redacted>-2/lib/arm/librdpdf.so 03-23 10:00:17.080 533-533/? A/DEBUG: #01 pc 000c05ed /data/app/com.<redacted>-2/lib/arm/librdpdf.so 03-23 10:00:17.080 533-533/? A/DEBUG: #02 pc 00034efb /data/app/com.<redacted>-2/lib/arm/librdpdf.so (Java_com_radaee_pdf_Page_getAnnotRect+94) 03-23 10:00:17.081 533-533/? A/DEBUG: #03 pc 01c5c241 /data/app/com.<redacted>-2/oat/arm/base.odex (offset 0x122c000) (void com.radaee.pdf.Page.getAnnotRect(long, long, float[])+132) 03-23 10:00:17.081 533-533/? A/DEBUG: #04 pc 01c553bd /data/app/com.<redacted>-2/oat/arm/base.odex (offset 0x122c000) (void com.radaee.pdf.Page.access$2000(long, long, float[])+80) 03-23 10:00:17.081 533-533/? A/DEBUG: #05 pc 01c50dad /data/app/com.<redacted>-2/oat/arm/base.odex (offset 0x122c000) (float[] com.radaee.pdf.Page$Annotation.GetRect()+176)
Code:
03-23 10:08:49.215 16682-16768/com.<redacted> A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x10 in tid 16768 (AsyncTask #2) 03-23 10:08:49.317 533-533/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 03-23 10:08:49.318 533-533/? A/DEBUG: Build fingerprint: 'google/angler/angler:6.0.1/MTC19T/2741993:user/release-keys' 03-23 10:08:49.318 533-533/? A/DEBUG: Revision: '0' 03-23 10:08:49.318 533-533/? A/DEBUG: ABI: 'arm' 03-23 10:08:49.318 533-533/? A/DEBUG: pid: 16682, tid: 16768, name: AsyncTask #2 >>> com.<redacted> <<< 03-23 10:08:49.318 533-533/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x10 03-23 10:08:49.343 939-3088/? I/InputReader: Reconfiguring input devices. changes=0x00000010 03-23 10:08:49.346 533-533/? A/DEBUG: r0 00000000 r1 00000010 r2 00000004 r3 00000000 03-23 10:08:49.346 533-533/? A/DEBUG: r4 d33068f0 r5 00000040 r6 d3306868 r7 d27bf3a0 03-23 10:08:49.347 533-533/? A/DEBUG: r8 12db8340 r9 d3a20000 sl 12db8350 fp 71126890 03-23 10:08:49.347 533-533/? A/DEBUG: ip d2cc2048 sp d27bf2d8 lr d55d7b23 pc d55a84c6 cpsr 000b0030 03-23 10:08:49.353 533-533/? A/DEBUG: backtrace: 03-23 10:08:49.353 533-533/? A/DEBUG: #00 pc 0013b4c6 /data/app/com.<redacted>-2/lib/arm/librdpdf.so 03-23 10:08:49.353 533-533/? A/DEBUG: #01 pc 0013bbe1 /data/app/com.<redacted>-2/lib/arm/librdpdf.so 03-23 10:08:49.353 533-533/? A/DEBUG: #02 pc 000bdf03 /data/app/com.<redacted>-2/lib/arm/librdpdf.so 03-23 10:08:49.353 533-533/? A/DEBUG: #03 pc 0002f107 /data/app/com.<redacted>-2/lib/arm/librdpdf.so (Java_com_radaee_pdf_Document_getPage+134) 03-23 10:08:49.354 533-533/? A/DEBUG: #04 pc 016416e7 /data/app/com.<redacted>-2/oat/arm/base.odex (offset 0x122c000) (long com.radaee.pdf.Document.getPage(long, int)+98) 03-23 10:08:49.354 533-533/? A/DEBUG: #05 pc 0164483b /data/app/com.<redacted>-2/oat/arm/base.odex (offset 0x122c000) (com.radaee.pdf.Page com.radaee.pdf.Document.GetPage(int)+182)
More
IP: 192.168.0.71 9 years 5 months ago #12151 by nermeen
We will check these crashes, but can you help us by indicating the operation that led to this issue?
Is it happening on specific device or all?
Is it happening on the demo project?
Time to create page: 0.424 seconds
Powered by Kunena Forum