[Samba] smbd Crash

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Oct 2 07:05:23 MDT 2009


On Fri, Oct 02, 2009 at 02:54:24PM +0200, Bruno MACADRE wrote:
> 	- When i analyse de valgrind logfile produced i see a lot of error
> messages like these :
> 
> ==12818== Invalid read of size 1
> ==12818==    at 0x53C93F0: _nss_files_setnetgrent (in
> /lib/tls/i686/cmov/libnss_files-2.9.so)
> ==12818== ...
> ==12818== ...
> ==12818==    by 0x41975B: run_events (events.c:126)
> ==12818==  Address 0x4f0f887 is 1 bytes before a block of size 120 alloc'd
> ==12818==    at 0x4826FDE: malloc (vg_replace_malloc.c:207)
> ==12818==    by 0x4B92737: getdelim (in /lib/tls/i686/cmov/libc-2.9.so)
> ==12818== ...
> ==12818== ...
> ==12818==    by 0x20FE37: switch_message (process.c:1377)
> ==12818==    by 0x2127EC: process_smb (process.c:1408)
> 
> 	I don't know if this kind of allocation errors is normal (if any samba
> developper team read this ^^), but i think it's a clue for the crash of
> smbd (with the "realloc" errors like in my previous message).
> 
> 	see you later for further informations... i return checking memory
> leaks of samba ^^

You might try to replace your "valid users = @<somegroup>"
with "valid users = +<somegroup>". These fixes seem normal,
although it would help a lot if you did not cut 90% of the
stack trace.

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20091002/e1b1ddbb/attachment.pgp>


More information about the samba mailing list