You should use Memcheck:Cond rather than Memceck:ValueX.
Try looking at valgrind --gen-suppressions=all ./test
On Sun, Jan 31, 2010 at 7:32 PM, jody jody@gmail.com wrote:
Hi
I am using g++ (Gentoo 4.3.4 p1.0, pie-10.1.5) 4.3.4
and valgrind-3.5.0
When i compile this trivial program
Thank You!
On Mon, Feb 1, 2010 at 9:44 AM, Alexander Potapenko gli...@google.com wrote:
You should use Memcheck:Cond rather than Memceck:ValueX.
Try looking at valgrind --gen-suppressions=all ./test
On Sun, Jan 31, 2010 at 7:32 PM, jody jody@gmail.com wrote:
Hi
I am using g++ (Gentoo
Hi
In a static method of class a i have the lines
605: if (pLocation != NULL) {
606: printf(Location ok\n);
607: }
608: if (iSpecies == 0) {
609: printf(Species = 0\n);
610: }
611: Agent *pAgent = pLocation-getVegAgent(iSpecies);
612: // next line
Maybe the array is uninitialised. Try printing it out. Print any value you
don't trust.
On Feb 1, 2010 5:22 AM, jody jody@gmail.com wrote:
Hi
In a static method of class a i have the lines
605: if (pLocation != NULL) {
606: printf(Location ok\n);
607: }
608: if
I accidentally replied tpo Julian only.
Here it is for the list.
Sorry, jody
-- Forwarded message --
From: jody jody@gmail.com
Date: Mon, Feb 1, 2010 at 3:21 PM
Subject: Re: [Valgrind-users] variable goes uninitialized after
'return' of method
To: Julian Seward
On Jan 31, 2010, at 1:00 AM, tom fogal wrote:
This is the wrong forum to ask for available suppression files, for
the most part. In this case, you want to go bother your MPI library
vendor.
Matt,
If you are using valgrind with MPICH2 then you should make sure that
you configure MPICH2
The method used in line 611 is in a different class:
267:Agent *Cell::getVegAgent(spcid id) const {
268: Agent *pAgent = NULL;
269: if (id NUM_VEG) {
270: pAgent = m_apVegetation[id];
271: }
272: // this is to check for uninitialized
273: if (pAgent
On Mon, Feb 1, 2010 at 5:22 PM, jody jody@gmail.com wrote:
I accidentally replied tpo Julian only.
Here it is for the list.
Sorry, jody
-- Forwarded message --
From: jody jody@gmail.com
Date: Mon, Feb 1, 2010 at 3:21 PM
Subject: Re: [Valgrind-users] variable goes