[Samba] SMBD panic with INTERNAL ERROR: Signal 6 for ARM 922T

James Ronald james.ronald at gmail.com
Wed Oct 15 19:36:06 GMT 2008


I am trying to get SAMBA to run on a custom ARM 922T compatible micro
controller.   It does not matter how I try to start smbd (smbd -D -d10
or smbd i -d10) smbd keeps panicking at the same point with an
INTERNAL ERROR: Signal 6.  I have spent over a day trying to figure
out what could be wrong but I am having no success.  If someone could
at least give me a clue as to what smbd is trying to do at this point
it would be greatly appreciated.

Thanks,
Jim Ronald


=============================================
# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[Share]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
        netbios name = Server
        netbios aliases = Server0
        server string = Server
        interfaces = 192.168.0.200/255.255.255.0
        security = SHARE
        null passwords = Yes
        smb passwd file = /etc/smbpasswd
        guest account = root
        log level = 10
        log file = /var/log/samba.log
        max log size = 100
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        load printers = No
        os level = 0
        preferred master = No
        fake oplocks = Yes
        magic script = automagic.run

[Share]
        comment = File Share
        path = /tmp
        username = root
        read only = No
        create mask = 0776
        directory mask = 0770
=======================================================
# smbd -i -d10
Maximum core file size limits now 16777216(soft) -1(hard)
get_current_groups: user is in 2 groups: 0, 10
smbd version 3.0.28a started.
Copyright Andrew Tridgell and the Samba Team 1992-2008
uid=0 gid=0 euid=0 egid=0
Build environment:
   Built by:    jronald at jronald-desktop
   Built on:    Wed Oct 15 13:37:49 EDT 2008
   Built using:
/home/jronald/phoenix/trunk/buildroot-21758/build_arm/staging_dir/usr/bin/arm-linux-uclibcgnueabi-gcc
   Build host:  Linux jronald-desktop 2.6.24-21-generic #1 SMP Mon Aug
25 17:32:09 UTC 2008 i686 GNU/Linux
   SRCDIR:
/home/jronald/phoenix/trunk/buildroot-21758/build_arm/samba-3.0.28a/source
   BUILDDIR:
/home/jronald/phoenix/trunk/buildroot-21758/build_arm/samba-3.0.28a/source

