Tag

crash analysis

0 views collected around this technical thread.

Didi Tech
Didi Tech
Nov 7, 2023 · Mobile Development

Root Cause Analysis and Resolution of Periodic Crashes Caused by File Handle Leak in Didi Android Delivery Merchant App

The Didi Android delivery merchant app suffered periodic crashes on Huawei devices because a null‑checked fopen in libpush.so caused an unchecked fwrite, leaking file handles until the per‑process limit was reached, and the issue was resolved by adding proper null checks, closing handles, and instituting systematic FD‑leak monitoring and code‑review safeguards.

AndroidHandle LeakNative Library
0 likes · 13 min read
Root Cause Analysis and Resolution of Periodic Crashes Caused by File Handle Leak in Didi Android Delivery Merchant App
Amap Tech
Amap Tech
Sep 27, 2023 · Fundamentals

Crash Analysis of C++ LooperObserverMan: Memory Reordering and Segmentation Fault

The crash in asl::LooperObserverMan::notifyIdle was traced to a compiler‑level store‑store reordering that exposed an uninitialized observer pointer, causing an illegal memory access, and was fixed by inserting a memory barrier or using proper atomic ordering to enforce correct initialization order.

C++Memory Reorderingconcurrency
0 likes · 32 min read
Crash Analysis of C++ LooperObserverMan: Memory Reordering and Segmentation Fault
Aikesheng Open Source Community
Aikesheng Open Source Community
Jun 14, 2023 · Databases

MongoDB Crash Analysis: WT_SESSION Exhaustion Caused by Index Drop During Background Index Build

An original case study examines a MongoDB 4.0.14 replica set crash triggered by exceeding the WiredTiger session limit when a primary creates a background index and subsequently drops it, causing blocking on the secondary, leading to connection saturation, session exhaustion, and instance failure.

Database OperationsIndexingMongoDB
0 likes · 10 min read
MongoDB Crash Analysis: WT_SESSION Exhaustion Caused by Index Drop During Background Index Build
DeWu Technology
DeWu Technology
May 29, 2023 · Mobile Development

iOS WebView Crash Analysis and Solution

The article investigates a rapid increase in WebView crashes on iOS 4.9.x caused by a UIScrollView animation accessing a released object after an H5 page is dismissed, discovers the offending WKChildScrollView delegate (WKScrollingNodeScrollViewDelegate), and resolves the issue by nullifying that delegate in the view’s deallocation, supplementing earlier gesture‑disable workarounds.

Technical SolutionWebKitWebView
0 likes · 16 min read
iOS WebView Crash Analysis and Solution
ByteDance Terminal Technology
ByteDance Terminal Technology
Apr 10, 2023 · Information Security

GWP‑ASan Based Heap Memory Error Detection and Debugging on Windows

This article explains how GWP‑ASan, a low‑overhead sampling memory‑sanitizer developed by Google, can be integrated on Windows to detect heap errors such as use‑after‑free, buffer‑underflow, buffer‑overflow and double‑free, describes its monitoring principles, hook implementation, crash‑report augmentation, and presents real‑world case studies and remediation strategies.

GWP‑ASanHeap DebuggingMemory Errors
0 likes · 21 min read
GWP‑ASan Based Heap Memory Error Detection and Debugging on Windows
Baidu App Technology
Baidu App Technology
Oct 24, 2022 · Mobile Development

Understanding SIGKILL Crashes and Capturing Them with MetricKit on iOS

A SIGKILL crash indicates the OS forcibly terminated an iOS app, which cannot be caught directly, but MetricKit (iOS 14+) can automatically collect diagnostic payloads after restart, allowing developers to extract termination reasons, stack traces, understand codes like 0x8badf00d, and address common causes such as main‑thread watchdog timeouts and deadlocks.

