diff options
Diffstat (limited to 'valgrind-out.txt')
-rw-r--r-- | valgrind-out.txt | 663 |
1 files changed, 663 insertions, 0 deletions
diff --git a/valgrind-out.txt b/valgrind-out.txt new file mode 100644 index 0000000..de0e6cc --- /dev/null +++ b/valgrind-out.txt @@ -0,0 +1,663 @@ +==19160== Memcheck, a memory error detector +==19160== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. +==19160== Using Valgrind-3.14.0-353a3587bb-20181007X and LibVEX; rerun with -h for copyright info +==19160== Command: ./minishell +==19160== Parent PID: 499 +==19160== +--19160-- +--19160-- Valgrind options: +--19160-- --leak-check=full +--19160-- --show-leak-kinds=all +--19160-- --track-origins=yes +--19160-- --verbose +--19160-- --log-file=valgrind-out.txt +--19160-- Contents of /proc/version: +--19160-- Linux version 4.19.0-9-amd64 (debian-kernel@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) +--19160-- +--19160-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-avx-avx2-bmi +--19160-- Page sizes: currently 4096, max supported 4096 +--19160-- Valgrind library directory: /usr/lib/x86_64-linux-gnu/valgrind +--19160-- Reading syms from /home/salad/Documents/42projects/42-minishell/minishell +--19160-- Reading syms from /usr/lib/x86_64-linux-gnu/ld-2.28.so +--19160-- Considering /usr/lib/debug/.build-id/f2/5dfd7b95be4ba386fd71080accae8c0732b711.debug .. +--19160-- .. build-id is valid +--19160-- Reading syms from /usr/lib/x86_64-linux-gnu/valgrind/memcheck-amd64-linux +--19160-- Considering /usr/lib/debug/.build-id/32/2e77af97f403c3d34ff09edf60b089e72ec889.debug .. +--19160-- .. build-id is valid +--19160-- object doesn't have a dynamic symbol table +--19160-- Scheduler: using generic scheduler lock implementation. +--19160-- Reading suppressions file: /usr/lib/x86_64-linux-gnu/valgrind/default.supp +==19160== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-19160-by-salad-on-??? +==19160== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-19160-by-salad-on-??? +==19160== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-19160-by-salad-on-??? +==19160== +==19160== TO CONTROL THIS PROCESS USING vgdb (which you probably +==19160== don't want to do, unless you know exactly what you're doing, +==19160== or are doing some strange experiment): +==19160== /usr/lib/x86_64-linux-gnu/valgrind/../../bin/vgdb --pid=19160 ...command... +==19160== +==19160== TO DEBUG THIS PROCESS USING GDB: start GDB like this +==19160== /path/to/gdb ./minishell +==19160== and then give GDB the following command +==19160== target remote | /usr/lib/x86_64-linux-gnu/valgrind/../../bin/vgdb --pid=19160 +==19160== --pid is optional if only one valgrind process is running +==19160== +--19160-- REDIR: 0x401e2f0 (ld-linux-x86-64.so.2:strlen) redirected to 0x580c9ce2 (vgPlain_amd64_linux_REDIR_FOR_strlen) +--19160-- REDIR: 0x401e0d0 (ld-linux-x86-64.so.2:index) redirected to 0x580c9cfc (vgPlain_amd64_linux_REDIR_FOR_index) +--19160-- Reading syms from /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_core-amd64-linux.so +--19160-- Considering /usr/lib/debug/.build-id/34/fbc4cdfbfce1bfc3d2e522a01a050bf724c930.debug .. +--19160-- .. build-id is valid +--19160-- Reading syms from /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so +--19160-- Considering /usr/lib/debug/.build-id/ca/bb7898ea982d936cbfadd70ae831c6eb63623f.debug .. +--19160-- .. build-id is valid +==19160== WARNING: new redirection conflicts with existing -- ignoring it +--19160-- old: 0x0401e2f0 (strlen ) R-> (0000.0) 0x580c9ce2 vgPlain_amd64_linux_REDIR_FOR_strlen +--19160-- new: 0x0401e2f0 (strlen ) R-> (2007.0) 0x04838d80 strlen +--19160-- REDIR: 0x401ab10 (ld-linux-x86-64.so.2:strcmp) redirected to 0x4839e40 (strcmp) +--19160-- REDIR: 0x401e830 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x483d860 (mempcpy) +--19160-- Reading syms from /usr/lib/x86_64-linux-gnu/libncurses.so.6.1 +--19160-- object doesn't have a symbol table +--19160-- Reading syms from /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1 +--19160-- object doesn't have a symbol table +--19160-- Reading syms from /usr/lib/x86_64-linux-gnu/libc-2.28.so +--19160-- Considering /usr/lib/debug/.build-id/18/b9a9a8c523e5cfe5b5d946d605d09242f09798.debug .. +--19160-- .. build-id is valid +--19160-- Reading syms from /usr/lib/x86_64-linux-gnu/libdl-2.28.so +--19160-- Considering /usr/lib/debug/.build-id/d3/583c742dd47aaa860c5ae0c0c5bdbcd2d54f61.debug .. +--19160-- .. build-id is valid +--19160-- REDIR: 0x4962f70 (libc.so.6:memmove) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x4962160 (libc.so.6:strncpy) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x4963250 (libc.so.6:strcasecmp) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x4961b70 (libc.so.6:strcat) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x4962190 (libc.so.6:rindex) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x4964890 (libc.so.6:rawmemchr) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x497d230 (libc.so.6:wmemchr) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x497ccd0 (libc.so.6:wcscmp) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x49630e0 (libc.so.6:mempcpy) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x4962f10 (libc.so.6:bcmp) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x4962100 (libc.so.6:strncmp) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x4961be0 (libc.so.6:strcmp) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x4963040 (libc.so.6:memset) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x497cca0 (libc.so.6:wcschr) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x49620a0 (libc.so.6:strnlen) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x4961c70 (libc.so.6:strcspn) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x49632a0 (libc.so.6:strncasecmp) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x4961c40 (libc.so.6:strcpy) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x49633e0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x497e4d0 (libc.so.6:wcsnlen) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x49621c0 (libc.so.6:strpbrk) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x4961ba0 (libc.so.6:index) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x4962070 (libc.so.6:strlen) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x4969280 (libc.so.6:memrchr) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x49632f0 (libc.so.6:strcasecmp_l) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x4962ee0 (libc.so.6:memchr) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x497cdb0 (libc.so.6:wcslen) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x4962460 (libc.so.6:strspn) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x4963220 (libc.so.6:stpncpy) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x49631f0 (libc.so.6:stpcpy) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x49648c0 (libc.so.6:strchrnul) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x4963340 (libc.so.6:strncasecmp_l) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x49620d0 (libc.so.6:strncat) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x49e1950 (libc.so.6:__memcpy_chk) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x4962e20 (libc.so.6:strstr) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper) +--19160-- REDIR: 0x4a35fa0 (libc.so.6:__strrchr_avx2) redirected to 0x4838790 (rindex) +--19160-- REDIR: 0x495e350 (libc.so.6:malloc) redirected to 0x4835710 (malloc) +--19160-- REDIR: 0x495e9a0 (libc.so.6:free) redirected to 0x4836940 (free) +==19166== +==19166== HEAP SUMMARY: +==19166== in use at exit: 0 bytes in 0 blocks +==19166== total heap usage: 1,997 allocs, 1,997 frees, 617,369 bytes allocated +==19166== +==19166== All heap blocks were freed -- no leaks are possible +==19166== +==19166== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) +==19166== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) +--19160-- REDIR: 0x4a36170 (libc.so.6:__strlen_avx2) redirected to 0x4838c60 (strlen) +--19160-- REDIR: 0x4a31af0 (libc.so.6:__strncmp_avx2) redirected to 0x4839410 (strncmp) +--19160-- REDIR: 0x495f120 (libc.so.6:calloc) redirected to 0x4837ab0 (calloc) +--19160-- REDIR: 0x4a35db0 (libc.so.6:__strchrnul_avx2) redirected to 0x483d390 (strchrnul) +--19160-- REDIR: 0x4a36300 (libc.so.6:__strnlen_avx2) redirected to 0x4838c00 (strnlen) +--19160-- REDIR: 0x4a35b80 (libc.so.6:__strchr_avx2) redirected to 0x4838910 (index) +--19160-- REDIR: 0x4a366b0 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x483c8a0 (memmove) +--19160-- REDIR: 0x4977100 (libc.so.6:__strcpy_sse2_unaligned) redirected to 0x4838db0 (strcpy) +--19160-- REDIR: 0x4a316b0 (libc.so.6:__strcmp_avx2) redirected to 0x4839d00 (strcmp) +--19160-- REDIR: 0x4962980 (libc.so.6:__GI_strstr) redirected to 0x483dac0 (__strstr_sse2) +--19160-- REDIR: 0x4a366a0 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x483d950 (__memcpy_chk) +--19160-- REDIR: 0x495ebf0 (libc.so.6:realloc) redirected to 0x4837d00 (realloc) +--19160-- REDIR: 0x4977730 (libc.so.6:__strncpy_sse2_unaligned) redirected to 0x48392e0 (__strncpy_sse2_unaligned) +==19167== +==19167== HEAP SUMMARY: +==19167== in use at exit: 17,324 bytes in 20 blocks +==19167== total heap usage: 2,335 allocs, 2,315 frees, 812,938 bytes allocated +==19167== +==19167== Searching for pointers to 20 not-freed blocks +==19167== Checked 1,172,536 bytes +==19167== +==19167== 4 bytes in 1 blocks are still reachable in loss record 1 of 20 +==19167== at 0x483577F: malloc (vg_replace_malloc.c:299) +==19167== by 0x406515: c_insert_char (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x4057CC: c_add_char (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x4055B3: c_process_key (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x4054C0: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x4099AB: main (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== +==19167== 12 bytes in 1 blocks are still reachable in loss record 2 of 20 +==19167== at 0x483577F: malloc (vg_replace_malloc.c:299) +==19167== by 0x4961DB9: strdup (strdup.c:42) +==19167== by 0x48BCA05: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48BCCD6: _nc_first_db (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C6A61: _nc_read_entry2 (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48BF798: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48BFB28: _nc_setupterm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C0052: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== +==19167== 12 bytes in 1 blocks are still reachable in loss record 3 of 20 +==19167== at 0x483577F: malloc (vg_replace_malloc.c:299) +==19167== by 0x4961DB9: strdup (strdup.c:42) +==19167== by 0x48BFB73: _nc_setupterm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C0052: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x4099AB: main (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== +==19167== 14 bytes in 1 blocks are still reachable in loss record 4 of 20 +==19167== at 0x4837D7B: realloc (vg_replace_malloc.c:826) +==19167== by 0x48BD212: _nc_doalloc (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C1999: tparm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C6E94: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C710F: _nc_trim_sgr0 (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C0244: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x4099AB: main (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== +==19167== 24 bytes in 1 blocks are still reachable in loss record 5 of 20 +==19167== at 0x483577F: malloc (vg_replace_malloc.c:299) +==19167== by 0x48BD594: _nc_home_terminfo (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48BCCC0: _nc_first_db (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C6A61: _nc_read_entry2 (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48BF798: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48BFB28: _nc_setupterm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C0052: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x4099AB: main (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== +==19167== 47 bytes in 1 blocks are still reachable in loss record 6 of 20 +==19167== at 0x4837D7B: realloc (vg_replace_malloc.c:826) +==19167== by 0x48BD212: _nc_doalloc (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C60E3: _nc_read_termtype (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C658C: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C6954: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C6A8C: _nc_read_entry2 (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48BF798: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48BFB28: _nc_setupterm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C0052: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== +==19167== 47 bytes in 1 blocks are still reachable in loss record 7 of 20 +==19167== at 0x483577F: malloc (vg_replace_malloc.c:299) +==19167== by 0x48BB36D: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48BFB3F: _nc_setupterm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C0052: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x4099AB: main (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== +==19167== 48 bytes in 1 blocks are still reachable in loss record 8 of 20 +==19167== at 0x4837B65: calloc (vg_replace_malloc.c:752) +==19167== by 0x48BCDDB: _nc_first_db (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C6A61: _nc_read_entry2 (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48BF798: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48BFB28: _nc_setupterm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C0052: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x4099AB: main (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== +==19167== 48 bytes in 1 blocks are still reachable in loss record 9 of 20 +==19167== at 0x4837B65: calloc (vg_replace_malloc.c:752) +==19167== by 0x48C6431: _nc_read_termtype (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C658C: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C6954: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C6A8C: _nc_read_entry2 (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48BF798: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48BFB28: _nc_setupterm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C0052: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== +==19167== 48 bytes in 1 blocks are still reachable in loss record 10 of 20 +==19167== at 0x483577F: malloc (vg_replace_malloc.c:299) +==19167== by 0x48BB4A9: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48BFB3F: _nc_setupterm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C0052: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x4099AB: main (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== +==19167== 51 bytes in 1 blocks are still reachable in loss record 11 of 20 +==19167== at 0x483577F: malloc (vg_replace_malloc.c:299) +==19167== by 0x48C6482: _nc_read_termtype (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C658C: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C6954: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C6A8C: _nc_read_entry2 (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48BF798: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48BFB28: _nc_setupterm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C0052: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== +==19167== 78 bytes in 1 blocks are still reachable in loss record 12 of 20 +==19167== at 0x483577F: malloc (vg_replace_malloc.c:299) +==19167== by 0x48BB3E0: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48BFB3F: _nc_setupterm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C0052: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x4099AB: main (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== +==19167== 83 bytes in 1 blocks are still reachable in loss record 13 of 20 +==19167== at 0x483577F: malloc (vg_replace_malloc.c:299) +==19167== by 0x48C125E: _nc_tparm_analyze (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C14DF: tparm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C6E94: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C710F: _nc_trim_sgr0 (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C0244: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x4099AB: main (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== +==19167== 93 bytes in 1 blocks are still reachable in loss record 14 of 20 +==19167== at 0x483577F: malloc (vg_replace_malloc.c:299) +==19167== by 0x48BCD43: _nc_first_db (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C6A61: _nc_read_entry2 (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48BF798: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48BFB28: _nc_setupterm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C0052: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x4099AB: main (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== +==19167== 156 bytes in 1 blocks are still reachable in loss record 15 of 20 +==19167== at 0x4837D7B: realloc (vg_replace_malloc.c:826) +==19167== by 0x48BD212: _nc_doalloc (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C611F: _nc_read_termtype (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C658C: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C6954: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C6A8C: _nc_read_entry2 (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48BF798: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48BFB28: _nc_setupterm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C0052: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== +==19167== 280 bytes in 1 blocks are still reachable in loss record 16 of 20 +==19167== at 0x4837B65: calloc (vg_replace_malloc.c:752) +==19167== by 0x48BFAE0: _nc_setupterm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C0052: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x4099AB: main (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== +==19167== 1,655 bytes in 1 blocks are still reachable in loss record 17 of 20 +==19167== at 0x483577F: malloc (vg_replace_malloc.c:299) +==19167== by 0x48C5944: _nc_read_termtype (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C658C: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C6954: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C6A8C: _nc_read_entry2 (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48BF798: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48BFB28: _nc_setupterm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C0052: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== +==19167== 3,336 bytes in 1 blocks are still reachable in loss record 18 of 20 +==19167== at 0x4837D7B: realloc (vg_replace_malloc.c:826) +==19167== by 0x48BD212: _nc_doalloc (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C613D: _nc_read_termtype (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C658C: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C6954: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C6A8C: _nc_read_entry2 (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48BF798: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48BFB28: _nc_setupterm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C0052: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== +==19167== 3,336 bytes in 1 blocks are still reachable in loss record 19 of 20 +==19167== at 0x483577F: malloc (vg_replace_malloc.c:299) +==19167== by 0x48BB390: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48BFB3F: _nc_setupterm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C0052: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x4099AB: main (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== +==19167== 7,952 bytes in 1 blocks are still reachable in loss record 20 of 20 +==19167== at 0x4837B65: calloc (vg_replace_malloc.c:752) +==19167== by 0x48BC1A7: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48BC926: _nc_find_type_entry (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x48C09D8: tgetstr_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19167== by 0x404F92: c_set_term_raw (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x405A7A: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== by 0x4099AB: main (in /home/salad/Documents/42projects/42-minishell/minishell) +==19167== +==19167== LEAK SUMMARY: +==19167== definitely lost: 0 bytes in 0 blocks +==19167== indirectly lost: 0 bytes in 0 blocks +==19167== possibly lost: 0 bytes in 0 blocks +==19167== still reachable: 17,324 bytes in 20 blocks +==19167== suppressed: 0 bytes in 0 blocks +==19167== +==19167== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) +==19167== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) +==19160== +==19160== HEAP SUMMARY: +==19160== in use at exit: 17,324 bytes in 20 blocks +==19160== total heap usage: 2,403 allocs, 2,383 frees, 814,148 bytes allocated +==19160== +==19160== Searching for pointers to 20 not-freed blocks +==19160== Checked 1,172,520 bytes +==19160== +==19160== 4 bytes in 1 blocks are still reachable in loss record 1 of 20 +==19160== at 0x483577F: malloc (vg_replace_malloc.c:299) +==19160== by 0x406515: c_insert_char (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x4057CC: c_add_char (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x4055B3: c_process_key (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x4054C0: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x4099AB: main (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== +==19160== 12 bytes in 1 blocks are still reachable in loss record 2 of 20 +==19160== at 0x483577F: malloc (vg_replace_malloc.c:299) +==19160== by 0x4961DB9: strdup (strdup.c:42) +==19160== by 0x48BCA05: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48BCCD6: _nc_first_db (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C6A61: _nc_read_entry2 (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48BF798: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48BFB28: _nc_setupterm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C0052: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== +==19160== 12 bytes in 1 blocks are still reachable in loss record 3 of 20 +==19160== at 0x483577F: malloc (vg_replace_malloc.c:299) +==19160== by 0x4961DB9: strdup (strdup.c:42) +==19160== by 0x48BFB73: _nc_setupterm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C0052: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x4099AB: main (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== +==19160== 14 bytes in 1 blocks are still reachable in loss record 4 of 20 +==19160== at 0x4837D7B: realloc (vg_replace_malloc.c:826) +==19160== by 0x48BD212: _nc_doalloc (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C1999: tparm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C6E94: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C710F: _nc_trim_sgr0 (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C0244: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x4099AB: main (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== +==19160== 24 bytes in 1 blocks are still reachable in loss record 5 of 20 +==19160== at 0x483577F: malloc (vg_replace_malloc.c:299) +==19160== by 0x48BD594: _nc_home_terminfo (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48BCCC0: _nc_first_db (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C6A61: _nc_read_entry2 (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48BF798: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48BFB28: _nc_setupterm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C0052: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x4099AB: main (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== +==19160== 47 bytes in 1 blocks are still reachable in loss record 6 of 20 +==19160== at 0x4837D7B: realloc (vg_replace_malloc.c:826) +==19160== by 0x48BD212: _nc_doalloc (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C60E3: _nc_read_termtype (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C658C: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C6954: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C6A8C: _nc_read_entry2 (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48BF798: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48BFB28: _nc_setupterm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C0052: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== +==19160== 47 bytes in 1 blocks are still reachable in loss record 7 of 20 +==19160== at 0x483577F: malloc (vg_replace_malloc.c:299) +==19160== by 0x48BB36D: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48BFB3F: _nc_setupterm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C0052: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x4099AB: main (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== +==19160== 48 bytes in 1 blocks are still reachable in loss record 8 of 20 +==19160== at 0x4837B65: calloc (vg_replace_malloc.c:752) +==19160== by 0x48BCDDB: _nc_first_db (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C6A61: _nc_read_entry2 (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48BF798: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48BFB28: _nc_setupterm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C0052: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x4099AB: main (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== +==19160== 48 bytes in 1 blocks are still reachable in loss record 9 of 20 +==19160== at 0x4837B65: calloc (vg_replace_malloc.c:752) +==19160== by 0x48C6431: _nc_read_termtype (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C658C: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C6954: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C6A8C: _nc_read_entry2 (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48BF798: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48BFB28: _nc_setupterm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C0052: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== +==19160== 48 bytes in 1 blocks are still reachable in loss record 10 of 20 +==19160== at 0x483577F: malloc (vg_replace_malloc.c:299) +==19160== by 0x48BB4A9: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48BFB3F: _nc_setupterm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C0052: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x4099AB: main (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== +==19160== 51 bytes in 1 blocks are still reachable in loss record 11 of 20 +==19160== at 0x483577F: malloc (vg_replace_malloc.c:299) +==19160== by 0x48C6482: _nc_read_termtype (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C658C: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C6954: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C6A8C: _nc_read_entry2 (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48BF798: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48BFB28: _nc_setupterm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C0052: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== +==19160== 78 bytes in 1 blocks are still reachable in loss record 12 of 20 +==19160== at 0x483577F: malloc (vg_replace_malloc.c:299) +==19160== by 0x48BB3E0: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48BFB3F: _nc_setupterm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C0052: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x4099AB: main (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== +==19160== 83 bytes in 1 blocks are still reachable in loss record 13 of 20 +==19160== at 0x483577F: malloc (vg_replace_malloc.c:299) +==19160== by 0x48C125E: _nc_tparm_analyze (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C14DF: tparm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C6E94: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C710F: _nc_trim_sgr0 (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C0244: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x4099AB: main (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== +==19160== 93 bytes in 1 blocks are still reachable in loss record 14 of 20 +==19160== at 0x483577F: malloc (vg_replace_malloc.c:299) +==19160== by 0x48BCD43: _nc_first_db (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C6A61: _nc_read_entry2 (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48BF798: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48BFB28: _nc_setupterm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C0052: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x4099AB: main (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== +==19160== 156 bytes in 1 blocks are still reachable in loss record 15 of 20 +==19160== at 0x4837D7B: realloc (vg_replace_malloc.c:826) +==19160== by 0x48BD212: _nc_doalloc (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C611F: _nc_read_termtype (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C658C: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C6954: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C6A8C: _nc_read_entry2 (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48BF798: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48BFB28: _nc_setupterm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C0052: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== +==19160== 280 bytes in 1 blocks are still reachable in loss record 16 of 20 +==19160== at 0x4837B65: calloc (vg_replace_malloc.c:752) +==19160== by 0x48BFAE0: _nc_setupterm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C0052: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x4099AB: main (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== +==19160== 1,655 bytes in 1 blocks are still reachable in loss record 17 of 20 +==19160== at 0x483577F: malloc (vg_replace_malloc.c:299) +==19160== by 0x48C5944: _nc_read_termtype (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C658C: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C6954: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C6A8C: _nc_read_entry2 (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48BF798: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48BFB28: _nc_setupterm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C0052: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== +==19160== 3,336 bytes in 1 blocks are still reachable in loss record 18 of 20 +==19160== at 0x4837D7B: realloc (vg_replace_malloc.c:826) +==19160== by 0x48BD212: _nc_doalloc (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C613D: _nc_read_termtype (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C658C: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C6954: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C6A8C: _nc_read_entry2 (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48BF798: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48BFB28: _nc_setupterm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C0052: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== +==19160== 3,336 bytes in 1 blocks are still reachable in loss record 19 of 20 +==19160== at 0x483577F: malloc (vg_replace_malloc.c:299) +==19160== by 0x48BB390: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48BFB3F: _nc_setupterm (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C0052: tgetent_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x405A5C: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x4099AB: main (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== +==19160== 7,952 bytes in 1 blocks are still reachable in loss record 20 of 20 +==19160== at 0x4837B65: calloc (vg_replace_malloc.c:752) +==19160== by 0x48BC1A7: ??? (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48BC926: _nc_find_type_entry (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x48C09D8: tgetstr_sp (in /usr/lib/x86_64-linux-gnu/libtinfo.so.6.1) +==19160== by 0x404F92: c_set_term_raw (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x405A7A: c_init_line (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x405397: c_gnl (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408B06: m_loop (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x408542: m_argv (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== by 0x4099AB: main (in /home/salad/Documents/42projects/42-minishell/minishell) +==19160== +==19160== LEAK SUMMARY: +==19160== definitely lost: 0 bytes in 0 blocks +==19160== indirectly lost: 0 bytes in 0 blocks +==19160== possibly lost: 0 bytes in 0 blocks +==19160== still reachable: 17,324 bytes in 20 blocks +==19160== suppressed: 0 bytes in 0 blocks +==19160== +==19160== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) +==19160== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) |