samba3 valgrind error

Stefan (metze) Metzmacher metze at samba.org
Tue Sep 5 09:44:09 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi *,

I just found this while searching for some strange things happening with
samba3's 'make test' on my laptop.

host=127.0.0.2 share=tmp user=metze myname=SERNOX
Running TORTURE
1 clients started
==31704== Syscall param write(buf) points to uninitialised byte(s)
==31704==    at 0x423B7D3: __write_nocancel (in /lib/libc-2.4.so)
==31704==    by 0x80E96D2: write_data (lib/util_sock.c:556)
==31704==    by 0x8083C65: write_socket (libsmb/clientgen.c:133)
==31704==    by 0x8083E00: cli_send_smb (libsmb/clientgen.c:162)
==31704==    by 0x809770C: cli_issue_write (libsmb/clireadwrite.c:326)
==31704==    by 0x809782A: cli_write (libsmb/clireadwrite.c:360)
==31704==    by 0x80623FB: rw_torture (torture/torture.c:406)
==31704==    by 0x8062601: run_torture (torture/torture.c:459)
==31704==    by 0x806F9EB: create_procs (torture/torture.c:4864)
==31704==    by 0x806FC8C: run_test (torture/torture.c:4994)
==31704==    by 0x8070442: main (torture/torture.c:5196)
==31704==  Address 0x44F835F is 63 bytes inside a block of size 131,072
alloc'd
==31704==    at 0x4021259: malloc (in
/usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==31704==    by 0x80E483B: malloc_ (lib/util.c:906)
==31704==    by 0x8088D4E: cli_negprot (libsmb/cliconnect.c:1205)
==31704==    by 0x8089A25: cli_start_connection (libsmb/cliconnect.c:1473)
==31704==    by 0x8089B8F: cli_full_connection (libsmb/cliconnect.c:1522)
==31704==    by 0x8061C1D: torture_open_connection_share
(torture/torture.c:221)
==31704==    by 0x8061E21: torture_open_connection (torture/torture.c:277)
==31704==    by 0x806F957: create_procs (torture/torture.c:4852)
==31704==    by 0x806FC8C: run_test (torture/torture.c:4994)
==31704==    by 0x8070442: main (torture/torture.c:5196)
100
==31704==
==31704== ERROR SUMMARY: 5000 errors from 1 contexts (suppressed: 3 from 1)
==31704== malloc/free: in use at exit: 596,388 bytes in 238 blocks.
==31704== malloc/free: 1,700 allocs, 1,462 frees, 1,039,934 bytes allocated.
==31704== For counts of detected errors, rerun with: -v
==31704== searching for pointers to 238 not-freed blocks.
==31704== checked 969,024 bytes.
==31704==
==31704== LEAK SUMMARY:
==31704==    definitely lost: 0 bytes in 0 blocks.
==31704==      possibly lost: 0 bytes in 0 blocks.
==31704==    still reachable: 596,388 bytes in 238 blocks.
==31704==         suppressed: 0 bytes in 0 blocks.
==31704== Reachable blocks (those to which a pointer was found) are not
shown.
==31704== To see them, rerun with: --show-reachable=yes

TORTURE took 2,60478 secs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFE/Ubpm70gjA5TCD8RAvzzAJ9RxbievEyrUB4pYgbPjYplGWhy/wCcDBMd
T9kjNRpVxvvHGvYdOOiwRpE=
=UiBC
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list