GCC Newspaper
JUNE 15, 2026
Date
/
Architectures
Components
Topics
News & Policy
Other
libbacktrace

Libbacktrace Now Supports Multiple Zstd Frames

Libbacktrace can now decompress multi-frame zstd compressed data, improving its ability to handle complex backtraces.

Libbacktrace gains the ability to decompress multiple zstd frames within a single compressed stream. This enhancement allows the library to handle more complex scenarios where backtrace information is compressed using multi-frame zstd, potentially improving the reliability and completeness of stack traces.

In Details

Libbacktrace's elf_zstd_decompress function now iteratively calls elf_zstd_decompress_frame to handle multi-frame zstd compressed data. This change avoids limitations when decompressing large or fragmented compressed data in ELF files.

For Context

Libbacktrace is a library that provides a way to obtain stack traces from a running program. Stack traces show the sequence of function calls that led to a particular point in the program's execution. Zstd is a fast lossless compression algorithm, and this change allows libbacktrace to handle stack traces compressed with multi-frame zstd.

Filed Under: libbacktracezstddecompressionstacktraces