DoubangoTelecom / ultimateALPR-SDK

World's fastest ANPR / ALPR implementation for CPUs, GPUs, VPUs and NPUs using deep learning (Tensorflow, Tensorflow lite, TensorRT, OpenVX, OpenVINO). Multi-Charset (Latin, Korean, Chinese) & Multi-OS (Jetson, Android, Raspberry Pi, Linux, Windows) & Multi-Arch (ARM, x86).
https://www.doubango.org/webapps/alpr/
Other
595 stars 157 forks source link

java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/org.doubango.ultimateAlpr-2/lib/x86/libultimateALPR_SDK.so: has text relocations #34

Closed brunoaduarte closed 4 years ago

brunoaduarte commented 4 years ago

Hi @DoubangoTelecom , i'm trying to run the code on a NEXUS 9 API 24 Android emulator but i get this "text relocations" error

java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/org.doubango.ultimateAlpr-2/lib/x86/libultimateALPR_SDK.so: has text relocations

Can you provide an updated version of "libultimateALPR_SDK.so" without this error, or tell me if the source codes are available so i can do it myself (compile the code with latest NDK) ?

Thanks!

Full error log

? D/AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<
? D/AndroidRuntime: CheckJNI is ON
? W/art: Unexpected CPU variant for X86 using defaults: x86
? D/ICU: No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
? D/AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<
? D/AndroidRuntime: CheckJNI is ON
? E/memtrack: Couldn't load memtrack module (No such file or directory)
? E/android.os.Debug: failed to load memtrack module: -2
? I/Radio-JNI: register_android_hardware_Radio DONE
? W/art: Unexpected CPU variant for X86 using defaults: x86
? D/AndroidRuntime: Calling main entry com.android.commands.wm.Wm
? D/ICU: No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
? D/AndroidRuntime: Shutting down VM
? E/memtrack: Couldn't load memtrack module (No such file or directory)
? E/android.os.Debug: failed to load memtrack module: -2
? I/Radio-JNI: register_android_hardware_Radio DONE
? D/AndroidRuntime: Calling main entry com.android.commands.pm.Pm
? I/art: System.exit called, status: 0
? I/AndroidRuntime: VM exiting with result code 0.
? I/studio.deploy: DeltaInstall found API level:24
? I/studio.deploy: -t
? I/studio.deploy: -r
? I/studio.deploy: DeltaInstall created session: '369342078'
? I/studio.deploy: package
? I/studio.deploy: install-write
? I/studio.deploy: -S
? I/studio.deploy: 24869269
? I/studio.deploy: 369342078
? I/studio.deploy: base.apk
? I/studio.deploy: package
? I/studio.deploy: install-commit
? I/studio.deploy: 369342078
system_process W/art: Long monitor contention with owner PackageInstaller (1732) at int android.content.res.AssetManager.getStringBlockCount!()(AssetManager.java:-2) waiters=0 in android.content.pm.PackageInstaller$SessionInfo com.android.server.pm.PackageInstallerSession.generateInfo() for 275ms
system_process I/PackageManager.DexOptimizer: Running dexopt (dex2oat) on: /data/app/vmdl369342078.tmp/base.apk pkg=org.doubango.ultimateAlpr isa=x86 vmSafeMode=false debuggable=true target-filter=interpret-only oatDir = /data/app/vmdl369342078.tmp/oat sharedLibraries=null
? W/dex2oat: Unexpected CPU variant for X86 using defaults: x86
? W/dex2oat: Mismatch between dex2oat instruction set features (ISA: X86 Feature string: smp,-ssse3,-sse4.1,-sse4.2,-avx,-avx2,-lock_add,-popcnt) and those of dex2oat executable (ISA: X86 Feature string: smp,ssse3,-sse4.1,-sse4.2,-avx,-avx2,-lock_add,-popcnt) for the command line:
? W/dex2oat: /system/bin/dex2oat --zip-fd=6 --zip-location=base.apk --oat-fd=7 --oat-location=/data/app/vmdl369342078.tmp/oat/x86/base.odex --instruction-set=x86 --instruction-set-variant=x86 --instruction-set-features=default --runtime-arg -Xms64m --runtime-arg -Xmx512m --compiler-filter=interpret-only --swap-fd=9 --debuggable
? I/dex2oat: /system/bin/dex2oat --compiler-filter=interpret-only --debuggable
? W/dex2oat: Before Android 4.1, method int androidx.appcompat.widget.DropDownListView.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView
? W/dex2oat: Before Android 4.1, method int androidx.appcompat.widget.MenuPopupWindow$MenuDropDownListView.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView
? W/dex2oat: Before Android 4.1, method android.graphics.PorterDuffColorFilter androidx.vectordrawable.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
? I/dex2oat: dex2oat took 478.678ms (threads: 4) arena alloc=2784B (2784B) java alloc=2MB (2210888B) native alloc=3MB (3246264B) free=1949KB (1996616B)

    --------- beginning of system