Paths:
   SBINDIR: /usr/local/samba/sbin
   BINDIR: /usr/local/samba/bin
   SWATDIR: /usr/local/samba/swat
   CONFIGFILE: /etc/samba/smb.conf
   LOGFILEBASE: /var/log/samba
   LMHOSTSFILE: /etc/samba/lmhosts
   LIBDIR: /usr/local/samba/lib
   SHLIBEXT: so
   LOCKDIR: /var/cache/samba
   PIDDIR: /var/run
   SMB_PASSWD_FILE: /etc/samba/smbpasswd
   PRIVATE_DIR: /etc/samba

 System Headers:
   HAVE_SYS_CDEFS_H
   HAVE_SYS_FCNTL_H
   HAVE_SYS_IOCTL_H
   HAVE_SYS_IPC_H
   HAVE_SYS_MMAN_H
   HAVE_SYS_MOUNT_H
   HAVE_SYS_PARAM_H
   HAVE_SYS_PRCTL_H
   HAVE_SYS_QUOTA_H
   HAVE_SYS_RESOURCE_H
   HAVE_SYS_SELECT_H
   HAVE_SYS_SHM_H
   HAVE_SYS_SOCKET_H
   HAVE_SYS_STATFS_H
   HAVE_SYS_STATVFS_H
   HAVE_SYS_STAT_H
   HAVE_SYS_SYSCALL_H
   HAVE_SYS_SYSLOG_H
   HAVE_SYS_SYSMACROS_H
   HAVE_SYS_TIME_H
   HAVE_SYS_TYPES_H
   HAVE_SYS_UIO_H
   HAVE_SYS_UNISTD_H
   HAVE_SYS_UN_H
   HAVE_SYS_VFS_H
   HAVE_SYS_WAIT_H
   HAVE_SYS_XATTR_H

 Headers:
   HAVE_ALLOCA_H
   HAVE_ARPA_INET_H
   HAVE_ASM_TYPES_H
   HAVE_ASM_UNISTD_H
   HAVE_CTYPE_H
   HAVE_DIRENT_H
   HAVE_DLFCN_H
   HAVE_FCNTL_H
   HAVE_FLOAT_H
   HAVE_FNMATCH_H
   HAVE_GLOB_H
   HAVE_GRP_H
   HAVE_LANGINFO_H
   HAVE_LASTLOG_H
   HAVE_LIMITS_H
   HAVE_LINUX_INOTIFY_H
   HAVE_LOCALE_H
   HAVE_MEMORY_H
   HAVE_MNTENT_H
   HAVE_NETDB_H
   HAVE_NETINET_IN_H
   HAVE_NETINET_IN_SYSTM_H
   HAVE_NETINET_IP_H
   HAVE_NETINET_TCP_H
   HAVE_NET_IF_H
   HAVE_PWD_H
   HAVE_RPC_RPC_H
   HAVE_SETJMP_H
   HAVE_SHADOW_H
   HAVE_STDARG_H
   HAVE_STDBOOL_H
   HAVE_STDINT_H
   HAVE_STDIO_H
   HAVE_STDLIB_H
   HAVE_STRINGS_H
   HAVE_STRING_H
   HAVE_SYSCALL_H
   HAVE_SYSLOG_H
   HAVE_TERMIOS_H
   HAVE_TERMIO_H
   HAVE_TIME_H
   HAVE_UNISTD_H
   HAVE_UTIME_H

 UTMP Options:
   HAVE_UTMP_H
   HAVE_UT_UT_ADDR
   HAVE_UT_UT_EXIT
   HAVE_UT_UT_HOST
   HAVE_UT_UT_ID
   HAVE_UT_UT_NAME
   HAVE_UT_UT_PID
   HAVE_UT_UT_TIME
   HAVE_UT_UT_TV
   HAVE_UT_UT_TYPE
   HAVE_UT_UT_USER
   PUTUTLINE_RETURNS_UTMP
   WITH_UTMP

 HAVE_* Defines:
   HAVE_ASPRINTF
   HAVE_ASPRINTF_DECL
   HAVE_ATEXIT
   HAVE_BOOL
   HAVE_CHMOD
   HAVE_CHOWN
   HAVE_CHROOT
   HAVE_COMPARISON_FN_T
   HAVE_COMPILER_WILL_OPTIMIZE_OUT_FNS
   HAVE_CONNECT
   HAVE_CREAT64
   HAVE_CRYPT
   HAVE_DECL_ASPRINTF
   HAVE_DECL_RL_EVENT_HOOK
   HAVE_DECL_SNPRINTF
   HAVE_DECL_VASPRINTF
   HAVE_DECL_VSNPRINTF
   HAVE_DIRENT_D_OFF
   HAVE_DLCLOSE
   HAVE_DLERROR
   HAVE_DLOPEN
   HAVE_DLSYM
   HAVE_DUP2
   HAVE_ENDMNTENT
   HAVE_ERRNO_DECL
   HAVE_EXECL
   HAVE_FCHMOD
   HAVE_FCHOWN
   HAVE_FCNTL_LOCK
   HAVE_FGETXATTR
   HAVE_FLISTXATTR
   HAVE_FOPEN64
   HAVE_FREMOVEXATTR
   HAVE_FSEEKO64
   HAVE_FSETXATTR
   HAVE_FSID_INT
   HAVE_FSTAT
   HAVE_FSTAT64
   HAVE_FSYNC
   HAVE_FTELLO64
   HAVE_FTRUNCATE
   HAVE_FTRUNCATE64
   HAVE_FUNCTION_MACRO
   HAVE_GETCWD
   HAVE_GETGRENT
   HAVE_GETGRNAM
   HAVE_GETMNTENT
   HAVE_GETPAGESIZE
   HAVE_GETPGRP
   HAVE_GETPWENT_R
   HAVE_GETRLIMIT
   HAVE_GETSPNAM
   HAVE_GETTIMEOFDAY_TZ
   HAVE_GETXATTR
   HAVE_GLOB
   HAVE_GRANTPT
   HAVE_IMMEDIATE_STRUCTURES
   HAVE_INITGROUPS
   HAVE_INOTIFY
   HAVE_INOTIFY_INIT
   HAVE_KERNEL_OPLOCKS_LINUX
   HAVE_LGETXATTR
   HAVE_LIBRESOLV
   HAVE_LINK
   HAVE_LINUX_READAHEAD
   HAVE_LINUX_XFS_QUOTAS
   HAVE_LISTXATTR
   HAVE_LLISTXATTR
   HAVE_LONG_LONG
   HAVE_LREMOVEXATTR
   HAVE_LSEEK64
   HAVE_LSETXATTR
   HAVE_LSTAT
   HAVE_LSTAT64
   HAVE_MEMALIGN
   HAVE_MEMCPY
   HAVE_MEMMOVE
   HAVE_MEMSET
   HAVE_MKDIR_MODE
   HAVE_MKDTEMP
   HAVE_MKNOD
   HAVE_MKTIME
   HAVE_MLOCK
   HAVE_MLOCKALL
   HAVE_MMAP
   HAVE_MUNLOCK
   HAVE_MUNLOCKALL
   HAVE_NANOSLEEP
   HAVE_NL_LANGINFO
   HAVE_NO_ACLS
   HAVE_NO_AIO
   HAVE_OPEN64
   HAVE_PATHCONF
   HAVE_PEERCRED
   HAVE_PIPE
   HAVE_POLL
   HAVE_POSIX_FADVISE
   HAVE_POSIX_MEMALIGN
   HAVE_PRCTL
   HAVE_PREAD
   HAVE_PREAD64
   HAVE_PRINTF
   HAVE_PUTUTLINE
   HAVE_PWRITE
   HAVE_PWRITE64
   HAVE_QUOTACTL_LINUX
   HAVE_RAND
   HAVE_RANDOM
   HAVE_READDIR64
   HAVE_READLINK
   HAVE_REALPATH
   HAVE_REMOVEXATTR
   HAVE_RENAME
   HAVE_SECURE_MKSTEMP
   HAVE_SELECT
   HAVE_SENDFILE64
   HAVE_SETBUFFER
   HAVE_SETEGID
   HAVE_SETENV
   HAVE_SETENV_DECL
   HAVE_SETEUID
   HAVE_SETGROUPS
   HAVE_SETLINEBUF
   HAVE_SETLOCALE
   HAVE_SETMNTENT
   HAVE_SETPGID
   HAVE_SETRESGID
   HAVE_SETRESGID_DECL
   HAVE_SETRESUID
   HAVE_SETRESUID_DECL
   HAVE_SETSID
   HAVE_SETXATTR
   HAVE_SHMGET
   HAVE_SIGACTION
   HAVE_SIGBLOCK
   HAVE_SIGPROCMASK
   HAVE_SIGSET
   HAVE_SIG_ATOMIC_T_TYPE
   HAVE_SNPRINTF
   HAVE_SNPRINTF_DECL
   HAVE_SOCKETPAIR
   HAVE_SOCKLEN_T_TYPE
   HAVE_SRAND
   HAVE_SRANDOM
   HAVE_STAT64
   HAVE_STAT_ST_BLKSIZE
   HAVE_STAT_ST_BLOCKS
   HAVE_STRCASECMP
   HAVE_STRCASESTR
   HAVE_STRCHR
   HAVE_STRDUP
   HAVE_STRERROR
   HAVE_STRFTIME
   HAVE_STRLCAT
   HAVE_STRLCPY
   HAVE_STRNDUP
   HAVE_STRNLEN
   HAVE_STRPBRK
   HAVE_STRSIGNAL
   HAVE_STRTOK_R
   HAVE_STRTOL
   HAVE_STRTOLL
   HAVE_STRTOQ
   HAVE_STRTOUL
   HAVE_STRTOULL
   HAVE_STRTOUQ
   HAVE_STRUCT_DIRENT64
   HAVE_STRUCT_STAT_ST_RDEV
   HAVE_STRUCT_TIMESPEC
   HAVE_ST_RDEV
   HAVE_SYMLINK
   HAVE_SYSCONF
   HAVE_SYSLOG
   HAVE_SYS_QUOTAS
   HAVE_TIMEGM
   HAVE_UNIXSOCKET
   HAVE_UNSETENV
   HAVE_UPDWTMP
   HAVE_USLEEP
   HAVE_UTIMBUF
   HAVE_UTIME
   HAVE_UTIMES
   HAVE_VASPRINTF
   HAVE_VASPRINTF_DECL
   HAVE_VA_COPY
   HAVE_VOLATILE
   HAVE_VSNPRINTF
   HAVE_VSNPRINTF_DECL
   HAVE_VSYSLOG
   HAVE_WAITPID
   HAVE_WORKING_AF_LOCAL
   HAVE_XFS_QUOTAS
   HAVE__Bool
   HAVE__VA_ARGS__MACRO
   HAVE___NR_INOTIFY_INIT_DECL

 --with Options:
   WITH_CIFSMOUNT
   WITH_QUOTAS
   WITH_SENDFILE
   WITH_UTMP
   WITH_WINBIND

 Build Options:
   BROKEN_NISPLUS_INCLUDE_FILES
   COMPILER_SUPPORTS_LL
   CONFIG_H_IS_FROM_SAMBA
   DEFAULT_DISPLAY_CHARSET
   DEFAULT_DOS_CHARSET
   DEFAULT_UNIX_CHARSET
   LINUX
   LINUX_SENDFILE_API
   PACKAGE_BUGREPORT
   PACKAGE_NAME
   PACKAGE_STRING
   PACKAGE_TARNAME
   PACKAGE_VERSION
   REPLACE_STRPTIME
   RETSIGTYPE
   SEEKDIR_RETURNS_VOID
   SHLIBEXT
   SIZEOF_CHAR
   SIZEOF_INT
   SIZEOF_LONG_LONG
   SIZEOF_OFF_T
   SIZEOF_SHORT
   SIZEOF_SIZE_T
   SIZEOF_SSIZE_T
   STAT_STATVFS
   STAT_ST_BLOCKSIZE
   STDC_HEADERS
   STRING_STATIC_MODULES
   SYSCONF_SC_NGROUPS_MAX
   SYSCONF_SC_NPROCESSORS_ONLN
   SYSCONF_SC_PAGESIZE
   TIME_WITH_SYS_TIME
   USE_SETREUID
   WITH_CIFSMOUNT
   WITH_QUOTAS
   WITH_SENDFILE
   WITH_WINBIND
   _FILE_OFFSET_BITS
   _GNU_SOURCE
   _LARGEFILE64_SOURCE
   _POSIX_C_SOURCE
   _POSIX_SOURCE
   _XOPEN_SOURCE_EXTENDED
   auth_script_init
   charset_CP437_init
   charset_CP850_init
   offset_t
   static_decl_auth
   static_decl_charset
   static_decl_idmap
   static_decl_nss_info
   static_decl_pdb
   static_decl_rpc
   static_decl_vfs
   static_init_auth
   static_init_charset
   static_init_idmap
   static_init_nss_info
   static_init_pdb
   static_init_rpc
   static_init_vfs
   uint_t
   vfs_audit_init
   vfs_cap_init
   vfs_default_quota_init
   vfs_expand_msdfs_init
   vfs_extd_audit_init
   vfs_fake_perms_init
   vfs_full_audit_init
   vfs_netatalk_init
   vfs_readahead_init
   vfs_readonly_init
   vfs_recycle_init
   vfs_shadow_copy_init

