[Samba] Samba Panic when attempting to connect using OS X client (3.3.7)

Doug Sampson dougs at dawnsign.com
Fri Sep 4 13:41:17 MDT 2009


Hi,

Am running Samba 3.3.7 on FreeBSD 7.1. All Windows clients (W2K & WXP) can
connect fine but cannot connect any OS X clients (version 10.4 & 10.5).
These OS X client receive an error message saying it cannot connect. The log
indicates the following:

[2009/09/04 12:26:19,  0] lib/fault.c:fault_report(40)
  ===============================================================
[2009/09/04 12:26:19,  0] lib/fault.c:fault_report(41)
  INTERNAL ERROR: Signal 11 in pid 52669 (3.3.7)
  Please read the Trouble-Shooting section of the Samba3-HOWTO
[2009/09/04 12:26:19,  0] lib/fault.c:fault_report(43)
  
  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2009/09/04 12:26:19,  0] lib/fault.c:fault_report(44)
  ===============================================================
[2009/09/04 12:26:19,  0] lib/util.c:smb_panic(1673)
  PANIC (pid 52669): internal error
[2009/09/04 12:26:19,  0] lib/util.c:log_stack_trace(1777)
  BACKTRACE: 15 stack frames:
   #0 0x2b43c5 <smb_panic+133> at /usr/local/sbin/smbd
   #1 0x29d27a <dump_core_setup+1594> at /usr/local/sbin/smbd
   #2 0xbfbfffb4
   #3 0x20a4012f <__nss_wins_freebsd_gethostbyname_r+47> at
/usr/local/lib/nss_wins.so.1
   #4 0x207d28d4 <nsdispatch+452> at /lib/libc.so.7
   #5 0x207d2230 <gethostbyaddr_r+240> at /lib/libc.so.7
   #6 0x207d235f <gethostbyaddr+95> at /lib/libc.so.7
   #7 0x207b51f6 <getipnodebyaddr+150> at /lib/libc.so.7
   #8 0x207b3647 <getnameinfo+1191> at /lib/libc.so.7
   #9 0x29f992 <sys_getnameinfo+98> at /usr/local/sbin/smbd
   #10 0x2b92c9 <get_peer_name+345> at /usr/local/sbin/smbd
   #11 0x2a4c76 <check_access+358> at /usr/local/sbin/smbd
   #12 0xdde58 <smbd_process+72> at /usr/local/sbin/smbd
   #13 0x4feb94 <main+8692> at /usr/local/sbin/smbd
   #14 0x64949 <_start+137> at /usr/local/sbin/smbd
[2009/09/04 12:26:19,  0] lib/talloc_stack.c:talloc_tos(126)
  no talloc stackframe around, leaking memory
[2009/09/04 12:26:19,  0] lib/fault.c:dump_core(231)
  dumping core in /var/log/samba/cores/smbd
[2009/09/04 12:26:19,  0] lib/fault.c:fault_report(40)
  ===============================================================
[2009/09/04 12:26:19,  0] lib/fault.c:fault_report(41)
  INTERNAL ERROR: Signal 11 in pid 52670 (3.3.7)
  Please read the Trouble-Shooting section of the Samba3-HOWTO
[2009/09/04 12:26:19,  0] lib/fault.c:fault_report(43)
  
  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2009/09/04 12:26:19,  0] lib/fault.c:fault_report(44)
  ===============================================================
[2009/09/04 12:26:19,  0] lib/util.c:smb_panic(1673)
  PANIC (pid 52670): internal error
[2009/09/04 12:26:19,  0] lib/util.c:log_stack_trace(1777)
  BACKTRACE: 15 stack frames:
   #0 0x2b43c5 <smb_panic+133> at /usr/local/sbin/smbd
   #1 0x29d27a <dump_core_setup+1594> at /usr/local/sbin/smbd
   #2 0xbfbfffb4
   #3 0x20a4012f <__nss_wins_freebsd_gethostbyname_r+47> at
/usr/local/lib/nss_wins.so.1
   #4 0x207d28d4 <nsdispatch+452> at /lib/libc.so.7
   #5 0x207d2230 <gethostbyaddr_r+240> at /lib/libc.so.7
   #6 0x207d235f <gethostbyaddr+95> at /lib/libc.so.7
   #7 0x207b51f6 <getipnodebyaddr+150> at /lib/libc.so.7
   #8 0x207b3647 <getnameinfo+1191> at /lib/libc.so.7
   #9 0x29f992 <sys_getnameinfo+98> at /usr/local/sbin/smbd
   #10 0x2b92c9 <get_peer_name+345> at /usr/local/sbin/smbd
   #11 0x2a4c76 <check_access+358> at /usr/local/sbin/smbd
   #12 0xdde58 <smbd_process+72> at /usr/local/sbin/smbd
   #13 0x4feb94 <main+8692> at /usr/local/sbin/smbd
   #14 0x64949 <_start+137> at /usr/local/sbin/smbd
[2009/09/04 12:26:19,  0] lib/talloc_stack.c:talloc_tos(126)
  no talloc stackframe around, leaking memory
[2009/09/04 12:26:19,  0] lib/fault.c:dump_core(231)
  dumping core in /var/log/samba/cores/smbd

The contents of smb.conf is as follows:

[global]
        workgroup = DSP
        server string = Samba %v
        security = DOMAIN
        log file = /var/log/samba/log.%m
        max log size = 100
        smb ports = 139
        socket options = SO_RCVBUF=8192 SO_SNDBUF=8192
        os level = 33
        local master = No
        dns proxy = No
        wins server = 192.168.x.x
        host msdfs = No
        idmap uid = 15000-20000
        idmap gid = 15000-20000
        template homedir = /usr/home/%D/%U
        template shell = /bin/bash
        winbind separator = -
        winbind cache time = 10
        inherit acls = Yes
        hosts allow = 192.168.x., 192.168.x., 127., 10.8.x.
        fake oplocks = Yes
        locking = No

[homes]
        comment = Home Directories
        read only = No
        create mask = 0770
        directory mask = 0770
        browseable = No

[printers]
        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        browseable = No

[install-public]
        comment = /home/install
        path = /home/install
        valid users = "@DSP-domain admins"
        read only = No
        create mask = 0774
        directory mask = 0774

I've googled around for a possible fix to this but to no avail. I turned up
logging by setting up an individual smb.conf file for this particular OS X
client but am unsure if all relevant details are being logged. The log
states INTERNAL ERROR and according to the How-To PDF, it indicates a bug.
That so?

Reverting back to Samba 3.0.36 allows OS X clients to connect.

Let me know if additional details are needed.

~Doug


More information about the samba mailing list