v.20.1Improvement

Stack Traces Now Display Physical Addresses for Improved Debugging

Stack traces now display physical addresses (offsets in object file) instead of virtual memory addresses (where the object file was loaded). That allows the use of addr2line when binary is position independent and ASLR is active. This fixes #8360. #8387 (alexey-milovidov)
Stack traces in ClickHouse now show physical addresses (offsets in the object file) instead of virtual memory addresses.

Why it matters

This change allows the use of addr2line to map stack trace addresses to source code lines even when the binary is position independent and Address Space Layout Randomization (ASLR) is enabled, improving debugging capabilities.

How to use it

No special configuration is needed; stack traces will automatically display physical addresses enabling seamless use of addr2line for debugging.