Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SELinux rule probably missing for your system #518

Open
vitnova opened this issue Apr 19, 2024 · 0 comments
Open

SELinux rule probably missing for your system #518

vitnova opened this issue Apr 19, 2024 · 0 comments

Comments

@vitnova
Copy link

vitnova commented Apr 19, 2024

Sometimes the emulator suddenly crashes and restarts, and the error message from logcat is as follows:

04-19 10:01:32.079 26106  3627 F Frida   : agent.vala:403: Oops, SELinux rule probably missing for your system. Symptom: Timeout was reached
--------- beginning of crash
04-19 10:01:32.089 26106  3627 F libc    : Fatal signal 5 (SIGTRAP), code 128 (SI_KERNEL), fault addr 0x0 in tid 3627 (main), pid 26106 (main)
04-19 10:01:32.111 15148 15148 I crash_dump32: obtaining output fd from tombstoned, type: kDebuggerdTombstone
04-19 10:01:32.112  1837  1837 I /system/bin/tombstoned: received crash request for pid 3627
04-19 10:01:32.112 15148 15148 I crash_dump32: performing dump of process 26106 (target tid = 3627)
04-19 10:01:32.116 15148 15148 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
04-19 10:01:32.116 15148 15148 F DEBUG   : Build fingerprint: 'google/sdk_gphone_x86_64/generic_x86_64:10/QSR1.210802.001/7603624:userdebug/dev-keys'
04-19 10:01:32.116 15148 15148 F DEBUG   : Revision: '0'
04-19 10:01:32.116 15148 15148 F DEBUG   : ABI: 'x86'
04-19 10:01:32.116 15148 15148 F DEBUG   : Timestamp: 2024-04-19 10:01:32+0800
04-19 10:01:32.116 15148 15148 F DEBUG   : pid: 26106, tid: 3627, name: main  >>> zygote <<<
04-19 10:01:32.116 15148 15148 F DEBUG   : uid: 0
04-19 10:01:32.116 15148 15148 F DEBUG   : signal 5 (SIGTRAP), code 128 (SI_KERNEL), fault addr 0x0
04-19 10:01:32.116 15148 15148 F DEBUG   : Abort message: 'agent.vala:403: Oops, SELinux rule probably missing for your system. Symptom: Timeout was reached'
04-19 10:01:32.116 15148 15148 F DEBUG   :     eax 00000000  ebx c6077ab0  ecx 00000001  edx 00000004
04-19 10:01:32.116 15148 15148 F DEBUG   :     edi 00000006  esi 00000001
04-19 10:01:32.116 15148 15148 F DEBUG   :     ebp c62c8c78  esp c62c8c60  eip c509dc0b
04-19 10:01:32.196 15148 15148 F DEBUG   : 
04-19 10:01:32.196 15148 15148 F DEBUG   : backtrace:
04-19 10:01:32.196 15148 15148 F DEBUG   :       #00 pc 000f5c0b  /memfd:frida-agent-32.so (deleted)
04-19 10:01:32.191 15148 15148 I crash_dump32: type=1400 audit(0.0:2783): avc: denied { read } for name="PixelConfigOverlayCommon.apk" dev="dm-2" ino=4521 scontext=u:r:crash_dump:s0 tcontext=u:object_r:vendor_overlay_file:s0 tclass=file permissive=1
04-19 10:01:32.201 15148 15148 I crash_dump32: type=1400 audit(0.0:2787): avc: denied { read } for name="product@overlay@GoogleConfigOverlay.apk@idmap" dev="vdc" ino=385026 scontext=u:r:crash_dump:s0 tcontext=u:object_r:resourcecache_data_file:s0 tclass=file permissive=1
04-19 10:01:32.039 26155 26177 I chatty  : uid=1000(system) android.io identical 2 lines
04-19 10:01:32.175 26155 26177 I DropBoxManagerService: add tag=system_server_strictmode isTagEnabled=true flags=0x2
04-19 10:01:32.298 26155 26310 W NativeCrashListener: Couldn't find ProcessRecord for pid 26106
04-19 10:01:32.301  1837  1837 E /system/bin/tombstoned: Tombstone written to: /data/tombstones/tombstone_45
04-19 10:01:32.305 26155 26199 I BootReceiver: Copying /data/tombstones/tombstone_45 to DropBox (SYSTEM_TOMBSTONE)
04-19 10:01:32.305 26155 26199 I DropBoxManagerService: add tag=SYSTEM_TOMBSTONE isTagEnabled=true flags=0x2
04-19 10:01:32.310 26155 26185 E ZygoteProcess: IO Exception while communicating with Zygote - java.io.EOFException
04-19 10:01:32.310 26155 26185 E ZygoteProcess: Starting VM process through Zygote failed
04-19 10:01:32.311 26155 26185 E ActivityManager: Failure starting process com.google.android.webview:webview_service
04-19 10:01:32.311 26155 26185 E ActivityManager: java.lang.RuntimeException: Starting VM process through Zygote failed
04-19 10:01:32.311 26155 26185 E ActivityManager: 	at android.os.ZygoteProcess.start(ZygoteProcess.java:340)
04-19 10:01:32.311 26155 26185 E ActivityManager: 	at android.os.Process.start(Process.java:534)
04-19 10:01:32.311 26155 26185 E ActivityManager: 	at android.os.Process.start(Native Method)
04-19 10:01:32.311 26155 26185 E ActivityManager: 	at com.android.server.am.ProcessList.startProcess(ProcessList.java:1823)
04-19 10:01:32.311 26155 26185 E ActivityManager: 	at com.android.server.am.ProcessList.lambda$startProcessLocked$0$ProcessList(ProcessList.java:1668)
04-19 10:01:32.311 26155 26185 E ActivityManager: 	at com.android.server.am.-$$Lambda$ProcessList$vtq7LF5jIHO4t5NE03c8g7BT7Jc.run(Unknown Source:20)
04-19 10:01:32.311 26155 26185 E ActivityManager: 	at android.os.Handler.handleCallback(Handler.java:883)
04-19 10:01:32.311 26155 26185 E ActivityManager: 	at android.os.Handler.dispatchMessage(Handler.java:100)
04-19 10:01:32.311 26155 26185 E ActivityManager: 	at android.os.Looper.loop(Looper.java:214)
04-19 10:01:32.311 26155 26185 E ActivityManager: 	at android.os.HandlerThread.run(HandlerThread.java:67)
04-19 10:01:32.311 26155 26185 E ActivityManager: 	at com.android.server.ServiceThread.run(ServiceThread.java:44)
04-19 10:01:32.311 26155 26185 E ActivityManager: Caused by: android.os.ZygoteStartFailedEx: java.io.EOFException
04-19 10:01:32.311 26155 26185 E ActivityManager: 	at android.os.ZygoteProcess.attemptZygoteSendArgsAndGetResult(ZygoteProcess.java:447)
04-19 10:01:32.311 26155 26185 E ActivityManager: 	at android.os.ZygoteProcess.zygoteSendArgsAndGetResult(ZygoteProcess.java:419)
04-19 10:01:32.311 26155 26185 E ActivityManager: 	at android.os.ZygoteProcess.startViaZygote(ZygoteProcess.java:635)
04-19 10:01:32.311 26155 26185 E ActivityManager: 	at android.os.ZygoteProcess.start(ZygoteProcess.java:333)
04-19 10:01:32.311 26155 26185 E ActivityManager: 	... 10 more
04-19 10:01:32.311 26155 26185 E ActivityManager: Caused by: java.io.EOFException
04-19 10:01:32.311 26155 26185 E ActivityManager: 	at java.io.DataInputStream.readFully(DataInputStream.java:200)
04-19 10:01:32.311 26155 26185 E ActivityManager: 	at java.io.DataInputStream.readInt(DataInputStream.java:389)
04-19 10:01:32.311 26155 26185 E ActivityManager: 	at android.os.ZygoteProcess.attemptZygoteSendArgsAndGetResult(ZygoteProcess.java:435)
04-19 10:01:32.311 26155 26185 E ActivityManager: 	... 13 more
04-19 10:01:32.311 26155 26185 I ActivityManager: Force stopping com.google.android.webview appid=10138 user=0: start failure
04-19 10:01:32.318 26155 26185 I ActivityManager: Killing 27142:com.google.android.googlequicksearchbox:search/u0a117 (adj 100): stop com.google.android.webview
04-19 10:01:32.319 26155 26185 W ActivityManager: Scheduling restart of crashed service com.google.android.googlequicksearchbox/com.google.android.apps.gsa.nowoverlayservice.DrawerOverlayService in 1000ms
04-19 10:01:32.320 26155 26185 W ActivityManager: Slow operation: 25316ms so far, now at startProcess: asking zygote to start proc
04-19 10:01:32.331 26155 26185 W ActivityManager: Slow operation: 25327ms so far, now at startProcess: returned from zygote!
04-19 10:01:32.331 26155 26185 W ActivityManager: Slow operation: 25327ms so far, now at startProcess: done updating battery stats
04-19 10:01:32.331 26155 26185 W ActivityManager: Slow operation: 25327ms so far, now at startProcess: building log message
04-19 10:01:32.331 26155 26185 I ActivityManager: Start proc 15181:com.google.android.webview:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0/u0i3 for  {a2dp.Vol/org.chromium.content.app.SandboxedProcessService0}
04-19 10:01:32.331 26155 26185 W ActivityManager: Slow operation: 25327ms so far, now at startProcess: starting to update pids map
04-19 10:01:32.332 26155 26185 W ActivityManager: Slow operation: 25328ms so far, now at startProcess: done updating pids map
04-19 10:01:32.332 26155 26185 W ActivityManager: Slow operation: 18413ms so far, now at startProcess: asking zygote to start proc
04-19 10:01:32.340 15177 15177 I AndroidRuntime: Using default boot image
04-19 10:01:32.340 15177 15177 I AndroidRuntime: Leaving lock profiling enabled
04-19 10:01:32.341 15177 15177 I app_process: Core platform API reporting enabled, enforcing=false
04-19 10:01:32.419 15177 15177 W app_process: Unexpected CPU variant for X86 using defaults: x86_64
04-19 10:01:32.420 15177 15177 I app_process: The ClassLoaderContext is a special shared library.
04-19 10:01:32.429 27026 27026 E adbd    : failed to connect to socket 'tcp:7336': Connection refused
04-19 10:01:32.442  1646  1646 I ServiceManager: service 'secure_element' died
04-19 10:01:32.446 27026 27026 E adbd    : failed to connect to socket 'tcp:7336': Connection refused
04-19 10:01:32.449 15177 15177 W app_process: JNI RegisterNativeMethods: attempt to register 0 native methods for android.media.AudioAttributes
04-19 10:01:32.463  1646  1646 I ServiceManager: service 'isub' died
04-19 10:01:32.463  1646  1646 I ServiceManager: service 'simphonebook' died
04-19 10:01:32.463  1646  1646 I ServiceManager: service 'iphonesubinfo' died
04-19 10:01:32.463  1646  1646 I ServiceManager: service 'isms' died
04-19 10:01:32.463  1646  1646 I ServiceManager: service 'phone' died
04-19 10:01:32.463  1646  1646 I ServiceManager: service 'carrier_config' died
04-19 10:01:32.463  1646  1646 I ServiceManager: service 'ions' died
04-19 10:01:32.463  1646  1646 I ServiceManager: service 'ircs' died
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant