0% found this document useful (0 votes)
11 views5 pages

Android Library Load Errors

The document contains log messages from an Android application. Many of the log messages indicate errors related to permissions and initialization. Specifically: - The application encountered errors accessing device properties due to permission denials. - Several components reported errors stating they needed to be initialized before use. - The application failed to load native libraries and memtrack modules. - Issues were seen when trying to create React contexts and bundles. The log messages suggest the application was experiencing initialization and permission issues on an Android device. Multiple components reported not being initialized properly or failing to access required properties and interfaces.

Uploaded by

Nur Idah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views5 pages

Android Library Load Errors

The document contains log messages from an Android application. Many of the log messages indicate errors related to permissions and initialization. Specifically: - The application encountered errors accessing device properties due to permission denials. - Several components reported errors stating they needed to be initialized before use. - The application failed to load native libraries and memtrack modules. - Issues were seen when trying to create React contexts and bundles. The log messages suggest the application was experiencing initialization and permission issues on an Android device. Multiple components reported not being initialized properly or failing to access required properties and interfaces.

Uploaded by

Nur Idah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

02-06 [Link].

491 13650 13664 E SmcInvoke_MinkDescriptor: cbthread[tid


521575828672] return -1, errno 4: has_response 0, txn_id 0, result 0, cbobj_id 0,
op 0x0, counts 0x0,
02-06 [Link].492 13650 13664 D SmcInvoke_MinkDescriptor: cbthread[tid
521575828672] continue with errno 4
02-06 [Link].492 13650 13664 E SmcInvoke_MinkDescriptor: cbthread[tid
521575828672] exit
02-06 [Link].191 13650 13712 E SmcInvoke_MinkDescriptor: cbthread[tid
521575828672] return -1, errno 4: has_response 0, txn_id 0, result 0, cbobj_id 0,
op 0x0, counts 0x0,
02-06 [Link].191 13650 13712 D SmcInvoke_MinkDescriptor: cbthread[tid
521575828672] continue with errno 4
02-06 [Link].191 13650 13712 E SmcInvoke_MinkDescriptor: cbthread[tid
521575828672] exit
02-06 [Link].265 5758 5758 E [Link]: Not starting debugger since process
cannot load the jdwp agent.
02-06 [Link].180 5758 5758 E default : position at
[Link].e.k([Link])
02-06 [Link].203 5758 5758 E MmsPlayerLibrary: initWith
02-06 [Link].266 5758 5758 E default : [thread_id:2 name=main] create
folder:/storage/emulated/0/shopeeID error
02-06 [Link].800 5758 5997 E Log : Please call init first.
02-06 [Link].802 5758 5997 I chatty : uid=10264([Link]) identical 3
lines
02-06 [Link].802 5758 5997 E Log : Please call init first.
02-06 [Link].822 5758 5997 E Log : Please call init first.
02-06 [Link].823 5758 5997 E Log : Please call init first.
02-06 [Link].835 5758 6099 E Log : Please call init first.
02-06 [Link].836 5758 6099 I chatty : uid=10264([Link]) identical 2
lines
02-06 [Link].844 5758 6099 E Log : Please call init first.
02-06 [Link].851 5758 6097 E Log : Please call init first.
02-06 [Link].905 5758 6108 E Log : Please call init first.
02-06 [Link].004 5758 5758 E Log : Please call init first.
02-06 [Link].120 5758 5758 E [Link]:
[Link]=true
02-06 [Link].120 5758 5758 E [Link]:
[Link][[Link]
[Link].e:d(1)]
02-06 [Link].120 5758 5758 E [Link]:
[[Link].f:l(3)]
02-06 [Link].120 5758 5758 E [Link]:
[[Link].ui_looper.UILooperTask$start$1$a:queueIdle(4)]
02-06 [Link].120 5758 5758 E [Link]:
[[Link]:next(408)]
02-06 [Link].120 5758 5758 E [Link]: [[Link]:loop(208)]
02-06 [Link].120 5758 5758 E [Link]:
[[Link]:main(8220)]
02-06 [Link].120 5758 5758 E [Link]:
[[Link]:invoke(-2)]
02-06 [Link].120 5758 5758 E [Link]:
[[Link]$MethodAndArgsCaller:run(626)]
02-06 [Link].120 5758 5758 E [Link]:
[[Link]:main(1015)]
02-06 [Link].206 5758 5995 E Log : Please call init first.
02-06 [Link].356 5758 6108 E _V_SensorManager: registerListenerImpl type:5
strType=[Link] delay:200000 maxLatency:0 by: class
[Link].c num: 0
02-06 [Link].384 5758 6108 E _V_SensorManager: registerListenerImpl type:8
strType=[Link] delay:200000 maxLatency:0 by: class
[Link].c num: 1
02-06 [Link].408 5758 6108 E _V_SensorManager: unregisterListenerImpl
listener=[Link].c@ec5d12asensor=NULL num: 1
02-06 [Link].508 5758 6195 E SoLoader: couldn't find DSO to load: libhermes-
[Link]
02-06 [Link].508 5758 6195 E SoLoader: SoSource 0:
[Link][root = /data/data/[Link]/lib-main flags =
1]
02-06 [Link].508 5758 6195 E SoLoader: SoSource 1:
[Link][root = /data/data/[Link]/lib-0 flags = 1]
02-06 [Link].508 5758 6195 E SoLoader: SoSource 2:
[Link][root = /data/data/[Link]/lib-1 flags = 1]
02-06 [Link].508 5758 6195 E SoLoader: SoSource 3:
[Link][root = /data/data/[Link]/lib-2 flags = 1]
02-06 [Link].508 5758 6195 E SoLoader: SoSource 4:
[Link][root = /data/data/[Link]/lib-3 flags = 1]
02-06 [Link].508 5758 6195 E SoLoader: SoSource 5:
[Link][root = /data/data/[Link]/lib-4 flags = 1]
02-06 [Link].508 5758 6195 E SoLoader: SoSource 6:
[Link][root = /data/data/[Link]/lib-5 flags = 1]
02-06 [Link].508 5758 6195 E SoLoader: SoSource 7:
[Link][root = /data/data/[Link]/lib-6 flags = 1]
02-06 [Link].508 5758 6195 E SoLoader: SoSource 8:
[Link][root = /data/data/[Link]/lib-7 flags = 1]
02-06 [Link].508 5758 6195 E SoLoader: SoSource 9:
[Link][root = /data/data/[Link]/lib-8 flags = 1]
02-06 [Link].508 5758 6195 E SoLoader: SoSource 10:
[Link][root = /data/data/[Link]/lib-9 flags = 1]
02-06 [Link].508 5758 6195 E SoLoader: SoSource 11:
[Link][root = /data/data/[Link]/lib-10 flags = 1]
02-06 [Link].508 5758 6195 E SoLoader: SoSource 12:
[Link][root = /data/data/[Link]/lib-11 flags = 1]
02-06 [Link].508 5758 6195 E SoLoader: SoSource 13:
[Link][root = /data/data/[Link]/lib-12 flags = 1]
02-06 [Link].508 5758 6195 E SoLoader: SoSource 14:
[Link][root = /data/data/[Link]/lib-13 flags = 1]
02-06 [Link].508 5758 6195 E SoLoader: SoSource 15:
[Link][root = /data/data/[Link]/lib-14 flags = 1]
02-06 [Link].508 5758 6195 E SoLoader: SoSource 16:
[Link][root = /data/data/[Link]/lib-15 flags = 1]
02-06 [Link].508 5758 6195 E SoLoader: SoSource 17:
[Link][root = /data/data/[Link]/lib-16 flags = 1]
02-06 [Link].508 5758 6195 E SoLoader: SoSource 18:
[Link][root = /data/data/[Link]/lib-17 flags = 1]
02-06 [Link].508 5758 6195 E SoLoader: SoSource 19:
[Link][root = /data/data/[Link]/lib-18 flags = 1]
02-06 [Link].508 5758 6195 E SoLoader: SoSource 20:
[Link][root = /data/data/[Link]/lib-19 flags = 1]
02-06 [Link].508 5758 6195 E SoLoader: SoSource 21:
[Link][root = /data/data/[Link]/lib-20 flags = 1]
02-06 [Link].508 5758 6195 E SoLoader: SoSource 22:
[Link][root = /data/data/[Link]/lib-21 flags = 1]
02-06 [Link].508 5758 6195 E SoLoader: SoSource 23:
[Link][root =
/data/app/~~nP7V3cqfSIpQctm0ftLQFQ==/[Link]-J3pfgDnmW0c0U_5jFLHzFA==/lib/
arm64 flags = 0]
02-06 [Link].508 5758 6195 E SoLoader: SoSource 24:
[Link][root = /system/lib64 flags = 2]
02-06 [Link].508 5758 6195 E SoLoader: SoSource 25:
[Link][root = /vendor/lib64 flags = 2]
02-06 [Link].508 5758 6195 E SoLoader: Native lib dir:
/data/app/~~nP7V3cqfSIpQctm0ftLQFQ==/[Link]-J3pfgDnmW0c0U_5jFLHzFA==/lib/
arm64
02-06 [Link].508 5758 6195 E SoLoader: result: 0
02-06 [Link].573 5758 5758 E Log : Please call init first.
02-06 [Link].701 5758 6195 E Log : Please call init first.
02-06 [Link].725 5758 6195 E unknown:ReactNative:
[Link]: mJSIModulePackage null
02-06 [Link].726 5758 6230 E ReactNativeJNI: logMarker CREATE_REACT_CONTEXT_END
02-06 [Link].728 5758 6230 E ReactNativeJNI: logMarker RUN_JS_BUNDLE_START
02-06 [Link].782 5758 6093 E libc : Access denied finding property
"[Link]"
02-06 [Link].782 5758 6093 E libc : Access denied finding property
"[Link]"
02-06 [Link].866 5758 6100 E libc : Access denied finding property
"[Link]"
02-06 [Link].886 5758 5758 E unknown:ReactNative: Unable to launch logbox
because react was unable to create the root view
02-06 [Link].706 5758 6099 E Log : Please call init first.
02-06 [Link].706 5758 6099 E Log : Please call init first.
02-06 [Link].712 550 550 E SELinux : avc: denied { find } for
interface=[Link]::IMemtrack
sid=u:r:untrusted_app:s0:c8,c257,c512,c768 pid=5758
scontext=u:r:untrusted_app:s0:c8,c257,c512,c768
tcontext=u:object_r:hal_memtrack_hwservice:s0 tclass=hwservice_manager permissive=0
02-06 [Link].716 5758 6160 E memtrack: Couldn't load memtrack module
02-06 [Link].838 5758 6099 E Log : Please call init first.
02-06 [Link].849 5758 6099 E Log : Please call init first.
02-06 [Link].862 5758 6281 E Log : Please call init first.
02-06 [Link].870 5758 6099 E Log : Please call init first.
02-06 [Link].872 5758 5758 E Log : Please call init first.
02-06 [Link].889 5758 6285 E Log : Please call init first.
02-06 [Link].890 5758 6285 E Log : Please call init first.
02-06 [Link].893 5758 6097 E Log : Please call init first.
02-06 [Link].895 5758 6281 E Log : Please call init first.
02-06 [Link].897 5758 6281 I chatty : uid=10264([Link]) identical 17
lines
02-06 [Link].901 5758 6281 E Log : Please call init first.
02-06 [Link].478 5758 6230 E ReactNativeJNI: logMarker RUN_JS_BUNDLE_END
02-06 [Link].696 5758 6093 E libc : Access denied finding property
"[Link]"
02-06 [Link].696 5758 6093 I chatty : uid=10264([Link]) identical 1
line
02-06 [Link].698 5758 6093 E libc : Access denied finding property
"[Link]"
02-06 [Link].700 5758 6163 E libc : Access denied finding property
"[Link]"
02-06 [Link].970 5758 6104 E Log : Please call init first.
02-06 [Link].468 5758 6370 E Log : Please call init first.
02-06 [Link].470 5758 6370 I chatty : uid=10264([Link]) identical 1
line
02-06 [Link].470 5758 6370 E Log : Please call init first.
02-06 [Link].495 5758 6281 E Log : Please call init first.
02-06 [Link].503 5758 6281 E Log : Please call init first.
02-06 [Link].013 5758 6436 E TD_JAVA : Must invoke `[Link]` first!!!
02-06 [Link].019 5758 6436 E [Link]: No implementation found for
[Link] [Link].err0r([Link],
[Link]) (tried Java_cn_tongdun_android_shell_common_HelperJNI_err0r and
Java_cn_tongdun_android_shell_common_HelperJNI_err0r__Ljava_lang_String_2Ljava_lang
_String_2)
02-06 [Link].959 5758 6486 E TaskManager: [, , 0]:postOnHeavyThread error
02-06 [Link].208 5758 5758 E EndPointServiceManager: [, , 0]:checkServiceOn
02-06 [Link].209 5758 5758 E EndPointServiceManager: [, , 0]:checkServiceOn 2
02-06 [Link].210 5758 5758 E EndPointServiceManager: [, , 0]:startTimer 1
02-06 [Link].210 5758 5758 E EndPointServiceManager: [, , 0]:startTimer:
180000
02-06 [Link].210 5758 5758 E EndPointServiceManager: [, , 0]:initGetEndService
start
02-06 [Link].229 5758 6284 E PbFileUtils: [, , 0]:SPSTR:
{"api_timeout":4000,"configs":{"100":{"compress":
{"quality":100,"scale":1.0,"type":0},"endpoint":
{"default_suffix":"","domain_rules":{"dest_domain":
["[Link]"],"origin_domain":[]},"extend_suffix":""},"upload":
{"backoff_time":50,"concurrency":3,"default_img_count":3,"retry_count":2,"slice":10
24000}}},"interval":7200000,"pull_time":1644131855,"ttl":9000000,"ver":1}
02-06 [Link].240 5758 6284 E EndRetriverCache: [, , 0]:updateMemoryData -1
02-06 [Link].240 5758 6284 E EndPointServiceManager: [, , 0]:onEndPointGetSuc
02-06 [Link].241 5758 6284 E EndPointServiceManager: [, , 0]:endTimer:
02-06 [Link].241 5758 6284 E EndPointServiceManager: [, , 0]:doCheckJob
7203241,7200000
02-06 [Link].241 5758 6284 E EndPointGetProvider: [, , 0]:RETRY GET ENDPOINT:
02-06 [Link].244 5758 6284 E EndPointServiceManager: [, , 0]:startTimer:
7200000
02-06 [Link].244 5758 6285 E GetEndPointProcess: [, , 0]:GetEndPointProcess
getEndPointList
02-06 [Link].245 5758 6284 E EndPointGetProvider: [, ,
0]:updateDataWithLocalFile 0
02-06 [Link].248 5758 6285 E RequestBodyUtils: [, , 0]:MD5:
lowmx8@5ff74dc5853d44d2b24039abc6b83926@101@shopee@1644139058
02-06 [Link].252 5758 6285 E GetEndPointNet: [, , 0]:getEndPointData in
02-06 [Link].255 5758 6285 E MmsCountryApi: [, , 0]:baseUrl3:
[Link] country: ID
02-06 [Link].256 5758 6285 E MmsCountryApi: [, , 0]:baseUrl3:
[Link] country: ID
02-06 [Link].256 5758 6285 E MmsCountryApi: [, , 0]:getEndPointUrl:
[Link]
02-06 [Link].300 5758 6285 E EndPointGetProvider: [, , 0]:getEndPointList 0
02-06 [Link].782 5758 5758 E TaskManager: [, , 0]:postOnUIThread error
02-06 [Link].783 5758 5758 E SPSPDT : [, , 0]:SPSPDT
02-06 [Link].784 5758 5758 E SPSPDT : [, , 0]:LangmuirLilmXorWrapper: s=1607
02-06 [Link].785 5758 5758 E SPSPDT : [, , 0]:65533=0
02-06 [Link].802 5758 6486 E TaskManager: [, , 0]:postOnHeavyThread error
02-06 [Link].834 5758 5758 E EndPointServiceManager: [, , 0]:checkServiceOn
02-06 [Link].467 5758 6267 E GetEndPointProcess: [, , 0]:onEndPointGetSuc:
EndPointData{var=1, interval=7200000, pull_time=1644139062, api_timeout=4000,
ttl=9000000, configs={100=Config{compress=Compress{type=0, quality=100, scale=1.0},
upload=Upload{slice=1024000, retry_count=2, concurrency=3, backoff_time=50,
default_img_count=3},
endpoint=[Link]$Endpoint@b143349
}}}
02-06 [Link].470 5758 6284 E EndRetriverCache: [, , 0]:updateMemoryData 1
02-06 [Link].470 5758 6284 E EndPointServiceManager: [, , 0]:onEndPointGetSuc 1
02-06 [Link].471 5758 6284 E EndPointServiceManager: [, , 0]:endTimer:
02-06 [Link].471 5758 6284 E EndPointServiceManager: [, , 0]:startTimer:
7200000
02-06 [Link].476 5758 5758 E GetEndPointProcess: [, , 0]:getEndPointData back 0
02-06 [Link].516 5758 6281 E Log : Please call init first.
02-06 [Link].517 5758 6281 E Log : Please call init first.
02-06 [Link].765 5758 6281 E Log : Please call init first.
02-06 [Link].770 5758 6281 E Log : Please call init first.
02-06 [Link].778 5758 6281 E Log : Please call init first.
02-06 [Link].803 5758 6088 E Log : Please call init first.
02-06 [Link].810 5758 6088 I chatty : uid=10264([Link]) identical 3
lines
02-06 [Link].810 5758 6088 E Log : Please call init first.
02-06 [Link].816 5758 6097 E Log : Please call init first.
02-06 [Link].871 5758 6097 I chatty : uid=10264([Link]) identical 6
lines
02-06 [Link].871 5758 6097 E Log : Please call init first.
02-06 [Link].965 5758 6647 E Log : Please call init first.
02-06 [Link].997 5758 6655 E Log : Please call init first.
02-06 [Link].010 5758 6647 E Log : Please call init first.
02-06 [Link].129 5758 6097 E Log : Please call init first.
02-06 [Link].133 5758 6097 E Log : Please call init first.
02-06 [Link].135 5758 6281 E Log : Please call init first.
02-06 [Link].201 5758 6281 E Log : Please call init first.
02-06 [Link].811 5758 5758 E Log : Please call init first.
02-06 [Link].811 5758 5758 E Log : Please call init first.
02-06 [Link].564 1452 1598 E _V_VivoVibratorServiceImpl: onProcessDied pid:
5758,uid: 10264

