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