Type sizes:
   sizeof(char):         1
   sizeof(int):          4
   sizeof(long):         4
   sizeof(uint8):        1
   sizeof(uint16):       2
   sizeof(uint32):       4
   sizeof(short):        2
   sizeof(void*):        4
   sizeof(size_t):       4
   sizeof(off_t):        8
   sizeof(ino_t):        8
   sizeof(dev_t):        8

Builtin modules:
    pdb_smbpasswd pdb_tdbsam rpc_lsa rpc_reg rpc_lsa_ds rpc_wkssvc
rpc_svcctl rpc_ntsvcs rpc_net rpc_netdfs rpc_srv rpc_spoolss rpc_et
lp_load: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
doing parameter netbios name = AVIT-0
handle_netbios_name: set global_myname to: AVIT-0
doing parameter server string = AVIT-0 CarDAQ-AVIT
doing parameter netbios aliases = CarDAQAVIT
doing parameter workgroup = WORKGROUP
doing parameter smb passwd file = /etc/smbpasswd
doing parameter interfaces = 192.168.0.200/255.255.255.0
doing parameter log level = 10
doing parameter log file = /var/log/samba.log
doing parameter max log size = 100
doing parameter load printers = no
doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
doing parameter os level = 0
doing parameter preferred master = no
doing parameter null passwords = yes
doing parameter fake oplocks = yes
doing parameter encrypt passwords = yes
doing parameter magic script = automagic.run
doing parameter guest account = root
doing parameter security = share
Processing section "[Share]"
add_a_service: Creating snum = 0 for Share
hash_a_service: creating tdb servicehash
hash_a_service: hashing index 0 for service name Share
doing parameter create mask = 0776
doing parameter directory mask = 0770
doing parameter user = root
doing parameter comment = File Share
doing parameter path = /tmp
doing parameter writeable = yes
doing parameter guest ok = no
pm_process() returned Yes
lp_servicenumber: couldn't find homes
add_a_service: Creating snum = 1 for IPC$
hash_a_service: hashing index 1 for service name IPC$
adding IPC service
set_server_role: role = ROLE_STANDALONE
Attempting to register new charset UCS-2LE
Registered charset UCS-2LE
Attempting to register new charset UTF-16LE
Registered charset UTF-16LE
Attempting to register new charset UCS-2BE
Registered charset UCS-2BE
Attempting to register new charset UTF-16BE
Registered charset UTF-16BE
Attempting to register new charset UTF8
Registered charset UTF8
Attempting to register new charset UTF-8
Registered charset UTF-8
Attempting to register new charset ASCII
Registered charset ASCII
Attempting to register new charset 646
Registered charset 646
Attempting to register new charset ISO-8859-1
Registered charset ISO-8859-1
Attempting to register new charset UCS2-HEX
Registered charset UCS2-HEX
Substituting charset 'ASCII' for LOCALE
Substituting charset 'ASCII' for LOCALE
Substituting charset 'ASCII' for LOCALE
Substituting charset 'ASCII' for LOCALE
Substituting charset 'ASCII' for LOCALE
Substituting charset 'ASCII' for LOCALE
Substituting charset 'ASCII' for LOCALE
Substituting charset 'ASCII' for LOCALE
Substituting charset 'ASCII' for LOCALE
Substituting charset 'ASCII' for LOCALE
Substituting charset 'ASCII' for LOCALE
Substituting charset 'ASCII' for LOCALE
Substituting charset 'ASCII' for LOCALE
Substituting charset 'ASCII' for LOCALE
Substituting charset 'ASCII' for LOCALE
Substituting charset 'ASCII' for LOCALE
Substituting charset 'ASCII' for LOCALE
Substituting charset 'ASCII' for LOCALE
Substituting charset 'ASCII' for LOCALE
Substituting charset 'ASCII' for LOCALE
Substituting charset 'ASCII' for LOCALE
Substituting charset 'ASCII' for LOCALE
Substituting charset 'ASCII' for LOCALE
Substituting charset 'ASCII' for LOCALE
map_file: Failed to load /usr/local/samba/lib/valid.dat - No such file
or directory
creating default valid table
lp_servicenumber: couldn't find printers
reloading printcap cache
Unable to open printcap file /etc/printcap for read!
reload status: error
reloading printcap cache
Unable to open printcap file /etc/printcap for read!
reload status: error
lp_servicenumber: couldn't find printers
lp_file_list_changed()
file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Wed
Dec 31 17:00:11 1969

