==21339== Memcheck, a memory error detector. ==21339== Copyright (C) 2002-2008, and GNU GPL'd, by Julian Seward et al. ==21339== Using LibVEX rev 1884, a library for dynamic binary translation. ==21339== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP. ==21339== Using valgrind-3.4.1, a dynamic binary instrumentation framework. ==21339== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al. ==21339== For more details, rerun with: -v ==21339== ==21339== My PID = 21339, parent PID = 8758. Prog and args are: ==21339== ./a.out ==21339== ==21339== Source and destination overlap in strncpy(0x50CBFB8, 0x50CBFB8, 20) ==21339== at 0x4C25623: strncpy (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==21339== by 0x4E5A102: fl_get_resource (in /usr/lib64/libforms.so.1.0.0) ==21339== by 0x4E5A279: (within /usr/lib64/libforms.so.1.0.0) ==21339== by 0x4E5A321: fl_get_app_resources (in /usr/lib64/libforms.so.1.0.0) ==21339== by 0x4E5A90A: fl_initialize (in /usr/lib64/libforms.so.1.0.0) ==21339== by 0x400737: main (in /home/didomax/tmp/devel/testXforms/a.out) ==21339== ==21339== Source and destination overlap in strncpy(0x50CBFB8, 0x50CBFB8, 20) ==21339== at 0x4C25623: strncpy (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==21339== by 0x4E5A102: fl_get_resource (in /usr/lib64/libforms.so.1.0.0) ==21339== by 0x4E5A279: (within /usr/lib64/libforms.so.1.0.0) ==21339== by 0x4E5A90A: fl_initialize (in /usr/lib64/libforms.so.1.0.0) ==21339== by 0x400737: main (in /home/didomax/tmp/devel/testXforms/a.out) ==21339== ==21339== ERROR SUMMARY: 6 errors from 2 contexts (suppressed: 21 from 3) ==21339== malloc/free: in use at exit: 665,392 bytes in 1,359 blocks. ==21339== malloc/free: 13,283 allocs, 11,924 frees, 2,510,393 bytes allocated. ==21339== For counts of detected errors, rerun with: -v ==21339== searching for pointers to 1,359 not-freed blocks. ==21339== checked 827,136 bytes. ==21339== ==21339== LEAK SUMMARY: ==21339== definitely lost: 0 bytes in 0 blocks. ==21339== possibly lost: 8 bytes in 1 blocks. ==21339== still reachable: 665,384 bytes in 1,358 blocks. ==21339== suppressed: 0 bytes in 0 blocks. ==21339== Rerun with --leak-check=full to see details of leaked memory.