[ENet-discuss] eNet and valgrind.

Eric Boniface eric.boniface at inrialpes.fr
Fri Apr 29 04:06:48 PDT 2005


Hi all ! 

I have made programs using eNet (great library !) on a client/server
schema.

Now I am debugging my programs thanks to the valgrind tools and I have
several messages like this : 

(1) ==9193== Syscall param socketcall.sendmsg(msg.msg_name) points to
uninitialised byte(s)
(1) ==9193==    at 0x6345F1: sendmsg (in /lib/tls/libc-2.3.3.so)
(1) ==9193==    by 0x8062943: enet_protocol_send_outgoing_commands
(protocol.c:1120)
(1) ==9193==    by 0x8062B76: enet_host_service (protocol.c:1217)
(1) ==9193==    by 0x805CECF: PVBaseServer::shutdown(int)
(PVCommServer.cpp:74)
(1) ==9193==    by 0x80583B3: main (main.cpp:150)
(1) ==9193==  Address 0x52BFE348 is on thread 1's stack

or like this one : 
(1) ==9193== Syscall param socketcall.sendmsg(msg.msg_name) points to
uninitialised byte(s)
(1) ==9193==    at 0x6345F1: sendmsg (in /lib/tls/libc-2.3.3.so)
(1) ==9193==    by 0x8062943: enet_protocol_send_outgoing_commands
(protocol.c:1120)
(1) ==9193==    by 0x8062B32: enet_host_service (protocol.c:1189)
(1) ==9193==    by 0x805EF47: PVBaseClient::PVBaseClient(char const*,
int, int, PeerType) (PVCommClient.cpp:45)
(1) ==9193==    by 0x8051599: eNetClient::eNetClient(char const*, int,
int) (clientMapServer.cpp:38)


I try to find where is the problem, but I did not succeed.
Do you have any idea ? 

Thanks in advance ! 
Eric.

-- 
___________________________________________________________________
 Eric Boniface
 Equipe e-Motion / Projet Parkview
 *********************************
Tél. : (33).(0)4.76.61.55.82
 INRIA ­ Rhône-Alpes
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.puremagic.com/pipermail/enet-discuss/attachments/20050429/3cca2faf/attachment.pgp


More information about the ENet-discuss mailing list