while running amule from amule-cvs-20051006 inside valgrind I have many mesages like this in the log file. it's the first time I use valgrind, so I don't know if this kind of message is useful or not. It seems to me this could lead to memory corruption: is this true?
command line:
valgrind --tool=memcheck --log-file=amule-log /home/davide/src/amule-cvs/src/amule
amule didn't crash, but doesn't refresh the window anymore, and I cannot close it without killing it.
==4482== Address 0x1E1FFDA4 is 820 bytes inside a block of size 1056 free'd
==4482== at 0x1B904B04: free (vg_replace_malloc.c:152)
==4482== by 0x1BFC5029: wxString::Shrink() (in /usr/lib/libwx_base-2.6.so.0.2.0)
==4482== by 0x1BFC64C9: wxString::PrintfV(char const*, char*) (in /usr/lib/libwx_base-2.6.so.0.2.0)
==4482== by 0x1BFC632C: wxString::Format(char const*, ...) (in /usr/lib/libwx_base-2.6.so.0.2.0)
==4482== by 0x8091E21: CUpDownClient::ReGetClientSoft() (BaseClient.cpp:1651)
==4482== by 0x808CE72: CUpDownClient::ProcessHelloTypePacket(CMemFile const&) (BaseClient.cpp:600)
==4482== by 0x808C250: CUpDownClient::ProcessHelloAnswer(char const*, unsigned) (BaseClient.cpp:384)
==4482== by 0x8145C26: CClientReqSocket::ProcessPacket(char const*, unsigned, unsigned char) (ListenSocket.
cpp:280)
==4482== by 0x814FAC6: CClientReqSocket::PacketReceived(CPacket*) (ListenSocket.cpp:1802)
==4482== by 0x8112CB3: CEMSocket::OnReceive(int) (EMSocket.cpp:308)
==4482== by 0x814F2CC: CClientReqSocket::OnReceive(int) (ListenSocket.cpp:1730)
==4482== by 0x8144BFA: CClientReqSocketHandler::ClientReqSocketHandler(wxSocketEvent&) (ListenSocket.cpp:96)
cheers
tindal