Actions
Bug #63494
openall: daemonizing may release CephContext:: _fork_watchers_lock when its already unlocked
% Done:
0%
Source:
Development
Tags:
Backport:
squid,reef,quincy
Regression:
No
Severity:
2 - major
Reviewed:
Description
Was debugging a ceph-fuse crash reported downstream which has the following backtrace:
#0 0x00007f66b42a2a4f raise (libc.so.6) #1 0x00007f66b4275db5 abort (libc.so.6) #2 0x00007f66b4275c89 __assert_fail_base.cold.0 (libc.so.6) #3 0x00007f66b429b3a6 __assert_fail (libc.so.6) #4 0x00007f66b583ccb1 __pthread_mutex_lock (libpthread.so.0) #5 0x0000563393237387 _Z15global_pre_initPKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEERSt6vectorIPKcSaISH_EEj18code_environment_ti (ceph-fuse) #6 0x0000563393239576 _Z11global_initPKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEERSt6vectorIPKcSaISH_EEj18code_environment_tib (ceph-fuse) #7 0x000056339314a01e main (ceph-fuse) #8 0x00007f66b428eca3 __libc_start_main (libc.so.6) #9 0x000056339315173e _start (ceph-fuse)
No debug logs were available. Although the backtrace shows global_pre_init() leading into a call that involves pthread mutex (lock), I found this via code reading and might just be related to the issue.
Updated by Venky Shankar 6 months ago
- Status changed from New to Fix Under Review
- Pull request ID set to 54433
Updated by Patrick Donnelly 5 days ago
- Target version changed from v19.0.0 to v20.0.0
- Source set to Development
- Backport changed from quincy,reef to squid,reef,quincy
Actions