android PDFViewer3.4 native crash - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: android PDFViewer3.4 native crash

android PDFViewer3.4 native crash 3 years 7 months ago #8782

  • Brian
  • Brian's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
There was a crash when using android PDFViewer3.4 as attachment..

How to avoid this crash?



Logcat:

Build fingerprint: 'samsung/hlteztu/hlte:4.4.2/KOT49H/N900UZTUANJ1:user/release-keys'
Revision: '8'
pid: 13554, tid: 13759, name: Thread-6545 >>> com.nuazure.bookbuffet <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000014
r0 7cabd650 r1 000000e6 r2 00000000 r3 7b85aa9e
r4 000269f9 r5 7cc3dbf8 r6 7cc3dcf4 r7 7b47c190
r8 7cabd650 r9 7cabd838 sl 00000014 fp 7b85aa9d
ip 00000001 sp 805d8e68 lr 7cb98899 pc 7cb98334 cpsr 80010030
d0 2074707572726f43 d1 746164204745504a
d2 616d657270203a61 d3 646e652065727574
d4 7000ffc2163be112 d5 0d16769061297962
d6 e4678d581bcc92f3 d7 d2cfcee4c0c49d00
d8 44db0000445e0000 d9 43ab800044df4000
d10 4032000044e7c000 d11 0000000000000000
d12 0000000000000000 d13 0000000000000000
d14 0000000000000000 d15 0000000000000000
d16 6174616420666f20 d17 746e656d67657320
d18 7cc3d8d07b178490 d19 000000027cb9b263
d20 8aaa7aa07b1773d8 d21 000000017cabd650
d22 7b1773b07b177070 d23 000524237cb9ad79
d24 ccccccccccccccc6 d25 ccccccccccccccc6
d26 ccccccccccccccc6 d27 ffffffffffffffff
d28 0100010001000100 d29 0100010001000100
d30 0000000000000000 d31 0000000000000000
scr 28000017

backtrace:
#00 pc 000d8334 /data/app-lib/com.nuazure.bookbuffet-2/librdpdf.so
#01 pc 000d6f9d /data/app-lib/com.nuazure.bookbuffet-2/librdpdf.so
#02 pc 000d69b3 /data/app-lib/com.nuazure.bookbuffet-2/librdpdf.so
#03 pc 0009f169 /data/app-lib/com.nuazure.bookbuffet-2/librdpdf.so
#04 pc 000a5af7 /data/app-lib/com.nuazure.bookbuffet-2/librdpdf.so
#05 pc 000a51a9 /data/app-lib/com.nuazure.bookbuffet-2/librdpdf.so
#06 pc 0007a723 /data/app-lib/com.nuazure.bookbuffet-2/librdpdf.so
#07 pc 00071091 /data/app-lib/com.nuazure.bookbuffet-2/librdpdf.so
#08 pc 0006209f /data/app-lib/com.nuazure.bookbuffet-2/librdpdf.so
#09 pc 00065001 /data/app-lib/com.nuazure.bookbuffet-2/librdpdf.so
#10 pc 0006910d /data/app-lib/com.nuazure.bookbuffet-2/librdpdf.so
#11 pc 000620df /data/app-lib/com.nuazure.bookbuffet-2/librdpdf.so
#12 pc 00065001 /data/app-lib/com.nuazure.bookbuffet-2/librdpdf.so
#13 pc 00082f91 /data/app-lib/com.nuazure.bookbuffet-2/librdpdf.so
#14 pc 000510eb /data/app-lib/com.nuazure.bookbuffet-2/librdpdf.so
#15 pc 00022223 /data/app-lib/com.nuazure.bookbuffet-2/librdpdf.so (Java_com_radaee_pdf_Page_render+238)
#16 pc 00020d0c /system/lib/libdvm.so (dvmPlatformInvoke+112)
#17 pc 000519af /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+398)
#18 pc 0002a1a0 /system/lib/libdvm.so
#19 pc 00031650 /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
#20 pc 0002ece8 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#21 pc 00063e15 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+336)
#22 pc 00063e39 /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)
#23 pc 00058b0b /system/lib/libdvm.so
#24 pc 0000d298 /system/lib/libc.so (__thread_entry+72)
#25 pc 0000d430 /system/lib/libc.so (pthread_create+240)

