Журналы приведены ниже. Это устройство nexus-5, так как в каталоге / system не так много свободного места. Я сохранил drmemory в / data / local / tmp. Предоставили разрешение на RWX для всех. Также setenforce имеет значение 0.
Кто-нибудь знает, как я могу это исправить?
Я использую скрипт переноса, чтобы запустить приложение.
exec / data / local / tmp / drmemory / bin / drmemory -show_reachable -v -logdir / data / local / tmp / drlog - $ @
11-13 12:28:41.658 7762-7762/? I/MicroDetectionWorker: onReady
11-13 12:28:45.334 1297-4706/? I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.example.myfirstapp/.MainActivity bnds=[276,936][540,1217] (has extras)} from uid 10026 on display 0
11-13 12:28:45.339 1297-1319/? W/BroadcastQueue: Permission Denial: receiving Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 pkg=com.google.android.googlequicksearchbox (has extras) } to com.google.android.googlequicksearchbox/com.google.android.apps.gsa.reflection.ReflectionReceiver requires com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS due to sender com.google.android.googlequicksearchbox (uid 10026)
11-13 12:28:45.341 1297-1319/? W/BroadcastQueue: Permission Denial: receiving Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 pkg=com.google.android.gms (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$GmsExternalReceiver requires com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS due to sender com.google.android.googlequicksearchbox (uid 10026)
11-13 12:28:45.359 12258-12258/? I/art: Late-enabling -Xcheck:jni
11-13 12:28:45.399 12276-12276/? I/app_process_drm: type=1400 audit(0.0:5953): avc: denied { execute } for name="drmemory" dev="mmcblk0p28" ino=627476 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:shell_data_file:s0 tclass=file permissive=1
11-13 12:28:45.399 12276-12276/? I/app_process_drm: type=1400 audit(0.0:5954): avc: denied { execute_no_trans } for path="/data/local/tmp/drmemory/bin/drmemory" dev="mmcblk0p28" ino=627476 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:shell_data_file:s0 tclass=file permissive=1
11-13 12:28:45.419 12277-12277/? I/launcher: type=1400 audit(0.0:5955): avc: denied { write } for name="drmemory" dev="mmcblk0p28" ino=627472 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:shell_data_file:s0 tclass=dir permissive=1
11-13 12:28:45.419 12277-12277/? I/launcher: type=1400 audit(0.0:5956): avc: denied { add_name } for name=".__drfrontendlib_tmp" scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:shell_data_file:s0 tclass=dir permissive=1
11-13 12:28:45.419 12277-12277/? I/launcher: type=1400 audit(0.0:5957): avc: denied { create } for name=".__drfrontendlib_tmp" scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:shell_data_file:s0:c512,c768 tclass=file permissive=1
11-13 12:28:45.419 12277-12277/? I/launcher: type=1400 audit(0.0:5958): avc: denied { remove_name } for name=".__drfrontendlib_tmp" dev="mmcblk0p28" ino=627951 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:shell_data_file:s0 tclass=dir permissive=1
11-13 12:28:45.419 12277-12277/? I/launcher: type=1400 audit(0.0:5959): avc: denied { unlink } for name=".__drfrontendlib_tmp" dev="mmcblk0p28" ino=627951 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:shell_data_file:s0:c512,c768 tclass=file permissive=1
11-13 12:28:45.434 12273-12273/? I/app_process_drmemory: INFO: targeting application: "/system/bin/app_process32"
11-13 12:28:45.434 12273-12273/? I/app_process_drmemory: INFO: app cmdline: "/system/bin/app_process32" "/system/bin" "--application" "--nice-name=com.example.myfirstapp" "com.android.internal.os.WrapperInit" "11" "26" "android.app.ActivityThread"
11-13 12:28:45.435 12273-12273/? I/app_process_drmemory: INFO: logdir is "/data/local/tmp/drlog"
11-13 12:28:45.435 12273-12273/? I/app_process_drmemory: INFO: symcache_dir is "/data/local/tmp/drlog/symcache"
11-13 12:28:45.429 12277-12277/? I/launcher: type=1400 audit(0.0:5960): avc: denied { write } for name="symcache" dev="mmcblk0p28" ino=627929 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:shell_data_file:s0:c512,c768 tclass=dir permissive=1
11-13 12:28:45.429 12277-12277/? I/launcher: type=1400 audit(0.0:5961): avc: denied { add_name } for name=".__drfrontendlib_tmp" scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:shell_data_file:s0:c512,c768 tclass=dir permissive=1
11-13 12:28:45.429 12277-12277/? I/launcher: type=1400 audit(0.0:5962): avc: denied { remove_name } for name=".__drfrontendlib_tmp" dev="mmcblk0p28" ino=627951 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:shell_data_file:s0:c512,c768 tclass=dir permissive=1
11-13 12:28:45.435 12273-12273/? I/app_process_drmemory: INFO: DynamoRIO configuration directory is /data/local/tmp/
11-13 12:28:45.435 12273-12273/? I/app_process_drmemory: INFO: configuring app_process32 pid=12277 dr_ops="-disable_traces -bb_single_restore_prefix -max_bb_instrs 256 -vm_size 256M -no_enable_reset -logdir `/data/local/tmp/drlog/dynamorio` "
11-13 12:28:45.436 12273-12273/? I/app_process_drmemory: ERROR: failed to register DynamoRIO configuration for "app_process32"(12277) dr_ops="-disable_traces -bb_single_restore_prefix -max_bb_instrs 256 -vm_size 256M -no_enable_reset -logdir `/data/local/tmp/drlog/dynamorio` ".
11-13 12:28:45.436 12273-12273/? I/app_process_drmemory: Error code 13 (failed to locate a valid config directory)
11-13 12:28:45.437 12273-12273/? I/app_process_drmemory: app_process_drmemory terminated by exit(1)
11-13 12:28:45.439 1087-1087/? W/Zygote: Error reading pid from wrapped process, child may have died
java.io.EOFException
at libcore.io.Streams.readFully(Streams.java:83)
at java.io.DataInputStream.readInt(DataInputStream.java:103)
at com.android.internal.os.ZygoteConnection.handleParentProc(ZygoteConnection.java:790)
at com.android.internal.os.ZygoteConnection.runOnce(ZygoteConnection.java:252)
at com.android.internal.os.ZygoteInit.runSelectLoop(ZygoteInit.java:690)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:612)
11-13 12:28:45.440 1297-1626/? I/ActivityManager: Start proc 12258:com.example.myfirstapp/u0a87 for activity com.example.myfirstapp/.MainActivity
11-13 12:28:45.453 7762-12213/? I/PBSessionCacheImpl: Deleted sessionId[34139179109398727] from persistence.
11-13 12:28:45.464 1087-1087/? I/Zygote: Process 12258 exited cleanly (1)