Re: [Valgrind-users] valgrind gives error for HelloWorld program

2014-07-07 Thread jody
and leaks, or like this valgrind -v ./main if am only interested in the errors. Hope this helps Jody On Mon, Jul 7, 2014 at 4:33 PM, Ying Zhang wrote: > Hello, > > I'm testing valgrind with a very simple C program: > > #include > > int main() > { >

Re: [Valgrind-users] closing bracket of destructor

2012-10-02 Thread jody
I must admit this null checking of mine is also an old school left-over... On Tue, Oct 2, 2012 at 5:16 PM, David Chapman wrote: > On 10/2/2012 7:33 AM, Patrick J. LoPresti wrote: >> >> On Tue, Oct 2, 2012 at 5:55 AM, jody wrote: >>> >>> >>> -

Re: [Valgrind-users] closing bracket of destructor

2012-10-02 Thread jody
the number of Cells was greater than 65535 the counter would wrap over to 0 and start deleting the cells with low indices for the second time. So now only my curiosity question about the closing brackets remain :) Jody On Tue, Oct 2, 2012 at 3:35 PM, jody wrote: > Thanks for the explanation.

Re: [Valgrind-users] closing bracket of destructor

2012-10-02 Thread jody
bracket of the destructor listed as the caller of the destructor itself? Jody On Tue, Oct 2, 2012 at 5:02 PM, David Faure wrote: > On Tuesday 02 October 2012 14:55:57 jody wrote: >> Th puzzling thing is that WorldTile.cpp:267 and TDWorker.cpp:130 refer >> to the closing

Re: [Valgrind-users] problem with __memcpy_ssse3_back

2012-06-14 Thread jody
Yes, i already did that (downloaded and built the tarball from the Valgrind site) - and now the memcpy messages have disappeared. Thanks again Jody On Wed, Jun 13, 2012 at 10:04 AM, Igmar Palsenberg wrote: > > >> Thank You for the information! >> I am using valgrind 3.6.1

Re: [Valgrind-users] problem with __memcpy_ssse3_back

2012-06-12 Thread jody
Thank You for the information! I am using valgrind 3.6.1-r3 (newest gentoo ebuild) Jody -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has ch

Re: [Valgrind-users] problem with __memcpy_ssse3_back

2012-06-12 Thread jody
k You Jody On Tue, Jun 12, 2012 at 4:23 PM, jody wrote: > Hi > > In my code i use memcpy to copy data between two arrays of unsigned char: >   memcpy(pNew, pDataPiece, iBlockSize); > > iBlockSize has the correct size (197) which i used to create pDataPiece > > In valgr

[Valgrind-users] problem with __memcpy_ssse3_back

2012-06-12 Thread jody
)? Do i have to copy multiples of 8 to make memcpy and/or memmove happy? Thank You Jody -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has chan

Re: [Valgrind-users] memory leak when invoking openpty

2010-04-14 Thread jody
k being only 40 bytes, i don't know if the developers will hurry with fixing this... :) jody >> jody >> >> On Wed, Apr 14, 2010 at 9:15 AM, Zhenhua Zhang   >> wrote: >>> Hi, >>> >>> Valgrind reports definitely lost memory leak when I am invo

Re: [Valgrind-users] memory leak when invoking openpty

2010-04-14 Thread jody
Hi It is very well possible that openpty itself has a leak. It is quite common that library functions don't clean up nicely after their work is done... jody On Wed, Apr 14, 2010 at 9:15 AM, Zhenhua Zhang wrote: > Hi, > > Valgrind reports definitely lost memory leak when I am invo

Re: [Valgrind-users] Problem with getting lie numbers of surce file

2010-04-14 Thread jody
Also make sure you compile with debug info (compiler option '-g' if you are using gcc) jody On Wed, Apr 14, 2010 at 8:47 AM, Bjoern Doebel wrote: > Ok. Can you add some kind of printf() to your app and see if you're > running the right binary? As uninitialized value d

Re: [Valgrind-users] Fwd: variable goes uninitialized after 'return' of method

2010-02-02 Thread jody
Thanks - i think the client-request VALGRIND_CHECK_VALUE_IS_DEFINED is what i'm looking for. Jody On Tue, Feb 2, 2010 at 8:42 AM, Konstantin Serebryany wrote: > > > On Mon, Feb 1, 2010 at 5:22 PM, jody wrote: >> >> I accidentally replied tpo Julian only. >> He

[Valgrind-users] Fwd: variable goes uninitialized after 'return' of method

2010-02-01 Thread jody
I accidentally replied tpo Julian only. Here it is for the list. Sorry, jody -- Forwarded message -- From: jody Date: Mon, Feb 1, 2010 at 3:21 PM Subject: Re: [Valgrind-users] variable goes uninitialized after 'return' of method To: Julian Seward Thank you for yo

