#0 0x0000ffff7e273c68 in ?? () from /lib64/libunwind.so.8
#1 0x0000ffff7e279708 [PAC] in _ULaarch64_step () from /lib64/libunwind.so.8
#2 0x0000ffff7eb40dd8 [PAC] in ?? () from /lib64/libtcmalloc.so.4
#3 0x0000ffff7eb40180 [PAC] in ?? () from /lib64/libtcmalloc.so.4
#4 0x0000ffff7eb46658 [PAC] in GetStackTrace(void**, int, int) () from /lib64/libtcmalloc.so.4
#5 0x0000ffff7eb39004 [PAC] in tcmalloc::PageHeap::GrowHeap(unsigned long) () from /lib64/libtcmalloc.so.4
#6 0x0000ffff7eb392a4 [PAC] in tcmalloc::PageHeap::New(unsigned long) () from /lib64/libtcmalloc.so.4
#7 0x0000ffff7eb39388 [PAC] in tcmalloc::CentralFreeList::Populate() () from /lib64/libtcmalloc.so.4
#8 0x0000ffff7eb395e8 [PAC] in tcmalloc::CentralFreeList::FetchFromOneSpansSafe(int, void**, void**) () from /lib64/libtcmalloc.so.4
#9 0x0000ffff7eb3969c [PAC] in tcmalloc::CentralFreeList::RemoveRange(void**, void**, int) () from /lib64/libtcmalloc.so.4
#10 0x0000ffff7eb39824 [PAC] in tcmalloc::ThreadCache::FetchFromCentralCache(unsigned int, int, void* (*)(unsigned long)) () from /lib64/libtcmalloc.so.4
#11 0x0000ffff7eb49508 [PAC] in tcmalloc::allocate_full_malloc_oom(unsigned long) () from /lib64/libtcmalloc.so.4
#12 0x0000ffff7e7dc668 [PAC] in ?? () from /lib64/libstdc++.so.6
#13 0x0000ffff7f760d24 [PAC] in call_init () from /lib/ld-linux-aarch64.so.1
#14 0x0000ffff7f760e2c [PAC] in _dl_init () from /lib/ld-linux-aarch64.so.1
#15 0x0000ffff7f777078 [PAC] in _start () from /lib/ld-linux-aarch64.so.1
The first time I observed this, the crash even managed to corrupt the system's package manager so that it would segfault and could not add or remove software. With CMake, this is easy to reproduce, but it looks like autotools does not really add libtcmalloc to the linker flags even when it is supposedly enabled. I tested with libtcmalloc4 on an OpenSUSE Tumbleweed docker image.
The first time I observed this, the crash even managed to corrupt the system's package manager so that it would segfault and could not add or remove software. With CMake, this is easy to reproduce, but it looks like autotools does not really add libtcmalloc to the linker flags even when it is supposedly enabled. I tested with libtcmalloc4 on an OpenSUSE Tumbleweed docker image.