smbsh cores on Solaris 8

David Highley dhighley at mail.highley-recommended.com
Sun Feb 11 01:05:03 GMT 2001


The smbwrapper utility smbsh cores on Solaris 8 for Samba version
2.0.7. It is also failing on Solaris 8 with Samba version 2.2.0-alpha2
First I needed to modify the smbwrapper/wrapped.c file line 465 for
Samba version 2.0.7 from:
 int utimes(char *name,void *tvp
to:
 int utimes(const char *name,const struct timeval *tvp)

Below is the output of truss when it fails:
egards0)
getpid()                                        = 19002 [19001]
getpid()                                        = 19002 [19001]
ioctl(0, TCGETS, 0x00040CE4)                    = 0
ioctl(2, TCGETS, 0x00040CE4)                    = 0
getcontext(0xFFBEF648)
open64("/home/dhighley/.kshrc", O_RDONLY)       = 4
fstat64(4, 0xFFBEF7E8)                          = 0
close(62)                                       Err#9 EBADF
fcntl(4, F_DUPFD, 0x0000003E)                   = 62
close(4)                                        = 0
fcntl(62, F_SETFD, 0x00000001)                  = 0
fcntl(62, F_GETFL, 0x00000000)                  = 8192
llseek(62, 0, SEEK_CUR)                         = 0
ioctl(62, TCGETS, 0x00040CE4)                   Err#25 ENOTTY
getcontext(0xFFBEF630)
read(62, " e c h o   " L o a d i n".., 1024)    = 801
getcontext(0xFFBEF3F8)
    Incurred fault #6, FLTBOUNDS  %pc = 0x00031A90
      siginfo: SIGSEGV SEGV_MAPERR addr=0x00000008
    Received signal #11, SIGSEGV [default]
      siginfo: SIGSEGV SEGV_MAPERR addr=0x00000008
        *** process killed ***



-- 

David Highley
Highley Recommended, Inc.
2927 SW 339th Street
Federal Way, WA 98023-7732

Phone: (206) 669-0081
FAX:   (253) 838-8509
Email: dhighley at highley-recommended.com
WEB:   http://www.highley-recommended.com




More information about the samba mailing list