Project

General

Profile

Actions

Bug #64751

open

cephfs-mirror coredumped when acquiring pthread mutex

Added by Venky Shankar about 2 months ago. Updated about 2 months ago.

Status:
Fix Under Review
Priority:
High
Assignee:
Category:
Correctness/Safety
Target version:
% Done:

0%

Source:
Tags:
Backport:
quincy,reef,squid
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
cephfs-mirror
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

/a/yuriw-2024-03-01_20:51:20-fs-squid-distro-default-smithi/7578112

Log: ./remote/smithi134/log/ceph-client.mirror.43943.log.gz

    -9> 2024-03-02T01:14:01.311+0000 7fdcf1493640 10 cephfs::mirror::Utils connect: connected to cluster=ceph using client=client.mirror
    -8> 2024-03-02T01:14:01.313+0000 7fdcf1493640 20 cephfs::mirror::Utils mount: filesystem={fscid=58, fs_name=cephfs}
    -7> 2024-03-02T01:14:01.320+0000 7fdcf1493640 10 cephfs::mirror::Utils mount: mounted filesystem={fscid=58, fs_name=cephfs}
    -6> 2024-03-02T01:14:01.320+0000 7fdcf1493640 10 cephfs::mirror::FSMirror init: rados addrs=172.21.15.134:0/2248701012
    -5> 2024-03-02T01:14:01.320+0000 7fdcf1493640 20 cephfs::mirror::FSMirror init_instance_watcher
    -4> 2024-03-02T01:14:01.320+0000 7fdcf1493640 20 cephfs::mirror::InstanceWatcher init
    -3> 2024-03-02T01:14:01.320+0000 7fdcf1493640 20 cephfs::mirror::InstanceWatcher create_instance
    -2> 2024-03-02T01:14:01.320+0000 7fdcf1493640 20 cephfs::mirror::Mirror handle_enable_mirroring: filesystem={fscid=56, fs_name=cephfs}, peers=, r=-2
    -1> 2024-03-02T01:14:01.320+0000 7fdcf3c98640 -1 asok(0x5574773da000) AdminSocket: error writing response length (32) Broken pipe
     0> 2024-03-02T01:14:01.320+0000 7fdcf0c92640 -1 *** Caught signal (Segmentation fault) **
 in thread 7fdcf0c92640 thread_name:safe_timer

 ceph version 19.0.0-1578-g4c76c50a (4c76c50a73f63ba48ccdf0adccce03b00d1d80c7) squid (dev)
 1: /lib64/libc.so.6(+0x54db0) [0x7fdcf5c54db0]
 2: pthread_mutex_lock()
 3: (cephfs::mirror::Mirror::update_fs_mirrors()+0x9ae) [0x5574760d877e]
 4: cephfs-mirror(+0x29f8d) [0x5574760c7f8d]
 5: (CommonSafeTimer<std::mutex>::timer_thread()+0x11e) [0x7fdcf666627e]
 6: /usr/lib64/ceph/libceph-common.so.2(+0x26a5b1) [0x7fdcf666a5b1]
 7: /lib64/libc.so.6(+0x9f802) [0x7fdcf5c9f802]
 8: /lib64/libc.so.6(+0x3f450) [0x7fdcf5c3f450]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

Related issues 1 (0 open1 closed)

Has duplicate CephFS - Bug #63907: cephfs-mirror: Mirror::update_fs_mirrors crashes while taking lockDuplicateJos Collin

Actions
Actions #1

Updated by Venky Shankar about 2 months ago

  • Has duplicate Bug #63907: cephfs-mirror: Mirror::update_fs_mirrors crashes while taking lock added
Actions #2

Updated by Jos Collin about 2 months ago

  • Status changed from New to In Progress
Actions #3

Updated by Jos Collin about 2 months ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 56148
Actions

Also available in: Atom PDF