On Sun, May 13, 2007 at 10:04:19PM -0300, [EMAIL PROTECTED] wrote:
> Igualmente, tengo un error igualmente, que me viene molestando desde que
> inicie el desarrollo:
>
> [EMAIL PROTECTED]:~/Taller/TP4$ valgrind --leak-check=full ./server 10091 6
> ==29537== Memcheck, a memory error detector.
> ==29537== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
> ==29537== Using LibVEX rev 1471, a library for dynamic binary translation.
> ==29537== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
> ==29537== Using valgrind-3.1.0-Debian, a dynamic binary instrumentation
> framework.
> ==29537== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
> ==29537== For more details, rerun with: -v
> ==29537==
> ==29537==
> ==29537== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 8 from 1)
> ==29537== malloc/free: in use at exit: 544 bytes in 4 blocks.
> ==29537== malloc/free: 233 allocs, 229 frees, 7,061 bytes allocated.
> ==29537== For counts of detected errors, rerun with: -v
> ==29537== searching for pointers to 4 not-freed blocks.
> ==29537== checked 33,846,040 bytes.
> ==29537==
> ==29537== 544 bytes in 4 blocks are possibly lost in loss record 1 of 1
> ==29537== at 0x4A1AD7D: calloc (vg_replace_malloc.c:279)
> ==29537== by 0x400DCA8: _dl_allocate_tls (in /lib/ld-2.3.6.so)
> ==29537== by 0x4B246B8: pthread_create@@GLIBC_2.2.5 (in
> /lib/libpthread-2.3.6.so)
> ==29537== by 0x4059B6: Thread::run() (common_Thread.cpp:17)
> ==29537== by 0x4039C2: Server::main() (server_Server.cpp:41)
> ==29537== by 0x405899: Thread::static_run(void*) (common_Thread.cpp:47)
> ==29537== by 0x4B240F9: start_thread (in /lib/libpthread-2.3.6.so)
> ==29537== by 0x5189CE1: clone (in /lib/libc-2.3.6.so)
A este en particular lo podes ignorar tranquilo.
Es algo interno de la libreria de C, un calloc que hace al crear los
threads y el valgrind lo marca como un bloque _posiblemente_ perdido
(pero no esta seguro).
Pero no es un problema tuyo, ni hay algo que puedas hacer al respecto
desde tu aplicacion.
Gracias,
Alberto
_______________________________________________
Lista de correo Programacion.
[email protected]
http://listas.fi.uba.ar/mailman/listinfo/programacion