(gdb) bt full #0 0x00007f493068330c in __libc_waitpid (pid=189, stat_loc=stat_loc@entry=0x7ffe08bf7cb0, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:31 resultvar = 18446744073709551104 oldtype = 815207648 #1 0x00007f493060d18b in do_system (line=line@entry=0x7f4935a466e0 "/bin/sleep 99999") at ../sysdeps/posix/system.c:148 __result = _buffer = {__routine = 0x7f493060d430 , __arg = 0x7ffe08bf7c8c, __canceltype = 0, __prev = 0x0} _avail = 1 status = 146767072 save = pid = 189 sa = {__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = {__val = {65536, 0 }}, sa_flags = 0, sa_restorer = 0x7f4935a466e0} omask = {__val = {7296, 139952409152820, 139952320754496, 139952387710976, 1, 139952371466738, 140729045190152, 139952409285536, 139952409301952, 139952371463182, 139952409152768, 206158430224, 140729045188112, 140729045187904, 0, 139952383348864}} #2 0x00007f493060d4fa in __libc_system (line=line@entry=0x7f4935a466e0 "/bin/sleep 99999") at ../sysdeps/posix/system.c:184 No locals. #3 0x00007f4933f7c7c5 in system (line=line@entry=0x7f4935a466e0 "/bin/sleep 99999") at pt-system.c:28 No locals. #4 0x00007f4931af8fd2 in smb_panic_s3 (why=) at ../source3/lib/util.c:801 cmd = 0x7f4935a466e0 "/bin/sleep 99999" result = __FUNCTION__ = "smb_panic_s3" #5 0x00007f4933d5d8c5 in smb_panic (why=why@entry=0x7f4933d64421 "internal error") at ../lib/util/fault.c:166 No locals. #6 0x00007f4933d5dc04 in fault_report (sig=) at ../lib/util/fault.c:83 counter = 1 #7 sig_fault (sig=11) at ../lib/util/fault.c:94 No locals. #8 No locals. #9 krb5_storage_free (sp=0x0) at ../source4/heimdal/lib/krb5/store.c:273 No locals. #10 0x00007f4927cb8b96 in fkt_end_seq_get (context=0x7f4935a45750, id=, cursor=0x7ffe08bf8570) at ../source4/heimdal/lib/krb5/keytab_file.c:520 No locals. #11 0x00007f4927cb82d4 in krb5_kt_end_seq_get (context=context@entry=0x7f4935a45750, id=, cursor=cursor@entry=0x7ffe08bf8570) at ../source4/heimdal/lib/krb5/keytab.c:795 No locals. #12 0x00007f492c615f06 in fill_mem_keytab_from_system_keytab (krbctx=krbctx@entry=0x7f4935a45750, mkeytab=mkeytab@entry=0x7f4935a45720) at ../source3/librpc/crypto/gse_krb5.c:478 zero_csr = {fd = 0, sp = 0x0, data = 0x0} ret = 2 keytab = 0x7f4935a451d0 kt_cursor = {fd = -1, sp = 0x0, data = 0x0} kt_entry = {principal = 0x0, vno = 0, keyblock = {keytype = 0, keyvalue = {length = 0, data = 0x0}}, timestamp = 0, flags = 0, aliases = 0x0} valid_princ_formats = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0} entry_princ_s = 0x0 my_name = "FILESERVER\000\060I\177\000\000\f\000\000\000\000\000\000\000 \366\226\060I\177\000\000\016\000\000\000\000\000\000\000\370\207\277\b\376\177\000\000\000\000\000\000\000\000\000\000\240\207\277\b\376\177\000\000\000\000\000\000\000\000\000\000p\200d0I\177\000\000\330Z\244\065I\177\000\000\016\000\000\000\000\000\000\000`h\244\065I\177\000\000\232N\036'I\177\000\000Xh\244\065I\177\000\000\360\207\277\b\376\177\000\000\000\000\000\000I\177\000\000\206H\037'I\177\000\000\000\000\000\000\000\000\000\000Hh\244\065I\177\000\000\340\207\277\b\376\177\000\000\333w\313'I\177\000\000\000\000\000\000I\177\000\000Xa\244\065I\177\000\000PW\244\065I\177\000\000\000\000\000\000\000\000\000\000"... my_fqdn = "FILESERVER\000\b\376\177\000\000\000\000\000\000\000\000\000\000rD\314'I\177\000\000\000\000\000\000\000\000\000\000XXa,I\177\000\000\260\257\240\065I\177\000\000\016\000\000\000\000\000\000\000n\000\000\000w\000\000\000@a\244\065I\177", '\000' , "\320 \241\065I\177\000\000\016\000\000\000\000\000\000\000\260\257\240\065I\177\000\000PW\244\065I\177\000\000(#\203,I\177\000\000@a\244\065I\177\000\000\000\000\000\000\000\000\000\000\235\377\377\377\000\000\000\000\016\000\000\000\000\000\000\000\260\257\240\065I\177\000\000-\263\366U", '\000' ... i = __FUNCTION__ = "fill_mem_keytab_from_system_keytab" #13 0x00007f492c616327 in gse_krb5_get_server_keytab (krbctx=0x7f4935a45750, keytab=0x7f4935a45720) at ../source3/librpc/crypto/gse_krb5.c:602 ret = ret1 = 0 ret2 = 0 __FUNCTION__ = "gse_krb5_get_server_keytab" #14 0x00007f492c6178fb in gse_init_server (_gse_ctx=, add_gss_c_flags=, do_seal=, do_sign=, mem_ctx=0x7f4935a45460) at ../source3/librpc/crypto/gse.c:346 gse_ctx = ---Type to continue, or q to quit--- ret = status = gss_maj = gss_min = 32585 #15 gensec_gse_server_start (gensec_security=0x7f4935a45460) at ../source3/librpc/crypto/gse.c:794 gse_ctx = nt_status = want_flags = do_sign = do_seal = #16 0x00007f492ca6f72c in gensec_start_mech (gensec_security=0x7f4935a45460) at ../auth/gensec/gensec_start.c:678 status = __FUNCTION__ = "gensec_start_mech" #17 0x00007f492ca6f7b9 in gensec_start_mech_by_ops (gensec_security=, ops=) at ../auth/gensec/gensec_start.c:699 No locals. #18 0x00007f492ca659a4 in gensec_spnego_create_negTokenInit (gensec_security=gensec_security@entry=0x7f4935a413a0, spnego_state=spnego_state@entry=0x7f4935a45070, out_mem_ctx=out_mem_ctx@entry=0x7f4935a45070, ev=ev@entry=0x7f4935a45140, in=..., out=0x7f4935a450c0) at ../auth/gensec/spnego.c:635 spnego_out = {type = 717343680, negTokenInit = {mechTypes = 0x7f492ac1cb48, reqFlags = {data = 0x100000000 , length = 4294967379}, reqFlagsPadding = 176 '\260', mechToken = {data = 0x7f493457c4b0 "\371\321\301*I\177", length = 140729045191648}, mechListMIC = {data = 0x7f49345a09d0 "`\304:4I\177", length = 140729045191688}, targetPrincipal = 0x7f49345a0678 ""}, negTokenTarg = {negResult = 1 '\001', supportedMech = 0x7f493419377d <_dl_lookup_symbol_x+349> "\203", , responseToken = { data = 0x0, length = 139952387507376}, mechListMIC = {data = 0x100000001 , length = 0}}} send_mech_types = ok = i = 0 nt_status = null_data_blob = mechTypes = unwrapped_out = {data = 0x0, length = 0} all_sec = 0x7f4935a453c0 __FUNCTION__ = "gensec_spnego_create_negTokenInit" #19 0x00007f492ca66033 in gensec_spnego_update (gensec_security=gensec_security@entry=0x7f4935a413a0, out_mem_ctx=out_mem_ctx@entry=0x7f4935a45070, ev=ev@entry=0x7f4935a45140, in=..., out=out@entry=0x7f4935a450c0) at ../auth/gensec/spnego.c:826 nt_status = spnego_state = 0x7f4935a45070 null_data_blob = mech_list_mic = {data = 0x0, length = 0} unwrapped_out = {data = 0x0, length = 0} spnego_out = {type = -1, negTokenInit = {mechTypes = 0x7f49345a5520, reqFlags = {data = 0x7f492ac1c770 "\203\005", length = 139952228796408}, reqFlagsPadding = 0 '\000', mechToken = {data = 0x0, length = 139952409280944}, mechListMIC = {data = 0x7f4935a45070 "", length = 140729045191928}, targetPrincipal = 0x7f492ac1e92c "\204\300u\006\306E \001\353\aHc\333H\001]\020H\203\304\b[]\303H\203\354\b\272\001"}, negTokenTarg = {negResult = 1 '\001', supportedMech = 0x7ffe08bf8c90 "", responseToken = {data = 0x0, length = 139952226691410}, mechListMIC = {data = 0x0, length = 139952226691581}}} spnego = {type = 146771392, negTokenInit = {mechTypes = 0x7f493419e325 <_dl_runtime_resolve+53>, reqFlags = {data = 0x60 , length = 140729045191928}, reqFlagsPadding = 136 '\210', mechToken = {data = 0x0, length = 140729045191928}, mechListMIC = {data = 0x7ffe08bf8dc0 "", length = 0}, targetPrincipal = 0x7f4935a401b0 "\260\001\244\065I\177"}, negTokenTarg = {negResult = 112 'p', supportedMech = 0x7f492ac1f614 "\204\300u\a\270\006\002", responseToken = {data = 0x7ffe08bf8dc0 "", length = 139952383451941}, mechListMIC = {data = 0x0, length = 0}}} len = __FUNCTION__ = "gensec_spnego_update" #20 0x00007f492ca66f4a in gensec_spnego_update_wrapper (gensec_security=0x7f4935a413a0, out_mem_ctx=0x7f4935a401b0, ev=0x7f4935a45140, in=..., out=0x7ffe08bf8dc0) at ../auth/gensec/spnego.c:1312 spnego_state = 0x7f4935a45070 status = {v = 0} #21 0x00007f492ca6e1f6 in gensec_update_ev (gensec_security=0x7f4935a413a0, out_mem_ctx=out_mem_ctx@entry=0x7f4935a401b0, ev=0x7f4935a45140, ev@entry=0x0, in=..., out=out@entry=0x7ffe08bf8dc0) at ../auth/gensec/gensec.c:249 status = {v = 0} ops = 0x7f492cc7f800 frame = 0x7f4935a41660 subreq = 0x0 ok = __FUNCTION__ = "gensec_update_ev" #22 0x00007f492ca6e43b in gensec_update (gensec_security=, out_mem_ctx=out_mem_ctx@entry=0x7f4935a401b0, in=..., out=out@entry=0x7ffe08bf8dc0) at ../auth/gensec/gensec.c:340 No locals. ---Type to continue, or q to quit--- #23 0x00007f49338f5ec3 in negprot_spnego (ctx=ctx@entry=0x7f4935a401b0, xconn=xconn@entry=0x7f4935a3bfb0) at ../source3/smbd/negprot.c:179 blob = {data = 0x0, length = 0} blob_out = dos_name = "\317\002\274\336\000\000\000\000\324d\205\063I\177\000" unix_name = "\377\377\377\377\000\000\000\000/\000\000\000\000\000\000\000\030\330\204\063I\177\000\000\000P[4I\177\000\000e\026\263\061I\177\000\000\070\273\325\063I\177\000\000@\000\000\000\000\000\000\000,X\000\000\000\000\000\000\001\000\000\000\000\000\000\000\244\201", '\000' , "-\003\000\000\000\000\000\000\000\020\000\000\000\000\000\000@\005\244\065I\177\000\000\350.\323\063I\177\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\304\004\244\065I\177\000\000\260\277\243\065I\177\000\000\a\000\000\000\000\000\000\000\a~\031\064I\177\000\000\001\000\000\000I\177\000\000\000\000\000\000\000\000\000\000\260\277\243\065I\177\000\000\030"... status = gensec_security = 0x7f4935a413a0 __FUNCTION__ = "negprot_spnego" #24 0x00007f4933960b83 in smbd_smb2_request_process_negprot (req=req@entry=0x7f4935a401b0) at ../source3/smbd/smb2_negprot.c:214 xconn = 0x7f4935a3bfb0 status = inbody = indyn = 0x7f4935a404c4 "\377\002" outbody = outdyn = {data = 0x1 , length = 0} negprot_spnego_blob = security_offset = security_buffer = expected_dyn_size = 2 c = security_mode = dialect_count = 1 in_security_mode = 0 in_capabilities = 0 in_guid_blob = {data = 0x7f4935a404ac "", length = 16} in_guid = {time_low = 0, time_mid = 0, time_hi_and_version = 0, clock_seq = "\000", node = "\000\000\000\000\000"} dialect = 767 capabilities = out_guid_blob = {data = 0xc0000203 , length = 139952383451941} out_guid = {time_low = 865462303, time_mid = 32585, time_hi_and_version = 0, clock_seq = "\377\377", node = "\377\377\377\377\377\377"} protocol = PROTOCOL_SMB2_10 max_limit = max_trans = max_read = max_write = now = 130867046718218690 __FUNCTION__ = "smbd_smb2_request_process_negprot" #25 0x00007f493395e827 in smbd_smb2_request_dispatch (req=req@entry=0x7f4935a401b0) at ../source3/smbd/smb2_server.c:2201 xconn = 0x7f4935a3bfb0 call = intf_v = inhdr = opcode = 0 flags = 0 mid = status = session_status = allowed_flags = 268435468 return_value = x = signing_required = encryption_desired = encryption_required = __FUNCTION__ = "smbd_smb2_request_dispatch" #26 0x00007f49339604a0 in smbd_smb2_first_negprot (xconn=0x7f4935a3bfb0, inpdu=, size=size@entry=102) at ../source3/smbd/smb2_server.c:3094 sconn = 0x7f4935a3b5a0 status = ---Type to continue, or q to quit--- req = 0x7f4935a401b0 __FUNCTION__ = "smbd_smb2_first_negprot" #27 0x00007f49339607d5 in reply_smb20xx (req=0x7f4935a3f7d0, dialect=dialect@entry=767) at ../source3/smbd/smb2_negprot.c:62 smb2_inpdu = smb2_hdr = smb2_body = smb2_dyn = __FUNCTION__ = "reply_smb20xx" #28 0x00007f4933960808 in reply_smb20ff (req=, choice=) at ../source3/smbd/smb2_negprot.c:83 xconn = #29 0x00007f49338f6ee9 in reply_negprot (req=req@entry=0x7f4935a3f7d0) at ../source3/smbd/negprot.c:682 choice = 7 chosen_level = 7 protocol = 0 p = arch = num_cliprotos = cliprotos = i = converted_size = 10 xconn = 0x7f4935a3bfb0 sconn = 0x7f4935a3b5a0 __FUNCTION__ = "reply_negprot" #30 0x00007f49339497e0 in switch_message (type=, req=req@entry=0x7f4935a3f7d0) at ../source3/smbd/process.c:1648 flags = 0 session_tag = conn = 0x0 xconn = now = 130867046718214830 session = 0x0 status = __FUNCTION__ = "switch_message" #31 0x00007f493394b2b7 in construct_reply (deferred_pcd=0x0, encrypted=false, seqnum=0, unread_bytes=0, size=159, inbuf=0x0, xconn=0x7f4935a3f7d0) at ../source3/smbd/process.c:1684 sconn = 0x7f4935a3b5a0 req = 0x7f4935a3f7d0 #32 process_smb (xconn=xconn@entry=0x7f4935a3bfb0, inbuf=, nread=159, unread_bytes=0, seqnum=0, encrypted=, deferred_pcd=0x0) at ../source3/smbd/process.c:1930 sconn = 0x7f4935a3b5a0 msg_type = __FUNCTION__ = "process_smb" #33 0x00007f493394c2a7 in smbd_server_connection_read_handler (xconn=xconn@entry=0x7f4935a3bfb0, fd=) at ../source3/smbd/process.c:2529 inbuf = 0x7f4935a3f6d0 "" inbuf_len = 159 unread_bytes = 0 encrypted = false mem_ctx = 0x7f4935a3f670 status = {v = 0} seqnum = 0 async_echo = from_client = __FUNCTION__ = "smbd_server_connection_read_handler" #34 0x00007f493394c46c in smbd_server_connection_handler (ev=, fde=, flags=, private_data=) at ../source3/smbd/process.c:2556 xconn = 0x7f4935a3bfb0 #35 0x00007f4931b0e25c in run_events_poll (ev=ev@entry=0x7f4935a20610, pollrtn=pollrtn@entry=1, pfds=0x7f4935a337f0, num_pfds=4) at ../source3/lib/events.c:257 pfd = flags = state = pollfd_idx = 0x7f4935a37570 fde = 0x7f4935a3ca10 __FUNCTION__ = "run_events_poll" #36 0x00007f4931b0e3c4 in s3_event_loop_once (ev=0x7f4935a20610, location=) at ../source3/lib/events.c:326 ---Type to continue, or q to quit--- state = 0x7f4935a121a0 timeout = 60000 num_pfds = 4 poll_errno = 0 #37 0x00007f493300ff85 in _tevent_loop_once (ev=ev@entry=0x7f4935a20610, location=location@entry=0x7f4933a74318 "../source3/smbd/process.c:3997") at ../lib/tevent/tevent.c:533 ret = nesting_stack_ptr = 0x0 #38 0x00007f49330100db in tevent_common_loop_wait (ev=0x7f4935a20610, location=0x7f4933a74318 "../source3/smbd/process.c:3997") at ../lib/tevent/tevent.c:637 ret = #39 0x00007f4933010158 in _tevent_loop_wait (ev=ev@entry=0x7f4935a20610, location=location@entry=0x7f4933a74318 "../source3/smbd/process.c:3997") at ../lib/tevent/tevent.c:656 No locals. #40 0x00007f493394dad8 in smbd_process (ev_ctx=0x7f4935a20610, msg_ctx=, sock_fd=41, interactive=) at ../source3/smbd/process.c:3997 trace_state = {frame = 0x7f4935a3f670, smbd_idle_profstamp = 0} client = sconn = 0x7f4935a3b5a0 xconn = 0x7f4935a3bfb0 locaddr = 0x7f4935a3add0 "iconv(UTF-8,CP850)" remaddr = 0x7f4935a1e800 "" ret = status = __FUNCTION__ = "smbd_process" #41 0x00007f49343b66ec in smbd_accept_connection (ev=0x7f4935a20610, fde=, flags=, private_data=) at ../source3/smbd/server.c:627 status = {v = 0} s = 0x0 msg_ctx = 0x7f4935a20700 addr = {ss_family = 2, __ss_align = 0, __ss_padding = '\000' , "(\000\000\000\000\000\000\000\006\000\000\000\000\000\000\000\360\067\243\065I\177\000\000\006\000\000\000\000\000\000\000\020\006\242\065I\177\000\000\240!\241\065I\177\000\000\277\355b3I\177\000\000\035\263\366U\000\000\000\000\362\263\325\063I\177\000"} in_addrlen = 16 fd = 41 pid = 0 unique_id = 16208966957370451767 __FUNCTION__ = "smbd_accept_connection" #42 0x00007f4931b0e25c in run_events_poll (ev=ev@entry=0x7f4935a20610, pollrtn=pollrtn@entry=1, pfds=0x7f4935a337f0, num_pfds=6) at ../source3/lib/events.c:257 pfd = flags = state = pollfd_idx = 0x7f4935a37570 fde = 0x7f4935a48070 __FUNCTION__ = "run_events_poll" #43 0x00007f4931b0e3c4 in s3_event_loop_once (ev=0x7f4935a20610, location=) at ../source3/lib/events.c:326 state = 0x7f4935a121a0 timeout = 60000 num_pfds = 6 poll_errno = 0 #44 0x00007f493300ff85 in _tevent_loop_once (ev=ev@entry=0x7f4935a20610, location=location@entry=0x7f49343ba80d "../source3/smbd/server.c:985") at ../lib/tevent/tevent.c:533 ret = nesting_stack_ptr = 0x0 #45 0x00007f49330100db in tevent_common_loop_wait (ev=0x7f4935a20610, location=0x7f49343ba80d "../source3/smbd/server.c:985") at ../lib/tevent/tevent.c:637 ret = #46 0x00007f4933010158 in _tevent_loop_wait (ev=, location=) at ../lib/tevent/tevent.c:656 No locals. #47 0x00007f49343b807e in smbd_parent_loop (parent=0x7f4935a20da0, ev_ctx=0x7f4935a20610) at ../source3/smbd/server.c:985 trace_state = {frame = 0x7f4935a212e0} ret = 0 #48 main (argc=, argv=) at ../source3/smbd/server.c:1626 is_daemon = interactive = Fork = true no_process_group = ---Type to continue, or q to quit--- log_stdout = ports = 0x0 profile_level = 0x0 opt = pc = print_build_options = long_options = {{longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x7f4930b7c440 , val = 0, descrip = 0x7f49343ba11e "Help options:", argDescrip = 0x0}, { longName = 0x7f49343ba12c "daemon", shortName = 68 'D', argInfo = 0, arg = 0x0, val = 1000, descrip = 0x7f49343ba133 "Become a daemon (default)", argDescrip = 0x0}, { longName = 0x7f49343ba14d "interactive", shortName = 105 'i', argInfo = 0, arg = 0x0, val = 1001, descrip = 0x7f49343bac80 "Run interactive (not a daemon)", argDescrip = 0x0}, { longName = 0x7f49343ba159 "foreground", shortName = 70 'F', argInfo = 0, arg = 0x0, val = 1002, descrip = 0x7f49343baca0 "Run daemon in foreground (for daemontools, etc.)", argDescrip = 0x0}, { longName = 0x7f49343ba164 "no-process-group", shortName = 0 '\000', argInfo = 0, arg = 0x0, val = 1003, descrip = 0x7f49343bacd8 "Don't create a new process group", argDescrip = 0x0}, { longName = 0x7f49343ba175 "log-stdout", shortName = 83 'S', argInfo = 0, arg = 0x0, val = 1004, descrip = 0x7f49343ba180 "Log to stdout", argDescrip = 0x0}, { longName = 0x7f49343ba18e "build-options", shortName = 98 'b', argInfo = 0, arg = 0x0, val = 98, descrip = 0x7f49343ba19c "Print build options", argDescrip = 0x0}, { longName = 0x7f49343ba1b0 "port", shortName = 112 'p', argInfo = 1, arg = 0x7ffe08bf96b0, val = 0, descrip = 0x7f49343ba1b5 "Listen on the specified ports", argDescrip = 0x0}, { longName = 0x7f49343ba1d3 "profiling-level", shortName = 80 'P', argInfo = 1, arg = 0x7ffe08bf96b8, val = 0, descrip = 0x7f49343ba1e3 "Set profiling level", argDescrip = 0x7f49343ba1f7 "PROFILE_LEVEL"}, {longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x7f4932170a40 , val = 0, descrip = 0x7f49343ba205 "Common samba options:", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 0, arg = 0x0, val = 0, descrip = 0x0, argDescrip = 0x0}} parent = 0x7f4935a20da0 frame = status = ev_ctx = msg_ctx = server_id = {pid = 106, task_id = 0, vnn = 4294967295, unique_id = 6331306545270960953} se = np_dir = smbd_shim_fns = {cancel_pending_lock_requests_by_fid = 0x7f4933936f01 , send_stat_cache_delete_message = 0x7f493393ce11 , change_to_root_user = 0x7f49339249b6 , become_authenticated_pipe_user = 0x7f4933924a44 , unbecome_authenticated_pipe_user = 0x7f4933924af1 , contend_level2_oplocks_begin = 0x7f49339824c5 , contend_level2_oplocks_end = 0x7f4933982786 , become_root = 0x7f4933924aff , unbecome_root = 0x7f4933924b27 , exit_server = 0x7f493397ad9e , exit_server_cleanly = 0x7f493397adaf } __FUNCTION__ = "main" (gdb) (gdb)