i'm using samba mainly to simple [homes] sharing.
workgroup = WORKGROUP
server string = Samba Server / PLD-Linux
log file = /var/log/samba/log.%I
max log size = 50
security = user
encrypt passwords = no
username map = /etc/samba/smbusers
socket options = TCP_NODELAY
dns proxy = no
use sendfile = yes
comment = Home Directories
browseable = no
writable = yes
printable = no
there's no printer connected to machine and there's no started cups server.
in logs i see following warnings about cups...
[2009/03/17 12:04:37, 0] printing/print_cups.c:cups_connect(103)
Unable to connect to CUPS server localhost:631 - Connection refused
some warnings about avahi...
*** WARNING *** The program 'smbd' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=smbd>
and random crashes...
*** glibc detected *** /usr/sbin/smbd: corrupted double-linked list: 0x00007f1ca3822230 ***
======= Backtrace: =========
What distribution are you using?
If you are not printing, it might help if you set "printing = bsd"
(In reply to comment #1)
> What distribution are you using?
Created attachment 4006 [details]
Can you try the attached patch? I've got the vague idea that our mdns register code is flaky. The attached patch replaces it with native avahi code.
the patch seems to work. no crashes so far...
It used to crash more frequently before? So, how certain are you that it fixes it? :-)
(In reply to comment #5)
> It used to crash more frequently before? So, how certain are you that it fixes
> it? :-)
w/o this patch it crashes few times per hour.
so far, with this patch it works (since ~8 hours) w/o any crash.
Thanks for verifying this. I've checked in the patch, will be in next 3.3 and following releases.