code around pc:
7cb98314 447e9f03 f8dd6836 1f358008 2c0036fc
7cb98324 814ff000 2f04f855 f8133c01 42b51b01
7cb98334 1012f82a 9e02d1f3 f8d6469b f8d99000
7cb98344 2b013068 8122f340 8000f8ba f8ba4630
7cb98354 2102c002 e004f8ba 7006f8ba 6008f8ba
7cb98364 500af8ba 200cf8ba 300ef8ba 8018f8c9
7cb98374 c01cf8c9 e020f8c9 7024f8c9 6028f8c9
7cb98384 502cf8c9 2030f8c9 f8c9225f f8c93034
7cb98394 f8d92014 47983004 f8ba9e02 21029010
7cb983a4 8012f8ba 46306833 c014f8ba e016f8ba
7cb983b4 7018f8ba 601af8ba 501cf8ba 201ef8ba
7cb983c4 9018f8c3 801cf8c3 c020f8c3 e024f8c3
7cb983d4 62de629f 635a631d 615a225f 4798685b
7cb983e4 f8ba9e02 21029020 8022f8ba 46306833
7cb983f4 c024f8ba e026f8ba 7028f8ba 602af8ba
7cb98404 502cf8ba 202ef8ba 9018f8c3 801cf8c3

code around lr:
7cb98878 0014e898 9e05e7da 96053e81 e68b4632
7cb98888 21206833 619d9802 61596832 47986813
7cb98898 f8dbe52b 4620300c 28004798 ac32f43f
7cb988a8 7000f8db 2004f8db 3601e6f3 f04f6823
7cb988b8 f8160e54 46202b01 3f012101 2808eb02
7cb988c8 8018f8c3 f8c36822 6853e014 f8c44798
7cb988d8 e8858118 f7ff00c0 6822bb32 46202140
7cb988e8 61516813 2d004798 aec8f47f 300cf8db
7cb988f8 47984620 f0002800 f8db80c1 f8db6000
7cb98908 e6bb5004 210c6822 68134620 47986151
7cb98918 00c0e88a bb13f7ff 300cf8da 47984620
7cb98928 f43f2800 e89aabef e42400c0 201d6823
7cb98938 6822619d 46206158 47986813 f8851965
7cb98948 e43b80f8 300cf8da 47984620 d0702800
7cb98958 00c0e89a 6823e40a 4620211e 8018f8c3
7cb98968 61596822 47986813 2101e428 460a4620

Please Log in or Create an account to join the conversation.

android PDFViewer3.4 native crash 3 years 7 months ago #8784

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 17
  • Thank you received: 65
Hi,
Can you reproduce this issue with the radaee demo project?
This crash occurs with all of your pdfs or only with some pdf? Can you send us a pdf that make the library crash?
Do you have this issue with what devices? What OS?

Please Log in or Create an account to join the conversation.

android PDFViewer3.4 native crash 3 years 7 months ago #8787

  • Brian
  • Brian's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Hi :
These crash report that from Google Play Developer Console.
We don`t know what pdf to read .
Do you have any suggest to avoid this crash?
thanks~

crash report log file:
www.dropbox.com/s/jan0w2zhh0tkzo6/pictures.zip?dl=0

Please Log in or Create an account to join the conversation.

android PDFViewer3.4 native crash 3 years 7 months ago #8788

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 17
  • Thank you received: 65
Hi,
with this crash we can see that this problem occurs on more than one device, but it does not indicate any info that can be used to replicate the issue.
We couldn't reproduce the issue with the demo project, so it's more probable that the problem is in your code.
If you can reproduce the issue in your project,maybe you can provide us with some useful info.

Please Log in or Create an account to join the conversation.

android PDFViewer3.4 native crash 3 years 6 months ago #8839

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 571
  • Karma: 6
  • Thank you received: 46
We will try to inspect your application: as my colleagues've told the log trace only isn't helpful to us.
The first idea is that there could be a PDF file with some unexpected encoding but we would need to get it.
Haven't you any analytics on your app that could help you understanding the file users was looking at?

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum