Tagged articles
crash
36 articles · Page 1 of 1
PowerShell 7.6 crashes on startup for non-English locales because the update notification banner calculates a negative padding width when localized text is shorter than a fixed URL, triggering an unhandled ArgumentOutOfRangeException that calls Environment.FailFast; the workaround is setting POWERSHELL_UPDATECHECK=Off and restarting the terminal.
.NETDebuggingPadRight
0 likes · 9 min read

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.
BarrierGCDReferenceCounting
0 likes · 15 min read

A recent HDFS outage caused the Standby and Observer NameNodes to crash after heavy client load triggered block recovery failures, exposing a bug in commitBlockSynchronization that leads to mismatched block IDs and edit‑log inconsistencies, which can be fixed by applying HDFS‑17861.
BlockRecoveryHDFSHadoop
0 likes · 15 min read

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

This article walks through a real iOS crash caused by mutating an NSMutableSet during enumeration, explains how the Objective‑C copy attribute works, compares shallow and deep copies for strings and collections, and shows the underlying runtime implementation with concrete code examples.
COPYNSMutableSetObjective-C++
0 likes · 17 min read

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.
AVAudioEngineObjective-C++Text-to-Speech
0 likes · 16 min read


ITPUBJul 16, 2024 · Databases
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.
InnoDBMySQLcrash
0 likes · 4 min read

This article analyzes a MySQL 5.7.20 crash that occurs during INSERT operations on BLOB columns with INSERT … ON DUPLICATE syntax, explains the underlying bug in the copy_blob_value function, shows how to reproduce and locate it with gdb, and provides the fix introduced in MySQL 5.7.22.
BLOBINSERT ON DUPLICATEMySQL
0 likes · 6 min read

A scheduled task system that frequently accesses MySQL and cache crashes at night due to a SIGSEGV in the HotSpot JVM caused by JIT compilation of hotspot code, and the article explains the JVM internals, JIT behavior, and provides configuration and driver downgrade solutions to prevent the failure.
BackendJITJVM
0 likes · 22 min read

An Ant Group engineer reverse‑engineered a severe iOS 16 keyboard crash affecting the Alipay app, traced it to a faulty lock in UIKeyboardTaskQueue, and implemented an assembly‑level patch that eliminated the bug across millions of devices.
Keyboardassemblybug fix
0 likes · 24 min read

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.
Keyboardassemblybug fix
0 likes · 27 min read

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.
ANRAndroidService
0 likes · 41 min read

This article analyzes why the MariaDB audit plugin crashes on MySQL 5.7, presents compatibility tables before and after source modification, details the verification steps, and provides a step‑by‑step solution including source code changes and recompilation to make the plugin work reliably.
Audit PluginMariaDBMySQL
0 likes · 14 min read

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.
Memory LeakOpenCVPython
0 likes · 9 min read

This article examines how ARC‑managed object assignments can produce wild pointers and EXC_BAD_ACCESS crashes in multithreaded iOS apps, explains the underlying reference‑counting steps, demonstrates reproducible demo scenarios, and offers practical mitigation strategies for developers.
ArCMultithreadingcrash
0 likes · 14 min read

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.
MobileDevelopmentNavigationBarUIKit
0 likes · 8 min read

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.
DuplicateWeedoutMySQLOptimizer
0 likes · 7 min read

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 StabilityMemory
0 likes · 20 min read

This guide walks through using the Crash utility to parse a kdump vmcore, locate the sk_buff structure, examine its fields, and trace related socket data, illustrating a practical approach to diagnosing kernel memory corruption.
Linuxcrashkernel debugging
0 likes · 9 min read

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.
Cross‑PlatformDutterFlutter
0 likes · 12 min read

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.
DebuggingJavaMemory Leak
0 likes · 9 min read

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.
COPYDeepCopyMutableSet
0 likes · 14 min read

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.
MySQLbugcrash
0 likes · 10 min read

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.
FlutterGPUImageDecoder
0 likes · 11 min read

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%.
DebuggingMachExceptionMemory
0 likes · 17 min read

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.
DebuggingMethodSignatureNSInvocation
0 likes · 7 min read

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.
DebuggingMySQLTemporary Files
0 likes · 13 min read

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.
AndroidFinalizeGC
0 likes · 15 min read

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.
BackendDownloadP2P
0 likes · 9 min read

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.
AndroidAspectJToast
0 likes · 18 min read

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.
Mach-Oatoslcrash
0 likes · 10 min read

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

This article analyzes a frequent Android crash caused by posting delayed Runnables to a Handler, explains why it is hard to reproduce, and presents a solution that extends the delay to reliably trigger and then mitigate the issue using message‑queue manipulation.
AndroidDebuggingMessage Queue
0 likes · 9 min read

This article analyzes the nano_free crash issue that appeared on iOS 10.0‑10.1.1, explores several attempted fixes such as dylib replacement, source compilation, environment variable tweaks, and hook strategies, and finally proposes a guarded zone solution to reduce crash probability.
crashiOSmalloc
0 likes · 11 min read


ITPUBJan 21, 2016 · Information Security
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.
0dayJavaScriptbrowser exploit
0 likes · 4 min read

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.
AndroidBuglyUnsatisfiedLinkError
0 likes · 7 min read
