Troublesome crashes on “Kill” app

In terms of mobile application performance, the impact of crashes is the most serious. Program crashes can interrupt the user’s ongoing operating experience, resulting in the interruption of key businesses, a decrease in user retention rate, a deterioration in brand reputation, and a decrease in lifetime value. Decline and other effects. Many companies regard crash […]

Why does my signal processor not take effect? I accidentally broke the native crash monitoring.

Why doesn’t my signal handler take effect? I wrote several articles about Linux signals before, and many young readers found me and left messages in the background, saying that it was very helpful to them. At the same time, some friends used a framework I wrote before, and Signal “broke” the company’s crash reporting mechanism. […]

Use crashpad to generate dump files for vs2019 projects under Windows systems when they crash (the steps are super detailed)

When we first started project development, we often created various codes that easily crashed the project during runtime due to various carelessness, such as assigning a value to a null pointer. However, when the number of files in a project is very large, it is time-consuming and annoying to find the location of the erroneous […]

An in-depth explanation of MySQL-crash safe

1 Preface The MySQL master-slave architecture has been widely used, and ensuring the stability of the master-slave replication relationship has always been the focus of everyone’s attention. MySQL 5.6 provides new features for master-slave replication stability: slave supports crash-safe. This function can solve the problem in previous versions that abnormal power outage of the system […]

Java switches to Kotlin, crash rate increases?

Foreword Recently, I partially refactored an old project written in Java. The testing process was uneventful. A few days after the successful launch, I checked through the APM platform and found that the crash rate had increased. I checked the stack and found NPE type crashes. Most of them occurred in Java. When calling Kotlin […]

Android NDK Crash monitoring

Some friends asked how to capture Android NDK Crash, but they don’t want to use non-Google SDK to collect it. How to do it? I will start with JAVA first, and then introduce how to capture NDK Crash. Crash monitoring Crash (application crash) is a phenomenon in which the App exits abnormally due to abnormal […]

Four locating methods of dump and stack traceback for Wuqi 5007 crash problem

Overview Wuqi belongs to the RISC-V architecture (chapter1_riscv.md · Huazhong University of Science and Technology Operating System Team/pke-doc – Gitee.com). When encountering a crash problem, the system will perform related memory protection and detection internally. When an abnormality is found When an exception occurs, IOT_ASSERT will be actively called, and relevant log files will usually […]

Combined with OpenCore to analyze Android application crash issues

Configuring Coredump public class App extends Application { @Override protected void attachBaseContext(Context base) { super.attachBaseContext(base); Coredump.getInstance().init(); Coredump.getInstance().setCoreDir(getExternalFilesDir(null).getAbsolutePath()); Coredump.getInstance().setCoreMode(Coredump.MODE_COPY | Coredump.MODE_PTRACE); //Coredump.getInstance().setCoreMode(Coredump.MODE_COPY); //Coredump.getInstance().setCoreMode(Coredump.MODE_PTRACE); Coredump.getInstance().enable(Coredump.JAVA); Coredump.getInstance().enable(Coredump.NATIVE); } } Test Java OOM scenario public class LeakMemory { private byte[] data = new byte[65536]; public LeakMemory() { for (int i = 0; i < data.length; i + + ) […]