==21490== Memcheck, a memory error detector ==21490== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al. ==21490== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info ==21490== Command: /usr/sbin/gparted ==21490== --21490-- Valgrind options: --21490-- -v --21490-- Contents of /proc/version: --21490-- Linux version 4.0.0-040000-generic (kernel@gomeisa) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201504121935 SMP Sun Apr 12 23:36:33 UTC 2015 --21490-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-rdtscp-sse3-avx --21490-- Page sizes: currently 4096, max supported 4096 --21490-- Valgrind library directory: /usr/lib/valgrind --21490-- Reading syms from /bin/dash --21490-- object doesn't have a symbol table --21490-- Reading syms from /lib/x86_64-linux-gnu/ld-2.21.so --21490-- Considering /lib/x86_64-linux-gnu/ld-2.21.so .. --21490-- .. CRC mismatch (computed 9395ff2d wanted 2e4c1d87) --21490-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.21.so .. --21490-- .. CRC is valid --21490-- Reading syms from /usr/lib/valgrind/memcheck-amd64-linux --21490-- Considering /usr/lib/valgrind/memcheck-amd64-linux .. --21490-- .. CRC mismatch (computed effb36b8 wanted 8eebc46f) --21490-- object doesn't have a symbol table --21490-- object doesn't have a dynamic symbol table --21490-- Scheduler: using generic scheduler lock implementation. --21490-- Reading suppressions file: /usr/lib/valgrind/default.supp ==21490== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-21490-by-root-on-??? ==21490== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-21490-by-root-on-??? ==21490== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-21490-by-root-on-??? ==21490== ==21490== TO CONTROL THIS PROCESS USING vgdb (which you probably ==21490== don't want to do, unless you know exactly what you're doing, ==21490== or are doing some strange experiment): ==21490== /usr/lib/valgrind/../../bin/vgdb --pid=21490 ...command... ==21490== ==21490== TO DEBUG THIS PROCESS USING GDB: start GDB like this ==21490== /path/to/gdb /usr/sbin/gparted ==21490== and then give GDB the following command ==21490== target remote | /usr/lib/valgrind/../../bin/vgdb --pid=21490 ==21490== --pid is optional if only one valgrind process is running ==21490== --21490-- REDIR: 0x401ad80 (ld-linux-x86-64.so.2:strlen) redirected to 0x380c21d1 (???) --21490-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so --21490-- Considering /usr/lib/valgrind/vgpreload_core-amd64-linux.so .. --21490-- .. CRC mismatch (computed b2803277 wanted bc3062f6) --21490-- object doesn't have a symbol table --21490-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so --21490-- Considering /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so .. --21490-- .. CRC mismatch (computed 93d07400 wanted cd3e6e0b) --21490-- object doesn't have a symbol table ==21490== WARNING: new redirection conflicts with existing -- ignoring it --21490-- old: 0x0401ad80 (strlen ) R-> (0000.0) 0x380c21d1 ??? --21490-- new: 0x0401ad80 (strlen ) R-> (2007.0) 0x04c2f1e0 strlen --21490-- REDIR: 0x401aae0 (ld-linux-x86-64.so.2:index) redirected to 0x4c2ed90 (index) --21490-- REDIR: 0x401ad00 (ld-linux-x86-64.so.2:strcmp) redirected to 0x4c30290 (strcmp) --21490-- REDIR: 0x401ba70 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x4c32de0 (mempcpy) --21490-- Reading syms from /lib/x86_64-linux-gnu/libc-2.21.so --21490-- Considering /lib/x86_64-linux-gnu/libc-2.21.so .. --21490-- .. CRC mismatch (computed 9362f137 wanted 040e4cfb) --21490-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.21.so .. --21490-- .. CRC is valid --21490-- REDIR: 0x4ec79b0 (libc.so.6:strcasecmp) redirected to 0x4a26730 (_vgnU_ifunc_wrapper) --21490-- REDIR: 0x4ec9ca0 (libc.so.6:strncasecmp) redirected to 0x4a26730 (_vgnU_ifunc_wrapper) --21490-- REDIR: 0x4ec7130 (libc.so.6:memcpy@GLIBC_2.2.5) redirected to 0x4a26730 (_vgnU_ifunc_wrapper) --21490-- REDIR: 0x4ec65e0 (libc.so.6:strstr) redirected to 0x4a26730 (_vgnU_ifunc_wrapper) --21490-- REDIR: 0x4ec3100 (libc.so.6:strcpy) redirected to 0x4a26730 (_vgnU_ifunc_wrapper) --21490-- REDIR: 0x4ec7800 (libc.so.6:stpcpy) redirected to 0x4a26730 (_vgnU_ifunc_wrapper) --21490-- REDIR: 0x4ec1a20 (libc.so.6:index) redirected to 0x4a26730 (_vgnU_ifunc_wrapper) --21490-- REDIR: 0x4ec5a40 (libc.so.6:strspn) redirected to 0x4a26730 (_vgnU_ifunc_wrapper) --21490-- REDIR: 0x4ec3220 (libc.so.6:strcspn) redirected to 0x4a26730 (_vgnU_ifunc_wrapper) --21490-- REDIR: 0x4ec6b70 (libc.so.6:bcmp) redirected to 0x4a26730 (_vgnU_ifunc_wrapper) --21490-- REDIR: 0x4ec1c70 (libc.so.6:strcmp) redirected to 0x4a26730 (_vgnU_ifunc_wrapper) --21490-- REDIR: 0x4ecc380 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x4a26730 (_vgnU_ifunc_wrapper) --21490-- REDIR: 0x4ec56c0 (libc.so.6:strpbrk) redirected to 0x4a26730 (_vgnU_ifunc_wrapper) --21490-- REDIR: 0x4ec7300 (libc.so.6:mempcpy) redirected to 0x4a26730 (_vgnU_ifunc_wrapper) --21490-- REDIR: 0x4ec53d0 (libc.so.6:rindex) redirected to 0x4c2ea70 (rindex) --21490-- REDIR: 0x4ec1a50 (libc.so.6:__GI_strchr) redirected to 0x4c2ebd0 (__GI_strchr) --21490-- REDIR: 0x4ebc4a0 (libc.so.6:malloc) redirected to 0x4c2bb30 (malloc) --21490-- REDIR: 0x4ece710 (libc.so.6:strchrnul) redirected to 0x4c32a00 (strchrnul) --21490-- REDIR: 0x4ec36d0 (libc.so.6:strlen) redirected to 0x4c2f120 (strlen) --21490-- REDIR: 0x4ecc3f0 (libc.so.6:__GI_memcpy) redirected to 0x4c30c90 (__GI_memcpy) --21490-- REDIR: 0x4f931e0 (libc.so.6:__mempcpy_ssse3_back) redirected to 0x4c32b10 (mempcpy) --21490-- REDIR: 0x4ed7ca0 (libc.so.6:__strcmp_sse2_unaligned) redirected to 0x4c30150 (strcmp) --21490-- REDIR: 0x4ed7f50 (libc.so.6:__memcpy_sse2_unaligned) redirected to 0x4c30670 (memcpy@@GLIBC_2.14) --21490-- REDIR: 0x4ebc850 (libc.so.6:free) redirected to 0x4c2cda0 (free) --21490-- REDIR: 0x4f81e40 (libc.so.6:__strcspn_sse42) redirected to 0x4c331e0 (strcspn) --21490-- REDIR: 0x4f81f80 (libc.so.6:__strpbrk_sse42) redirected to 0x4c33180 (strpbrk) --21490-- REDIR: 0x4fa5c80 (libc.so.6:__memcmp_sse4_1) redirected to 0x4c31ca0 (__memcmp_sse4_1) --21490-- REDIR: 0x4ebca20 (libc.so.6:realloc) redirected to 0x4c2de30 (realloc) --21505-- REDIR: 0x4edcb10 (libc.so.6:__strcpy_sse2_unaligned) redirected to 0x4c2f200 (strcpy) ==21505== Warning: invalid file descriptor -1 in syscall close() ==21505== at 0x4F2FB10: __close_nocancel (syscall-template.S:81) ==21505== by 0x10F031: ??? (in /bin/dash) ==21505== by 0x10E745: ??? (in /bin/dash) ==21505== by 0x10FB3D: ??? (in /bin/dash) ==21505== by 0x112BBD: ??? (in /bin/dash) ==21505== by 0x112EFA: ??? (in /bin/dash) ==21505== by 0x10F48F: ??? (in /bin/dash) ==21505== by 0x10E745: ??? (in /bin/dash) ==21505== by 0x10E8A5: ??? (in /bin/dash) ==21505== by 0x11591D: ??? (in /bin/dash) ==21505== by 0x10CD2F: ??? (in /bin/dash) ==21505== by 0x4E58A3F: (below main) (libc-start.c:289) ==21505== ==21505== HEAP SUMMARY: ==21505== in use at exit: 2,310 bytes in 38 blocks ==21505== total heap usage: 41 allocs, 3 frees, 2,446 bytes allocated ==21505== ==21505== Searching for pointers to 38 not-freed blocks ==21505== Checked 78,976 bytes ==21505== ==21505== LEAK SUMMARY: ==21505== definitely lost: 0 bytes in 0 blocks ==21505== indirectly lost: 0 bytes in 0 blocks ==21505== possibly lost: 0 bytes in 0 blocks ==21505== still reachable: 2,310 bytes in 38 blocks ==21505== suppressed: 0 bytes in 0 blocks ==21505== Rerun with --leak-check=full to see details of leaked memory ==21505== ==21505== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==21505== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) --21490-- REDIR: 0x4edcb10 (libc.so.6:__strcpy_sse2_unaligned) redirected to 0x4c2f200 (strcpy) ==21508== Warning: invalid file descriptor -1 in syscall close() ==21508== at 0x4F2FB10: __close_nocancel (syscall-template.S:81) ==21508== by 0x10F031: ??? (in /bin/dash) ==21508== by 0x10E745: ??? (in /bin/dash) ==21508== by 0x10FB3D: ??? (in /bin/dash) ==21508== by 0x112BBD: ??? (in /bin/dash) ==21508== by 0x112EFA: ??? (in /bin/dash) ==21508== by 0x10EB78: ??? (in /bin/dash) ==21508== by 0x10E8FC: ??? (in /bin/dash) ==21508== by 0x11591D: ??? (in /bin/dash) ==21508== by 0x10CD2F: ??? (in /bin/dash) ==21508== by 0x4E58A3F: (below main) (libc-start.c:289) ==21509== ==21509== HEAP SUMMARY: ==21509== in use at exit: 10,554 bytes in 41 blocks ==21509== total heap usage: 52 allocs, 11 frees, 12,466 bytes allocated ==21509== ==21509== Searching for pointers to 41 not-freed blocks ==21509== Checked 79,352 bytes ==21509== ==21509== LEAK SUMMARY: ==21509== definitely lost: 0 bytes in 0 blocks ==21509== indirectly lost: 0 bytes in 0 blocks ==21509== possibly lost: 0 bytes in 0 blocks ==21509== still reachable: 10,554 bytes in 41 blocks ==21509== suppressed: 0 bytes in 0 blocks ==21509== Rerun with --leak-check=full to see details of leaked memory ==21509== ==21509== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==21509== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==21508== ==21508== HEAP SUMMARY: ==21508== in use at exit: 2,901 bytes in 42 blocks ==21508== total heap usage: 51 allocs, 9 frees, 4,285 bytes allocated ==21508== ==21508== Searching for pointers to 42 not-freed blocks ==21508== Checked 79,688 bytes ==21508== ==21508== LEAK SUMMARY: ==21508== definitely lost: 0 bytes in 0 blocks ==21508== indirectly lost: 0 bytes in 0 blocks ==21508== possibly lost: 0 bytes in 0 blocks ==21508== still reachable: 2,901 bytes in 42 blocks ==21508== suppressed: 0 bytes in 0 blocks ==21508== Rerun with --leak-check=full to see details of leaked memory ==21508== ==21508== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==21508== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==21511== Warning: invalid file descriptor -1 in syscall close() ==21511== at 0x4F2FB10: __close_nocancel (syscall-template.S:81) ==21511== by 0x10F031: ??? (in /bin/dash) ==21511== by 0x10E745: ??? (in /bin/dash) ==21511== by 0x10FB3D: ??? (in /bin/dash) ==21511== by 0x112BBD: ??? (in /bin/dash) ==21511== by 0x112EFA: ??? (in /bin/dash) ==21511== by 0x10F48F: ??? (in /bin/dash) ==21511== by 0x10E745: ??? (in /bin/dash) ==21511== by 0x10E8A5: ??? (in /bin/dash) ==21511== by 0x10E745: ??? (in /bin/dash) ==21511== by 0x10EBFA: ??? (in /bin/dash) ==21511== by 0x10E8FC: ??? (in /bin/dash) ==21511== ==21511== HEAP SUMMARY: ==21511== in use at exit: 2,939 bytes in 44 blocks ==21511== total heap usage: 67 allocs, 23 frees, 4,520 bytes allocated ==21511== ==21511== Searching for pointers to 44 not-freed blocks ==21511== Checked 79,960 bytes ==21511== ==21511== LEAK SUMMARY: ==21511== definitely lost: 0 bytes in 0 blocks ==21511== indirectly lost: 0 bytes in 0 blocks ==21511== possibly lost: 0 bytes in 0 blocks ==21511== still reachable: 2,939 bytes in 44 blocks ==21511== suppressed: 0 bytes in 0 blocks ==21511== Rerun with --leak-check=full to see details of leaked memory ==21511== ==21511== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==21511== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==21514== Warning: invalid file descriptor -1 in syscall close() ==21514== at 0x4F2FB10: __close_nocancel (syscall-template.S:81) ==21514== by 0x10F031: ??? (in /bin/dash) ==21514== by 0x10E745: ??? (in /bin/dash) ==21514== by 0x10FB3D: ??? (in /bin/dash) ==21514== by 0x112BBD: ??? (in /bin/dash) ==21514== by 0x112EFA: ??? (in /bin/dash) ==21514== by 0x10EB78: ??? (in /bin/dash) ==21514== by 0x10E8FC: ??? (in /bin/dash) ==21514== by 0x11591D: ??? (in /bin/dash) ==21514== by 0x10CD2F: ??? (in /bin/dash) ==21514== by 0x4E58A3F: (below main) (libc-start.c:289) ==21515== ==21515== HEAP SUMMARY: ==21515== in use at exit: 10,670 bytes in 46 blocks ==21515== total heap usage: 85 allocs, 39 frees, 17,418 bytes allocated ==21515== ==21515== Searching for pointers to 46 not-freed blocks ==21515== Checked 79,432 bytes ==21515== ==21515== LEAK SUMMARY: ==21515== definitely lost: 0 bytes in 0 blocks ==21515== indirectly lost: 0 bytes in 0 blocks ==21515== possibly lost: 0 bytes in 0 blocks ==21515== still reachable: 10,670 bytes in 46 blocks ==21515== suppressed: 0 bytes in 0 blocks ==21515== Rerun with --leak-check=full to see details of leaked memory ==21515== ==21515== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==21515== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==21514== ==21514== HEAP SUMMARY: ==21514== in use at exit: 3,017 bytes in 47 blocks ==21514== total heap usage: 84 allocs, 37 frees, 9,237 bytes allocated ==21514== ==21514== Searching for pointers to 47 not-freed blocks ==21514== Checked 79,768 bytes ==21514== ==21514== LEAK SUMMARY: ==21514== definitely lost: 0 bytes in 0 blocks ==21514== indirectly lost: 0 bytes in 0 blocks ==21514== possibly lost: 0 bytes in 0 blocks ==21514== still reachable: 3,017 bytes in 47 blocks ==21514== suppressed: 0 bytes in 0 blocks ==21514== Rerun with --leak-check=full to see details of leaked memory ==21514== ==21514== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==21514== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==21517== Warning: invalid file descriptor -1 in syscall close() ==21517== at 0x4F2FB10: __close_nocancel (syscall-template.S:81) ==21517== by 0x10F031: ??? (in /bin/dash) ==21517== by 0x10E745: ??? (in /bin/dash) ==21517== by 0x10FB3D: ??? (in /bin/dash) ==21517== by 0x112BBD: ??? (in /bin/dash) ==21517== by 0x112EFA: ??? (in /bin/dash) ==21517== by 0x10EB78: ??? (in /bin/dash) ==21517== by 0x10E8FC: ??? (in /bin/dash) ==21517== by 0x11591D: ??? (in /bin/dash) ==21517== by 0x10CD2F: ??? (in /bin/dash) ==21517== by 0x4E58A3F: (below main) (libc-start.c:289) ==21518== ==21518== HEAP SUMMARY: ==21518== in use at exit: 10,723 bytes in 48 blocks ==21518== total heap usage: 108 allocs, 60 frees, 19,419 bytes allocated ==21518== ==21518== Searching for pointers to 48 not-freed blocks ==21518== Checked 79,496 bytes ==21518== ==21518== LEAK SUMMARY: ==21518== definitely lost: 0 bytes in 0 blocks ==21518== indirectly lost: 0 bytes in 0 blocks ==21518== possibly lost: 0 bytes in 0 blocks ==21518== still reachable: 10,723 bytes in 48 blocks ==21518== suppressed: 0 bytes in 0 blocks ==21518== Rerun with --leak-check=full to see details of leaked memory ==21518== ==21518== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==21518== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==21517== ==21517== HEAP SUMMARY: ==21517== in use at exit: 3,070 bytes in 49 blocks ==21517== total heap usage: 107 allocs, 58 frees, 11,238 bytes allocated ==21517== ==21517== Searching for pointers to 49 not-freed blocks ==21517== Checked 79,840 bytes ==21517== ==21517== LEAK SUMMARY: ==21517== definitely lost: 0 bytes in 0 blocks ==21517== indirectly lost: 0 bytes in 0 blocks ==21517== possibly lost: 0 bytes in 0 blocks ==21517== still reachable: 3,070 bytes in 49 blocks ==21517== suppressed: 0 bytes in 0 blocks ==21517== Rerun with --leak-check=full to see details of leaked memory ==21517== ==21517== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==21517== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==21520== Warning: invalid file descriptor -1 in syscall close() ==21520== at 0x4F2FB10: __close_nocancel (syscall-template.S:81) ==21520== by 0x10F031: ??? (in /bin/dash) ==21520== by 0x10E745: ??? (in /bin/dash) ==21520== by 0x10FB3D: ??? (in /bin/dash) ==21520== by 0x112BBD: ??? (in /bin/dash) ==21520== by 0x112EFA: ??? (in /bin/dash) ==21520== by 0x10EB78: ??? (in /bin/dash) ==21520== by 0x10E8FC: ??? (in /bin/dash) ==21520== by 0x11591D: ??? (in /bin/dash) ==21520== by 0x10CD2F: ??? (in /bin/dash) ==21520== by 0x4E58A3F: (below main) (libc-start.c:289) ==21521== ==21521== HEAP SUMMARY: ==21521== in use at exit: 10,772 bytes in 50 blocks ==21521== total heap usage: 131 allocs, 81 frees, 21,416 bytes allocated ==21521== ==21521== Searching for pointers to 50 not-freed blocks ==21521== Checked 79,504 bytes ==21521== ==21521== LEAK SUMMARY: ==21521== definitely lost: 0 bytes in 0 blocks ==21521== indirectly lost: 0 bytes in 0 blocks ==21521== possibly lost: 0 bytes in 0 blocks ==21521== still reachable: 10,772 bytes in 50 blocks ==21521== suppressed: 0 bytes in 0 blocks ==21521== Rerun with --leak-check=full to see details of leaked memory ==21521== ==21521== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==21521== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==21520== ==21520== HEAP SUMMARY: ==21520== in use at exit: 3,119 bytes in 51 blocks ==21520== total heap usage: 130 allocs, 79 frees, 13,235 bytes allocated ==21520== ==21520== Searching for pointers to 51 not-freed blocks ==21520== Checked 79,832 bytes ==21520== ==21520== LEAK SUMMARY: ==21520== definitely lost: 0 bytes in 0 blocks ==21520== indirectly lost: 0 bytes in 0 blocks ==21520== possibly lost: 0 bytes in 0 blocks ==21520== still reachable: 3,119 bytes in 51 blocks ==21520== suppressed: 0 bytes in 0 blocks ==21520== Rerun with --leak-check=full to see details of leaked memory ==21520== ==21520== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==21520== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==21524== Warning: invalid file descriptor -1 in syscall close() ==21524== at 0x4F2FB10: __close_nocancel (syscall-template.S:81) ==21524== by 0x10F031: ??? (in /bin/dash) ==21524== by 0x10E745: ??? (in /bin/dash) ==21524== by 0x10FB3D: ??? (in /bin/dash) ==21524== by 0x112BBD: ??? (in /bin/dash) ==21524== by 0x112EFA: ??? (in /bin/dash) ==21524== by 0x10F594: ??? (in /bin/dash) ==21524== by 0x10E745: ??? (in /bin/dash) ==21524== by 0x10E859: ??? (in /bin/dash) ==21524== by 0x10E745: ??? (in /bin/dash) ==21524== by 0x11591D: ??? (in /bin/dash) ==21524== by 0x10CD2F: ??? (in /bin/dash) ==21528== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-21528-by-root-on-??? ==21528== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-21528-by-root-on-??? ==21528== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-21528-by-root-on-??? ==21528== ==21528== TO CONTROL THIS PROCESS USING vgdb (which you probably ==21528== don't want to do, unless you know exactly what you're doing, ==21528== or are doing some strange experiment): ==21528== /usr/lib/valgrind/../../bin/vgdb --pid=21528 ...command... ==21528== ==21528== TO DEBUG THIS PROCESS USING GDB: start GDB like this ==21528== /path/to/gdb /usr/sbin/gparted ==21528== and then give GDB the following command ==21528== target remote | /usr/lib/valgrind/../../bin/vgdb --pid=21528 ==21528== --pid is optional if only one valgrind process is running ==21528== ==21524== ==21524== HEAP SUMMARY: ==21524== in use at exit: 3,756 bytes in 56 blocks ==21524== total heap usage: 161 allocs, 105 frees, 16,924 bytes allocated ==21524== ==21524== Searching for pointers to 56 not-freed blocks ==21524== Checked 80,696 bytes ==21524== ==21524== LEAK SUMMARY: ==21524== definitely lost: 0 bytes in 0 blocks ==21524== indirectly lost: 0 bytes in 0 blocks ==21524== possibly lost: 0 bytes in 0 blocks ==21524== still reachable: 3,756 bytes in 56 blocks ==21524== suppressed: 0 bytes in 0 blocks ==21524== Rerun with --leak-check=full to see details of leaked memory ==21524== ==21524== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==21524== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==21559== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-21559-by-root-on-??? ==21559== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-21559-by-root-on-??? ==21559== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-21559-by-root-on-??? ==21559== ==21559== TO CONTROL THIS PROCESS USING vgdb (which you probably ==21559== don't want to do, unless you know exactly what you're doing, ==21559== or are doing some strange experiment): ==21559== /usr/lib/valgrind/../../bin/vgdb --pid=21559 ...command... ==21559== ==21559== TO DEBUG THIS PROCESS USING GDB: start GDB like this ==21559== /path/to/gdb /usr/sbin/gparted ==21559== and then give GDB the following command ==21559== target remote | /usr/lib/valgrind/../../bin/vgdb --pid=21559 ==21559== --pid is optional if only one valgrind process is running ==21559== --21559-- REDIR: 0x4ec6fb0 (libc.so.6:__GI_memmove) redirected to 0x4c326a0 (__GI_memmove) ==21560== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-21560-by-root-on-??? ==21560== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-21560-by-root-on-??? ==21560== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-21560-by-root-on-??? ==21560== ==21560== TO CONTROL THIS PROCESS USING vgdb (which you probably ==21560== don't want to do, unless you know exactly what you're doing, ==21560== or are doing some strange experiment): ==21560== /usr/lib/valgrind/../../bin/vgdb --pid=21560 ...command... ==21560== ==21560== TO DEBUG THIS PROCESS USING GDB: start GDB like this ==21560== /path/to/gdb /usr/sbin/gparted ==21560== and then give GDB the following command ==21560== target remote | /usr/lib/valgrind/../../bin/vgdb --pid=21560 ==21560== --pid is optional if only one valgrind process is running ==21560== ==21560== Warning: invalid file descriptor -1 in syscall close() ==21560== at 0x4F2FB10: __close_nocancel (syscall-template.S:81) ==21560== by 0x10F031: ??? (in /bin/dash) ==21560== by 0x10E745: ??? (in /bin/dash) ==21560== by 0x10FB3D: ??? (in /bin/dash) ==21560== by 0x112BBD: ??? (in /bin/dash) ==21560== by 0x112EFA: ??? (in /bin/dash) ==21560== by 0x10F594: ??? (in /bin/dash) ==21560== by 0x10E745: ??? (in /bin/dash) ==21560== by 0x10E745: ??? (in /bin/dash) ==21560== by 0x10E859: ??? (in /bin/dash) ==21560== by 0x10E745: ??? (in /bin/dash) ==21560== by 0x10EBFA: ??? (in /bin/dash) ==21561== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-21561-by-root-on-??? ==21561== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-21561-by-root-on-??? ==21561== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-21561-by-root-on-??? ==21561== ==21561== TO CONTROL THIS PROCESS USING vgdb (which you probably ==21561== don't want to do, unless you know exactly what you're doing, ==21561== or are doing some strange experiment): ==21561== /usr/lib/valgrind/../../bin/vgdb --pid=21561 ...command... ==21561== ==21561== TO DEBUG THIS PROCESS USING GDB: start GDB like this ==21561== /path/to/gdb /usr/sbin/gparted ==21561== and then give GDB the following command ==21561== target remote | /usr/lib/valgrind/../../bin/vgdb --pid=21561 ==21561== --pid is optional if only one valgrind process is running ==21561== ==21561== ==21561== HEAP SUMMARY: ==21561== in use at exit: 12,239 bytes in 63 blocks ==21561== total heap usage: 186 allocs, 123 frees, 28,831 bytes allocated ==21561== ==21561== Searching for pointers to 63 not-freed blocks ==21561== Checked 81,280 bytes ==21561== ==21561== LEAK SUMMARY: ==21561== definitely lost: 0 bytes in 0 blocks ==21561== indirectly lost: 0 bytes in 0 blocks ==21561== possibly lost: 0 bytes in 0 blocks ==21561== still reachable: 12,239 bytes in 63 blocks ==21561== suppressed: 0 bytes in 0 blocks ==21561== Rerun with --leak-check=full to see details of leaked memory ==21561== ==21561== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==21561== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==21560== ==21560== HEAP SUMMARY: ==21560== in use at exit: 4,074 bytes in 63 blocks ==21560== total heap usage: 185 allocs, 122 frees, 20,650 bytes allocated ==21560== ==21560== Searching for pointers to 63 not-freed blocks ==21560== Checked 81,288 bytes ==21560== ==21560== LEAK SUMMARY: ==21560== definitely lost: 0 bytes in 0 blocks ==21560== indirectly lost: 0 bytes in 0 blocks ==21560== possibly lost: 0 bytes in 0 blocks ==21560== still reachable: 4,074 bytes in 63 blocks ==21560== suppressed: 0 bytes in 0 blocks ==21560== Rerun with --leak-check=full to see details of leaked memory ==21560== ==21560== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==21560== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) --21490-- REDIR: 0x4ec7840 (libc.so.6:__GI_stpcpy) redirected to 0x4c31e30 (__GI_stpcpy) Segmentation fault (core dumped) ==21490== ==21490== HEAP SUMMARY: ==21490== in use at exit: 1,971 bytes in 57 blocks ==21490== total heap usage: 202 allocs, 145 frees, 25,370 bytes allocated ==21490== ==21490== Searching for pointers to 57 not-freed blocks ==21490== Checked 78,712 bytes ==21490== ==21490== LEAK SUMMARY: ==21490== definitely lost: 0 bytes in 0 blocks ==21490== indirectly lost: 0 bytes in 0 blocks ==21490== possibly lost: 0 bytes in 0 blocks ==21490== still reachable: 1,971 bytes in 57 blocks ==21490== suppressed: 0 bytes in 0 blocks ==21490== Rerun with --leak-check=full to see details of leaked memory ==21490== ==21490== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==21490== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)