This article analyzes the root cause of Kotlin coroutine deadlock and how to completely avoid this problem.