Tagged articles
35 articles
Page 1 of 1
Huolala Tech
Huolala Tech
Dec 31, 2025 · Fundamentals

Why Does __dispatch_barrier_waiter_redirect_or_wake Crash on iOS 14‑16? A Deep GCD Investigation

The article analyses a recurring crash in an iOS driver app caused by the __dispatch_barrier_waiter_redirect_or_wake function in libdispatch, explains the EXC_BREAKPOINT/SIGTRAP mechanism, compares libdispatch versions, reveals a premature queue release due to non‑atomic reference‑count handling, and proposes replacing GCD‑based barriers with pthread_rwlock_t to eliminate the bug.

BarrierCrashGCD
0 likes · 15 min read
Why Does __dispatch_barrier_waiter_redirect_or_wake Crash on iOS 14‑16? A Deep GCD Investigation
Tencent Cloud Developer
Tencent Cloud Developer
Sep 5, 2025 · Fundamentals

Why Single‑Thread CPU Loads Crash While Multi‑Threaded Loads Stay Stable – A Debugging Case Study

The article investigates intermittent crashes on an i9‑13900K when a single thread runs at full load, analyzes CPU voltage fluctuations, documents the debugging process using DirectXShaderCompiler, and demonstrates how converting a PSO warm‑up to multi‑threaded execution eliminates crashes and dramatically improves launch speed.

CPUCrashHardware
0 likes · 6 min read
Why Single‑Thread CPU Loads Crash While Multi‑Threaded Loads Stay Stable – A Debugging Case Study
Huolala Tech
Huolala Tech
Oct 8, 2024 · Mobile Development

iOS 17 Text‑to‑Speech Crash: Root Cause and Effective Fixes

This article investigates a recurring text‑to‑speech crash on iOS 17 devices, detailing the EXC_BAD_ACCESS error, analyzing stack traces, exploring internal AVAudioEngine and AUAudioUnit_XPC structures, and presenting two remediation strategies—including a hook‑based approach that safely bypasses problematic dealloc and stop calls.

AVAudioEngineCrashHook
0 likes · 16 min read
iOS 17 Text‑to‑Speech Crash: Root Cause and Effective Fixes
ITPUB
ITPUB
Jul 16, 2024 · Databases

Why MySQL 8.0.38 Crashes with Over 10,000 Tables and How to Fix It

Upgrading to MySQL 8.0.38 (or later) causes crashes when an instance contains more than ten thousand tables, even with validate_tablespace_paths disabled, but using a shared or general tablespace configuration can reliably avoid the failure.

CrashInnoDBTablespace
0 likes · 4 min read
Why MySQL 8.0.38 Crashes with Over 10,000 Tables and How to Fix It
Alipay Experience Technology
Alipay Experience Technology
Sep 8, 2023 · Mobile Development

Uncovering the iOS 16 Keyboard Crash: Root Cause, Reverse‑Engineered Fix, and Zero‑Crash Deployment

This article details how a hidden memory‑management bug in iOS 16’s keyboard component caused massive crashes in the Alipay app, explains the reverse‑engineering process that identified the faulty UIKeyboardTaskQueue logic, and describes the assembly‑level patch that eliminated the issue across millions of devices.

AssemblyCrashKeyboard
0 likes · 27 min read
Uncovering the iOS 16 Keyboard Crash: Root Cause, Reverse‑Engineered Fix, and Zero‑Crash Deployment
Ximalaya Technology Team
Ximalaya Technology Team
Aug 12, 2023 · Mobile Development

Why Android 8+ Blocks startService in Background and How startForegroundService Avoids Crashes

This article explains the Android 8.1+ restriction that prevents background apps from using startService, details the internal flow that leads to a Not allowed to start service crash, shows how startForegroundService works with a mandatory foreground notification timeout, and provides code‑level analysis of the ANR and crash “bombs”, UID idle handling, and practical mitigation strategies.

ANRAndroidCrash
0 likes · 41 min read
Why Android 8+ Blocks startService in Background and How startForegroundService Avoids Crashes
Programmer DD
Programmer DD
Apr 25, 2023 · Artificial Intelligence

Why a Single QR Code Crashes WeChat: Inside the Memory Leak Bug

An unusual QR code triggers a memory‑leak in WeChat’s OCR engine, causing the app to crash on both mobile and desktop; the article explains the underlying null‑pointer exception, shows how the malformed “abnormal QR code” corrupts libqbar.so, and provides Python code to reproduce the bug using OpenCV’s open‑source QR engine.

CrashOpenCVPython
0 likes · 9 min read
Why a Single QR Code Crashes WeChat: Inside the Memory Leak Bug
JD Retail Technology
JD Retail Technology
Sep 23, 2022 · Mobile Development

Resolving iOS 16.1 Navigation‑Bar Constraint Crash Caused by TitleControl

The article analyzes a crash introduced in iOS 16.1 where hiding and showing the system navigation bar triggers an NSLayoutConstraint activation failure in _UINavigationBarTitleControl, describes reproduction steps, investigates root causes, and presents a reliable fix by forcing layout updates before changing the bar’s hidden state.

ConstraintsCrashMobileDevelopment
0 likes · 8 min read
Resolving iOS 16.1 Navigation‑Bar Constraint Crash Caused by TitleControl
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 1, 2022 · Databases

MySQL SELECT Query Crash Analysis and Resolution

This article investigates a MySQL crash triggered by a specific SELECT statement, analyzes the stack trace and optimizer behavior that leads to an invalid memory access, and presents three practical solutions including disabling DuplicateWeedout, upgrading MySQL, and normalizing table character sets.

CrashDuplicateWeedoutbug
0 likes · 7 min read
MySQL SELECT Query Crash Analysis and Resolution
Huolala Tech
Huolala Tech
Jun 16, 2022 · Mobile Development

Cutting Android Crash Rate from 5% to 0.02%: HuoLaLa’s Stability Playbook

This article details how HuoLaLa reduced its Android app crash rate from over 5% to just 0.02% through industry‑standard metrics, systematic crash analysis, code refactoring, third‑party SDK management, memory leak and OOM mitigation, and a suite of preventive tools such as gray releases, configuration systems, hot‑fixes and robust logging.

AndroidApp StabilityCrash
0 likes · 20 min read
Cutting Android Crash Rate from 5% to 0.02%: HuoLaLa’s Stability Playbook
Alibaba Terminal Technology
Alibaba Terminal Technology
May 12, 2022 · Frontend Development

How DingTalk Fixed FlutterEngine Crashes, Memory Leaks, and Deadlocks on Desktop

This article details the technical challenges DingTalk faced when integrating Flutter across macOS and Windows desktops, covering memory leaks, shutdown deadlocks, OpenGL crashes, rendering glitches, plugin registration wild‑pointer crashes, and white‑screen issues, and explains the root causes and concrete solutions applied to each problem.

CrashCross‑PlatformDesktop
0 likes · 12 min read
How DingTalk Fixed FlutterEngine Crashes, Memory Leaks, and Deadlocks on Desktop
IT Services Circle
IT Services Circle
Apr 26, 2022 · Backend Development

Typical Java Crash Scenarios with Sample Code

This article examines typical Java application failure scenarios—including heap OOM, memory leaks, CPU spikes, thread leaks, deadlocks, stack overflows, and blocked threads—providing concise code examples and practical diagnostic tips for root cause analysis.

CrashDebuggingJava
0 likes · 9 min read
Typical Java Crash Scenarios with Sample Code
Sohu Tech Products
Sohu Tech Products
Jan 26, 2022 · Mobile Development

Crash Caused by Mutating a Collection During Enumeration and the Mechanics of copy vs mutableCopy in Objective‑C

This article documents a runtime crash triggered by mutating an NSMutableSet while enumerating it, explains how the Objective‑C copy attribute works, demonstrates shallow and deep copy behavior for strings and collections, and provides low‑level source analysis of the copy implementation in the Apple runtime.

CrashDeepCopyMutableSet
0 likes · 14 min read
Crash Caused by Mutating a Collection During Enumeration and the Mechanics of copy vs mutableCopy in Objective‑C
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 28, 2021 · Databases

MySQL 8.0.18 Crash When Importing Large BLOBs with Semi‑Sync Replication and slave_compressed_protocol Enabled

The article investigates a MySQL 8.0.18 crash that occurs when importing a large create.sql containing longblob data under semi‑synchronous replication, reveals that enabling slave_compressed_protocol together with high‑availability latency checks triggers the failure, and provides a concrete fix by disabling the compressed protocol.

Crashbuglongblob
0 likes · 10 min read
MySQL 8.0.18 Crash When Importing Large BLOBs with Semi‑Sync Replication and slave_compressed_protocol Enabled
Xianyu Technology
Xianyu Technology
Oct 21, 2021 · Mobile Development

Flutter iOS GPU Background Crash Analysis and Solution

The article analyzes why Flutter crashes on iOS when accessing the GPU in the background, explains the official SyncSwitch fix for ImageDecoder, and details Xianyu’s additional patches for MultipleFrameCodec, EncodeImage, and Rasterizer::DrawToSurface that together, via PR #28383, fully resolve the GPU‑background crash.

CrashFlutterGPU
0 likes · 11 min read
Flutter iOS GPU Background Crash Analysis and Solution
Beike Product & Technology
Beike Product & Technology
Sep 8, 2021 · Mobile Development

iOS Crash Analysis and Mitigation: Principles, Mechanisms, and a Case Study of WebView Container Crash on iOS 15

This article explains the fundamentals of iOS crashes, describes exception types such as Mach and Signal, details stack memory layout and recovery techniques, and walks through several real‑world crash investigations—including WKWebView, ImageIO, and fishhook issues—culminating in practical mitigation steps that reduced crash rates by over 60%.

CrashDebuggingMachException
0 likes · 17 min read
iOS Crash Analysis and Mitigation: Principles, Mechanisms, and a Case Study of WebView Container Crash on iOS 15
Sohu Tech Products
Sohu Tech Products
Feb 3, 2021 · Mobile Development