MetricKitSIGKILLcrash analysis
0 likes · 10 min read
Understanding SIGKILL Crashes and Capturing Them with MetricKit on iOS
ByteDance Terminal Technology
ByteDance Terminal Technology
Nov 24, 2021 · Mobile Development

Systematic iOS Stability Issue Management: Classification, Methodology, and Root‑Cause Attribution

This article presents a comprehensive guide on systematically managing iOS stability problems, covering issue classification, a governance methodology, detailed root‑cause analysis for crashes, watchdogs, OOM, CPU and disk I/O anomalies, and practical tools and case studies from ByteDance’s APM platform.

APMPerformance Monitoringcrash analysis
0 likes · 27 min read
Systematic iOS Stability Issue Management: Classification, Methodology, and Root‑Cause Attribution
ByteDance Terminal Technology
ByteDance Terminal Technology
Jun 1, 2021 · Frontend Development

Background and Problem Localization

The article discusses identifying and resolving ImageIO-related crash issues in iOS applications, particularly those occurring after iOS 14 updates, by analyzing crash logs and system behavior.

APMImage Processingcrash analysis
0 likes · 6 min read
Background and Problem Localization
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jan 22, 2021 · Mobile Development

Analysis of Android Tombstone Files and Debuggerd Crash Handling Process

The article explains how Android’s debuggerd daemon registers signal handlers, captures crashes, generates detailed tombstone files containing process, thread, register and memory information, and provides a step‑by‑step method for analyzing these files with tools like addr2line and objdump to locate the fault.

AndroidDebuggerdNative Debugging
0 likes · 12 min read
Analysis of Android Tombstone Files and Debuggerd Crash Handling Process
JD Retail Technology
JD Retail Technology
Dec 29, 2020 · Mobile Development

Implementing Lightweight iOS Monkey Testing with SwiftMonkey and XCUITest

This article explains the background, advantages, implementation details, and crash analysis of using SwiftMonkey and XCUITest for lightweight, automated iOS Monkey testing, providing code examples and outlining pending improvements for a more robust testing pipeline.

AutomationMonkey TestingSwiftMonkey
0 likes · 7 min read
Implementing Lightweight iOS Monkey Testing with SwiftMonkey and XCUITest
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 6, 2020 · Backend Development

Analyzing MySQL Crash Without Core Dump Using Error Log and GDB

This article explains how to investigate a MySQL crash when core dumps are disabled by extracting the crash address from the error log, obtaining the matching binary, using GDB to map the address to source code, and decoding encoded function signatures to pinpoint the underlying bug.

Core DumpGDBMySQL
0 likes · 3 min read
Analyzing MySQL Crash Without Core Dump Using Error Log and GDB
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jul 24, 2020 · Mobile Development

Understanding Android Java Exception Capture and Handling Mechanism

Android captures uncaught Java exceptions using Thread.UncaughtExceptionHandler, first logging details with a system LoggingHandler then terminating the app via KillApplicationHandler, converting the Throwable into an ApplicationErrorReport sent to ActivityManagerService and stored in /data/system/dropbox, while developers can view the same FATAL EXCEPTION stack trace in logcat to diagnose and fix the root cause.

AndroidException HandlingJava
0 likes · 10 min read
Understanding Android Java Exception Capture and Handling Mechanism
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 24, 2020 · Databases

Enabling Core Dumps for MySQL Crash Diagnosis

This guide demonstrates how to reproduce a MySQL crash, enable system‑level core dumps, adjust user limits, configure MySQL to generate core files, and use gdb to extract useful debugging information for complex failure analysis.

GDBInnoDBMySQL
0 likes · 4 min read
Enabling Core Dumps for MySQL Crash Diagnosis
Ctrip Technology
Ctrip Technology
Feb 13, 2020 · Mobile Development

Design and Implementation of an Application Performance Management (APM) System for Mobile Apps

This article introduces the background, core features, network and page performance modules, error monitoring, reporting, and optimization practices of a mobile App Performance Management (APM) system, highlighting its impact on monitoring, diagnostics, and performance improvement for large‑scale applications.

