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