GNU gdb (GDB) 14.1.0.56.d739d4fd457-alt1 (ALT Sisyphus)
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "aarch64-alt-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/ceph-mon...
Reading symbols from /usr/lib/debug/usr/bin/ceph-mon.debug...
[New LWP 1396]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `ceph-mon --version'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  access_mem (as=<optimized out>, addr=186918122571843, val=0xfffff958f578, write=<optimized out>, arg=<optimized out>) at aarch64/Ginit.c:362
362           *val = *(unw_word_t *) addr;

Thread 1 (Thread 0xffffa99ea040 (LWP 1396)):
#0  access_mem (as=<optimized out>, addr=186918122571843, val=0xfffff958f578, write=<optimized out>, arg=<optimized out>) at aarch64/Ginit.c:362
#1  0x0000ffffa84293ec in is_plt_entry (c=0xfffff958f988) at aarch64/Gstep.c:44
#2  _ULaarch64_step (cursor=0xfffff958f988) at aarch64/Gstep.c:228
#3  0x0000ffffa97fcd74 in GetStackTrace_libunwind (result=0xaaaae2d5e118, max_depth=30, skip_count=<optimized out>) at src/stacktrace_libunwind-inl.h:139
#4  0x0000ffffa9802e38 in GetStackTrace (result=0xaaaae2d5e118, max_depth=30, skip_count=0) at src/stacktrace.cc:354
#5  0x0000ffffa97f6544 in tcmalloc::PageHeap::HandleUnlock (this=0xffffa98352a0 <tcmalloc::Static::pageheap_>, context=<optimized out>) at src/page_heap.cc:155
#6  0x0000ffffa97f66bc in tcmalloc::PageHeap::LockingContext::~LockingContext (this=<optimized out>, this=<optimized out>) at src/page_heap.cc:77
#7  tcmalloc::PageHeap::NewWithSizeClass (this=0xffffa98352a0 <tcmalloc::Static::pageheap_>, n=<optimized out>, sizeclass=0) at src/page_heap.cc:172
#8  0x0000ffffa97eb0d0 in tcmalloc::PageHeap::New (n=44, this=0xffffa98352a0 <tcmalloc::Static::pageheap_>) at src/page_heap.h:130
#9  (anonymous namespace)::do_malloc_pages (heap=heap@entry=0xaaaae2d7f040, size=size@entry=353376) at src/tcmalloc.cc:1386
#10 0x0000ffffa98054bc in (anonymous namespace)::do_malloc (size=353376) at src/tcmalloc.cc:1413
#11 tcmalloc::do_allocate_full<tcmalloc::cpp_throw_oom> (size=353376) at src/tcmalloc.cc:1817
#12 tcmalloc::allocate_full_cpp_throw_oom (size=353376) at src/tcmalloc.cc:1831
#13 0x0000ffffa9e04ea8 in std::__new_allocator<Option>::allocate (this=<optimized out>, __n=<optimized out>) at /usr/include/c++/13/bits/new_allocator.h:126
#14 std::allocator<Option>::allocate (__n=<optimized out>, this=<optimized out>) at /usr/include/c++/13/bits/allocator.h:198
#15 std::allocator_traits<std::allocator<Option> >::allocate (__n=<optimized out>, __a=...) at /usr/include/c++/13/bits/alloc_traits.h:482
#16 std::_Vector_base<Option, std::allocator<Option> >::_M_allocate (this=<optimized out>, __n=<optimized out>) at /usr/include/c++/13/bits/stl_vector.h:378
#17 std::_Vector_base<Option, std::allocator<Option> >::_M_allocate (__n=<optimized out>, this=<optimized out>) at /usr/include/c++/13/bits/stl_vector.h:375
#18 std::vector<Option, std::allocator<Option> >::_M_range_initialize<Option const*> (__last=<optimized out>, __first=<optimized out>, this=<optimized out>) at /usr/include/c++/13/bits/stl_vector.h:1689
#19 std::vector<Option, std::allocator<Option> >::vector (__a=..., __l=..., this=<optimized out>) at /usr/include/c++/13/bits/stl_vector.h:679
#20 get_global_options () at /usr/src/debug/ceph-19.2.3/aarch64-alt-linux/src/common/options/global_options.cc:3551
#21 0x0000aa00444c4843 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
