Hi,
I've a simple test code that tries to write 3 int64 into a int32x3 array:
==9632== Invalid write of size 8
==9632== at 0x4005D7: to_network (in /u/feih/mytest/a.out)
==9632== by 0x40062E: main (in /u/feih/mytest/a.out)
*==9632== Address 0x405D038 is 8 bytes inside a block of size 12 alloc'd*
==9632== at 0x4C1F809: malloc (vg_replace_malloc.c:149)
==9632== by 0x400615: main (in /u/feih/mytest/a.out)
==9632==
==9632== ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 4 from 1)
>From what I can see above, after the 2nd write of int64, valgrind exits
without trying to write the third one. Does it mean the other error is
suppressed?
What does it mean for 2 errors from 1 contexts?
If it is suppressed, it is then interesting to know that a similar run in
freebsd-port won't:)
[valgrind version 3.2.1]
--
-Fei
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users