Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1
  • 2

TOPIC:

Crash in native library 2 years 8 months ago #15572

  • jomart
  • jomart's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 15
  • Thank you received: 1
Hello, Support.

We are using Radaee SDK 3.55, and we are getting signal crashes from Google Play Console about a native library, the stack trace is the following:

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)

backtrace:  
#00  pc 000000000002d138  /data/app/com.xx.xx-1/split_config.armeabi_v7a.apk!lib/armeabi-v7a/librdpdf.so (offset 0x1b5000)
  
#00  pc 000000000004230b  /data/app/com.xx.xx-1/split_config.armeabi_v7a.apk!lib/armeabi-v7a/librdpdf.so (offset 0x1b5000)
  
#00  pc 00000000019d9c7b  /data/app/com.xx.xx-1/oat/arm/base.odex (offset 0x16d2000)


We have not been able to reproduce this bug, we only know that happens in Samsung devices:

Samsung Galaxy Tab S2 Android 7.0
Samsung Galaxy Tab S 10.5 Android 6.0

Can you help us?.

Any information is appreciated. Thank you.

 

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

Last edit: by jomart.

Crash in native library 2 years 8 months ago #15573

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
dear user:the information seems not helps.
but some tips may help you to locate issue:
1. we recommend you can run with arm64 libraries, arm64 has higher performance.
2. if the crash binding with special PDF file, please send us the PDF file.
3. if you still can't sure what issue, may you replace native library as: www.radaeetz.com/20210814_1_android.libs.zip
this library fixed some crashed issue binding with some special PDF file.

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

Last edit: by radaee.

Crash in native library 2 years 8 months ago #15580

  • jomart
  • jomart's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 15
  • Thank you received: 1
Hello, Support.

The information is from Google Play Console.

When we updated Radaee SDK to 3.55 in our app we take the jniLibs from your PDF sample too, if you recommend me to use other libraries, so the libraries from your PDF sample are wrong?, currently we are using the following jniLibs libraries:

arm64-v8a
armeabi
armeabi-v7a
mips
mips64
x86
x86_64

The jniLib library that is crashing is armeabi-v7a that is in your PDF sample too.

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

Crash in native library 2 years 8 months ago #15581

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 692
  • Thank you received: 59
It's weird that those devices are running a 32bit environment.
Which 3.55.x version are you using?

You say that "The jniLib library that is crashing is armeabi-v7a that is in your PDF sample too.", it means that you've the device in your hands and the crashing file.
May you provide more details and crash log?
May you provide the eventual crashing pdf file?
May you check this play.google.com/store/apps/details?id=com.radaee.pdfmaster and say if it's working or crashing?
 

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

Crash in native library 2 years 8 months ago #15583

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
dear user:
first point:
armeabi
mips
mips64
are not supported by Android NDK any more.
so, you shall delete these libraries.
second point:
the native libraries are matched with JNI codes.
that mean, java codes of package "com.radaee.pdf" shall update to 3.60, otherwise app will be crashed.

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

Last edit: by radaee.

Crash in native library 2 years 8 months ago #15584

  • jomart
  • jomart's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 15
  • Thank you received: 1
We are using Radaee SDK 3.55.5.

My apologies, I meant that the jniLib library that is crashing is armeabi-v7a that we updated with the library that is in your PDF sample.

The information that we provide is from Google Play Console, we have not been able to reproduce this crash.

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

  • Page:
  • 1
  • 2
Powered by Kunena Forum