Bug #22245
closed[segfault] ceph-bluestore-tool bluefs-log-dump
0%
Description
After running command several times, it's segfaulted.
./bin/ceph-bluestore-tool bluefs-log-dump --path dev/osd0
- Caught signal (Segmentation fault)
in thread 7f27568a7f80 thread_name:ceph-bluestore-
ceph version 13.0.0-3518-g342d1bc (342d1bccac0448cea7d8639ab894f4220e7e7deb) mimic (dev)
1: (()+0x4654f1) [0x56537d50f4f1]
2: (()+0xf5e0) [0x7f274baed5e0]
3: (BlueFS::_read(BlueFS::FileReader*, BlueFS::FileReaderBuffer*, unsigned long, unsigned long, ceph::buffer::list*, char*)+0x456) [0x56537d2f33d6]
4: (BlueFS::_replay(bool, bool)+0x30b) [0x56537d3064fb]
5: (BlueFS::log_dump(CephContext*, std::string const&, std::vector<std::string, std::allocator<std::string> > const&)+0x47) [0x56537d30a827]
6: (log_dump(CephContext*, std::string const&, std::vector<std::string, std::allocator<std::string> > const&)+0x64) [0x56537d2e41d4]
7: (main()+0x2549) [0x56537d1f8ed9]
8: (__libc_start_main()+0xf5) [0x7f274a4cbc05]
9: (()+0x23951f) [0x56537d2e351f]
2017-11-27 09:55:29.005 7f27568a7f801Caught signal (Segmentation fault) *
in thread 7f27568a7f80 thread_name:ceph-bluestoreceph version 13.0.0-3518-g342d1bc (342d1bccac0448cea7d8639ab894f4220e7e7deb) mimic (dev)
1: (()+0x4654f1) [0x56537d50f4f1]
2: (()+0xf5e0) [0x7f274baed5e0]
3: (BlueFS::_read(BlueFS::FileReader*, BlueFS::FileReaderBuffer*, unsigned long, unsigned long, ceph::buffer::list*, char*)+0x456) [0x56537d2f33d6]
4: (BlueFS::_replay(bool, bool)+0x30b) [0x56537d3064fb]
5: (BlueFS::log_dump(CephContext*, std::string const&, std::vector<std::string, std::allocator<std::string> > const&)+0x47) [0x56537d30a827]
6: (log_dump(CephContext*, std::string const&, std::vector<std::string, std::allocator<std::string> > const&)+0x64) [0x56537d2e41d4]
7: (main()+0x2549) [0x56537d1f8ed9]
8: (__libc_start_main()+0xf5) [0x7f274a4cbc05]
9: (()+0x23951f) [0x56537d2e351f]
NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.0> 2017-11-27 09:55:29.005 7f27568a7f80
1 ** Caught signal (Segmentation fault) *
in thread 7f27568a7f80 thread_name:ceph-bluestoreceph version 13.0.0-3518-g342d1bc (342d1bccac0448cea7d8639ab894f4220e7e7deb) mimic (dev)
1: (()+0x4654f1) [0x56537d50f4f1]
2: (()+0xf5e0) [0x7f274baed5e0]
3: (BlueFS::_read(BlueFS::FileReader*, BlueFS::FileReaderBuffer*, unsigned long, unsigned long, ceph::buffer::list*, char*)+0x456) [0x56537d2f33d6]
4: (BlueFS::_replay(bool, bool)+0x30b) [0x56537d3064fb]
5: (BlueFS::log_dump(CephContext*, std::string const&, std::vector<std::string, std::allocator<std::string> > const&)+0x47) [0x56537d30a827]
6: (log_dump(CephContext*, std::string const&, std::vector<std::string, std::allocator<std::string> > const&)+0x64) [0x56537d2e41d4]
7: (main()+0x2549) [0x56537d1f8ed9]
8: (__libc_start_main()+0xf5) [0x7f274a4cbc05]
9: (()+0x23951f) [0x56537d2e351f]
NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.
Segmentation fault
Updated by John Spray over 6 years ago
- Project changed from Ceph to RADOS
- Category set to Correctness/Safety
- Component(RADOS) BlueStore added
Updated by Sage Weil over 6 years ago
- Status changed from New to Need More Info
I can't reproduce this locally. Can you rerun the command with --log-file c --debug-bluestore 20 --no-log-to-stderr and upload the log file? (ceph-post-file c)
Updated by Greg Farnum over 6 years ago
- Project changed from RADOS to bluestore
- Category deleted (
Correctness/Safety)
Updated by Shinobu Kinjo over 6 years ago
@octopus:build [master]$ ./bin/ceph-post-file c
args: -- c
./bin/ceph-post-file: upload tag e12e6b30-953d-43d5-80a4-2b053634650f
./bin/ceph-post-file: user: root@octopus.fullstack.go
./bin/ceph-post-file: will upload file c
sftp> mkdir post/e12e6b30-953d-43d5-80a4-2b053634650f_root@octopus.fullstack.go_919f739a-be83-4923-ab1f-5c674a072d06
sftp> cd post/e12e6b30-953d-43d5-80a4-2b053634650f_root@octopus.fullstack.go_919f739a-be83-4923-ab1f-5c674a072d06
sftp> put /tmp/tmp.QlL4rzUwlr user
sftp> put c
./bin/ceph-post-file: copy the upload id below to share with a dev:
ceph-post-file: e12e6b30-953d-43d5-80a4-2b053634650f
Updated by Shinobu Kinjo over 6 years ago
- Status changed from Need More Info to New
@Sage Weil Please have a look at uploaded file.
Updated by Sage Weil over 6 years ago
- Status changed from New to Need More Info
can you still reproduce this? do you have (or can you generate) a core file? THe log doesn't tell us where it failed in _read.
Updated by Sage Weil about 6 years ago
- Status changed from Need More Info to Can't reproduce