Tagged articles
19 articles
Page 1 of 1
Deepin Linux
Deepin Linux
Dec 27, 2025 · Operations

Master Linux Kernel Stack Tracing: From GDB Basics to Advanced ftrace & eBPF

This practical guide walks you through Linux kernel stack backtracing, covering GDB installation, core dump analysis, handling corrupted stacks, and advanced tracing techniques using ftrace and eBPF, with step‑by‑step commands, code examples, and troubleshooting tips to pinpoint the root cause of crashes.

LinuxeBPFftrace
0 likes · 32 min read
Master Linux Kernel Stack Tracing: From GDB Basics to Advanced ftrace & eBPF
Alibaba Cloud Observability
Alibaba Cloud Observability
Oct 27, 2025 · Mobile Development

Mastering HarmonyOS Crash Monitoring: From Native Crashes to ArkTS Stack Traces

Learn how to monitor and analyze crashes in HarmonyOS Next by handling native C/C++ signals and ArkTS/JavaScript errors, using hiAppEvent watchers, simulating crash scenarios, and leveraging build artifacts such as source maps, debug .so files, and nameCache for precise stack trace reconstruction and improved app stability.

HarmonyOSNative CrasharkTS
0 likes · 17 min read
Mastering HarmonyOS Crash Monitoring: From Native Crashes to ArkTS Stack Traces
High Availability Architecture
High Availability Architecture
Jun 25, 2025 · Backend Development

How to Build a Java Method Call Stack Tracker for Faster Debugging

This article explains how to address common on‑call debugging pain points by analyzing error screenshots, extracting key information, and developing a lightweight Java tool that leverages StackTraceElement to generate a clear, filtered method‑call chain, dramatically speeding up code‑origin identification and issue resolution.

DebuggingJavaMethod Call Chain
0 likes · 12 min read
How to Build a Java Method Call Stack Tracker for Faster Debugging
Deepin Linux
Deepin Linux
Feb 18, 2025 · Fundamentals

Using backtrace to Diagnose Linux Program Crashes

This article explains common causes of unexpected Linux program termination and demonstrates how to employ the backtrace utility, along with signal handling and related functions, to capture and analyze stack traces, enabling precise identification and resolution of issues such as memory overflows, null pointer dereferences, and other runtime errors.

CLinuxbacktrace
0 likes · 24 min read
Using backtrace to Diagnose Linux Program Crashes
Linux Kernel Journey
Linux Kernel Journey
Oct 7, 2024 · Operations

retsnoop: Kernel Error Debugging Tool that Traces All Functions and Shows Stack on Failure

retsnoop is an eBPF‑based tracing utility that uses wildcard patterns to hook kernel functions, automatically captures full stack traces whenever a function returns an error, and offers three complementary modes—stack trace, function‑call trace, and LBR—to quickly pinpoint the source of kernel failures, with practical examples and source‑code insights.

LinuxeBPFkernel debugging
0 likes · 9 min read
retsnoop: Kernel Error Debugging Tool that Traces All Functions and Shows Stack on Failure
Go Programming World
Go Programming World
Sep 15, 2024 · Fundamentals

Deep Dive into Go's pkg/errors Package: Design, Implementation, and Usage

This article explains Go's error‑handling shortcomings, introduces the popular third‑party pkg/errors library, demonstrates how to wrap errors with additional context and stack traces, and provides a detailed line‑by‑line walkthrough of its source files (errors.go, go113.go, stack.go) to reveal the underlying design and implementation.

error-handlingerrorsgo13
0 likes · 25 min read
Deep Dive into Go's pkg/errors Package: Design, Implementation, and Usage
dbaplus Community
dbaplus Community
Dec 5, 2023 · Backend Development

Taming Chaotic Logs: Practical Governance and Stack Trace Optimization

Facing uncontrolled log proliferation, the author shares a real-world case of log governance that reduces costs and boosts efficiency by categorizing logs, simplifying formats, consolidating tools, introducing a three‑layer log architecture, and applying stack‑trace reversal techniques with concrete code examples.

BackendJavaLog Management
0 likes · 16 min read
Taming Chaotic Logs: Practical Governance and Stack Trace Optimization
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Mar 21, 2023 · Operations

How to Capture Precise Android Stack Traces: Native vs Instrumentation Methods

This article examines why a single Thread.currentThread().getStackTrace() call is insufficient for modern Android performance debugging, compares instrumentation and native stack‑capture approaches, and provides detailed step‑by‑step implementations, code snippets, and optimization tips for reliable stack tracing.

AndroidDebuggingInstrumentation
0 likes · 14 min read
How to Capture Precise Android Stack Traces: Native vs Instrumentation Methods
NetEase Yanxuan Technology Product Team
NetEase Yanxuan Technology Product Team
Feb 13, 2023 · Mobile Development

