Project

General

Profile

Actions

Bug #64751

closed

cephfs-mirror coredumped when acquiring pthread mutex

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

Status:
Resolved
Priority:
High
Assignee:
Category:
Correctness/Safety
Target version:
% Done:

0%

Source:
Backport:
quincy,reef,squid
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
cephfs-mirror
Labels (FS):
Pull request ID:
Tags (freeform):
Fixed In:
v19.3.0-2117-g5acc361312
Released In:
v20.2.0~2916
Upkeep Timestamp:
2025-11-01T01:11:48+00:00

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 4 (0 open4 closed)

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

Actions
Copied to CephFS - Backport #65989: squid: cephfs-mirror coredumped when acquiring pthread mutexResolvedJos CollinActions
Copied to CephFS - Backport #65990: reef: cephfs-mirror coredumped when acquiring pthread mutexResolvedJos CollinActions
Copied to CephFS - Backport #66628: quincy: cephfs-mirror coredumped when acquiring pthread mutexResolvedJos CollinActions
Actions #1

Updated by Venky Shankar about 2 years ago

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

Updated by Jos Collin about 2 years ago

  • Status changed from New to In Progress
Actions #3

Updated by Jos Collin about 2 years ago

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

Updated by Venky Shankar almost 2 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #5

Updated by Upkeep Bot almost 2 years ago

  • Copied to Backport #65989: squid: cephfs-mirror coredumped when acquiring pthread mutex added
Actions #6

Updated by Upkeep Bot almost 2 years ago

  • Copied to Backport #65990: reef: cephfs-mirror coredumped when acquiring pthread mutex added
Actions #9

Updated by Jos Collin over 1 year ago

  • Copied to Backport #66628: quincy: cephfs-mirror coredumped when acquiring pthread mutex added
Actions #10

Updated by Jos Collin 10 months ago

  • Status changed from Pending Backport to Resolved
Actions #11

Updated by Upkeep Bot 9 months ago

  • Merge Commit set to 5acc361312c1c3dbbee58323c160fd272bbe9159
  • Fixed In set to v19.3.0-2117-g5acc361312c
  • Upkeep Timestamp set to 2025-07-02T03:31:43+00:00
Actions #12

Updated by Upkeep Bot 8 months ago

  • Fixed In changed from v19.3.0-2117-g5acc361312c to v19.3.0-2117-g5acc361312
  • Upkeep Timestamp changed from 2025-07-02T03:31:43+00:00 to 2025-07-14T16:45:20+00:00
Actions #13

Updated by Upkeep Bot 5 months ago

  • Released In set to v20.2.0~2916
  • Upkeep Timestamp changed from 2025-07-14T16:45:20+00:00 to 2025-11-01T01:11:48+00:00
Actions

Also available in: Atom PDF