Bug #21336
jewel: segfault in ceph-osd --flush-journal post 18951
% Done:
0%
Source:
Tags:
Backport:
jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
(gdb) thr 3 [Switching to thread 3 (LWP 17224)] #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 185 ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: No such file or directory. (gdb) bt #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f940175e4dd in leveldb::port::CondVar::Wait (this=this@entry=0x7f940c99e138) at port_posix.cc:38 #2 0x00007f9401741f78 in leveldb::DBImpl::~DBImpl (this=0x7f940c99e000, __in_chrg=<optimized out>) at db_impl.cc:172 #3 0x00007f9401742319 in leveldb::DBImpl::~DBImpl (this=0x7f940c99e000, __in_chrg=<optimized out>) at db_impl.cc:194 #4 0x00007f9402aabd93 in LevelDBStore::~LevelDBStore() () #5 0x00007f9402aac109 in LevelDBStore::~LevelDBStore() () #6 0x00007f9402ad1440 in DBObjectMap::~DBObjectMap() () #7 0x00007f940295ff08 in FileStore::umount() () #8 0x00007f94025ba594 in main () gdb) thr 1 [Switching to thread 1 (LWP 17228)] #0 0x00007f93ffc78fcb in raise (sig=11) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37 37 ../nptl/sysdeps/unix/sysv/linux/pt-raise.c: No such file or directory. (gdb) bt #0 0x00007f93ffc78fcb in raise (sig=11) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37 #1 0x00007f9402b4e495 in handle_fatal_signal(int) () #2 <signal handler called> #3 0x00007f940c7a41c0 in ?? () #4 0x00007f9401766c6a in leveldb::Log (info_log=<optimized out>, format=format@entry=0x7f940176bcdd "compacted to: %s") at env.cc:31 #5 0x00007f9401744ee1 in leveldb::DBImpl::DoCompactionWork (this=this@entry=0x7f940c99e000, compact=compact@entry=0x7f940cebc280) at db_impl.cc:1025 #6 0x00007f94017458c3 in leveldb::DBImpl::BackgroundCompaction (this=this@entry=0x7f940c99e000) at db_impl.cc:721 #7 0x00007f94017464b0 in leveldb::DBImpl::BackgroundCall (this=0x7f940c99e000) at db_impl.cc:641 #8 0x00007f94017675cb in leveldb::(anonymous namespace)::PosixEnv::BGThread (this=0x7f940c91e2c0) at env_posix.cc:661 #9 leveldb::(anonymous namespace)::PosixEnv::BGThreadWrapper (arg=0x7f940c91e2c0) at env_posix.cc:598 #10 0x00007f93ffc71dc5 in start_thread (arg=0x7f93fbea0700) at pthread_create.c:308 #11 0x00007f93feb57ced in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
#18951 does not appear to completely eradicate this bug. A backport of the following PR is required.
https://github.com/ceph/ceph/pull/16553
This issue can be worked around by setting "leveldb_log_to_ceph_log = false" in ceph.conf
Related issues
History
#1 Updated by Brad Hubbard over 6 years ago
- Description updated (diff)
#2 Updated by Nathan Cutler over 6 years ago
- Tracker changed from Backport to Bug
- Status changed from In Progress to Pending Backport
- % Done set to 0
- Backport set to jewel
- Regression set to No
- Severity set to 3 - minor
- Release deleted (
jewel) - Release set to master
#3 Updated by Nathan Cutler over 6 years ago
- Copied to Backport #21358: jewel: segfault in ceph-osd --flush-journal post 18951 added
#4 Updated by Nathan Cutler over 6 years ago
@Brad, I'm a little confused by this issue. Is it proposing to backport https://github.com/ceph/ceph/pull/16553 to jewel, or just to work around the absence of that backport?
#5 Updated by Brad Hubbard over 6 years ago
@Nathan, The workaround is purely there as a recommendation to avoid the segfault until the issue is resolved by backporting https://github.com/ceph/ceph/pull/16553 which is what https://github.com/ceph/ceph/pull/17626 is supposed to do.
#6 Updated by Nathan Cutler over 6 years ago
- Description updated (diff)
#7 Updated by Brad Hubbard over 6 years ago
- Status changed from Pending Backport to Resolved