system_process I/ActivityManager: Force stopping org.doubango.ultimateAlpr appid=10080 user=-1: installPackageLI
system_process I/PackageManager: Package org.doubango.ultimateAlpr codePath changed from /data/app/org.doubango.ultimateAlpr-1 to /data/app/org.doubango.ultimateAlpr-2; Retaining data and using new
system_process W/PackageManager: Code path for org.doubango.ultimateAlpr changing from /data/app/org.doubango.ultimateAlpr-1 to /data/app/org.doubango.ultimateAlpr-2
system_process W/PackageManager: Resource path for org.doubango.ultimateAlpr changing from /data/app/org.doubango.ultimateAlpr-1 to /data/app/org.doubango.ultimateAlpr-2
system_process I/art: Starting a blocking GC Explicit
system_process I/art: Explicit concurrent mark sweep GC freed 18013(1185KB) AllocSpace objects, 4(120KB) LOS objects, 26% free, 11MB/15MB, paused 585us total 16.868ms
system_process I/System.out: Success
system_process I/ActivityManager: Force stopping org.doubango.ultimateAlpr appid=10080 user=0: pkg removed
system_process I/InputReader: Reconfiguring input devices.  changes=0x00000010
system_process I/InputReader: Reconfiguring input devices.  changes=0x00000010
system_process I/InputReader: Reconfiguring input devices.  changes=0x00000010
system_process W/InputMethodInfo: Duplicated subtype definition found: , voice
com.android.keychain W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1385 android.content.ContextWrapper.startService:613 android.content.ContextWrapper.startService:613 com.android.keychain.KeyChainBroadcastReceiver.onReceive:12 android.app.ActivityThread.handleReceiver:3011 
com.android.phone D/CarrierSvcBindHelper: No carrier app for: 0
com.android.phone D/CarrierSvcBindHelper: No carrier app for: 0
com.android.phone D/CarrierConfigLoader: mHandler: 9 phoneId: 0
com.google.android.gms I/Auth: [SupervisedAccountIntentOperation] onHandleIntent(): android.intent.action.PACKAGE_ADDED
com.google.android.gms I/Auth: [SupervisedAccountIntentOperation] This operation is disabled
com.google.android.gms I/ChromeSync: [Sync,SyncIntentOperation] Handling the intent: Intent { act=android.intent.action.PACKAGE_ADDED dat=package:org.doubango.ultimateAlpr flg=0x4000010 cmp=com.google.android.gms/.chimera.GmsIntentOperationService (has extras) }.
com.google.android.googlequicksearchbox:search I/UpdateIcingCorporaServi: Updating corpora: APPS=org.doubango.ultimateAlpr, CONTACTS=MAYBE
? D/AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<
? D/AndroidRuntime: CheckJNI is ON
? W/art: Unexpected CPU variant for X86 using defaults: x86
? D/ICU: No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
? E/memtrack: Couldn't load memtrack module (No such file or directory)
? E/android.os.Debug: failed to load memtrack module: -2
? I/Radio-JNI: register_android_hardware_Radio DONE
? D/AndroidRuntime: Calling main entry com.android.commands.am.Am
system_process I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=org.doubango.ultimateAlpr/.AlprBenchmarkActivity} from uid 2000 on display 0
? D/AndroidRuntime: Shutting down VM
? I/art: Not late-enabling -Xcheck:jni (already on)
? W/art: Unexpected CPU variant for X86 using defaults: x86
com.google.android.gms I/FontsPackageChangeOp: Package org.doubango.ultimateAlpr has no metadata
com.google.android.gms W/PeopleContactsSync: CP2 sync disabled by gservices.
system_process I/ActivityManager: Start proc 6539:org.doubango.ultimateAlpr/u0a80 for activity org.doubango.ultimateAlpr/.AlprBenchmarkActivity
? W/ps: type=1400 audit(0.0:7278): avc: denied { getattr } for path="/proc/1" dev="proc" ino=4053 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:init:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7279): avc: denied { search } for name="1" dev="proc" ino=4053 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:init:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7280): avc: denied { search } for name="1" dev="proc" ino=4053 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:init:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7281): avc: denied { getattr } for path="/proc/2" dev="proc" ino=39043 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7282): avc: denied { search } for name="2" dev="proc" ino=39043 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7283): avc: denied { search } for name="2" dev="proc" ino=39043 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7284): avc: denied { getattr } for path="/proc/3" dev="proc" ino=39044 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7285): avc: denied { search } for name="3" dev="proc" ino=39044 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7286): avc: denied { search } for name="3" dev="proc" ino=39044 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7287): avc: denied { getattr } for path="/proc/5" dev="proc" ino=39046 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7288): avc: denied { search } for name="5" dev="proc" ino=39046 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7289): avc: denied { search } for name="5" dev="proc" ino=39046 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7290): avc: denied { getattr } for path="/proc/7" dev="proc" ino=39048 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7291): avc: denied { search } for name="7" dev="proc" ino=39048 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7292): avc: denied { search } for name="7" dev="proc" ino=39048 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7293): avc: denied { getattr } for path="/proc/8" dev="proc" ino=39049 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7294): avc: denied { search } for name="8" dev="proc" ino=39049 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7295): avc: denied { search } for name="8" dev="proc" ino=39049 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7296): avc: denied { getattr } for path="/proc/9" dev="proc" ino=39050 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7297): avc: denied { search } for name="9" dev="proc" ino=39050 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
system_process W/art: Long monitor contention with owner android.display (1713) at int com.android.server.wm.WindowManagerService.relayoutWindow(com.android.server.wm.Session, android.view.IWindow, int, android.view.WindowManager$LayoutParams, int, int, int, int, android.graphics.Rect, android.graphics.Rect, android.graphics.Rect, android.graphics.Rect, android.graphics.Rect, android.graphics.Rect, android.graphics.Rect, android.content.res.Configuration, android.view.Surface)(WindowManagerService.java:2766) waiters=0 in void com.android.server.wm.WindowManagerService.resumeKeyDispatching(android.os.IBinder) for 111ms
? D/gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 12582912
com.google.android.gms I/Icing: IndexChimeraService.getServiceInterface callingPackage=com.google.android.gms componentName=AppsCorpus serviceId=SEARCH_CORPORA
com.google.android.gms I/Icing: IndexChimeraService.getServiceInterface callingPackage=com.google.android.gms componentName=AppsCorpus serviceId=SEARCH_QUERIES
com.google.android.gms I/Icing: IndexChimeraService.getServiceInterface callingPackage=com.google.android.googlequicksearchbox componentName=null serviceId=SEARCH_CORPORA
org.doubango.ultimateAlpr I/class org.doubango.ultimateAlpr.AlprBenchmarkActivity: onCreate
org.doubango.ultimateAlpr W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter androidx.vectordrawable.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
com.google.android.gms I/Icing: Usage reports ok 0, Failed Usage reports 0, indexed 0, rejected 0, imm upload false
org.doubango.ultimateAlpr I/art: Rejecting re-init on previously-failed class java.lang.Class<androidx.core.view.ViewCompat$2>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/view/View$OnUnhandledKeyEventListener;
org.doubango.ultimateAlpr I/art:     at void androidx.core.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2559)
org.doubango.ultimateAlpr I/art:     at void androidx.appcompat.widget.ActionBarContainer.<init>(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:63)
org.doubango.ultimateAlpr I/art:     at java.lang.Object java.lang.reflect.Constructor.newInstance0!(java.lang.Object[]) (Constructor.java:-2)
org.doubango.ultimateAlpr I/art:     at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:430)
org.doubango.ultimateAlpr I/art:     at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:645)
org.doubango.ultimateAlpr I/art:     at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:787)
org.doubango.ultimateAlpr I/art:     at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:727)
org.doubango.ultimateAlpr I/art:     at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:858)
org.doubango.ultimateAlpr I/art:     at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:821)
org.doubango.ultimateAlpr I/art:     at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:518)
org.doubango.ultimateAlpr I/art:     at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:426)
org.doubango.ultimateAlpr I/art:     at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:377)
org.doubango.ultimateAlpr I/art:     at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:749)
org.doubango.ultimateAlpr I/art:     at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:659)
org.doubango.ultimateAlpr I/art:     at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:552)
org.doubango.ultimateAlpr I/art:     at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:161)
org.doubango.ultimateAlpr I/art:     at void org.doubango.ultimateAlpr.AlprBenchmarkActivity.onCreate(android.os.Bundle) (AlprBenchmarkActivity.java:224)
org.doubango.ultimateAlpr I/art:     at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6662)
org.doubango.ultimateAlpr I/art:     at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1118)
org.doubango.ultimateAlpr I/art:     at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2599)
org.doubango.ultimateAlpr I/art:     at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2707)
org.doubango.ultimateAlpr I/art:     at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
org.doubango.ultimateAlpr I/art:     at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1460)
org.doubango.ultimateAlpr I/art:     at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
org.doubango.ultimateAlpr I/art:     at void android.os.Looper.loop() (Looper.java:154)
org.doubango.ultimateAlpr I/art:     at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6077)
org.doubango.ultimateAlpr I/art:     at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
org.doubango.ultimateAlpr I/art:     at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:866)
org.doubango.ultimateAlpr I/art:     at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:756)
org.doubango.ultimateAlpr I/art: Caused by: java.lang.ClassNotFoundException: Didn't find class "android.view.View$OnUnhandledKeyEventListener" on path: DexPathList[[zip file "/data/app/org.doubango.ultimateAlpr-2/base.apk"],nativeLibraryDirectories=[/data/app/org.doubango.ultimateAlpr-2/lib/x86, /data/app/org.doubango.ultimateAlpr-2/base.apk!/lib/x86, /system/lib, /vendor/lib]]
org.doubango.ultimateAlpr I/art:     at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)
org.doubango.ultimateAlpr I/art:     at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:380)
org.doubango.ultimateAlpr I/art:     at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
org.doubango.ultimateAlpr I/art:     at void androidx.core.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2559)
org.doubango.ultimateAlpr I/art:     at void androidx.appcompat.widget.ActionBarContainer.<init>(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:63)
org.doubango.ultimateAlpr I/art:     at java.lang.Object java.lang.reflect.Constructor.newInstance0!(java.lang.Object[]) (Constructor.java:-2)
org.doubango.ultimateAlpr I/art:     at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:430)
org.doubango.ultimateAlpr I/art:     at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:645)
org.doubango.ultimateAlpr I/art:     at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:787)
org.doubango.ultimateAlpr I/art:     at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:727)
org.doubango.ultimateAlpr I/art:     at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:858)
org.doubango.ultimateAlpr I/art:     at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:821)
org.doubango.ultimateAlpr I/art:     at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:518)
org.doubango.ultimateAlpr I/art:     at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:426)
org.doubango.ultimateAlpr I/art:     at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:377)
org.doubango.ultimateAlpr I/art:     at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:749)
org.doubango.ultimateAlpr I/art:     at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:659)
org.doubango.ultimateAlpr I/art:     at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:552)
org.doubango.ultimateAlpr I/art:     at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:161)
org.doubango.ultimateAlpr I/art:     at void org.doubango.ultimateAlpr.AlprBenchmarkActivity.onCreate(android.os.Bundle) (AlprBenchmarkActivity.java:224)
org.doubango.ultimateAlpr I/art:     at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6662)
org.doubango.ultimateAlpr I/art:     at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1118)
org.doubango.ultimateAlpr I/art:     at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2599)
org.doubango.ultimateAlpr I/art:     at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2707)
org.doubango.ultimateAlpr I/art:     at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
org.doubango.ultimateAlpr I/art:     at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1460)
org.doubango.ultimateAlpr I/art:     at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
org.doubango.ultimateAlpr I/art:     at void android.os.Looper.loop() (Looper.java:154)
org.doubango.ultimateAlpr I/art:     at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6077)
org.doubango.ultimateAlpr I/art:     at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
org.doubango.ultimateAlpr I/art:     at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:866)
org.doubango.ultimateAlpr I/art:     at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:756)
com.google.android.gms I/Icing: Usage reports ok 0, Failed Usage reports 0, indexed 0, rejected 0, imm upload false
com.google.android.gms I/Icing: Usage reports ok 0, Failed Usage reports 0, indexed 0, rejected 0, imm upload true
com.google.android.googlequicksearchbox:search I/UpdateIcingCorporaServi: UpdateCorporaTask done [took 330 ms] updated apps [took 330 ms] 
org.doubango.ultimateAlpr E/linker: /data/app/org.doubango.ultimateAlpr-2/lib/x86/libultimateALPR_SDK.so: has text relocations
org.doubango.ultimateAlpr D/AndroidRuntime: Shutting down VM

    --------- beginning of crash
