Tagged articles
6 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.

Linuxaddr2linebacktrace
0 likes · 25 min read
When a Linux Program Crashes: Using Backtrace to Quickly Pinpoint the Fault
Sohu Tech Products
Sohu Tech Products
Jul 31, 2024 · Backend Development

How to Adapt Android 15 Apps to 16K Page Size – A Complete Guide

This article walks through why Android 15’s 16 KB page size is a hidden trap for native libraries, shows how to locate 4 KB assumptions in code, and provides step‑by‑step CMake/Android‑mk adjustments, tooling commands, and debugging tips to ensure your .so files load correctly.

16KB page sizeAndroidCMake
0 likes · 9 min read
How to Adapt Android 15 Apps to 16K Page Size – A Complete Guide
Liangxu Linux
Liangxu Linux
Apr 19, 2021 · Backend Development

Debug Linux Core Dumps with dmesg, addr2line, gdb, and strace

This guide explains how to enable core dumps on Linux, examine the generated core file, and pinpoint the exact source line of a crash using dmesg, addr2line, gdb, and strace, with concrete command examples and code snippets.

Backendaddr2linecore-dump
0 likes · 8 min read
Debug Linux Core Dumps with dmesg, addr2line, gdb, and strace