td::endl;
4
5 int fun(int d)
6 {
7 return d+1;
8 }
9
10 int main(int argc, char **argv)
11 {
12int r,q,j;
13
14q=j;
15r=fun(q);
16if (r) { ++k; }
17cerr << k << endl;
18
19return 0;
20 }
--
Burlen Loring
Kitware, Inc.
R&D Engineer
28 Corpora
Hi All,
I like to understand better the following reports. I have a buffer that
I allocated and that gets filled by MPI recv. However, for every access
to the buffer valgrind produce a report similar to the following first
report shown here:
Invalid read of size 4
Address 0x1788a6d0 is
On 03/27/2016 03:08 AM, Tom Hughes wrote:
On 26/03/16 19:15, Burlen Loring wrote:
I like to understand better the following reports. I have a buffer that
I allocated and that gets filled by MPI recv. However, for every access
to the buffer valgrind produce a report similar to the following