smbd crash

Luke Kenneth Casson Leighton lkcl at switchboard.net
Mon Nov 30 15:10:33 GMT 1998


On Mon, 30 Nov 1998, Andrej Borsenkow wrote:

> 30 Nov CVS snapshot (fetched via ftp://cvs.samba.org/pub/unpoacked/samba)
> 
> Samba runs with domain security. We have been warned about power supply cut
> off and PDC was turned off. SAMBA server runs on UPS and was not touched.
> After some time (PDC still being off) I noted nice gdb window :)) Here is
> the stack.
> 
> #0  0x8054b74 in _waitid ()

ah, you know what?  it might be timing out and attempting to carry on, and
keeling over...

can you check cli->outbuf to see if it is NULL or not?  and the size of
smb_size?

thanx.

 #1  0x80502c0 in waitpid ()
> #2  0x80533fc in system ()
> #3  0x50e00c in smb_panic (why=0x596524 "internal error") at lib/util.c:2387
> #4  0x4fa418 in fault_report (sig=10) at lib/fault.c:45
> #5  0x4fa4e4 in sig_fault (sig=10) at lib/fault.c:65
> #6  0x804f5d8 in sigacthandler ()
> #7  <signal handler called>
> #8  0x804f1a0 in memset ()
> #9  0x474808 in cli_open (cli=0x7ffeb844, fname=0x567d98 "\\PIPE\\NETLOGON",
>     flags=258, share_mode=4) at libsmb/clientgen.c:1131
> #10 0x4a786c in cli_nt_session_open (cli=0x7ffeb844,
>     pipe_name=0x567d98 "\\PIPE\\NETLOGON") at rpc_client/cli_pipe.c:1052
> #11 0x411f50 in domain_client_validate (user=0x7ffee79c "bor",
>     domain=0x5ccfe6 "ITS",
>     smb_apasswd=0x7ffef3a4 "???~?KK>?>??a\217??\177U\2209????",
>     smb_apasslen=24,
>     smb_ntpasswd=0x7ffeefa0 "7?\235?µ?ut?\025@?K)U\n6 ¤?[.?\023",
>     smb_ntpasslen=24) at smbd/password.c:1226
> #12 0x4327e4 in check_domain_security (orig_user=0x7ffee79c "bor",
>     domain=0x5ccfe6 "ITS",
>     smb_apasswd=0x7ffef3a4 "???~?KK>?>??a\217??\177U\2209????",
>     smb_apasslen=24,
>     smb_ntpasswd=0x7ffeefa0 "7?\235?µ?ut?\025@?K)U\n6 ¤?[.?\023",
>     smb_ntpasslen=24) at smbd/reply.c:477
> #13 0x4330f0 in reply_sesssetup_and_X (conn=0x0, inbuf=0x5ccf71 "",
>     outbuf=0x5dd381 "", length=182, bufsize=65535) at smbd/reply.c:671
> #14 0x45aa3c in switch_message (type=115, inbuf=0x5ccf71 "",
>     outbuf=0x5dd381 "", size=182, bufsize=65535) at smbd/process.c:489
> #15 0x45abb0 in construct_reply (inbuf=0x5ccf71 "", outbuf=0x5dd381 "",
>     size=182, bufsize=65535) at smbd/process.c:522
> #16 0x45aee0 in process_smb (inbuf=0x5ccf71 "", outbuf=0x5dd381 "")
>     at smbd/process.c:592
> #17 0x45c138 in smbd_process () at smbd/process.c:936
> #18 0x40488c in main (argc=2, argv=0x7ffefefc) at smbd/server.c:744
> 
> 
> And that is in syslog (149.202.201.16 - PDC, itsrm2 - samba host):
> 
> Nov 30 14:47:49 itsrm2 unix: upsd[4940]: Normal power restored: UPS on line
> Nov 30 14:55:13 itsrm2 unix: smbd[14663]: [1998/11/30 14:55:13, 1]
> lib/util_sock
> c:(735)
> Nov 30 14:55:13 itsrm2 unix: smbd[14663]:   error connecting to
> 149.202.201.16:1
> 39 (Broken pipe)
> Nov 30 14:55:13 itsrm2 unix: smbd[14663]: [1998/11/30 14:55:13, 1]
> libsmb/client
> gen.c:(2603)
> Nov 30 14:55:13 itsrm2 unix: smbd[14663]:   cli_establish_connection: failed
> to
> connect to ITSRM2<00> (149.202.201.16)
> Nov 30 14:55:13 itsrm2 unix: smbd[14663]: [1998/11/30 14:55:13, 0]
> lib/fault.c:(
> 40)
> Nov 30 14:55:13 itsrm2 unix: smbd[14663]:
> ====================================
> ===========================
> Nov 30 14:55:13 itsrm2 unix: smbd[14663]: [1998/11/30 14:55:13, 0]
> lib/fault.c:(
> 41)
> Nov 30 14:55:13 itsrm2 unix: smbd[14663]:   INTERNAL ERROR: Signal 10 in pid
> 146
> 63 (2.0.0-beta1)
> Nov 30 14:55:13 itsrm2 unix: smbd[14663]:   Please read the file BUGS.txt in
> the
>  distribution
> Nov 30 14:55:13 itsrm2 unix: smbd[14663]: [1998/11/30 14:55:13, 0]
> lib/fault.c:(
> 43)
> Nov 30 14:55:13 itsrm2 unix: smbd[14663]:
> ====================================
> ===========================
> 
> 

<a href="mailto:lkcl at samba.anu.edu.au" > Luke Kenneth Casson Leighton  </a>
<a href="http://mailhost.cb1.com/~lkcl"> Samba and Network Development </a>
<a href="http://www.samba.co.uk"       > Samba and Network Consultancy </a>



More information about the samba-technical mailing list