Android ANR Monitoring, Diagnosis and Governance Practice

The article explains how to monitor, locate, and remediate Android ANRs by installing a LooperPrinter‑based timeout detector, extending coverage to IdleHandler and touch events, dumping and aggregating main‑thread stacks via Firebase Crashlytics, and showcases real‑world fixes that cut online ANRs by 73.8%.

ANRAndroidFirebase Crashlytics
0 likes · 11 min read
Android ANR Monitoring, Diagnosis and Governance Practice
Baidu App Technology
Baidu App Technology
Jul 12, 2022 · Mobile Development

Large Memory Allocation Monitoring Solution for iOS Applications

A low‑overhead monitoring solution for iOS apps resets the global malloc_logger to capture every allocation, filters large allocations exceeding a configurable threshold, records lightweight stack traces using dyld image maps, and sends address‑only data for offline symbolication, enabling developers to identify and fix memory‑heavy code, reducing OOM crashes.

Memory MonitoringMobile DevelopmentOOM
0 likes · 14 min read
Large Memory Allocation Monitoring Solution for iOS Applications
Shopee Tech Team
Shopee Tech Team
Apr 7, 2022 · Operations

MDAP: A Multi‑Dimensional Real‑Time Monitoring and Analysis Platform for Mobile Applications

MDAP is a multi‑dimensional real‑time monitoring platform for mobile apps that gathers metrics, logs, and traces via lightweight SDKs, processes data through micro‑service back‑ends using Flink, Spark, and ClickHouse, applies intelligent analysis for smoothness scoring, memory‑snapshot optimization, stack de‑obfuscation, crash clustering, and URL templating, and aims to extend end‑to‑end observability and predictive issue detection.

aiopsdata analysismobile monitoring
0 likes · 26 min read
MDAP: A Multi‑Dimensional Real‑Time Monitoring and Analysis Platform for Mobile Applications
Baidu Geek Talk
Baidu Geek Talk
Aug 11, 2021 · Operations

Analyzing Core Dumps and Debugging Techniques with GDB

The article explains how to analyze core‑dump files with GDB by examining the function call stack, key registers, and memory contents, classifying crash causes, using GDB commands to inspect variables and addresses, reconstructing corrupted stacks, handling optimized‑away data and vtable errors, and following a systematic debugging workflow.

DebuggingLinuxRegisters
0 likes · 17 min read
Analyzing Core Dumps and Debugging Techniques with GDB
vivo Internet Technology
vivo Internet Technology
May 31, 2021 · Mobile Development

Android ANR Analysis: Techniques and Case Studies

The article offers a thorough guide to Android ANR analysis, detailing generation mechanisms, timeout thresholds, log examination techniques, and case studies of common causes such as idle main threads, long operations, lock contention, CPU preemption, memory pressure, and system‑service timeouts, providing practical diagnostic examples.

ANRAndroidCPU analysis
0 likes · 16 min read
Android ANR Analysis: Techniques and Case Studies
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 17, 2020 · Operations

Root Cause Analysis of MySQL "Opening tables" Stalls Caused by Poor Disk Write Performance and InnoDB Redo Log Flush

The article investigates why a MySQL instance experiences frequent "Opening tables" states, analyzing stack traces, identifying a data dictionary lock held by the dict_stats_thread, and concluding that slow disk writes trigger InnoDB's synchronous dirty‑page flush, blocking many operations.

Disk I/OInnoDBOpening tables
0 likes · 14 min read
Root Cause Analysis of MySQL "Opening tables" Stalls Caused by Poor Disk Write Performance and InnoDB Redo Log Flush
Xianyu Technology
Xianyu Technology
Jun 11, 2020 · Mobile Development

Designing a Flutter Jank Monitoring System with Stack Trace Collection

The article outlines a Flutter jank monitoring system that detects frame stalls by measuring UI callback intervals and captures the offending Dart call stack, evaluating SDK modification, AOT native unwinding, and ultimately selecting a low‑overhead signal‑based stack‑collection method for production use.

Mobilejank monitoringnative
0 likes · 14 min read
Designing a Flutter Jank Monitoring System with Stack Trace Collection
Amap Tech
Amap Tech
Jun 12, 2019 · Mobile Development

Accelerating Stack Trace for Android Native Memory Leak Detection Using TLS and Compiler Instrumentation

By instrumenting every C++ function with GCC’s ‑finstrument‑functions and recording call addresses in per‑thread TLS, the team built a fast, lock‑free stack‑trace mechanism that outperforms libunwind by up to 60×, integrates with Android’s malloc_debug, and powers an automated native‑memory‑leak detection framework with web‑based analysis.

AndroidTLSnative
0 likes · 11 min read
Accelerating Stack Trace for Android Native Memory Leak Detection Using TLS and Compiler Instrumentation