AdminSocket occurs segment fault with samba vfs ceph plugin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ceph Version: 14.2.5
Samba Version:4.10.4
OS: Centos 7.6.1810
Procedure:
1,Setup a ceph cluster and create a file system.
2,Setup a samba share with samba vfs ceph plugin.
3,Use 'ceph daemon /var/run/ceph/ceph-client.admin.*****.asok help' to get debug command.
4,It will occurs a segment fault when exec the 3rd command.

The call trace list belows:
#0  0x00007f35425cb387 in raise () from /lib64/libc.so.6
#1  0x00007f35425cca78 in abort () from /lib64/libc.so.6
#2  0x00007f3545a8fff3 in dump_core () at ../source3/lib/dumpcore.c:338
#3  0x00007f3545a8109b in smb_panic_s3 (why=<optimized out>) at ../source3/lib/util.c:839
#4  0x00007f354627297f in smb_panic (why=why@entry=0x7f35462bb55b "internal error") at ../lib/util/fault.c:174
#5  0x00007f3546272bb6 in fault_report (sig=<optimized out>) at ../lib/util/fault.c:88
#6  sig_fault (sig=<optimized out>) at ../lib/util/fault.c:99
#7  <signal handler called>
#8  0x00007f35226d026f in acquire (this=0x564a0a014050) at /usr/src/debug/ceph-14.2.5-1.0.8/build/boost/include/boost/smart_ptr/detail/shared_count.hpp:426
#9  acquire_object_id (this=0x7f350fffe220) at /usr/src/debug/ceph-14.2.5-1.0.8/build/boost/include/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp:157
#10 object_with_id (this=0x7f350fffe220) at /usr/src/debug/ceph-14.2.5-1.0.8/build/boost/include/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp:79
#11 grammar (this=0x7f350fffe220) at /usr/src/debug/ceph-14.2.5-1.0.8/build/boost/include/boost/spirit/home/classic/core/non_terminal/grammar.hpp:51
#12 Json_grammer (semantic_actions=..., this=0x7f350fffe220) at /usr/src/debug/ceph-14.2.5-1.0.8/src/json_spirit/json_spirit_reader_template.h:401
#13 json_spirit::read_range_or_throw<__gnu_cxx::__normal_iterator<char const*, std::string>, json_spirit::Value_impl<json_spirit::Config_map<std::string> > > (begin=123 '{', 
    end=0 '\000', value=...) at /usr/src/debug/ceph-14.2.5-1.0.8/src/json_spirit/json_spirit_reader_template.h:585
#14 0x00007f35226d0c3c in json_spirit::read_range<__gnu_cxx::__normal_iterator<char const*, std::string>, json_spirit::Value_impl<json_spirit::Config_map<std::string> > > (
    begin=123 '{', end=..., value=...) at /usr/src/debug/ceph-14.2.5-1.0.8/src/json_spirit/json_spirit_reader_template.h:607
#15 0x00007f35226bb07d in read_string<std::basic_string<char>, json_spirit::Value_impl<json_spirit::Config_map<std::basic_string<char> > > > (value=..., 
    s=<error reading variable: Cannot access memory at address 0x7869666572702263>) at /usr/src/debug/ceph-14.2.5-1.0.8/src/json_spirit/json_spirit_reader.cpp:78
#16 json_spirit::read (s="{\"prefix\": \"get_command_descriptions\"}", value=...) at /usr/src/debug/ceph-14.2.5-1.0.8/src/json_spirit/json_spirit_reader.cpp:78
#17 0x00007f35222953a7 in cmdmap_from_json(std::vector<std::string, std::allocator<std::string> >, std::map<std::string, boost::variant<std::string, bool, long, double, std::vector<std::string, std::allocator<std::string> >, std::vector<long, std::allocator<long> >, std::vector<double, std::allocator<double> > >, std::less<void>, std::allocator<std::pair<std::string const, boost::variant<std::string, bool, long, double, std::vector<std::string, std::allocator<std::string> >, std::vector<long, std::allocator<long> >, std::vector<double, std::allocator<double> > > > > >*, std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >&) () at /usr/src/debug/ceph-14.2.5-1.0.8/src/common/cmdparse.cc:294
#18 0x00007f3522255492 in AdminSocket::execute_command(std::string const&, ceph::buffer::v14_2_0::list&) () at /opt/rh/devtoolset-8/root/usr/include/c++/8/new:169
#19 0x00007f35222567ef in AdminSocket::do_accept() () at /usr/src/debug/ceph-14.2.5-1.0.8/src/common/admin_socket.cc:341
#20 0x00007f3522258cc8 in AdminSocket::entry (this=0x564a09f3a950) at /usr/src/debug/ceph-14.2.5-1.0.8/src/common/admin_socket.cc:241
#21 0x00007f352270f68f in execute_native_thread_routine () from /usr/lib64/ceph/libceph-common.so.0
#22 0x00007f35466d1ea5 in start_thread () from /lib64/libpthread.so.0
#23 0x00007f35426938dd in clone () from /lib64/libc.so.6
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux