Tag

backtrace

1 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++Debuggingbacktrace
0 likes · 24 min read
Using backtrace to Diagnose Linux Program Crashes
Architecture Development Notes
Architecture Development Notes
Sep 30, 2024 · Fundamentals

Mastering Rust’s panic! Macro: When and How to Use It Effectively

This article explains Rust's panic! macro, covering how to invoke it, its default behavior, options for stack unwinding versus aborting, practical code examples, and how to use backtraces for debugging, while advising when to prefer Result for recoverable errors.

ResultRustbacktrace
0 likes · 8 min read
Mastering Rust’s panic! Macro: When and How to Use It Effectively
Baidu Geek Talk
Baidu Geek Talk
Jul 13, 2022 · Mobile Development

Baidu APP Large Memory Allocation Monitoring Solution for iOS

Baidu’s iOS solution monitors single memory allocations exceeding an 8 MB threshold by intercepting malloc_logger and capturing stack traces with backtrace, merging online user‑scenario data and offline pipelines to identify large‑allocation hotspots, reduce OOM crashes, and give developers actionable debugging insight.

backtracedyldiOS
0 likes · 13 min read
Baidu APP Large Memory Allocation Monitoring Solution for iOS
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