# valgrind --leak-check=full --show-leak-kinds=all s6-rc-init $FOLDER ==1094== Memcheck, a memory error detectorshow-leak-kinds=all s6-rc-init $FOLDER ==1094== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==1094== Using Valgrind-3.12.0 and LibVEX; rerun with -h for copyright info ==1094== Command: s6-rc-init /tmp/s6/services ==1094== ==1095== Jump to the invalid address stated on the next line ==1095== at 0x0: ??? ==1095== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1095== ==1095== ==1095== Process terminating with default action of signal 11 (SIGSEGV) ==1095== Bad permissions for mapped region at address 0x0 ==1095== at 0x0: ??? ==1095== ==1095== HEAP SUMMARY: ==1095== in use at exit: 1,144 bytes in 3 blocks ==1095== total heap usage: 113 allocs, 110 frees, 3,055,739 bytes allocated ==1095== ==1095== 28 bytes in 1 blocks are still reachable in loss record 1 of 3 ==1095== at 0x4030F87: realloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==1095== by 0x405D126: alloc_realloc (in /usr/lib/libskarnet.so.2.6.0.1) ==1095== by 0x40996B2: (below main) (in /usr/lib/libc-2.26.so) ==1095== ==1095== 160 bytes in 1 blocks are still reachable in loss record 2 of 3 s6-rc-init: ../sysdeps/unix/sysv/linux/spawni.c:368: __spawnix: Assertion `ec >= 0' failed. ==1095== at 0x402F0B9: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==1095== by 0x4030FC8: realloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==1095== by 0x414CEB8: ??? (in /usr/lib/libc-2.26.so) ==1095== by 0x414D158: posix_spawn_file_actions_adddup2 (in /usr/lib/libc-2.26.so) ==1095== by 0x4067306: child_spawn1_internal (in /usr/lib/libskarnet.so.2.6.0.1) ==1095== ==1095== 956 bytes in 1 blocks are still reachable in loss record 3 of 3 ==1095== at 0x4030F87: realloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==1095== by 0x405D126: alloc_realloc (in /usr/lib/libskarnet.so.2.6.0.1) ==1095== ==1095== LEAK SUMMARY: ==1095== definitely lost: 0 bytes in 0 blocks ==1095== indirectly lost: 0 bytes in 0 blocks ==1095== possibly lost: 0 bytes in 0 blocks ==1095== still reachable: 1,144 bytes in 3 blocks ==1095== suppressed: 0 bytes in 0 blocks ==1095== ==1095== For counts of detected and suppressed errors, rerun with: -v ==1095== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ==1094== ==1094== Process terminating with default action of signal 6 (SIGABRT) ==1094== at 0x40AD7F7: raise (in /usr/lib/libc-2.26.so) ==1094== by 0x40AED1B: abort (in /usr/lib/libc-2.26.so) ==1094== by 0x40A5A3D: ??? (in /usr/lib/libc-2.26.so) ==1094== by 0x40A5AAE: __assert_fail (in /usr/lib/libc-2.26.so) ==1094== by 0x414D684: ??? (in /usr/lib/libc-2.26.so) ==1094== by 0x414D3E3: posix_spawnp (in /usr/lib/libc-2.26.so) ==1094== by 0x4067384: child_spawn1_internal (in /usr/lib/libskarnet.so.2.6.0.1) ==1094== ==1094== HEAP SUMMARY: ==1094== in use at exit: 1,144 bytes in 3 blocks ==1094== total heap usage: 115 allocs, 112 frees, 3,055,932 bytes allocated ==1094== ==1094== 28 bytes in 1 blocks are still reachable in loss record 1 of 3 ==1094== at 0x4030F87: realloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==1094== by 0x405D126: alloc_realloc (in /usr/lib/libskarnet.so.2.6.0.1) ==1094== by 0x40996B2: (below main) (in /usr/lib/libc-2.26.so) ==1094== ==1094== 160 bytes in 1 blocks are still reachable in loss record 2 of 3 ==1094== at 0x402F0B9: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==1094== by 0x4030FC8: realloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==1094== by 0x414CEB8: ??? (in /usr/lib/libc-2.26.so) ==1094== by 0x414D158: posix_spawn_file_actions_adddup2 (in /usr/lib/libc-2.26.so) ==1094== by 0x4067306: child_spawn1_internal (in /usr/lib/libskarnet.so.2.6.0.1) ==1094== ==1094== 956 bytes in 1 blocks are still reachable in loss record 3 of 3 ==1094== at 0x4030F87: realloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==1094== by 0x405D126: alloc_realloc (in /usr/lib/libskarnet.so.2.6.0.1) ==1094== ==1094== LEAK SUMMARY: ==1094== definitely lost: 0 bytes in 0 blocks ==1094== indirectly lost: 0 bytes in 0 blocks ==1094== possibly lost: 0 bytes in 0 blocks ==1094== still reachable: 1,144 bytes in 3 blocks ==1094== suppressed: 0 bytes in 0 blocks ==1094== ==1094== For counts of detected and suppressed errors, rerun with: -v ==1094== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) Aborted