Let's find this offset in the disassembled function:

(gdb) disassemble/m 
'MDSMap::decode(ceph::buffer::v15_2_0::list::iterator_impl<true>&)'
Dump of assembler code for function 
_ZN6MDSMap6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE:
Address range 0x7ffff7cc2e10 to 0x7ffff7cc3c4d:
837     {
   0x00007ffff7cc2e10 <+0>:     endbr64
   0x00007ffff7cc2e14 <+4>:     push   %rbp
   0x00007ffff7cc2e15 <+5>:     mov    %rsp,%rbp
...
963       if (ev >= 17) {                                                       
    
   0x00007ffff7cc3a65 <+3157>:  cmp    $0x10,%r12w                              
    
   0x00007ffff7cc3a6a <+3162>:  je     0x7ffff7cc3371 
<_ZN6MDSMap6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE+1377>    
                                                                                
    
964         decode(bal_rank_mask, p);                                           
    
   0x00007ffff7cc3a70 <+3168>:  lea    -0x2a4(%rbp),%rdx                        
    
   0x00007ffff7cc3a77 <+3175>:  mov    $0x4,%esi                                
    
   0x00007ffff7cc3a7c <+3180>:  mov    %r13,%rdi                                
    
   0x00007ffff7cc3a7f <+3183>:  lea    0x1c0(%rbx),%r14                         
    
                                                                                
    
965       }                                                                     
    
966                                                                             
    
967       if (ev >= 18) {                                                       
    
   0x00007ffff7cc3ab1 <+3233>:  cmp    $0x11,%r12w                              
    
   0x00007ffff7cc3ab6 <+3238>:  je     0x7ffff7cc3371 
<_ZN6MDSMap6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE+1377>    
                                                                                
    
968         decode(max_xattr_size, p);                                          
    
969       }                                                                     
    
970                                                                             
    
971       if (ev >= 19) {                                                       
    
   0x00007ffff7cc3ade <+3278>:  cmp    $0x12,%r12w                              
    
...

The return address is 0x00007ffff7cc3ab1 <+3233>, so we're looking for a
call just before that.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2089565

Title:
  MON and MDS crash upgrading  CEPH  on ubuntu 24.04 LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/2089565/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to