[2.0.6] doesn't run under Solaris 7/sparc, Internal Error

David Collier-Brown davecb at canada.sun.com
Thu Jan 27 19:44:14 GMT 2000


"Marc G. Fournier" wrote:
> Here she be, the whole truss output ...
> 

And the interesting sequence is:
open64("/usr/local/samba/var/locks/STATUS..LCK", O_RDWR) = 9
...
update the lock file, then
...
close(9)
...
stat64("/usr/local/lib/smb.conf", 0xEFFFED40)   = 0
time()                                          = 948979974
23177:  getpid()                                        = 23177
[23175]
23177:  brk(0x0013E810)                                 = 0
23177:  brk(0x0014E810)                                 = 0
23177:  brk(0x0014E810)                                 = 0
23177:  brk(0x0015E810)                                 = 0
23177:  open64("/usr/slocal/samba/lib/lmhosts", O_RDONLY) Err#2 ENOENT
...
then some socket operations on (a new) fd 9, then
23177:  close(9)                                        = 0
23177:  getuid()                                        = 0 [0]
23177:  fstat64(4, 0xEFFFECA0)                          = 0
23177:  write(4, " [", 1)                               = 1
23177:  write(4, " 2 0 0 0 / 0 1 / 2 7   0".., 19)      = 19
23177:  write(4, " ,   0", 3)                           = 3
23177:  write(4, " ]  ", 2)                             = 2
23177:  write(4, " l i b s m b / c l i e n".., 18)      = 18
23177:  write(4, " :", 1)                               = 1
23177:  write(4, " a t t e m p t _ n e t b".., 31)      = 31
23177:  write(4, " (", 1)                               = 1
23177:  write(4, " 3 2 5 8", 4)                         = 4
23177:  write(4, " )\n", 2)                             = 2
23177:      Incurred fault #6, FLTBOUNDS  %pc = 0x0006E148
23177:        siginfo: SIGSEGV SEGV_MAPERR addr=0x0000000E
23177:      Received signal #11, SIGSEGV [caught]
23177:        siginfo: SIGSEGV SEGV_MAPERR addr=0x0000000E


This snippet make it look like smbd put out an error message
mentioning "attempt_netb"... and segv'd.

What are the last half-dozen message in the log? One of them
should be "attempt_netbios_session_request: %s rejected the session.
Error was : %s.\n"

This appears once, at line 3257 in libsmb/clientgen.c:
  File           Line
1 clientgen.c    3224 BOOL attempt_netbios_session_request(struct
cli_state
                      *cli, char *srchost, char *desthost,
			struct in_addr *pdest_ip)
which is called from: 
3 cli_netlogon.c  532 if (!attempt_netbios_session_request(&cli, 	
			global_myname, remote_machine, &cli.dest_ip)) { 
4 password.c      998 if (!attempt_netbios_session_request(cli,
			 global_myname, desthost, &dest_ip))
5 password.c     1158 if (!attempt_netbios_session_request(pcli, 	
			global_myname, remote_machine, &dest_ip)) {

-----
Ok, that's where it died, smack in the middle of a compound if,
and the error message in the log should tell us how to reproduce
the failure and the bug, plus may help us avoid it...

--dave


More information about the samba mailing list