org.doubango.ultimateAlpr E/AndroidRuntime: FATAL EXCEPTION: main
    Process: org.doubango.ultimateAlpr, PID: 6539
    java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/org.doubango.ultimateAlpr-2/lib/x86/libultimateALPR_SDK.so: has text relocations
        at java.lang.Runtime.loadLibrary0(Runtime.java:977)
        at java.lang.System.loadLibrary(System.java:1530)
        at org.doubango.ultimateAlpr.Sdk.ultimateAlprSdkJNI.<clinit>(ultimateAlprSdkJNI.java:14)
        at org.doubango.ultimateAlpr.Sdk.ultimateAlprSdkJNI.new_UltAlprSdkParallelDeliveryCallback(Native Method)
        at org.doubango.ultimateAlpr.Sdk.UltAlprSdkParallelDeliveryCallback.<init>(UltAlprSdkParallelDeliveryCallback.java:54)
        at org.doubango.ultimateAlpr.AlprBenchmarkActivity$MyUltAlprSdkParallelDeliveryCallback.<init>(AlprBenchmarkActivity.java:401)
        at org.doubango.ultimateAlpr.AlprBenchmarkActivity.onCreate(AlprBenchmarkActivity.java:235)
        at android.app.Activity.performCreate(Activity.java:6662)
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2599)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2707)
        at android.app.ActivityThread.-wrap12(ActivityThread.java)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1460)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:154)
        at android.app.ActivityThread.main(ActivityThread.java:6077)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:756)
system_process W/ActivityManager:   Force finishing activity org.doubango.ultimateAlpr/.AlprBenchmarkActivity
com.android.launcher3 D/EGL_emulation: eglMakeCurrent: 0xabf85240: ver 3 1 (tinfo 0xabf83450)
com.google.android.gms I/Icing: IndexChimeraService.getServiceInterface callingPackage=com.google.android.gms componentName=AppsCorpus serviceId=SEARCH_CORPORA
com.google.android.gms I/Icing: IndexChimeraService.getServiceInterface callingPackage=com.google.android.gms componentName=AppsCorpus serviceId=SEARCH_QUERIES
com.google.android.gms I/Icing: Usage reports ok 0, Failed Usage reports 0, indexed 0, rejected 0, imm upload false
com.google.android.gms I/Icing: Usage reports ok 0, Failed Usage reports 0, indexed 0, rejected 0, imm upload false
system_process I/OpenGLRenderer: Initialized EGL, version 1.4
system_process D/OpenGLRenderer: Swap behavior 1
system_process W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
system_process D/OpenGLRenderer: Swap behavior 0
system_process D/EGL_emulation: eglCreateContext: 0x903ee160: maj 3 min 1 rcv 4
system_process D/EGL_emulation: eglMakeCurrent: 0x903ee160: ver 3 1 (tinfo 0x8c5c9590)
system_process E/eglCodecCommon: glUtilsParamSize: unknow param 0x000082da
system_process E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008cdf
system_process E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008824
system_process D/EGL_emulation: eglMakeCurrent: 0x903ee160: ver 3 1 (tinfo 0x8c5c9590)
system_process W/ActivityManager: Activity pause timeout for ActivityRecord{652a64e u0 org.doubango.ultimateAlpr/.AlprBenchmarkActivity t6 f}
com.android.launcher3 D/EGL_emulation: eglMakeCurrent: 0xabf85240: ver 3 1 (tinfo 0xabf83450)
? D/gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 4104192
com.google.android.gms I/Icing: Indexing com.google.android.gms-apps from com.google.android.gms
com.google.android.gms I/Icing: Indexing com.google.android.googlequicksearchbox-applications_uri from com.google.android.googlequicksearchbox
com.google.android.gms I/Icing: Indexing com.google.android.gms-internal.3p:MobileApplication from com.google.android.gms
com.google.android.gms I/Icing: Indexing done com.google.android.gms-apps
com.android.launcher3 W/OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
com.google.android.gms I/Icing: Indexing done com.google.android.googlequicksearchbox-applications_uri
com.google.android.gms I/Icing: Indexing done com.google.android.gms-internal.3p:MobileApplication
system_process I/WindowManager: Destroying surface Surface(name=Starting org.doubango.ultimateAlpr) called by com.android.server.wm.WindowStateAnimator.destroySurface:2016 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:882 com.android.server.wm.WindowState.removeLocked:1456 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2484 com.android.server.wm.AppWindowToken.destroySurfaces:365 com.android.server.wm.WindowStateAnimator.finishExit:565 com.android.server.wm.AppWindowAnimator.stepAnimationLocked:427 com.android.server.wm.WindowAnimator.updateAppWindowsLocked:176 
system_process W/WindowManager: Failed looking up window
    java.lang.IllegalArgumentException: Requested window android.view.ViewRootImpl$W@377b167 does not exist
        at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9107)
        at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9098)
        at com.android.server.wm.WindowManagerService.removeWindow(WindowManagerService.java:2302)
        at com.android.server.wm.Session.remove(Session.java:202)
        at android.view.ViewRootImpl.dispatchDetachedFromWindow(ViewRootImpl.java:3286)
        at android.view.ViewRootImpl.doDie(ViewRootImpl.java:5881)
        at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:3622)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:154)
        at android.os.HandlerThread.run(HandlerThread.java:61)
        at com.android.server.ServiceThread.run(ServiceThread.java:46)
