Samba's NMBD dumps core with FreeBSD 4.4-STABLE

Mario Doria madd at tecdigital.net
Sun Dec 23 02:50:03 GMT 2001


> > Hello,
> >
> >
> > I have installed samba 2.2.2 from the ports collection in FreeBSD. It
dumps
> > core whenever someone tries to use the nmbd server. I can connect OK if
I do
> > smbclient //10.25.165.3 -U user
> > but not by doing smbclient //server -U user
>
> Can you send a stack backtrace with nmbd built with -g please ?
>
> Thanks,
>
> Jeremy.

sdf-1# gdb /usr/local/sbin/nmbd nmbd.core
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...
Core was generated by `nmbd'.
Program terminated with signal 6, Abort trap.
Reading symbols from /usr/lib/libpam.so.1...done.
Reading symbols from /usr/lib/libc.so.4...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0  0x281116c0 in kill () from /usr/lib/libc.so.4
(gdb) backtrace
#0  0x281116c0 in kill () from /usr/lib/libc.so.4
#1  0x2814eca5 in abort () from /usr/lib/libc.so.4
#2  0x8089e38 in readdirname (p=0x80aad74) at lib/util.c:1057
#3  0x8079e7b in fault_report (sig=11) at lib/fault.c:45
#4  0x8079ed2 in sig_fault (sig=11) at lib/fault.c:65
#5  0xbfbfffac in ?? ()
#6  0x8056f5a in retransmit_or_expire_response_records (t=1009076217)
    at nmbd/nmbd_packets.c:1690
#7  0x804d1bd in unbecome_local_master_browser (subrec=0x8109a00,
    work=0x812d000, force_new_election=0) at nmbd/nmbd_become_lmb.c:325
#8  0x804d498 in become_local_master_fail2 (subrec=0x8109a00,
rrec=0x812f080,
    fail_name=0x812dc54) at nmbd/nmbd_become_lmb.c:436
#9  0x8053adf in register_name_response (subrec=0x8109a00, rrec=0x812f080,
    p=0x812d800) at nmbd/nmbd_nameregister.c:152
#10 0x8056da4 in process_nmb_response (p=0x812d800) at
nmbd/nmbd_packets.c:1591
#11 0x8056dfb in run_packet_queue () at nmbd/nmbd_packets.c:1614
#12 0x804b513 in process () at nmbd/nmbd.c:347
#13 0x804c221 in main (argc=2, argv=0xbfbffbd4) at nmbd/nmbd.c:877
#14 0x804a6a1 in _start ()






More information about the samba mailing list