Tagged articles
7 articles
Page 1 of 1
Linux Kernel Journey
Linux Kernel Journey
Feb 20, 2025 · Fundamentals

When a Linux Program Crashes: Using Backtrace to Quickly Pinpoint the Fault

This article explains why Linux programs may exit unexpectedly, introduces the backtrace utility and its underlying call‑stack mechanism, and provides step‑by‑step instructions—including compilation flags, signal handling, and address‑to‑source mapping—to accurately locate the root cause of crashes.

CDebuggingaddr2line
0 likes · 25 min read
When a Linux Program Crashes: Using Backtrace to Quickly Pinpoint the Fault
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.

Cbacktracelinux
0 likes · 24 min read
Using backtrace to Diagnose Linux Program Crashes
Linux Kernel Journey
Linux Kernel Journey
Dec 16, 2024 · Fundamentals

eBPF Talk: Manually Performing Backtrace in arm64 fentry

The article explains why backtracing with eBPF fentry on arm64 is harder than on x86, details the stack layout differences, shows how recent commits changed register saving, and provides a practical detection routine to locate the frame pointer and retrieve the tracee's instruction pointer.

ARM64BPFbacktrace
0 likes · 5 min read
eBPF Talk: Manually Performing Backtrace in arm64 fentry
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.

Memory MonitoringOOMbacktrace
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
WeChat Client Technology Team
WeChat Client Technology Team
Aug 8, 2019 · Mobile Development

How We Built an iOS Energy Consumption Monitor in Matrix

This article explains how the Matrix team created a low‑overhead iOS/macOS energy‑consumption monitor that captures high‑CPU thread stacks, builds aggregated power‑consume stacks, and helps pinpoint heating scenarios such as image uploads, VoIP calls, and game usage.

backtraceenergy monitoringiOS
0 likes · 7 min read
How We Built an iOS Energy Consumption Monitor in Matrix