ANR on com.radaee.pdf.VNPage.create - 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: ANR on com.radaee.pdf.VNPage.create

ANR on com.radaee.pdf.VNPage.create 10 months 2 weeks ago #13294

  • spurgeon
  • spurgeon's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
I posted an ANR issue a while back, which we are still seeing ( www.radaeepdf.com/forum/roadmap-and-rele...anrs-on-getpagewidth ), but I also was finally able to reproduce a different ANR that we are seeing in high volume as well, using the following steps:

1. Open a PDF using PDFViewAct (any PDF will do)
2. Background the app
3. Open a bunch of other apps (Netflix, Chrome, Settings, Others...)
4. Navigate back to the app (PDFViewAct)
5. ANR occurs

I believe it occurs under resource constraints on the device. I am testing on an LG Nexus 5X with 7.1.1 installed. Can you look into this and let us know what's up? Attached is the traces file

File Attachment:

File Name: traces.txt.zip
File Size: 52 KB
file from the ANR. Also, here is the stack trace in Google Play dev console:

"main" prio=5 tid=1 Native
| group="main" sCount=1 dsCount=0 obj=0x74f53718 self=0xf2c85400
| sysTid=17465 nice=-4 cgrp=default sched=0/0 handle=0xf5f95534
| state=S schedstat=( 3386644118 86101084 2714 ) utm=289 stm=49 core=5 HZ=100
| stack=0xff6bd000-0xff6bf000 stackSize=8MB
| held mutexes=
#00 pc 000000000001751c /system/lib/libc.so (syscall+28)
#01 pc 000000000004828d /system/lib/libc.so (_ZL33__pthread_mutex_lock_with_timeoutP24pthread_mutex_internal_tbPK8timespec+520)
#02 pc 00000000000224dd /data/app/com.example.myapp-2/lib/arm/librdpdf.so (???)
#03 pc 00000000000241e3 /data/app/com.example.myapp-2/lib/arm/librdpdf.so (???)
#04 pc 0000000000035033 /data/app/com.example.myapp-2/lib/arm/librdpdf.so (???)
#05 pc 00000000000368e3 /data/app/com.example.myapp-2/lib/arm/librdpdf.so (Java_com_radaee_pdf_VNPage_create+34)
#06 pc 0000000000055e31 /data/app/com.example.myapp-2/oat/arm/base.odex (Java_com_radaee_pdf_VNPage_create__JIIILandroid_graphics_Bitmap_00024Config_2+140)
at com.radaee.pdf.VNPage.create (Native method)
at com.radaee.pdf.VNPage.Create (VNPage.java:22)
at com.radaee.view.VPage.<init> (VPage.java:22)
at com.radaee.view.PDFLayout.vResize (PDFLayout.java:146)
at com.radaee.reader.PDFLayoutView.onSizeChanged (PDFLayoutView.java:390)
at android.view.View.sizeChange (View.java:19011)
at android.view.View.setFrame (View.java:18954)
at android.view.View.layout (View.java:18867)
at android.widget.RelativeLayout.onLayout (RelativeLayout.java:1079)
at android.view.View.layout (View.java:18874)
at android.view.ViewGroup.layout (ViewGroup.java:5954)
at android.widget.FrameLayout.layoutChildren (FrameLayout.java:323)
at android.widget.FrameLayout.onLayout (FrameLayout.java:261)
at android.view.View.layout (View.java:18874)
at android.view.ViewGroup.layout (ViewGroup.java:5954)
at android.widget.LinearLayout.setChildFrame (LinearLayout.java:1741)
at android.widget.LinearLayout.layoutVertical (LinearLayout.java:1585)
at android.widget.LinearLayout.onLayout (LinearLayout.java:1494)
at android.view.View.layout (View.java:18874)
at android.view.ViewGroup.layout (ViewGroup.java:5954)
at android.widget.FrameLayout.layoutChildren (FrameLayout.java:323)
at android.widget.FrameLayout.onLayout (FrameLayout.java:261)
at android.view.View.layout (View.java:18874)
at android.view.ViewGroup.layout (ViewGroup.java:5954)
at android.widget.LinearLayout.setChildFrame (LinearLayout.java:1741)
at android.widget.LinearLayout.layoutVertical (LinearLayout.java:1585)
at android.widget.LinearLayout.onLayout (LinearLayout.java:1494)
at android.view.View.layout (View.java:18874)
at android.view.ViewGroup.layout (ViewGroup.java:5954)
at android.widget.FrameLayout.layoutChildren (FrameLayout.java:323)
at android.widget.FrameLayout.onLayout (FrameLayout.java:261)
at com.android.internal.policy.DecorView.onLayout (DecorView.java:935)
at android.view.View.layout (View.java:18874)
at android.view.ViewGroup.layout (ViewGroup.java:5954)
at android.view.ViewRootImpl.performLayout (ViewRootImpl.java:2697)
at android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:2413)
at android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:1550)
at android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:7189)
at android.view.Choreographer$CallbackRecord.run (Choreographer.java:959)
at android.view.Choreographer.doCallbacks (Choreographer.java:734)
at android.view.Choreographer.doFrame (Choreographer.java:670)
at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:945)
at android.os.Handler.handleCallback (Handler.java:751)
at android.os.Handler.dispatchMessage (Handler.java:95)
at android.os.Looper.loop (Looper.java:154)
at android.app.ActivityThread.main (ActivityThread.java:6776)
at java.lang.reflect.Method.invoke! (Native method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1520)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1410)
Attachments:

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

ANR on com.radaee.pdf.VNPage.create 10 months 2 weeks ago #13295

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 571
  • Karma: 6
  • Thank you received: 46
May you confirm the issue is still present with last beta release?
May you confirm it's reproducible with any PDF file?

Thank you for your very detailed report.

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

ANR on com.radaee.pdf.VNPage.create 10 months 2 weeks ago #13300

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 17
  • Thank you received: 65
Hi,
we have tried to reproduce the issue with a device running Android 7.1.1 using the last beta version but no problem found.
Can you reproduce it with the last beta? www.radaeepdf.com/download/download-prev...le/66-radaeepdf-315b

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

  • Page:
  • 1
Powered by Kunena Forum