gdb ../sbin/smbd 10358 GNU gdb 4.18 (FreeBSD) Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"...Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 2627 in elfstab_build_psymtabs Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf /usr/local/samba/var/10358: No such file or directory. Attaching to program: /usr/local/samba/var/../sbin/smbd, process 10358 Reading symbols from /usr/local/lib/libldap-2.2.so.7...done. Reading symbols from /usr/local/lib/liblber-2.2.so.7...done. Reading symbols from /usr/lib/libcrypto.so.3...done. Reading symbols from /usr/lib/libcrypt.so.2...done. Reading symbols from /usr/local/lib/libiconv.so.3...done. Reading symbols from /usr/lib/libc.so.4...done. Reading symbols from /usr/lib/libssl.so.3...done. Reading symbols from /usr/libexec/ld-elf.so.1...done. 0x285d2ecc in wait4 () from /usr/lib/libc.so.4 (gdb) bt #0 0x285d2ecc in wait4 () from /usr/lib/libc.so.4 #1 0x285ae6ce in system () from /usr/lib/libc.so.4 #2 0x8207869 in smb_panic2 (why=0x8328b1e "internal error", decrement_pid_count=1) at lib/util.c:1486 #3 0x82077c8 in smb_panic (why=0x8328b1e "internal error") at lib/util.c:1445 #4 0x81ef6f7 in fault_report (sig=11) at lib/fault.c:41 #5 0x81ef76e in sig_fault (sig=11) at lib/fault.c:64 #6 0xbfbfffac in ?? () #7 0x285d6e24 in vsnprintf () from /usr/lib/libc.so.4 #8 0x81ef500 in dbgtext (format_str=0x831ef20 "pdb_set_username: setting username %s, was %s\n") at lib/debug.c:975 #9 0x81c8159 in pdb_set_username (sampass=0x8385c00, username=0x7273752f , flag=PDB_SET) at passdb/pdb_get_set.c:616 #10 0x81ca21b in pdb_fill_sam_pw (sam_account=0x8385c00, pwd=0x8380640) at passdb/passdb.c:256 #11 0x81ca566 in pdb_init_sam_pw (new_sam_acct=0xbfbfdc78, pwd=0x8380640) at passdb/passdb.c:338 #12 0x824ea71 in make_server_info_pw (server_info=0xbfbfe9f4, unix_username=0xbfbfe8d8 "root", pwd=0x8380640) at auth/auth_util.c:846 #13 0x80bc4d0 in reply_spnego_kerberos (conn=0x0, inbuf=0x83ac000 "", outbuf=0x83cd000 "", length=1440, bufsize=131072, secblob=0xbfbfeba4) at smbd/sesssetup.c:263 #14 0x80bcbc7 in reply_spnego_negotiate (conn=0x0, inbuf=0x83ac000 "", outbuf=0x83cd000 "", length=1440, bufsize=131072, blob1={ data = 0x839c000 "`\202\004ö\006\006+\006\001\005\005\002 \202\004ê0\202\004æ $0\"\006\t*\206H\202÷\022\001\002\002\006\t*\206H\206÷\022\001\002\002\006\n+\006\001\004\001\2027\002\002\n¢\202\004¼\004\202\004¸`\202\004´\006\t*\206H\206÷\022\001\002\002\001", length = 1274, free = 0x8204d64 }) at smbd/sesssetup.c:451 #15 0x80bd147 in reply_sesssetup_and_X_spnego (conn=0x0, inbuf=0x83ac000 "", outbuf=0x83cd000 "", length=1440, bufsize=131072) at smbd/sesssetup.c:580 #16 0x80bd469 in reply_sesssetup_and_X (conn=0x0, inbuf=0x83ac000 "", outbuf=0x83cd000 "", length=1440, bufsize=131072) at smbd/sesssetup.c:669 #17 0x80e8dfd in switch_message (type=115, inbuf=0x83ac000 "", outbuf=0x83cd000 "", size=1440, bufsize=131072) at smbd/process.c:968 #18 0x80e8ecf in construct_reply (inbuf=0x83ac000 "", outbuf=0x83cd000 "", size=1440, bufsize=131072) at smbd/process.c:998 #19 0x80e9277 in process_smb (inbuf=0x83ac000 "", outbuf=0x83cd000 "") at smbd/process.c:1098 #20 0x80ea0a9 in smbd_process () at smbd/process.c:1558 #21 0x8288043 in main (argc=2, argv=0xbfbffcac) at smbd/server.c:951 #22 0x807f956 in _start () (gdb)