[Valgrind-users] variable goes uninitialized after 'return' of method

2010-02-01 Thread jody
if i have interpreted the results correctly, i.e. pAgent is uninitialized only after it is returned from the method, but is ok inside the method. If this is true, how can this happen? Thank YOu Jody -- The Planet: dedicated and

Re: [Valgrind-users] Is it possible to suppress ??? (in /lib/ld-2.10.1.so) in a valgrind output?

2010-02-01 Thread jody
Thank You! On Mon, Feb 1, 2010 at 9:44 AM, Alexander Potapenko 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 wrote: >> Hi >> I am using g++ (Gentoo 4.3.4

[Valgrind-users] Is it possible to suppress ??? (in /lib/ld-2.10.1.so) in a valgrind output?

2010-01-31 Thread jody
in my suppression file? Thank You Jody -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and manag

Re: [Valgrind-users] need help: valgrind internal error

2009-04-14 Thread jody
Hi graham Are you sure that all libraries needed by valgrind are accessible on all your nodes? If it is Open MPIy wrote: > On Wed, Apr 15, 2009 at 6:31 AM, Graham Mark wrote: >> >> I'm trying to track down the cause of a seg fault in my MPI program. >> Here's what happens with valgrind. >> >> % m

Re: [Valgrind-users] Possible data race during read of size 4

2009-01-29 Thread jody
Bart I modified the glibc-2.X-drd.supp and recompiled valgrind. It works - the printf() are not complained about anymore. Thanks! Jody On Thu, Jan 29, 2009 at 11:06 AM, Bart Van Assche wrote: > On Thu, Jan 29, 2009 at 9:58 AM, jody wrote: >> I tried out DRD, but even though i rea

Re: [Valgrind-users] Possible data race during read of size 4

2009-01-29 Thread jody
don't seem to bother DRD... Jody On Thu, Jan 29, 2009 at 10:39 AM, Rainer Gerhards wrote: > On Thu, Jan 29, 2009 at 9:58 AM, jody wrote: >> Hi >> I tried out DRD, but even though i read the DRD manual, >> i don't really understand the output (i used --tool=drd -

Re: [Valgrind-users] Possible data race during read of size 4

2009-01-29 Thread jody
one to one of the worker threads. > Only if there are no available worker threads does it create new > threads. > Here again, this would probably have to be done by some sign-in/sign-out mechanism... Thanks for the suggestions Jody > J >

Re: [Valgrind-users] Possible data race during read of size 4

2009-01-29 Thread jody
/lib/libc-2.7.so) ==19067==by 0x40090C3: pthread_create* (drd_pthread_intercepts.c:295) ==19067==by 0x8049A4C: OutputCollector::start() (OutputCollector.cpp:103) ==19067==by 0x804918F: main (in /home/jody/progs/outputredir/OCTest) ==19067== Other segment end (thread 1/1) ==19067==

Re: [Valgrind-users] Possible data race during read of size 4

2009-01-29 Thread jody
eed to keep track of the threads? Thank You Jody On Wed, Jan 28, 2009 at 10:18 PM, Rainer Gerhards wrote: > I agree to these comments, but would also recommend to not *only* use > helgrind but also the new DRD tool. DRD did an excellent job for my > project. The newest release

[Valgrind-users] Possible data race during read of size 4

2009-01-28 Thread jody
deque.h:725) ==18078==by 0x804C64D: LineBuffer::~LineBuffer() (LineBuffer.cpp:21) ==18078==by 0x8049FC2: OutBuffer::~OutBuffer() (OutBuffer.cpp:28) ==18078==by 0x8049205: main (in /home/jody/progs/outputredir/OCTest) ==18078== This conflicts with a previous write of size 4 by thread #3

Re: [Valgrind-users] Syscall param socketcall.accept(addr) points to unaddressable byte(s)

2009-01-28 Thread jody
Thanks for the explanation - that fixed the issue! Jody On Wed, Jan 28, 2009 at 11:27 AM, Tom Hughes wrote: > jody wrote: > >> I simplified the server to the point where it only calls accept (see >> below), >> and the errors still prevail. >> I compile it with >

[Valgrind-users] Syscall param socketcall.accept(addr) points to unaddressable byte(s)

2009-01-28 Thread jody
and the errors still prevail. I compile it with g++ -g -Wall dummysrv.cpp -o dummysrv (g++ (GCC) 4.1.2 20070925 (Red Hat 4.1.2-33)) What do these messages mean and how can i fix that? The position "below main" is a little bit vague... Thank You Jody Here's the code: #in