[Samba] smbd Crash

Bruno MACADRE bruno.macadre at univ-rouen.fr
Fri Oct 2 08:17:09 MDT 2009


Volker Lendecke a écrit :
> On Fri, Oct 02, 2009 at 02:54:24PM +0200, Bruno MACADRE wrote:

> 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
Hi Volker,

	Thanks for this tips, i will try it ASAP...

	Following the entire stack trace for one process :


==12818== Invalid read of size 1
==12818==    at 0x53C93F0: _nss_files_setnetgrent (in
/lib/tls/i686/cmov/libnss_files-2.9.so)
==12818==    by 0x4C37B7D: innetgr (in /lib/tls/i686/cmov/libc-2.9.so)
==12818==    by 0x1A8151: user_in_netgroup (password.c:409)
==12818==    by 0x1AAA11: token_contains_name_in_list (share_access.c:131)
==12818==    by 0x1EEBC9: change_to_user (uid.c:134)
==12818==    by 0x214F6D: make_connection_snum (service.c:930)
==12818==    by 0x216990: make_connection (service.c:1204)
==12818==    by 0x1CCF67: reply_tcon_and_X (reply.c:677)
==12818==    by 0x20FE37: switch_message (process.c:1377)
==12818==    by 0x2127EC: process_smb (process.c:1408)
==12818==    by 0x213241: smbd_server_connection_handler (process.c:1887)
==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==    by 0x53C93D3: _nss_files_setnetgrent (in
/lib/tls/i686/cmov/libnss_files-2.9.so)
==12818==    by 0x4C37B7D: innetgr (in /lib/tls/i686/cmov/libc-2.9.so)
==12818==    by 0x1A8151: user_in_netgroup (password.c:409)
==12818==    by 0x1AAA11: token_contains_name_in_list (share_access.c:131)
==12818==    by 0x1EEBC9: change_to_user (uid.c:134)
==12818==    by 0x214F6D: make_connection_snum (service.c:930)
==12818==    by 0x216990: make_connection (service.c:1204)
==12818==    by 0x1CCF67: reply_tcon_and_X (reply.c:677)
==12818==    by 0x20FE37: switch_message (process.c:1377)
==12818==    by 0x2127EC: process_smb (process.c:1408)
==12818==
==12818== Invalid read of size 1
==12818==    at 0x53C93F0: _nss_files_setnetgrent (in
/lib/tls/i686/cmov/libnss_files-2.9.so)
==12818==    by 0x4C37B7D: innetgr (in /lib/tls/i686/cmov/libc-2.9.so)
==12818==    by 0x1A8254: user_in_netgroup (password.c:425)
==12818==    by 0x1AAA11: token_contains_name_in_list (share_access.c:131)
==12818==    by 0x1EEBC9: change_to_user (uid.c:134)
==12818==    by 0x214F6D: make_connection_snum (service.c:930)
==12818==    by 0x216990: make_connection (service.c:1204)
==12818==    by 0x1CCF67: reply_tcon_and_X (reply.c:677)
==12818==    by 0x20FE37: switch_message (process.c:1377)
==12818==    by 0x2127EC: process_smb (process.c:1408)
==12818==    by 0x213241: smbd_server_connection_handler (process.c:1887)
==12818==    by 0x41975B: run_events (events.c:126)
==12818==  Address 0x4f0fb37 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==    by 0x53C93D3: _nss_files_setnetgrent (in
/lib/tls/i686/cmov/libnss_files-2.9.so)
==12818==    by 0x4C37B7D: innetgr (in /lib/tls/i686/cmov/libc-2.9.so)
==12818==    by 0x1A8254: user_in_netgroup (password.c:425)
==12818==    by 0x1AAA11: token_contains_name_in_list (share_access.c:131)
==12818==    by 0x1EEBC9: change_to_user (uid.c:134)
==12818==    by 0x214F6D: make_connection_snum (service.c:930)
==12818==    by 0x216990: make_connection (service.c:1204)
==12818==    by 0x1CCF67: reply_tcon_and_X (reply.c:677)
==12818==    by 0x20FE37: switch_message (process.c:1377)
==12818==    by 0x2127EC: process_smb (process.c:1408)
==12818==
==12818== ERROR SUMMARY: 8 errors from 2 contexts (suppressed: 81 from 3)
==12818== malloc/free: in use at exit: 444,418 bytes in 890 blocks.
==12818== malloc/free: 12,782 allocs, 11,892 frees, 1,456,092 bytes
allocated.
==12818== For counts of detected errors, rerun with: -v
==12818== searching for pointers to 890 not-freed blocks.
==12818== checked 740,432 bytes.


	Best regards,
	Bruno

-- 

Bruno MACADRE
-------------------------------------------------------------------
 Ingénieur Systèmes et Réseau     | Systems and Network Engineer
 Département Informatique         | Department of computer science
 Responsable Réseau et Téléphonie | Telecom and Network Manager
 Université de Rouen              | University of Rouen
-------------------------------------------------------------------
Coordonnées / Contact :
	Université de Rouen
	Faculté des Sciences et Techniques - Madrillet
	Avenue de l'Université - BP12
	76801 St Etienne du Rouvray CEDEX

	Tél : +33 (0)2-32-95-51-86
	Fax : +33 (0)2-32-95-51-87
-------------------------------------------------------------------



More information about the samba mailing list