Tag

stack trace

0 views collected around this technical thread.

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.

C++Linuxbacktrace
0 likes · 24 min read
Using backtrace to Diagnose Linux Program Crashes
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.

Goerror handlingerrors
0 likes · 25 min read
Deep Dive into Go's pkg/errors Package: Design, Implementation, and Usage
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.

iOSmallocmemory-monitoring
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.

AIOpsMobile MonitoringObservability
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.

C++Core DumpGDB
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/OInnoDBMySQL
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.

DartNativeflutter
0 likes · 14 min read
Designing a Flutter Jank Monitoring System with Stack Trace Collection
Beike Product & Technology
Beike Product & Technology
Aug 29, 2019 · Mobile Development

Android Crash and ANR Monitoring: Implementation Insights and Best Practices

This article shares practical experiences from developing the Shenghai crash monitoring SDK for Android, covering Java exception capture, stack trace collection, processing, real‑time reporting, crash metrics, and ANR detection using FileObserver and WatchDog mechanisms.

ANRAndroidCrash Monitoring
0 likes · 11 min read
Android Crash and ANR Monitoring: Implementation Insights and Best Practices
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.

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