APMPage TTIcrash analysis
0 likes · 20 min read
Design and Implementation of an Application Performance Management (APM) System for Mobile Apps
Sohu Tech Products
Sohu Tech Products
Jan 8, 2020 · Mobile Development

Investigation of iOS App Startup Crash Caused by UIPasteboard Access and OpenUDID

The article investigates a sporadic iOS app startup timeout where the process is killed by the system, analyzes crash logs showing a SIGKILL (0x8badf00d) watchdog termination, traces the issue to excessive UIPasteboard calls made by OpenUDID in both main and background threads, validates the hypothesis with multi‑threaded tests, surveys SDK usage of OpenUDID, and proposes moving the identifier storage to the keychain to avoid clipboard‑induced hangs.

KeychainOpenUDIDUIPasteboard
0 likes · 19 min read
Investigation of iOS App Startup Crash Caused by UIPasteboard Access and OpenUDID
Xianyu Technology
Xianyu Technology
May 9, 2019 · Mobile Development

Investigation and Resolution of a Ghost Crash in Xianyu's Flutter Infrastructure

After a 2018 Flutter upgrade caused a mysterious “Ghost Crash” in Xianyu’s app, engineers traced an over‑released NSMutableArray in the accessibility bridge, fixed an illegal dealloc call, added proper checks for iOS Speak Screen, and eliminated the crash through a rapid gray‑scale rollout.

Accessibilitycrash analysisdebugging
0 likes · 13 min read
Investigation and Resolution of a Ghost Crash in Xianyu's Flutter Infrastructure
360 Quality & Efficiency
360 Quality & Efficiency
Mar 19, 2019 · Mobile Development

Retrieving and Analyzing Android Logs for Bug Diagnosis

This article explains how to capture Android device logs using adb commands, export them, combine with monkey testing, and then analyze logcat output—including ring buffers, priority levels, and common crash or ANR patterns—to efficiently locate and resolve issues.

ADBANRAndroid
0 likes · 6 min read
Retrieving and Analyzing Android Logs for Bug Diagnosis
JD Tech
JD Tech
Sep 14, 2018 · Information Security

AI Explainability and Deep Learning Techniques for Security: JD Security’s Recent Research Highlights

JD Security presents a series of AI‑driven security innovations—including black‑box explanation methods, deep‑learning crash analysis, AI‑vs‑AI e‑commerce fraud defenses, and open‑source collaboration—to illustrate how artificial intelligence can be made transparent, effective, and safely integrated into modern security operations.

AISecurityanti-fraud
0 likes · 7 min read
AI Explainability and Deep Learning Techniques for Security: JD Security’s Recent Research Highlights
Tencent Music Tech Team
Tencent Music Tech Team
Feb 9, 2018 · Mobile Development

Understanding String Encoding in Android JNI: From Native Crash to Source Code Analysis

This article investigates an Android JNI native crash caused by misusing NewString(), examines why a custom UTF‑8‑to‑UTF‑16 conversion was used instead of NewStringUTF(), compares Dalvik and ART string encodings, reveals a Dalvik UTF‑8 conversion bug fixed in ART, and advises developers on encoding nuances across Android versions.

AndroidDalvikJNI
0 likes · 26 min read
Understanding String Encoding in Android JNI: From Native Crash to Source Code Analysis
Tongcheng Travel Technology Center
Tongcheng Travel Technology Center
Oct 30, 2017 · Fundamentals

Crash Analysis of Inline Hook Implementation with Substrate on ARM Thumb

This article examines why an inline hook created with Substrate on ARM Thumb crashes, detailing the hook mechanism, the offending PC‑relative ADR instruction, and the necessary instruction fixes to prevent control‑flow errors.

ARMReverse EngineeringThumb
0 likes · 5 min read
Crash Analysis of Inline Hook Implementation with Substrate on ARM Thumb