Debugging NSInvocation Out‑of‑Bounds Crash After iOS 13.3 Upgrade

This article analyzes a crash caused by NSInvocation argument out‑of‑bounds on iOS 13.3+, explains the underlying runtime changes, demonstrates how to reproduce the issue with a timer‑triggered message forwarding scenario, and provides a fix by correcting the method signature.

CrashDebuggingMethodSignature
0 likes · 7 min read
Debugging NSInvocation Out‑of‑Bounds Crash After iOS 13.3 Upgrade
Aikesheng Open Source Community
Aikesheng Open Source Community
Feb 21, 2020 · Databases

Root Cause Analysis of MySQL Crash Triggered by Binlog Errors When the Root Partition Is Full

The article investigates a MySQL crash caused by binlog errors due to a full '/' partition, explains why the error leads to server abort, demonstrates reproducing the issue with large transactions, traces the problem to the my_write function in the source code, and offers mitigation strategies such as reducing transaction size or expanding the temporary directory space.

BinlogCrashDebugging
0 likes · 13 min read
Root Cause Analysis of MySQL Crash Triggered by Binlog Errors When the Root Partition Is Full
Didi Tech
Didi Tech
Mar 28, 2019 · Mobile Development

Analysis and Mitigation of Android finalize() TimeoutException Crashes

The article examines Android crashes caused by the finalize() method exceeding its watchdog timeout, explains the underlying daemon implementation and typical causes such as long‑running finalizers, lock contention and low‑priority threads, and recommends avoiding finalize, reducing finalizable objects, or suppressing the watchdog exception as practical mitigations.

AndroidCrashTimeoutException
0 likes · 15 min read
Analysis and Mitigation of Android finalize() TimeoutException Crashes
Baidu Intelligent Testing
Baidu Intelligent Testing
Mar 21, 2019 · Backend Development

Understanding P2P Download Technology and Its Testing Methods

This article explains the fundamentals of peer‑to‑peer (P2P) download technology, its advantages over traditional client‑server models, the detailed download workflow, and the testing and monitoring approaches used to evaluate performance, stability, and crash rates.

BackendCrashDownload
0 likes · 9 min read
Understanding P2P Download Technology and Its Testing Methods
Meituan Technology Team
Meituan Technology Team
Mar 29, 2018 · Mobile Development

Solving Android Toast Restrictions and Crash Issues

To avoid crashes and missing messages caused by newer Android restrictions on Toast—such as disabled notifications, BadTokenException on pre‑8.0 devices, and token‑null errors on Android 7.1—developers intercept Toast.show with AspectJ, replace it with a custom MToast, handle exceptions, and ultimately migrate to a robust Snackbar‑based notification system.

AndroidCrashMobile Development
0 likes · 18 min read
Solving Android Toast Restrictions and Crash Issues
Baidu Intelligent Testing
Baidu Intelligent Testing
Aug 10, 2017 · Mobile Development

iOS Crash Log Symbolication: Three Methods and dSYM File Analysis

This article explains why iOS crash logs are unreadable without symbolication, introduces three symbolication approaches—Xcode's symbolicatecrash, the atos/atosl tools, and dSYM‑based parsing—details the dSYM file structure, Mach‑O headers, load commands, data segments, and how to extract and demangle symbols for effective crash debugging.

CrashMach-Oatosl
0 likes · 10 min read
iOS Crash Log Symbolication: Three Methods and dSYM File Analysis
Efficient Ops
Efficient Ops
Jul 9, 2017 · Mobile Development

Why Users Quit Slow Apps: Insights from China’s 2016 Mobile Performance Report

The 2016 China Mobile App Performance Report, released by leading APM provider Tingyun, analyzes iOS and Android crash rates, network performance, error distributions, and third‑party API responsiveness, revealing that iOS apps crash five times more often than Android, network errors dominate failures, and certain industries suffer higher latency, offering developers data‑driven guidance to improve user experience.

APICrashMobile
0 likes · 7 min read
Why Users Quit Slow Apps: Insights from China’s 2016 Mobile Performance Report
ITPUB
ITPUB
Jan 21, 2016 · Information Security

How a Tiny JavaScript Snippet Can Crash Browsers and Reboot iPhones

A JavaScript snippet shared on Twitter claims to crash Firefox, Chrome, and Safari browsers and even force an iPhone to restart, prompting security researchers to examine the code, observed effects on desktop and mobile, and discuss whether it is a bug or a true 0‑day exploit.

0dayCrashJavaScript
0 likes · 4 min read
How a Tiny JavaScript Snippet Can Crash Browsers and Reboot iPhones
Tencent TDS Service
Tencent TDS Service
Nov 19, 2014 · Mobile Development

Why UnsatisfiedLinkError Happens on Android and How to Fix It

This article explains the common causes of java.lang.UnsatisfiedLinkError in Android apps, illustrates three typical scenarios with code examples, and provides practical steps to resolve missing or mismatched native libraries, helping developers prevent crashes caused by improper SO loading.

AndroidBuglyCrash
0 likes · 7 min read
Why UnsatisfiedLinkError Happens on Android and How to Fix It