system_process W/ActivityManager: Activity destroy timeout for ActivityRecord{652a64e u0 org.doubango.ultimateAlpr/.AlprBenchmarkActivity t6 f}
system_process I/ActivityManager: Killing 5988:com.google.android.calendar/u0a33 (adj 906): empty #17
system_process D/ActivityManager: cleanUpApplicationRecord -- 5988
? W/art: Unexpected CPU variant for X86 using defaults: x86
system_process I/ActivityManager: Start proc 6569:com.google.android.gms.unstable/u0a14 for service com.google.android.gms/.droidguard.DroidGuardService
? E/art: Failed sending reply to debugger: Broken pipe
? I/art: Debugger is no longer active
? I/art: Starting a blocking GC Instrumentation
? W/System: ClassLoader referenced unknown path: /system/priv-app/PrebuiltGmsCore/lib/x86
? W/DynamiteModule: Local module descriptor class for providerinstaller not found.
? W/ProviderHelper: Unknown dynamite feature providerinstaller
? I/DynamiteModule: Considering local module providerinstaller:0 and remote module providerinstaller:0
? W/ProviderInstaller: Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0.
? W/System: ClassLoader referenced unknown path: /system/priv-app/PrebuiltGmsCore/lib/x86
? W/System: ClassLoader referenced unknown path: /system/priv-app/PrebuiltGmsCore/lib/x86
? V/NativeCrypto: Registering com/google/android/gms/org/conscrypt/NativeCrypto's 284 native methods...
? D/NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: false
? I/ProviderInstaller: Installed default security provider GmsCore_OpenSSL
? W/Primes: Primes not initialized, returning default (no-op) Primes instance which will ignore all calls. Please call Primes.initialize(...) before using any Primes API.
com.google.android.gms.persistent W/Conscrypt: Could not set socket write timeout: java.net.SocketException: Socket closed
com.google.android.gms.persistent W/Conscrypt:     at com.google.android.gms.org.conscrypt.Platform.setSocketWriteTimeout(:com.google.android.gms@16089022@16.0.89 (040700-239467275):2)
com.google.android.gms.persistent W/Conscrypt:     at com.google.android.gms.org.conscrypt.ConscryptFileDescriptorSocket.setSoWriteTimeout(:com.google.android.gms@16089022@16.0.89 (040700-239467275):2)
? W/linker: /data/data/com.google.android.gms/app_dg_cache/8455A6C6BF0CD358952890D7F0BB63CB0BD757C5/the.apk!/libd4E775FB10426.so: unsupported flags DT_FLAGS_1=0x1001
com.google.android.gms.persistent I/Auth: [ReflectiveChannelBinder] Successfully bound channel!
com.google.android.gms.persistent W/Conscrypt: Could not set socket write timeout: java.net.SocketException: Socket closed
com.google.android.gms.persistent W/Conscrypt:     at com.google.android.gms.org.conscrypt.Platform.setSocketWriteTimeout(:com.google.android.gms@16089022@16.0.89 (040700-239467275):2)
com.google.android.gms.persistent W/Conscrypt:     at com.google.android.gms.org.conscrypt.ConscryptFileDescriptorSocket.setSoWriteTimeout(:com.google.android.gms@16089022@16.0.89 (040700-239467275):2)
com.google.android.gms.persistent W/Conscrypt: Could not set socket write timeout: java.net.SocketException: Socket closed
com.google.android.gms.persistent W/Conscrypt:     at com.google.android.gms.org.conscrypt.Platform.setSocketWriteTimeout(:com.google.android.gms@16089022@16.0.89 (040700-239467275):2)
com.google.android.gms.persistent W/Conscrypt:     at com.google.android.gms.org.conscrypt.ConscryptFileDescriptorSocket.setSoWriteTimeout(:com.google.android.gms@16089022@16.0.89 (040700-239467275):2)
com.google.android.gms.persistent W/Conscrypt: Could not set socket write timeout: java.net.SocketException: Socket closed
com.google.android.gms.persistent W/Conscrypt:     at com.google.android.gms.org.conscrypt.Platform.setSocketWriteTimeout(:com.google.android.gms@16089022@16.0.89 (040700-239467275):2)
com.google.android.gms.persistent W/Conscrypt:     at com.google.android.gms.org.conscrypt.ConscryptFileDescriptorSocket.setSoWriteTimeout(:com.google.android.gms@16089022@16.0.89 (040700-239467275):2)
com.google.android.gms.persistent W/GLSUser: [AppCertManager] IOException while requesting key: 
    java.io.IOException: Invalid device key response.
        at hzz.a(:com.google.android.gms@16089022@16.0.89 (040700-239467275):14)
        at hzz.a(:com.google.android.gms@16089022@16.0.89 (040700-239467275):115)
        at hzx.a(:com.google.android.gms@16089022@16.0.89 (040700-239467275):6)
        at hzt.a(:com.google.android.gms@16089022@16.0.89 (040700-239467275))
        at hzs.a(:com.google.android.gms@16089022@16.0.89 (040700-239467275):8)
        at com.google.android.gms.auth.account.be.legacy.AuthCronChimeraService.b(:com.google.android.gms@16089022@16.0.89 (040700-239467275):6)
        at gyi.call(:com.google.android.gms@16089022@16.0.89 (040700-239467275):3)
        at java.util.concurrent.FutureTask.run(FutureTask.java:237)
        at rrt.b(:com.google.android.gms@16089022@16.0.89 (040700-239467275):32)
        at rrt.run(:com.google.android.gms@16089022@16.0.89 (040700-239467275):21)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
        at rxx.run(:com.google.android.gms@16089022@16.0.89 (040700-239467275))
        at java.lang.Thread.run(Thread.java:761)
