Who Should We Blame for Android App Crashes? An In-Depth Study at Scale and Practical Resolutions

Liangyi Gong,Hao Lin,Daibo Liu, Lanqi Yang, Hongyi Wang, Jiaxing Qiu,Zhenhua Li,Feng Qian

ACM Transactions on Sensor Networks(2023)

引用 0|浏览0
暂无评分
摘要
Android system has been widely deployed in energy-constrained IoT devices for many practical applications, such as smart phone, smart home, healthcare, fitness, and beacons. However, Android users oftentimes suffer from app crashes, which directly disrupt user experience and could lead to data loss. Till now, the community have limited understanding of their prevalence, characteristics, and root causes. In this paper, we make an in-depth study of the crash events regarding ten very popular apps of different genres, based on fine-grained system-level traces crowd-sourced from 93 million Android devices. We find that app crashes occur prevalently on the various hardware models studied, and better hardware does not seem to essentially relieve the problem. Most importantly, we unravel multi-fold root causes of app crashes, and pinpoint that the most crashes stem from the subtle yet crucial inconsistency between app developers’ supposed memory/process management model and Android’s actual implementations. We design practical approaches to addressing the inconsistency; after large-scale deployment, they reduce 40.4% of the app crashes with negligible system overhead. In addition, we summarize important lessons learned from this study, and have released our measurement code/data to the community.
更多
查看译文
关键词
Android System,App Crash,Root Cause Analysis,Memory Management,Process Management.
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要