Tcmalloc issues

Hi, would you mind take a look? Having issues with 2024 series on new Ubuntu releases.

Hi @marknefedov

I’ve reported this issue internally.

Hi @marknefedov - Thank you for the detailed report. The crashes come from tcmalloc’s per-CPU cache, depending on rseq behavior that kernel 6.19 changed. Upstream treated the change as a kernel regression and reverted it, so the fix is on the kernel side. Two commits are relevant:

  • rseq: Revert to historical performance killing behaviour (Thomas Gleixner) — in mainline 7.0.10+, Ubuntu kernel 7.0.0-28+
  • arm64/entry: Fix arm64-specific rseq brokenness (Mark Rutland) — in mainline 7.0.14+, Ubuntu kernel 7.0.0-31+

Since you’re on arm64, you need both fixes. The kernels you tested (7.0.0-22 and 7.0.0-30) predate the arm64 fix, which is why you still saw crashes on -30. The first Ubuntu kernel with both fixes is 7.0.0-31, which is currently in resolute-proposed and will likely reach the regular updates pocket soon (based on past experience). Until then, your options on arm64 are the seccomp workaround (blocking rseq, at an allocator-performance cost), installing the -31 kernel from proposed if you’re comfortable with that, or running on a supported OS.

On support status: Ubuntu 26.04 isn’t currently a supported OS for the 2024.x/2025.x or any current release. We don’t plan to add support for the affected kernel versions (6.19 through the pre-fix 7.0.x range). We are building a plan to support Ubuntu 26.04 in a future release. Potential backporting support is TBD.