system_process I/ActivityManager: Killing 6307:com.google.android.talk/u0a53 (adj 906): empty #17
system_process D/ActivityManager: cleanUpApplicationRecord -- 6307
? W/ps: type=1400 audit(0.0:7644): avc: denied { getattr } for path="/proc/1" dev="proc" ino=4053 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:init:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7645): avc: denied { search } for name="1" dev="proc" ino=4053 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:init:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7646): avc: denied { search } for name="1" dev="proc" ino=4053 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:init:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7647): avc: denied { getattr } for path="/proc/2" dev="proc" ino=39043 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7648): avc: denied { search } for name="2" dev="proc" ino=39043 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7649): avc: denied { search } for name="2" dev="proc" ino=39043 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7650): avc: denied { getattr } for path="/proc/3" dev="proc" ino=39044 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7651): avc: denied { search } for name="3" dev="proc" ino=39044 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7652): avc: denied { search } for name="3" dev="proc" ino=39044 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7653): avc: denied { getattr } for path="/proc/5" dev="proc" ino=39046 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7654): avc: denied { search } for name="5" dev="proc" ino=39046 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7655): avc: denied { search } for name="5" dev="proc" ino=39046 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7656): avc: denied { getattr } for path="/proc/7" dev="proc" ino=39048 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7657): avc: denied { search } for name="7" dev="proc" ino=39048 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7658): avc: denied { search } for name="7" dev="proc" ino=39048 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7659): avc: denied { getattr } for path="/proc/8" dev="proc" ino=39049 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7660): avc: denied { search } for name="8" dev="proc" ino=39049 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7661): avc: denied { search } for name="8" dev="proc" ino=39049 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7662): avc: denied { getattr } for path="/proc/9" dev="proc" ino=39050 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
? W/ps: type=1400 audit(0.0:7663): avc: denied { search } for name="9" dev="proc" ino=39050 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
DoubangoTelecom commented 4 years ago

Duplicate of #12 Last Time I tested it was working fine on x86 emulator. Anyways the deep learning models for x86 are not redistributed in assets folder. We are ready focused on ARM devices and x86_64 servers for now.