added interface ip=192.168.0.200 bcast=192.168.0.255 nmask=255.255.255.0
Netbios name list:-
my_netbios_names[0]="AVIT-0"
my_netbios_names[1]="CARDAQAVIT"
loaded services
fcntl_lock fd=6 op=13 offset=0 count=1 type=1
fcntl_lock: Lock call successful
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
Attempting to register passdb backend smbpasswd
Successfully added passdb backend 'smbpasswd'
Attempting to register passdb backend tdbsam
Successfully added passdb backend 'tdbsam'
Attempting to find an passdb backend to match smbpasswd (smbpasswd)
Found pdb backend smbpasswd
pdb backend smbpasswd has a valid init
Opening cache file at /var/cache/samba/gencache.tdb
namecache_enable: enabling netbios namecache, timeout 660 seconds
regdb_init: Successfully created registry tdb
init_registry_data: Adding [HKLM\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Print\Printers]
init_registry_data: Storing key [HKLM] with subkey [SOFTWARE]
regdb_fetch_keys: tdb lookup failed to locate key [HKLM]
regdb_fetch_keys: tdb lookup failed to locate key [HKLM]
regdb_fetch_keys: tdb lookup failed to locate key [HKLM/SOFTWARE]
init_registry_data: Storing key [HKLM\SOFTWARE] with subkey [Microsoft]
regdb_fetch_keys: tdb lookup failed to locate key [HKLM\SOFTWARE/Microsoft]
init_registry_data: Storing key [HKLM\SOFTWARE\Microsoft] with subkey
[Windows NT]
regdb_fetch_keys: tdb lookup failed to locate key
[HKLM\SOFTWARE\Microsoft/Windows NT]
init_registry_data: Storing key [HKLM\SOFTWARE\Microsoft\Windows NT]
with subkey [CurrentVersion]
regdb_fetch_keys: tdb lookup failed to locate key
[HKLM\SOFTWARE\Microsoft\Windows NT/CurrentVersion]
init_registry_data: Storing key [HKLM\SOFTWARE\Microsoft\Windows
NT\CurrentVersion] with subkey [Print]
regdb_fetch_keys: tdb lookup failed to locate key
[HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion/Print]
init_registry_data: Storing key [HKLM\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Print] with subkey [Printers]
regdb_fetch_keys: tdb lookup failed to locate key
[HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print/Printers]
init_registry_data: Storing key [HKLM\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Print\Printers] with subkey [NULL]
init_registry_data: Adding [HKLM\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Ports]
init_registry_data: Storing key [HKLM] with subkey [SOFTWARE]
init_registry_data: Storing key [HKLM\SOFTWARE] with subkey [Microsoft]
init_registry_data: Storing key [HKLM\SOFTWARE\Microsoft] with subkey
[Windows NT]
init_registry_data: Storing key [HKLM\SOFTWARE\Microsoft\Windows NT]
with subkey [CurrentVersion]
init_registry_data: Storing key [HKLM\SOFTWARE\Microsoft\Windows
NT\CurrentVersion] with subkey [Ports]
regdb_fetch_keys: tdb lookup failed to locate key
[HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion/Ports]
init_registry_data: Storing key [HKLM\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Ports] with subkey [NULL]
init_registry_data: Adding [HKLM\SYSTEM\CurrentControlSet\Control\Print]
init_registry_data: Storing key [HKLM] with subkey [SYSTEM]
regdb_fetch_keys: tdb lookup failed to locate key [HKLM/SYSTEM]
init_registry_data: Storing key [HKLM\SYSTEM] with subkey [CurrentControlSet]
regdb_fetch_keys: tdb lookup failed to locate key
[HKLM\SYSTEM/CurrentControlSet]
init_registry_data: Storing key [HKLM\SYSTEM\CurrentControlSet] with
subkey [Control]
regdb_fetch_keys: tdb lookup failed to locate key
[HKLM\SYSTEM\CurrentControlSet/Control]
init_registry_data: Storing key
[HKLM\SYSTEM\CurrentControlSet\Control] with subkey [Print]
regdb_fetch_keys: tdb lookup failed to locate key
[HKLM\SYSTEM\CurrentControlSet\Control/Print]
init_registry_data: Storing key
[HKLM\SYSTEM\CurrentControlSet\Control\Print] with subkey [NULL]
init_registry_data: Adding
[HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares]
init_registry_data: Storing key [HKLM] with subkey [SYSTEM]
init_registry_data: Storing key [HKLM\SYSTEM] with subkey [CurrentControlSet]
init_registry_data: Storing key [HKLM\SYSTEM\CurrentControlSet] with
subkey [Services]
regdb_fetch_keys: tdb lookup failed to locate key
[HKLM\SYSTEM\CurrentControlSet/Services]
init_registry_data: Storing key
[HKLM\SYSTEM\CurrentControlSet\Services] with subkey [LanmanServer]
regdb_fetch_keys: tdb lookup failed to locate key
[HKLM\SYSTEM\CurrentControlSet\Services/LanmanServer]
init_registry_data: Storing key
[HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer] with subkey
[Shares]
regdb_fetch_keys: tdb lookup failed to locate key
[HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer/Shares]
init_registry_data: Storing key
[HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares] with
subkey [NULL]
init_registry_data: Adding [HKLM\SYSTEM\CurrentControlSet\Services\Eventlog]
init_registry_data: Storing key [HKLM] with subkey [SYSTEM]
init_registry_data: Storing key [HKLM\SYSTEM] with subkey [CurrentControlSet]
init_registry_data: Storing key [HKLM\SYSTEM\CurrentControlSet] with
subkey [Services]
init_registry_data: Storing key
[HKLM\SYSTEM\CurrentControlSet\Services] with subkey [Eventlog]
regdb_fetch_keys: tdb lookup failed to locate key
[HKLM\SYSTEM\CurrentControlSet\Services/Eventlog]
init_registry_data: Storing key
[HKLM\SYSTEM\CurrentControlSet\Services\Eventlog] with subkey [NULL]
init_registry_data: Adding [HKLM\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Perflib]
init_registry_data: Storing key [HKLM] with subkey [SOFTWARE]
init_registry_data: Storing key [HKLM\SOFTWARE] with subkey [Microsoft]
init_registry_data: Storing key [HKLM\SOFTWARE\Microsoft] with subkey
[Windows NT]
init_registry_data: Storing key [HKLM\SOFTWARE\Microsoft\Windows NT]
with subkey [CurrentVersion]
init_registry_data: Storing key [HKLM\SOFTWARE\Microsoft\Windows
NT\CurrentVersion] with subkey [Perflib]
regdb_fetch_keys: tdb lookup failed to locate key
[HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion/Perflib]
init_registry_data: Storing key [HKLM\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Perflib] with subkey [NULL]
init_registry_data: Adding [HKLM\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Perflib\009]
init_registry_data: Storing key [HKLM] with subkey [SOFTWARE]
init_registry_data: Storing key [HKLM\SOFTWARE] with subkey [Microsoft]
init_registry_data: Storing key [HKLM\SOFTWARE\Microsoft] with subkey
[Windows NT]
init_registry_data: Storing key [HKLM\SOFTWARE\Microsoft\Windows NT]
with subkey [CurrentVersion]
init_registry_data: Storing key [HKLM\SOFTWARE\Microsoft\Windows
NT\CurrentVersion] with subkey [Perflib]
init_registry_data: Storing key [HKLM\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Perflib] with subkey [009]
regdb_fetch_keys: tdb lookup failed to locate key
[HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib/009]
init_registry_data: Storing key [HKLM\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Perflib\009] with subkey [NULL]
init_registry_data: Adding
[HKLM\SYSTEM\CurrentControlSet\Control\Print\Monitors]
init_registry_data: Storing key [HKLM] with subkey [SYSTEM]
init_registry_data: Storing key [HKLM\SYSTEM] with subkey [CurrentControlSet]
init_registry_data: Storing key [HKLM\SYSTEM\CurrentControlSet] with
subkey [Control]
init_registry_data: Storing key
[HKLM\SYSTEM\CurrentControlSet\Control] with subkey [Print]
init_registry_data: Storing key
[HKLM\SYSTEM\CurrentControlSet\Control\Print] with subkey [Monitors]
regdb_fetch_keys: tdb lookup failed to locate key
[HKLM\SYSTEM\CurrentControlSet\Control\Print/Monitors]
init_registry_data: Storing key
[HKLM\SYSTEM\CurrentControlSet\Control\Print\Monitors] with subkey
[NULL]
init_registry_data: Adding
[HKLM\SYSTEM\CurrentControlSet\Control\ProductOptions]
init_registry_data: Storing key [HKLM] with subkey [SYSTEM]
init_registry_data: Storing key [HKLM\SYSTEM] with subkey [CurrentControlSet]
init_registry_data: Storing key [HKLM\SYSTEM\CurrentControlSet] with
subkey [Control]
init_registry_data: Storing key
[HKLM\SYSTEM\CurrentControlSet\Control] with subkey [ProductOptions]
regdb_fetch_keys: tdb lookup failed to locate key
[HKLM\SYSTEM\CurrentControlSet\Control/ProductOptions]
init_registry_data: Storing key
[HKLM\SYSTEM\CurrentControlSet\Control\ProductOptions] with subkey
[NULL]
init_registry_data: Adding
[HKLM\SYSTEM\CurrentControlSet\Control\Terminal
Server\DefaultUserConfiguration]
init_registry_data: Storing key [HKLM] with subkey [SYSTEM]
init_registry_data: Storing key [HKLM\SYSTEM] with subkey [CurrentControlSet]
init_registry_data: Storing key [HKLM\SYSTEM\CurrentControlSet] with
subkey [Control]
init_registry_data: Storing key
[HKLM\SYSTEM\CurrentControlSet\Control] with subkey [Terminal Server]
regdb_fetch_keys: tdb lookup failed to locate key
[HKLM\SYSTEM\CurrentControlSet\Control/Terminal Server]
init_registry_data: Storing key
[HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server] with subkey
[DefaultUserConfiguration]
regdb_fetch_keys: tdb lookup failed to locate key
[HKLM\SYSTEM\CurrentControlSet\Control\Terminal
Server/DefaultUserConfiguration]
init_registry_data: Storing key
[HKLM\SYSTEM\CurrentControlSet\Control\Terminal
Server\DefaultUserConfiguration] with subkey [NULL]
init_registry_data: Adding
[HKLM\SYSTEM\CurrentControlSet\Services\TcpIp\Parameters]
init_registry_data: Storing key [HKLM] with subkey [SYSTEM]
init_registry_data: Storing key [HKLM\SYSTEM] with subkey [CurrentControlSet]
init_registry_data: Storing key [HKLM\SYSTEM\CurrentControlSet] with
subkey [Services]
init_registry_data: Storing key
[HKLM\SYSTEM\CurrentControlSet\Services] with subkey [TcpIp]
regdb_fetch_keys: tdb lookup failed to locate key
[HKLM\SYSTEM\CurrentControlSet\Services/TcpIp]
init_registry_data: Storing key
[HKLM\SYSTEM\CurrentControlSet\Services\TcpIp] with subkey
[Parameters]
regdb_fetch_keys: tdb lookup failed to locate key
[HKLM\SYSTEM\CurrentControlSet\Services\TcpIp/Parameters]
init_registry_data: Storing key
[HKLM\SYSTEM\CurrentControlSet\Services\TcpIp\Parameters] with subkey
[NULL]
init_registry_data: Adding
[HKLM\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters]
init_registry_data: Storing key [HKLM] with subkey [SYSTEM]
init_registry_data: Storing key [HKLM\SYSTEM] with subkey [CurrentControlSet]
init_registry_data: Storing key [HKLM\SYSTEM\CurrentControlSet] with
subkey [Services]
init_registry_data: Storing key
[HKLM\SYSTEM\CurrentControlSet\Services] with subkey [Netlogon]
regdb_fetch_keys: tdb lookup failed to locate key
[HKLM\SYSTEM\CurrentControlSet\Services/Netlogon]
init_registry_data: Storing key
[HKLM\SYSTEM\CurrentControlSet\Services\Netlogon] with subkey
[Parameters]
regdb_fetch_keys: tdb lookup failed to locate key
[HKLM\SYSTEM\CurrentControlSet\Services\Netlogon/Parameters]
init_registry_data: Storing key
[HKLM\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters] with
subkey [NULL]
init_registry_data: Adding [HKU]
init_registry_data: Storing key [HKU] with subkey [NULL]
regdb_fetch_keys: tdb lookup failed to locate key [HKU]
regdb_fetch_keys: tdb lookup failed to locate key [HKU]
init_registry_data: Adding [HKCR]
init_registry_data: Storing key [HKCR] with subkey [NULL]
regdb_fetch_keys: tdb lookup failed to locate key [HKCR]
regdb_fetch_keys: tdb lookup failed to locate key [HKCR]
init_registry_data: Adding [HKPD]
init_registry_data: Storing key [HKPD] with subkey [NULL]
regdb_fetch_keys: tdb lookup failed to locate key [HKPD]
regdb_fetch_keys: tdb lookup failed to locate key [HKPD]
init_registry_data: Adding [HKPT]
init_registry_data: Storing key [HKPT] with subkey [NULL]
regdb_fetch_keys: tdb lookup failed to locate key [HKPT]
regdb_fetch_keys: tdb lookup failed to locate key [HKPT]
regdb_fetch_values: Looking for value of key
[HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ports]
regdb_store_values: Looking for value of key
[HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ports]
regdb_fetch_values: Looking for value of key
[HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers]
regdb_store_values: Looking for value of key
[HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers]
regdb_fetch_values: Looking for value of key
[HKLM\SYSTEM\CurrentControlSet\Services\Eventlog]
regdb_store_values: Looking for value of key
[HKLM\SYSTEM\CurrentControlSet\Services\Eventlog]
regdb_fetch_values: Looking for value of key
[HKLM\SYSTEM\CurrentControlSet\Services\Eventlog]
specific: [DisplayName], len: 20
regdb_store_values: Looking for value of key
[HKLM\SYSTEM\CurrentControlSet\Services\Eventlog]
reghook_cache_add: Adding key [/HKLM/SYSTEM/CurrentControlSet/Control/Print]
pathtree_add: Enter
pathtree_add: Successfully added node
[HKLM/SYSTEM/CurrentControlSet/Control/Print] to tree
pathtree_add: Exit
reghook_cache_add: Adding key [/HKLM/SOFTWARE/Microsoft/Windows
NT/CurrentVersion/Print/Printers]
pathtree_add: Enter
pathtree_add: Successfully added node [HKLM/SOFTWARE/Microsoft/Windows
NT/CurrentVersion/Print/Printers] to tree
pathtree_add: Exit
reghook_cache_add: Adding key [/HKLM/SOFTWARE/Microsoft/Windows
NT/CurrentVersion/Ports]
pathtree_add: Enter
pathtree_add: Successfully added node [HKLM/SOFTWARE/Microsoft/Windows
NT/CurrentVersion/Ports] to tree
pathtree_add: Exit
reghook_cache_add: Adding key
[/HKLM/SYSTEM/CurrentControlSet/Services/LanmanServer/Shares]
pathtree_add: Enter
pathtree_add: Successfully added node
[HKLM/SYSTEM/CurrentControlSet/Services/LanmanServer/Shares] to tree
pathtree_add: Exit
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
push_conn_ctx(0) : conn_ctx_stack_ndx = 1
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
getsampwnam (smbpasswd): search by name: root
startsmbfilepwent_internal: opening file /etc/smbpasswd
getsmbfilepwent: end of file reached.
endsmbfilepwent_internal: closed password file.
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
pdb_default_uid_to_rid: Did not find user root (0)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
LEGACY: uid 0 -> sid S-1-22-1-0
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
LEGACY: gid 0 -> sid S-1-22-2-0
Create local NT token for S-1-22-1-0
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
LEGACY: mapping failed for sid S-1-5-32-544
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
LEGACY: mapping failed for sid S-1-5-32-545
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
account_policy_get: tdb_fetch_uint32 failed for field 1 (min password
length), returning 0
account_policy_set: name: min password length, value: 5
account_policy_get: tdb_fetch_uint32 failed for field 2 (password
history), returning 0
account_policy_set: name: password history, value: 0
account_policy_get: tdb_fetch_uint32 failed for field 3 (user must
logon to change password), returning 0
account_policy_set: name: user must logon to change password, value: 0
account_policy_get: tdb_fetch_uint32 failed for field 4 (maximum
password age), returning 0
account_policy_set: name: maximum password age, value: -1
account_policy_get: tdb_fetch_uint32 failed for field 5 (minimum
password age), returning 0
account_policy_set: name: minimum password age, value: 0
account_policy_get: tdb_fetch_uint32 failed for field 6 (lockout
duration), returning 0
account_policy_set: name: lockout duration, value: 30
account_policy_get: tdb_fetch_uint32 failed for field 7 (reset count
minutes), returning 0
account_policy_set: name: reset count minutes, value: 30
account_policy_get: tdb_fetch_uint32 failed for field 8 (bad lockout
attempt), returning 0
account_policy_set: name: bad lockout attempt, value: 0
account_policy_get: tdb_fetch_uint32 failed for field 9 (disconnect
time), returning 0
account_policy_set: name: disconnect time, value: -1
account_policy_get: tdb_fetch_uint32 failed for field 10 (refuse
machine password change), returning 0
account_policy_set: name: refuse machine password change, value: 0
get_privileges: No privileges assigned to SID [S-1-1-0]
grant_privilege: S-1-1-0
original privilege mask:
SE_PRIV  0x0 0x0 0x0 0x0
new privilege mask:
SE_PRIV  0x0 0x0 0x0 0x0
get_privileges: No privileges assigned to SID [S-1-5-32-548]
grant_privilege: S-1-5-32-548
original privilege mask:
SE_PRIV  0x0 0x0 0x0 0x0
new privilege mask:
SE_PRIV  0x0 0x0 0x0 0x0
get_privileges: No privileges assigned to SID [S-1-5-32-549]
grant_privilege: S-1-5-32-549
original privilege mask:
SE_PRIV  0x0 0x0 0x0 0x0
new privilege mask:
SE_PRIV  0x0 0x0 0x0 0x0
get_privileges: No privileges assigned to SID [S-1-5-32-550]
grant_privilege: S-1-5-32-550
original privilege mask:
SE_PRIV  0x0 0x0 0x0 0x0
new privilege mask:
SE_PRIV  0x0 0x0 0x0 0x0
get_privileges: No privileges assigned to SID [S-1-5-32-551]
grant_privilege: S-1-5-32-551
original privilege mask:
SE_PRIV  0x0 0x0 0x0 0x0
new privilege mask:
SE_PRIV  0x0 0x0 0x0 0x0
get_privileges: No privileges assigned to SID [S-1-5-32-544]
grant_privilege: S-1-5-32-544
original privilege mask:
SE_PRIV  0x0 0x0 0x0 0x0
new privilege mask:
SE_PRIV  0xff0 0x0 0x0 0x0
get_privileges: No privileges assigned to SID [S-1-22-1-0]
get_privileges_for_sids: sid = S-1-5-32-544
Privilege set:
SE_PRIV  0xff0 0x0 0x0 0x0
get_privileges_for_sids: sid = S-1-1-0
Privilege set:
SE_PRIV  0x0 0x0 0x0 0x0
get_privileges: No privileges assigned to SID [S-1-5-2]
get_privileges: No privileges assigned to SID [S-1-5-11]
regdb_open: incrementing refcount (1)
regkey_open_internal: name = [HKLM\SYSTEM\CurrentControlSet\Services]
reghook_cache_find: Searching for keyname
[/HKLM/SYSTEM/CurrentControlSet/Services]
pathtree_find: Enter [/HKLM/SYSTEM/CurrentControlSet/Services]
pathtree_find: Exit
registry_access_check: using root's token
se_access_check: requested access 0x000f003f, for NT token with 5
entries and first sid S-1-22-1-0.
se_access_check: user sid is S-1-22-1-0
se_access_check: also S-1-5-32-544
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-11
se_access_check: ACE 0: type 0, flags = 0x00, SID = S-1-1-0 mask =
20019, current desired = f003f
se_access_check: ACE 1: type 0, flags = 0x00, SID = S-1-5-32-544 mask
= f003f, current desired = d0026
se_access_check: access (f003f) granted.
regdb_fetch_keys: tdb lookup failed to locate key
[HKLM\SYSTEM\CurrentControlSet\Services/Spooler]
regdb_open: incrementing refcount (2)
regkey_open_internal: name = [HKLM\SYSTEM\CurrentControlSet\Services\Spooler]
reghook_cache_find: Searching for keyname
[/HKLM/SYSTEM/CurrentControlSet/Services/Spooler]
pathtree_find: Enter [/HKLM/SYSTEM/CurrentControlSet/Services/Spooler]
pathtree_find: Exit
registry_access_check: using root's token
se_access_check: requested access 0x000f003f, for NT token with 5
entries and first sid S-1-22-1-0.
se_access_check: user sid is S-1-22-1-0
se_access_check: also S-1-5-32-544
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-11
se_access_check: ACE 0: type 0, flags = 0x00, SID = S-1-1-0 mask =
20019, current desired = f003f
se_access_check: ACE 1: type 0, flags = 0x00, SID = S-1-5-32-544 mask
= f003f, current desired = d0026
se_access_check: access (f003f) granted.
regdb_fetch_keys: tdb lookup failed to locate key
[HKLM\SYSTEM\CurrentControlSet\Services\Spooler/Security]
regdb_store_values: Looking for value of key
[HKLM\SYSTEM\CurrentControlSet\Services\Spooler]
regdb_close: decrementing refcount (2)
regdb_open: incrementing refcount (2)
regkey_open_internal: name =
[HKLM\SYSTEM\CurrentControlSet\Services\Spooler\Security]
reghook_cache_find: Searching for keyname
[/HKLM/SYSTEM/CurrentControlSet/Services/Spooler/Security]
pathtree_find: Enter [/HKLM/SYSTEM/CurrentControlSet/Services/Spooler/Security]
pathtree_find: Exit
regdb_fetch_keys: tdb lookup failed to locate key
[HKLM\SYSTEM\CurrentControlSet\Services\Spooler\Security]
regdb_close: decrementing refcount (2)
add_new_svc_name: key lookup failed!
[HKLM\SYSTEM\CurrentControlSet\Services\Spooler\Security]
(WERR_BADFILE)
===============================================================
INTERNAL ERROR: Signal 6 in pid 380 (3.0.28a)
Please read the Trouble-Shooting section of the Samba3-HOWTO

From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
===============================================================
PANIC (pid 380): internal error
unable to produce a stack trace on this platform
unable to change to /var/log/samba/cores/smbd
refusing to dump core
talloc report on 'null_context' (total   4485 bytes in 176 blocks)
    REGISTRY_KEY                   contains    128 bytes in   9 blocks
(ref 0) 0x3ab110
    NT_USER_TOKEN                  contains    364 bytes in   2 blocks
(ref 0) 0x3aac80
    SORTED_TREE                    contains    527 bytes in  44 blocks
(ref 0) 0x3aa220
    main loop talloc (mainly parse_misc) contains   1369 bytes in  19
blocks (ref 0) 0x3a9d80
    struct pdb_methods             contains   1315 bytes in   3 blocks
(ref 0) 0x3a8950
    lp_talloc                      contains    782 bytes in  98 blocks
(ref 0) 0x389308
#


More information about the samba mailing list