Common questions

Powered by AI

The Shopee app's logging of endpoint services, which involves managing and retrieving data from remote endpoints, infers that the app is designed to handle secure communications by specifying endpoint configurations and retry mechanisms. Logs indicating 'RETRY GET ENDPOINT' and timeouts ('api_timeout=4000') reflect efforts to maintain robust communication. However, any lapses such as prolonged retry without success could compromise data handling efficiency .

Shopee's endpoint management system aims to facilitate efficient data retrieval and processing for its services by managing service endpoints. Challenges indicated in the logs include timing issues such as setting very long timer intervals ('startTimer: 7200000') and errors in retrieving data ('RETRY GET ENDPOINT'). These issues might lead to delays or failures in cloud data interactions and could adversely affect the app's performance .

To troubleshoot the 'init not called' errors, developers should first verify that all initialization routines are being called at app startup or before their dependent modules are used. Implementing logging around the initialization function calls to confirm execution paths could help. Additionally, ensuring that dependency injection frameworks correctly instantiate and inject required objects might remedy these errors. Testing with isolated modules using unit tests to ensure initializations are properly scoped and serialized would help identify where initialization failures occur .

The repeated 'Access denied finding property' error indicates that the Shopee application is attempting to access certain system-level properties that are restricted, possibly due to security policies or incorrect privilege escalation. Causes for these issues might include insufficient app permissions, attempts to access non-exposed API surfaces, or incompatibility with certain device configurations, leading to failures in accessing required device data .

