Samba-HEAD doesn't run on Tru64

Edmund Lam epl at unimelb.edu.au
Mon Nov 5 22:43:01 GMT 2001


   For at least the past week, Samba-HEAD seems to be broken on Tru64.
It configures, compiles and installs correctly. However, when it is
runned, the Samba suite of programs either segfault or return with an
error code -- but no message.

   So what is the current status of Samba on Tru64?

===

# cd /usr/local/samba/bin
# ./smbstatus
Segmentation fault
# ./smbpasswd
Segmentation fault
# ./smbclient
Segmentation fault
# cd /usr/local/samba/sbin
# ./nmbd -D
<waits forever>

===

   If I use another terminal, it is evident that nmbd has not started
listening on any ports. Even if I set the debug level to 10, no output
is generated.

   If I do a Tru64 trace
# /usr/local/bin/trace -f ./nmbd -d10 -D
./nmbd
Tracing process /proc/5761
getpagesize () = 8192
obreak (0x140052350) = 0
gettimeofday (0x11ffffd38, 0x0) = 0
gettimeofday (0x11ffffd38, 0x0) = 0
getpid () = 5761
gettimeofday (0x11ffffd28, 0x0) = 0
open ("/etc/zoneinfo/localtime", O_RDONLY, 04000000) = 4
read (4, 0x1ffff1b0, 2732) = 731 [, 0x11ffff1b0, ]
close (4) = 0
sigaction (SIGSEGV, {{0x12007d300,0x400,SA_RESTART}}, (struct sigaction *)0) = 0
sigaction (SIGBUS, {{0x12007d300,0x200,SA_RESTART}}, (struct
sigaction *)0) = 0
sigprocmask (2, 0x1, 0x0) = 0
sigprocmask (2, 0x20000000, 0x0) = 0
sigprocmask (2, 0x4000, 0x0) = 0
sigaction (SIGHUP, {{0x120019740,0x1,SA_RESTART}}, (struct sigaction *)0) = 0
sigaction (SIGTERM, {{0x120019640,0x4000,SA_RESTART}}, (struct sigaction *)0) = 0
sigprocmask (1, 0x80, 0x0) = 0
sigprocmask (1, 0x40000000, 0x0) = 128
umask (022) = 022
open ("/usr/local/samba/var/log.nmbd", O_WRONLY|O_CREAT|O_APPEND, 0644) = 4
umask (022) = 022
gettimeofday (0x11ffffbd8, 0x0) = 0
getuid () = 0
SIGNAL [11 SIGSEGV]
gettimeofday (0x11ffff678, 0x0) = 0
getuid () = 0

===

   It appears to me that a Segfault was received and intercepted. But
maybe no valid function can deal with it. If there is any other
things I can do to provide more clues to fixing Samba on Tru64, I'd be
glad to oblige.

Thanks

Eddie






More information about the samba-technical mailing list