(gdb) bt full #0 0x00007f068c82e3ba in waitpid () at /lib64/libc.so.6 #1 0x00007f068c7a99cb in do_system () at /lib64/libc.so.6 #2 0x00007f068deb2ad8 in smb_panic_s3 (why=0x7f06906f2aa8 "ndr_pull_struct_blob_all failed") at ../source3/lib/util.c:804 cmd = 0x55a67798e160 "/bin/sleep 999999999" result = 21926 __FUNCTION__ = "smb_panic_s3" #3 0x00007f069099b173 in smb_panic (why=0x7f06906f2aa8 "ndr_pull_struct_blob_all failed") at ../lib/util/fault.c:166 #4 0x00007f06905b1ca4 in parse_share_modes (mem_ctx=0x55a67798df80, key=..., dbuf=...) at ../source3/locking/share_mode_lock.c:313 d = 0x55a67798e060 ndr_err = NDR_ERR_BUFSIZE i = 2423205960 blob = {data = 0x7f0675125ad0 "嚇\276j", length = 0} __FUNCTION__ = "parse_share_modes" #5 0x00007f06905b294b in fetch_share_mode_unlocked_parser (key=..., data=..., private_data=0x55a67798df80) at ../source3/locking/share_mode_lock.c:624 lck = 0x55a67798df80 #6 0x00007f068dc850f7 in db_ctdb_parse_record_parser_nonpersistent (key=..., header=0x7f0675125ab8, data=..., private_data=0x7ffe0182c3d0) at ../source3/lib/dbwrap/dbwrap_ctdb.c:1238 state = 0x7ffe0182c3d0 #7 0x00007f068dc82078 in db_ctdb_ltdb_parser (key=..., data=..., private_data=0x7ffe0182c350) at ../source3/lib/dbwrap/dbwrap_ctdb.c:93 state = 0x7ffe0182c350 #8 0x00007f068ac4edc4 in tdb_parse_data (tdb=0x55a677976c30, key=..., offset=1505976, len=24, parser=0x7f068dc81fe1 , private_data=0x7ffe0182c350) at ../lib/tdb/common/io.c:630 data = {dptr = 0x7f0675125ab8 "\003", dsize = 24} result = 0 #9 0x00007f068ac487ca in tdb_parse_record (tdb=0x55a677976c30, key=..., parser=0x7f068dc81fe1 , private_data=0x7ffe0182c350) at ../lib/tdb/common/tdb.c:253 rec_ptr = 1505928 rec = {next = 0, rec_len = 632, key_len = 24, data_len = 24, full_hash = 100532949, magic = 637606297} ret = 21926 hash = 100532949 #10 0x00007f068dc820e4 in db_ctdb_ltdb_parse (db=0x55a677975d70, key=..., parser=0x7f068dc85077 , private_data=0x7ffe0182c3d0) at ../source3/lib/dbwrap/dbwrap_ctdb.c:113 state = {parser = 0x7f068dc85077 , private_data = 0x7ffe0182c3d0} ret = 21926 #11 0x00007f068dc8521e in db_ctdb_parse_record (db=0x55a6779760c0, key=..., parser=0x7f06905b28e3 , private_data=0x55a67798df80) at ../source3/lib/dbwrap/dbwrap_ctdb.c:1292 ctx = 0x55a677975d70 state = {parser = 0x7f06905b28e3 , private_data = 0x55a67798df80, ask_for_readonly_copy = false, done = false} status = {v = 2423205529} ret = 21926 #12 0x00007f068a19795f in dbwrap_parse_record (db=0x55a6779760c0, key=..., parser=0x7f06905b28e3 , private_data=0x55a67798df80) at ../lib/dbwrap/dbwrap.c:387 #13 0x00007f06905b2a16 in fetch_share_mode_unlocked (mem_ctx=0x55a67798d890, id=...) at ../source3/locking/share_mode_lock.c:644 lck = 0x55a67798df80 key = {dptr = 0x7ffe0182c490 , dsize = 24} status = {v = 25347680} __FUNCTION__ = "fetch_share_mode_unlocked" #14 0x00007f06905a7158 in get_file_infos (id=..., name_hash=0, delete_on_close=0x0, write_time=0x7ffe0182c590) at ../source3/locking/locking.c:615 lck = 0x7f06904e8278 #15 0x00007f06904590bb in smbd_dirptr_get_entry (ctx=0x55a6779985a0, dirptr=0x55a6779954a0, mask=0x55a677998380 "*", dirtype=22, dont_descend=false, ask_sharemode=true, match_fn= 0x7f06904ab823 , mode_fn= 0x7f06904abb6f , private_data=0x7ffe0182c820, _fname=0x7ffe0182c7f8, _smb_fname=0x7ffe0182c800, _mode=0x7ffe0182c7ec, _prev_offset=0x7ffe0182c7f0) ---Type to continue, or q to quit--- at ../source3/smbd/dir.c:1178 write_time_ts = {tv_sec = 0, tv_nsec = 0} fileid = {devid = 64769, inode = 546836, extid = 0} fname = 0x55a677968f90 "dir" smb_fname = {base_name = 0x55a6779993c0 "dir", stream_name = 0x0, original_lcomp = 0x0, st = {st_ex_dev = 64769, st_ex_ino = 546836, st_ex_mode = 16895, st_ex_nlink = 2, st_ex_uid = 0, st_ex_gid = 0, st_ex_rdev = 0, st_ex_size = 4096, st_ex_atime = {tv_sec = 1467381034, tv_nsec = 211060002}, st_ex_mtime = {tv_sec = 1467379373, tv_nsec = 897551276}, st_ex_ctime = {tv_sec = 1467379388, t v_nsec = 850899069}, st_ex_btime = {tv_sec = 1467379373, tv_nsec = 897551276}, st_ex_calculated_birthtime = true, st_ex_blksize = 4096, st_ex_blocks = 8, st_ex_flags = 0, st_ex_mask = 0}} mode = 16 prev_offset = 2147483648 sbuf = {st_ex_dev = 64769, st_ex_ino = 546836, st_ex_mode = 16895, st_ex_nlink = 2, st_ex_uid = 0, st_ex_gid = 0, st_ex_rdev = 0, st_ex_size = 4096, st_ex_atime = {tv_sec = 1467381034, tv_nse c = 211060002}, st_ex_mtime = {tv_sec = 1467379373, tv_nsec = 897551276}, st_ex_ctime = {tv_sec = 1467379388, tv_nsec = 850899069}, st_ex_btime = {tv_sec = 1467379373, tv_nsec = 897551276}, st_e x_calculated_birthtime = true, st_ex_blksize = 4096, st_ex_blocks = 8, st_ex_flags = 0, st_ex_mask = 0} dname = 0x55a677998690 "dir" pathreal = 0x55a6779993c0 "dir" cur_offset = 4168236313104766502 isdots = false ok = true conn = 0x55a67799e910 slashlen = 1 pathlen = 1 dirptr_path_is_dot = true __FUNCTION__ = "smbd_dirptr_get_entry" #16 0x00007f06904afbd7 in smbd_dirptr_lanman2_entry (ctx=0x55a6779985a0, conn=0x55a67799e910, dirptr=0x55a6779954a0, flags2=49217, path_mask=0x55a677998380 "*", dirtype=22, info_level=262, requi res_resume_key=0, dont_descend=false, ask_sharemode=true, align=8 '\b', do_pad=false, ppdata=0x7ffe0182c9c0, base_data=0x55a6779a9be0 "p", end_data=0x55a6779babd7 "", space_remaining=65308, got_ exact_match=0x7ffe0182c940, _last_entry_off=0x7ffe0182c978, name_list=0x0) at ../source3/smbd/trans2.c:2402 p = 0x0 mask = 0x55a677998380 "*" prev_dirpos = 0 mode = 0 fname = 0x0 smb_fname = 0x0 state = {conn = 0x55a67799e910, info_level = 262, check_mangled_names = true, has_wild = true, got_exact_match = false} ok = true last_entry_off = 0 status = {v = 0} __FUNCTION__ = "smbd_dirptr_lanman2_entry" #17 0x00007f069053fd9e in smbd_smb2_query_directory_send (mem_ctx=0x55a677997ce0, ev=0x55a67796ca60, smb2req=0x55a677997ce0, fsp=0x55a67798a450, in_file_info_class=37 '%', in_flags=0 '\000', in_ file_index=0, in_output_buffer_length=65528, in_file_name=0x55a677998380 "*") at ../source3/smbd/smb2_query_directory.c:446 got_exact_match = false space_remaining = 65308 xconn = 0x55a6779852b0 req = 0x55a677998410 state = 0x55a6779985a0 smbreq = 0x55a677998710 conn = 0x55a67799e910 status = {v = 0} empty_status = {v = 3221225487} ---Type to continue, or q to quit--- info_level = 262 max_count = 65535 pdata = 0x55a6779a9cbc "" base_data = 0x55a6779a9be0 "p" end_data = 0x55a6779babd7 "" last_entry_off = 112 off = 220 num = 2 dirtype = 22 dont_descend = false ask_sharemode = true wcard_has_wild = true tm = {tm_sec = 25350112, tm_min = 32766, tm_hour = -1936778336, tm_mday = 32518, tm_mon = 0, tm_year = 0, tm_wday = -1937942864, tm_yday = 32518, tm_isdst = 25350096, tm_gmtoff = 1407289237 70816, tm_zone = 0x7ffe0182cfe0 ""} p = 0x0 __FUNCTION__ = "smbd_smb2_query_directory_send" #18 0x00007f069053edac in smbd_smb2_request_process_query_directory (req=0x55a677997ce0) at ../source3/smbd/smb2_query_directory.c:123 status = {v = 0} inbody = 0x55a677998000 "!" in_file_info_class = 37 '%' in_flags = 0 '\000' in_file_index = 0 in_file_id_persistent = 3472022568 in_file_id_volatile = 1886953910 in_fsp = 0x55a67798a450 in_file_name_offset = 96 in_file_name_length = 2 in_file_name_buffer = {data = 0x55a677998020 "*", length = 2} in_file_name_string = 0x55a677998380 "*" in_file_name_string_size = 1 in_output_buffer_length = 65528 subreq = 0x55a6779852b0 ok = true __FUNCTION__ = "smbd_smb2_request_process_query_directory" #19 0x00007f0690520713 in smbd_smb2_request_dispatch (req=0x55a677997ce0) at ../source3/smbd/smb2_server.c:2645 xconn = 0x55a6779852b0 call = 0x7f0690964c10 intf_v = 0x55a677998100 inhdr = 0x55a677997fc0 "\376SMB@" opcode = 14 flags = 0 mid = 49 status = {v = 0} session_status = {v = 0} allowed_flags = 268435468 return_value = {v = 2006524672} x = 0x55a677994250 signing_required = false ---Type to continue, or q to quit--- encryption_desired = false encryption_required = false __FUNCTION__ = "smbd_smb2_request_dispatch" #20 0x00007f0690524bed in smbd_smb2_io_handler (xconn=0x55a6779852b0, fde_flags=1) at ../source3/smbd/smb2_server.c:3861 sconn = 0x55a6779740a0 state = 0x55a677985378 req = 0x55a677997ce0 min_recvfile_size = 4294967295 ret = 202 err = 0 retry = false status = {v = 0} now = 131118546503923410 __FUNCTION__ = "smbd_smb2_io_handler" #21 0x00007f0690524cf3 in smbd_smb2_connection_handler (ev=0x55a67796ca60, fde=0x55a677985e70, flags=1, private_data=0x55a6779852b0) at ../source3/smbd/smb2_server.c:3899 xconn = 0x55a6779852b0 status = {v = 0} #22 0x00007f068deceb92 in run_events_poll (ev=0x55a67796ca60, pollrtn=1, pfds=0x55a67796cd40, num_pfds=5) at ../source3/lib/events.c:257 pfd = 0x55a67796cd60 flags = 1 state = 0x55a67795d5a0 pollfd_idx = 0x55a67796cc20 fde = 0x55a677985e70 __FUNCTION__ = "run_events_poll" #23 0x00007f068decee20 in s3_event_loop_once (ev=0x55a67796ca60, location=0x7f06906ac240 "../source3/smbd/process.c:4117") at ../source3/lib/events.c:326 state = 0x55a67795d5a0 timeout = 26323 num_pfds = 5 ret = 1 poll_errno = 0 #24 0x00007f068f9418c7 in _tevent_loop_once (ev=0x55a67796ca60, location=0x7f06906ac240 "../source3/smbd/process.c:4117") at ../lib/tevent/tevent.c:533 ret = 0 nesting_stack_ptr = 0x0 #25 0x00007f068f941b18 in tevent_common_loop_wait (ev=0x55a67796ca60, location=0x7f06906ac240 "../source3/smbd/process.c:4117") at ../lib/tevent/tevent.c:637 ret = 0 #26 0x00007f068f941be3 in _tevent_loop_wait (ev=0x55a67796ca60, location=0x7f06906ac240 "../source3/smbd/process.c:4117") at ../lib/tevent/tevent.c:656 #27 0x00007f069050637d in smbd_process (ev_ctx=0x55a67796ca60, msg_ctx=0x55a67796cb50, sock_fd=45, interactive=false) at ../source3/smbd/process.c:4117 trace_state = {ev = 0x55a67796ca60, frame = 0x55a67798d890, profile_idle = {start = 0, stats = 0x0}} client = 0x55a67796d9d0 sconn = 0x55a6779740a0 xconn = 0x55a6779852b0 locaddr = 0x55a677984620 "͙\233]\217\247\274\207" remaddr = 0x55a6779846a0 "" ret = 21926 status = {v = 0} tv = {tv_sec = 1467381016, tv_usec = 711507} now = 131118546167115070 __func__ = "smbd_process" __FUNCTION__ = "smbd_process" ---Type to continue, or q to quit--- #28 0x000055a67632dc4f in smbd_accept_connection (ev=0x55a67796ca60, fde=0x55a677985ce0, flags=1, private_data=0x55a67797f990) at ../source3/smbd/server.c:762 status = {v = 0} s = 0x0 msg_ctx = 0x55a67796cb50 addr = {ss_family = 2, __ss_align = 0, __ss_padding = "\340\346\202\001\376\177\000\000\000\000\000\000\000\000\000\000xy\227w\246U\000\000\020\341\202\001\376\177\000\000\220\340\202\001\376 \177\000\000\366w\231\220\006\177\000\000xy\227w\246U\000\000\020\341\202\001\376\177\000\000_\003\000\000\000\000\000\000\371\344\a\000\000\000\000\000\060\341\202\001\376\177\000\000$\346\354\ 215\006\177\000\000\020uvW\000\000\000\000X\341\202\001\376\177\000"} in_addrlen = 16 fd = 45 pid = 0 __FUNCTION__ = "smbd_accept_connection" #29 0x00007f068deceb92 in run_events_poll (ev=0x55a67796ca60, pollrtn=1, pfds=0x55a67796cd40, num_pfds=7) at ../source3/lib/events.c:257 pfd = 0x55a67796cd68 flags = 1 state = 0x55a67795d5a0 pollfd_idx = 0x55a67796cc20 fde = 0x55a677985ce0 __FUNCTION__ = "run_events_poll" #30 0x00007f068decee20 in s3_event_loop_once (ev=0x55a67796ca60, location=0x55a676334354 "../source3/smbd/server.c:1127") at ../source3/lib/events.c:326 state = 0x55a67795d5a0 timeout = 863518 num_pfds = 7 ret = 1 poll_errno = 0 #31 0x00007f068f9418c7 in _tevent_loop_once (ev=0x55a67796ca60, location=0x55a676334354 "../source3/smbd/server.c:1127") at ../lib/tevent/tevent.c:533 ret = 0 nesting_stack_ptr = 0x0 #32 0x00007f068f941b18 in tevent_common_loop_wait (ev=0x55a67796ca60, location=0x55a676334354 "../source3/smbd/server.c:1127") at ../lib/tevent/tevent.c:637 ret = 0 #33 0x00007f068f941be3 in _tevent_loop_wait (ev=0x55a67796ca60, location=0x55a676334354 "../source3/smbd/server.c:1127") at ../lib/tevent/tevent.c:656 #34 0x000055a67632ea32 in smbd_parent_loop (ev_ctx=0x55a67796ca60, parent=0x55a677973160) at ../source3/smbd/server.c:1127 trace_state = {frame = 0x55a67796e4a0} ret = 0 __FUNCTION__ = "smbd_parent_loop" #35 0x000055a6763303a9 in main (argc=1, argv=0x7ffe0182e6e8) at ../source3/smbd/server.c:1780 is_daemon = true interactive = false Fork = true no_process_group = false log_stdout = false ports = 0x0 profile_level = 0x0 opt = -1 pc = 0x55a67795d4d0 print_build_options = false long_options = {{longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x7f068cd30000 , val = 0, descrip = 0x55a676334451 "Help options:", argDescrip = 0x0}, {longName = 0x55a67 633445f "daemon", shortName = 68 'D', argInfo = 0, arg = 0x0, val = 1000, descrip = 0x55a676334466 "Become a daemon (default)", argDescrip = 0x0}, {longName = 0x55a676334480 "interactive", short ---Type to continue, or q to quit--- Name = 105 'i', argInfo = 0, arg = 0x0, val = 1001, descrip = 0x55a676334490 "Run interactive (not a daemon)", argDescrip = 0x0}, {longName = 0x55a6763344af "foreground", shortName = 70 'F', arg Info = 0, arg = 0x0, val = 1002, descrip = 0x55a6763344c0 "Run daemon in foreground (for daemontools, etc.)", argDescrip = 0x0}, {longName = 0x55a6763344f1 "no-process-group", shortName = 0 '\00 0', argInfo = 0, arg = 0x0, val = 1003, descrip = 0x55a676334508 "Don't create a new process group", argDescrip = 0x0}, {longName = 0x55a676334529 "log-stdout", shortName = 83 'S', argInfo = 0, arg = 0x0, val = 1004, descrip = 0x55a676334534 "Log to stdout", argDescrip = 0x0}, {longName = 0x55a676334542 "build-options", shortName = 98 'b', argInfo = 0, arg = 0x0, val = 98, descrip = 0x 55a676334550 "Print build options", argDescrip = 0x0}, {longName = 0x55a676334564 "port", shortName = 112 'p', argInfo = 1, arg = 0x7ffe0182e2b0, val = 0, descrip = 0x55a676334569 "Listen on the specified ports", argDescrip = 0x0}, {longName = 0x55a676334587 "profiling-level", shortName = 80 'P', argInfo = 1, arg = 0x7ffe0182e2b8, val = 0, descrip = 0x55a676334597 "Set profiling level" , argDescrip = 0x55a6763345ab "PROFILE_LEVEL"}, {longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x7f068e542120 , val = 0, descrip = 0x55a6763345b9 "Common samba opti ons:", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 0, arg = 0x0, val = 0, descrip = 0x0, argDescrip = 0x0}} parent = 0x55a677973160 frame = 0x55a67795c5b0 status = {v = 0} ev_ctx = 0x55a67796ca60 msg_ctx = 0x55a67796cb50 server_id = {pid = 17972, task_id = 0, vnn = 0, unique_id = 8585613436607521473} se = 0x55a677974060 profiling_level = 0 np_dir = 0x55a67797dc00 "И\230w\246U" smbd_shim_fns = {cancel_pending_lock_requests_by_fid = 0x7f06904e2333 , send_stat_cache_delete_message = 0x7f06904ec40b , change_to_root_user = 0x7f06904ca7a9 , become_authenticated_pipe_user = 0x7f06904ca85d , unbecome_authenticated_pipe_user = 0x7f06 904ca94d , contend_level2_oplocks_begin = 0x7f0690561726 , contend_level2_oplocks_end = 0x7f0690561799 , become_root = 0x7f06904cab69 , unbecome_root = 0x7f06904cab92 , exit_server = 0x7f069055566d , exit_server_cleanly = 0x7 f069055568a } __FUNCTION__ = "main" (gdb)