ajit gunge peacepan...@yahoo.com writes:
I wanted to know are there any good programs which I can refer too to
get the real feel of valgrind.I want to use this tool and see exactly
how this works and I ant to know all the options.Is it used only for
mem leak issues or any thing apart from
ajit gunge peacepan...@yahoo.com writes:
I am trying to install valgrind on one of my servers which is running
RHEL.It is asking password for me to install.I dotn know what
password I have to give for running valgri nd.Can anyone suggest what
am I doing wrong.
You do not need a password to
Massif is saying that I have allocated a (quite large) std::vector
inside my `main' function [1]. The vector template is not used at all
in the file which declares the main function.
Is this vector coming from a static initializer, then? How can I
identify the location of the allocation?
This
maxime louvel m.lou...@gmail.com writes:
The problem is that decoders have real-time constraints and thus
monitoring an overwhelmed application may lead to false information.
I don't think anything akin to valgrind is the right tool for the job.
Just try running your program through the null
Kenneth Simpson cin...@altos-da.com writes:
When I run a program with stderr to the screen and stdio to a file, valgrind
and gdb work fine.
But when I run the same program with stderr and stdio to the same file, gdb c
an't attach to the process (which results in a defunct process.)
Matt Funk matze...@gmx.net writes:
{
insert_a_suppression_name_here
Memcheck:Param
write(buf)
fun:__write_nocancel
fun:ibv_cmd_create_cq
fun:mthca_create_cq
fun:ibv_create_cq@@IBVERBS_1.1
fun:rdma_iba_hca_init
fun:MPIDI_CH3I_RMDA_init
fun:MPIDI_CH3_Init
writes:
I've a simple FORTRAN code that does some operation (no more than
addition and multiplication) with complex number.
I've compiled my code with the -g option and with the -o3. And some
of the resulting values are different. So I started inserting some
WRITE statements in the
I'm seeing leaks such as [1] and [2] in an application I work on. A
potential caveat is that I am compiling with _GLIBCXX_DEBUG, and thus I
should be getting a debug STL -- though by the internal names I see in
the symbols here, I don't appear to be getting any sort of debug bits
for std::string.
Zvi Vered vered...@gmail.com writes:
When I ran 'valgrind ln -l' I got:
valgrind: failed to start tool 'memcheck' for platform 'x86-linux': no
such file or directory
What can be the reason for such an error ?
AFAIK, valgrind is only a thin wrapper whose job it is to effectively
or exactly
Nathan Rittenhouse nath...@csail.mit.edu writes:
Currently, I'm running the Catchconv Valgrind extension against
an application to generate a path constraint. The application in
question clones() several times and even has a clone() from inside of
a clone()'d thread/process.
I added some
interact with many people that use even posix shared memory anyway.
-tom
[1] http://valgrind.org/docs/manual/dist.news.html
On Thu, Jan 7, 2010 at 6:06 AM, tom fogal tfo...@alumni.unh.edu wrote:
Milind kmil...@gmail.com writes:
[snip]
I am writing an application that will run on a system
writes:
Hi All,
I have a bunch of C++ application which runs as daemons in Linux.
Another reason for it to crash might be corrupted input data that it
processes.
I used --leak-check=yes and --log-file=foo.txt options with Valgrind.
However, Valgrind did not report any invalid write/read
waseem shaukat exactlypinpo...@hotmail.com writes:
For your help=2C i have tried make clean and make distclean but st=
ill i got the same error. Is there another way to get rid of this corrupt l=
ibrary.
Just rm the whole directory and re-extract from a tarball.
-tom
From:
Christopher Kuhlman ckuhl...@vbi.vt.edu writes:
The internet pages say that for uninitialized value errors, it is
helpful to specify the --track-origins=yes option.
Yet when I do, I get:
valgrind: Bad option '--track-origins=yes'; aborting.
Check the version fo valgrind you've got.
Michel Audette michel.aude...@kitware.com writes:
See example below. I don't recall details of offending instructions
being replaced by ??? in the past. Is this a new option that I should
be setting, or an indication of a spurious error?
==27271== Use of uninitialised value of size 8
Jonathon thejunk...@gmail.com writes:
Thanks Tom for the help. The --db-attach command is very cool :)
np.
So with the invalid read, it is trying to read an address that is not
valid. Would you happen to know what the line 16 bytes inside a
block 24 free'd means?
I think it's telling you
Ivan Ivanov barberis...@gmail.com writes:
Just in case: the purpose why I need that is that I'd like to quickly
find the source line where the allocation (and possible deallocation
if this is a dangling pointer) of memory for some problematic object
occurred. The point is when there are a lot
Russell E. Owen ro...@u.washington.edu writes:
I'm trying to install Valgrid 3.4.1 on a shared disk in such a way that
all of our users can use it, though we have a mix of various flavors of
linux box (x86 64-bit, 32-bit and AMD64).
[snip]
`cd' to the
directory where you want the object
patrick.al...@noaa.gov writes:
I am using valgrind 3.4.1 to try to find a memory leak. My
program has an initial routine which allocates a lot of memory -
around 1 GB. When I run the program by itself it runs fine, however
when I run it under valgrind, one of the many malloc calls in
the
-blah -m64 -moreblah something.c
you can also check if the binary under test is 64bit with `file'.
-tom
Patrick
On Thu, May 14, 2009 at 03:03:37PM -0600, tom fogal wrote:
patrick.al...@noaa.gov writes:
I am using valgrind 3.4.1 to try to find a memory leak. My
program has an initial
Colin Miller colin.mil...@picsel.com writes:
tom fogal wrote:
I'm seeing valgrind stack traces that point to errors from libraries
which shouldn't be relevant to the given error messages. Here's an
example:
snipped
Any idea what's going on, or how I might debug this further
I'm seeing valgrind stack traces that point to errors from libraries
which shouldn't be relevant to the given error messages. Here's an
example:
Conditional jump or move depends on uninitialised value(s)
at 0x4C230A8: strlen (mc_replace_strmem.c:242)
by 0x402702:
Micah N Gorrell valgrindus...@minego.net writes:
On Thu, 12 Feb 2009, valgrind-users-boun...@lists.sourceforge.net wrote:
On Thu, 12 Feb 2009, valgrind-users-boun...@lists.sourceforge.net wrote:
So, if SocketReceive returned an uninitialised value then
it can cause this? So that
Christoph Bartoschek bartosc...@or.uni-bonn.de writes:
Am Donnerstag, 5. Februar 2009 schrieb Julian Seward:
On Thursday 05 February 2009, Christoph Bartoschek wrote:
Hi,
today I had to learn that the attached program is incorrect. It is not
allowed to destroy the barrier while not
Fernando Coelho fgmcoe...@yahoo.com.br writes:
[snip]
For a final question, is there any log option that I am missing or it just =
write the result on the screen?
$ valgrind --log-file=myprog.vg.%p /path/to/your/program --options
the `%p' gets replace with the process ID, which is nice
Burlen Loring burlen.lor...@kitware.com writes:
Hi all,
Hi Burlen! Hope all is well.
Valgrind identifies uninitialized memory when it's used in a
conditional. It's very smart and can tell when one uninitialized
value is assigned to another. I'd like to be able to see is a trace
of all of
Julian Seward [EMAIL PROTECTED] writes:
Darryl (I think) wants to see is something like:
while in T1's C.S. `x', the variable `abc':
saw a write from T1 of size whatever
saw a write from T4 of size whatever
saw a read from T3 of size whatever
Darryl Miles [EMAIL PROTECTED] writes:
tom fogal wrote:
One thing I neglected to think about earlier is how one would do a
`Can I still run?' check. There is no notification to a user process
when a context switch comes back.
Remember that valgrind instruments instructions.
[snip
28 matches
Mail list logo