Project

General

Profile

Actions

Bug #81551

closed
RS KC

ceph-mon and other tcmalloc-linked daemons 20.2.4 crashes with SIGILL on Ubuntu 24.04 aarch64 (Cortex-X925/A725, PAC enabled)

Bug #81551: ceph-mon and other tcmalloc-linked daemons 20.2.4 crashes with SIGILL on Ubuntu 24.04 aarch64 (Cortex-X925/A725, PAC enabled)

Added by Ricardo Snoek-Valkenburg about 2 months ago. Updated 20 days ago.

Status:
Backporting
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
tentacle umbrella
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Tags (freeform):
Fixed In:
v22.0.0-896-gd5d15fcaca
Released In:
Upkeep Timestamp:
2026-11-13T23:39:04+00:00

Description

Summary

After upgrading a Squid (19.2.x) monitor to Tentacle 20.2.4 using the upstream packages from download.ceph.com/debian-tentacle on Ubuntu 24.04 (noble) aarch64, ceph-mon crashes immediately with Illegal instruction, even for ceph-mon --version. The crash occurs in libgcc’s unwinder, reached from tcmalloc’s stack-trace capture during heap growth. Preloading jemalloc avoids the crash.

Environment

OS: Ubuntu 24.04 (noble), aarch64
Kernel: 7.0.0-1019-nvidia
Hardware: Dell Pro Max with GB10 FCM1253
CPU: Cortex-X925 and Cortex-A725 cores. Relevant flags include paca pacg bti sve sve2
Ceph: 20.2.4-1noble (upstream packages, download.ceph.com/debian-tentacle)
libgcc-s1: 14.2.0-4ubuntu2~24.04.1
libgoogle-perftools4 / libtcmalloc: 2.15-3build1
Previous version: Squid 19.2.x from the same host, which ran without this problem

Steps to reproduce

Install the Tentacle 20.2.4 packages on the aarch64 host above.
Run ceph-mon --version.

Actual result

Illegal instruction (core dumped)
systemctl start ceph-mon@<id> fails with result core-dump.

Expected result

The version string is printed and the monitor starts.

Debugging output

$ gdb -batch -ex run -ex 'x/3i $pc' -ex 'bt 8' --args /usr/bin/ceph-mon --version

Program received signal SIGILL, Illegal instruction.
0x0000fffff6f07250 in ?? () from /lib/aarch64-linux-gnu/libgcc_s.so.1
=> 0xfffff6f07250:    autia1716
   0xfffff6f07254:    mov    x21, x17
   0xfffff6f07258:    mov    x17, x21
#0  0x0000fffff6f07250 in ?? () from /lib/aarch64-linux-gnu/libgcc_s.so.1
#1  0x0000fffff6f07b7c [PAC] in _Unwind_Backtrace () from /lib/aarch64-linux-gnu/libgcc_s.so.1
#2  0x0000fffff740aecc [PAC] in ?? () from /lib/aarch64-linux-gnu/libtcmalloc.so.4
#3  0x0000fffff7411004 [PAC] in GetStackTrace(void**, int, int) () from /lib/aarch64-linux-gnu/libtcmalloc.so.4
#4  0x0000fffff74046c0 [PAC] in tcmalloc::PageHeap::HandleUnlock(tcmalloc::PageHeap::LockingContext*) () from /lib/aarch64-linux-gnu/libtcmalloc.so.4
#5  0x0000fffff7404840 [PAC] in tcmalloc::PageHeap::NewWithSizeClass(unsigned long, unsigned int) () from /lib/aarch64-linux-gnu/libtcmalloc.so.4
#6  0x0000fffff73f8248 [PAC] in ?? () from /lib/aarch64-linux-gnu/libtcmalloc.so.4
#7  0x0000fffff74139dc [PAC] in tcmalloc::allocate_full_cpp_throw_oom(unsigned long) () from /lib/aarch64-linux-gnu/libtcmalloc.so.4

Workaround

Preloading jemalloc avoids the crash:

$ LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libjemalloc.so.2 ceph-mon --version
ceph version 20.2.4 (7f793731f1b39eb4f465e960113d2363c311b964) tentacle (stable - None)


Related issues 2 (2 open — 0 closed)

Copied to RADOS - Backport #83156: tentacle: ceph-mon and other tcmalloc-linked daemons 20.2.4 crashes with SIGILL on Ubuntu 24.04 aarch64 (Cortex-X925/A725, PAC enabled)NewKefu Chai

Actions
Copied to RADOS - Backport #83157: umbrella: ceph-mon and other tcmalloc-linked daemons 20.2.4 crashes with SIGILL on Ubuntu 24.04 aarch64 (Cortex-X925/A725, PAC enabled)NewKefu Chai

Actions

RS Updated by Ricardo Snoek-Valkenburg about 2 months ago Actions #1

  • Description updated (diff)

NM Updated by Nitzan Mordechai about 2 months ago Actions #2

  • Project changed from mgr to RADOS

Moving to Rados from mgr

KC Updated by Kefu Chai about 1 month ago Actions #4

  • Status changed from New to Fix Under Review
  • Assignee set to Kefu Chai
  • Backport set to tentacle umbrella
  • Pull request ID set to 71665

LF Updated by Laura Flores about 1 month ago Actions #5

Added to a QA batch.

LF Updated by Laura Flores 28 days ago Actions #6

Laura Flores wrote in #note-5:

Added to a QA batch.

Same

UB Updated by Upkeep Bot 20 days ago Actions #7

  • Copied to Backport #83156: tentacle: ceph-mon and other tcmalloc-linked daemons 20.2.4 crashes with SIGILL on Ubuntu 24.04 aarch64 (Cortex-X925/A725, PAC enabled) added

UB Updated by Upkeep Bot 20 days ago Actions #8

  • Copied to Backport #83157: umbrella: ceph-mon and other tcmalloc-linked daemons 20.2.4 crashes with SIGILL on Ubuntu 24.04 aarch64 (Cortex-X925/A725, PAC enabled) added

UB Updated by Upkeep Bot 20 days ago Actions #9

  • Status changed from Fix Under Review to Backporting
  • Merge Commit set to d5d15fcaca6ca4e60c73080227352e97cc5038da
  • Fixed In set to v22.0.0-896-gd5d15fcaca
  • Upkeep Timestamp set to 2026-11-13T23:39:04+00:00
Actions

Also available in: PDF Atom