mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-31 19:47:06 +01:00
SetFileLogPath() held logFileLock_ while creating the folder and opening the file, and both log (CreateDir at INFO, OpenCFile for content URIs and on errors). Logging to the file takes logFileLock_, so the thread deadlocked on itself, and every thread that logged after it blocked too. A Play ANR shows the loading thread stuck in CPU_Init's SetFileLogPath, and the main thread waiting on the same lock to log a key press. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>