|
From: Danny A. C. G. <val...@bi...> - 2004-08-20 00:06:43
|
=2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi,=20 Im new user of Valgrind, and I dont know how to read his output.. anybody= =20 can explain what is a "Invalid read of size X" .. and can describe where i= s=20 my error here (im gettin lots of these erros.. lol): =3D=3D2961=3D=3D Invalid read of size 4 =3D=3D2961=3D=3D at 0x804EE29: C3D_Core_c::siFindCoreModulePosByType(uns= igned)=20 const (core.cpp:487) =3D=3D2961=3D=3D by 0x804EBDD: C3D_Core_c::hRegisterModule(C3D_ICoreModu= le_c*)=20 (core.cpp:407) =3D=3D2961=3D=3D by 0x804EA48: C3D_Core_c::Create() (core.cpp:232) =3D=3D2961=3D=3D by 0x804E33B: C3D_Core_c::C3D_Core_c() (core.cpp:59) =3D=3D2961=3D=3D Address 0x1C0BEE98 is 0 bytes inside a block of size 40 f= ree'd =3D=3D2961=3D=3D at 0x1B902616: operator delete(void*) (vg_replace_mallo= c.c:156) =3D=3D2961=3D=3D by 0x80796BA: C3D_MovementManager_c::~C3D_MovementManag= er_c()=20 (movementmanager.cpp:16) =3D=3D2961=3D=3D by 0x804F241:=20 C3D_SingletonBase_c<C3D_MovementManager_c>::pclCreate() (singleton.h:34) =3D=3D2961=3D=3D by 0x804EA30: C3D_Core_c::Create() (core.cpp:232) Thanks =09 =2D --=20 Danny Angelo Carminati Grein Diretor de T.I. Bitcrafters Inc. =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBJRZw3bTZQYPv0SMRAt3sAKCdDjde+j1rKWWYUxTpVVP58zUeXACffBba v4OibERi51x66suQIHB6kMM=3D =3DYDyH =2D----END PGP SIGNATURE----- |
|
From: Tom H. <th...@cy...> - 2004-08-20 06:21:04
|
In message <200...@bi...>
Danny Angelo Carminati Grein <val...@bi...> wrote:
> Im new user of Valgrind, and I dont know how to read his
> output.. anybody can explain what is a "Invalid read of size X" .. and
> can describe where is my error here (im gettin lots of these erros..
> lol):
It means your program is making an invalid read of size X bytes. In
other words it is reading through a pointer whose value is not properly
initialised.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|
|
From: Nicholas N. <nj...@ca...> - 2004-08-20 08:19:35
|
On Fri, 20 Aug 2004, Tom Hughes wrote: >> Im new user of Valgrind, and I dont know how to read his >> output.. anybody can explain what is a "Invalid read of size X" .. and >> can describe where is my error here (im gettin lots of these erros.. >> lol): > > It means your program is making an invalid read of size X bytes. In > other words it is reading through a pointer whose value is not properly > initialised. Er, no; the pointer itself is fine. But your program is accessing memory it should not. The 2nd half of your error shows that you are accessing memory inside a heap block that has been freed. See the manual for more details. N |