Shopee's reliance on numerous libraries like SoLoader for DSO loading and React Native for UI components exposes the app to performance issues, evidenced by logs showing library loading failures and React Native initialization problems. These dependencies, while providing modular functionality, can introduce potential failure points where misconfigurations or missing components impact app reliability, especially if libraries are not properly integrated or maintained .

The logs show multiple denied accesses and errors related to Android hardware components, such as 'Access denied finding property "ro.serialno"'. These hardware-related errors could prevent the app from accessing necessary hardware components or system-level information, potentially limiting functionality related to device interaction or usage tracking .

The Shopee app attempts to manage library loading using SoLoader, which is a library designed to facilitate dynamic loading of shared libraries. However, an error occurs in this process as indicated by the messages 'couldn't find DSO to load: libhermes-executor-debug.so' suggesting that a specific native library could not be found in the expected directories. This can result in the app failing to execute certain functions that rely on this library .

The involvement of SELinux in the errors, as seen in the 'avc: denied' logs, suggests that the Shopee app encounters restrictions set by SELinux policies, which aim to enforce security within the Android OS by limiting app permissions. These policies potentially block the app's attempt to perform operations that SELinux does not allow, indicating a security boundary misalignment or excessive permissions request by the app, which could affect specific functionalities .

The React Native framework is used in the Shopee application for creating native apps using JavaScript and React frameworks. An issue apparent in the logs is the 'Unable to launch logbox because react was unable to create the root view', indicating a failure in the app’s ability to initialize a core component necessary for the React Native framework to operate correctly, which can impact the user interface and function delivery .

A recurring error in the Shopee application is the failure to call an 'init' function, as indicated by the log message 'Please call init first.' This error suggests that a necessary initialization process is not being executed before other operations, potentially causing the application to malfunction or certain features not to load properly .

You might also like