Wieder was gelernt

Core-Dumps on Ubuntu

2024-05-14 (Tuesday)
Tags: linux ubuntu debugging system administration

Ubuntu by default pipes core dumps to apport (via /proc/sys/kernel/core_pattern). The core dumps are then stored in /var/lib/apport/coredump. If you want “normal” core dumps, you need to write a different pattern (e.g. “core.%p”) into core_pattern. Also useful to know: To install debug syms you need to add deb http://ddebs.ubuntu.com jammy main restricted universe multiverse deb http://ddebs.ubuntu.com jammy-updates main restricted universe multiverse deb http://ddebs.ubuntu.com jammy-proposed main restricted universe multiverse to sources.list.d