de0u That makes total sense, but then i dont understand how - in a perfect world with no limitations for an os dev - a crash should be able to occur caused by errors in user space. Is this reported at AOSP level (where is suspect the root cause)?
Anyways, the stack:
type: crash
flags: dev options enabled
SystemUptimeMs: 31627
Process: system_server
Timestamp: 2025-09-14 09:41:10.090+0200
Build: google/husky/husky:16/BP2A.250805.005/2025091000:user/release-keys
Crash-Handler: com.android.internal.os.RuntimeInit$KillApplicationHandler
Loading-Progress: 1.0
Dropped-Count: 0
java.lang.UnsatisfiedLinkError: dlopen failed: library "libicing.so" not found
at java.lang.Runtime.loadLibrary0(Runtime.java:1090)
at java.lang.Runtime.loadLibrary0(Runtime.java:1012)
at java.lang.System.loadLibrary(System.java:1765)
at com.google.android.icing.IcingLibraryLoader.loadLibrary(IcingLibraryLoader.java:9)
at com.google.android.icing.IcingSearchEngineImpl.<clinit>(IcingSearchEngineImpl.java:41)
at com.google.android.icing.IcingSearchEngine.<init>(IcingSearchEngine.java:78)
at com.android.server.appsearch.external.localstorage.AppSearchImpl.<init>(AppSearchImpl.java:340)
at com.android.server.appsearch.external.localstorage.AppSearchImpl.create(AppSearchImpl.java:298)
at com.android.server.appsearch.AppSearchUserInstanceManager.createUserInstance(AppSearchUserInstanceManager.java:250)
at com.android.server.appsearch.AppSearchUserInstanceManager.getOrCreateUserInstance(AppSearchUserInstanceManager.java:113)
at com.android.server.appsearch.AppSearchManagerService.lambda$onUserUnlocking$1(AppSearchManagerService.java:358)
at com.android.server.appsearch.AppSearchManagerService.$r8$lambda$7li-QUZvrsDk5ZvsFzpgCXuGV7s(AppSearchManagerService.java:0)
at com.android.server.appsearch.AppSearchManagerService$$ExternalSyntheticLambda3.run(R8$$SyntheticClass:0)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:651)
at java.lang.Thread.run(Thread.java:1119)
Possibly the same as in: https://github.com/GrapheneOS/os-issue-tracker/issues/5257
Btw: Simple workarounds seems to suggest there are (alternative) causes that are a) a software error instead, b) a hardware error that the software can easily self-heal. Not to diminish the great, free help provided by absolute experts - quite contrary - but i find it very dangerous in which wording things are often declared a hardware error.
Many people are gonna read it and - due to the high level of knowledge around the people in this forums - assume their phone is softbricked, even if their case is different. It makes people reset their data w/o investing time to find the root cause and possibly loosing data since last backup, so maybe we need a disclaimer to prevent this, if possible.