diff --git a/2048.code-workspace b/2048.code-workspace new file mode 100644 index 0000000..876a149 --- /dev/null +++ b/2048.code-workspace @@ -0,0 +1,8 @@ +{ + "folders": [ + { + "path": "." + } + ], + "settings": {} +} \ No newline at end of file diff --git a/gui.c b/gui.c index 7270e92..456211f 100644 --- a/gui.c +++ b/gui.c @@ -1,12 +1,17 @@ #include "gui.h" +#include -#include "SDL.h" +#include +#include +#include const SCREEN_WIDTH = 800; const SCREEN_HEIGHT = 600; SDL_Window* window = NULL; -SDL_Surface* screenSurface = NULL; +// SDL_Surface* screenSurface = NULL; +SDL_Renderer *window_renderer = NULL; +SDL_Texture* tile_texture = NULL; void gui_init() { @@ -21,11 +26,27 @@ void gui_init() { { printf( "Window could not be created! SDL_Error: %s\n", SDL_GetError() ); } + // screenSurface = SDL_GetWindowSurface(window); + // SDL_FillRect(screenSurface, NULL, SDL_MapRGB(screenSurface->format, 255, 255, 255)); + + + // create renderer and render white window + window_renderer = SDL_CreateRenderer(window, -1, SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC); + SDL_SetRenderDrawColor(window_renderer, 0xFF, 0xFF, 0xFF, 0xFF ); + SDL_RenderClear(window_renderer); + SDL_RenderPresent(window_renderer); + // SDL_UpdateWindowSurface(window); + + // load up textures + SDL_Surface *tile_surface = IMG_Load("res/tile.png"); + tile_texture = SDL_CreateTextureFromSurface( window_renderer, tile_surface); + SDL_FreeSurface(tile_surface); } -void gui_destroy () { +void gui_destroy() { //Destroy window SDL_DestroyWindow( window ); + SDL_DestroyRenderer(window_renderer); //Quit SDL subsystems SDL_Quit(); @@ -33,6 +54,20 @@ void gui_destroy () { } void gui_loop(Game *game) { - sleep(2000); + bool quit = false; + SDL_Event e; + while(!quit) { + while( SDL_PollEvent( &e ) != 0 ) + { + //User requests quit + if( e.type == SDL_QUIT ) + { + quit = true; + } + } + + SDL_RenderCopy( window_renderer, tile_texture, NULL, NULL ); + SDL_RenderPresent(window_renderer); + } } \ No newline at end of file diff --git a/meson.build b/meson.build index 8e2a5d5..2cad136 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,8 @@ project('2048', 'c') sdl2 = dependency('sdl2') +sdl2_image = dependency('SDL2_image') +sdl2_ttf = dependency('SDL2_ttf') ncurses = dependency('ncurses') src_2048 = [ @@ -10,4 +12,4 @@ src_2048 = [ 'main.c', ] -executable('2048', src_2048, dependencies: [sdl2, ncurses]) +executable('2048', src_2048, dependencies: [sdl2, ncurses, sdl2_image, sdl2_ttf]) diff --git a/res/tile.png b/res/tile.png new file mode 100644 index 0000000..9e62479 Binary files /dev/null and b/res/tile.png differ diff --git a/valgrind-out.txt b/valgrind-out.txt new file mode 100644 index 0000000..791be03 --- /dev/null +++ b/valgrind-out.txt @@ -0,0 +1,949 @@ +==6077== Memcheck, a memory error detector +==6077== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. +==6077== Using Valgrind-3.17.0-07f0cdcbb4-20210319X and LibVEX; rerun with -h for copyright info +==6077== Command: ./builddir/2048 +==6077== Parent PID: 5276 +==6077== +--6077-- +--6077-- Valgrind options: +--6077-- --leak-check=full +--6077-- --show-leak-kinds=all +--6077-- --track-origins=yes +--6077-- --verbose +--6077-- --log-file=valgrind-out.txt +--6077-- Contents of /proc/version: +--6077-- Linux version 5.15.6-arch2-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP PREEMPT Thu, 02 Dec 2021 15:47:09 +0000 +--6077-- +--6077-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed +--6077-- Page sizes: currently 4096, max supported 4096 +--6077-- Valgrind library directory: /usr/lib/valgrind +--6077-- Reading syms from /home/dudi/c/2048/builddir/2048 +--6077-- Reading syms from /usr/lib/ld-2.33.so +--6077-- Reading syms from /usr/lib/valgrind/memcheck-amd64-linux +--6077-- object doesn't have a dynamic symbol table +--6077-- Scheduler: using generic scheduler lock implementation. +--6077-- Reading suppressions file: /usr/lib/valgrind/default.supp +==6077== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-6077-by-dudi-on-??? +==6077== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-6077-by-dudi-on-??? +==6077== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-6077-by-dudi-on-??? +==6077== +==6077== TO CONTROL THIS PROCESS USING vgdb (which you probably +==6077== don't want to do, unless you know exactly what you're doing, +==6077== or are doing some strange experiment): +==6077== /usr/lib/valgrind/../../bin/vgdb --pid=6077 ...command... +==6077== +==6077== TO DEBUG THIS PROCESS USING GDB: start GDB like this +==6077== /path/to/gdb ./builddir/2048 +==6077== and then give GDB the following command +==6077== target remote | /usr/lib/valgrind/../../bin/vgdb --pid=6077 +==6077== --pid is optional if only one valgrind process is running +==6077== +--6077-- REDIR: 0x4023890 (ld-linux-x86-64.so.2:strlen) redirected to 0x580bb342 (vgPlain_amd64_linux_REDIR_FOR_strlen) +--6077-- REDIR: 0x4023660 (ld-linux-x86-64.so.2:index) redirected to 0x580bb35c (vgPlain_amd64_linux_REDIR_FOR_index) +--6077-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so +--6077-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so +==6077== WARNING: new redirection conflicts with existing -- ignoring it +--6077-- old: 0x04023890 (strlen ) R-> (0000.0) 0x580bb342 vgPlain_amd64_linux_REDIR_FOR_strlen +--6077-- new: 0x04023890 (strlen ) R-> (2007.0) 0x048448d0 strlen +--6077-- REDIR: 0x4020070 (ld-linux-x86-64.so.2:strcmp) redirected to 0x4845730 (strcmp) +--6077-- REDIR: 0x4023df0 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48491a0 (mempcpy) +--6077-- Reading syms from /usr/lib/libncursesw.so.6.3 +--6077-- object doesn't have a symbol table +--6077-- Reading syms from /usr/lib/libpthread-2.33.so +--6077-- Reading syms from /usr/lib/libc-2.33.so +--6077-- REDIR: 0x49a40b0 (libc.so.6:memmove) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +==6077== Preferring higher priority redirection: +--6077-- old: 0x04a77510 (__memcpy_avx_unalign) R-> (2018.0) 0x04846980 __memcpy_avx_unaligned_erms +--6077-- new: 0x04a77510 (__memcpy_avx_unalign) R-> (2018.1) 0x04848220 memmove +--6077-- REDIR: 0x49a35b0 (libc.so.6:strncpy) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49a43f0 (libc.so.6:strcasecmp) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49a3050 (libc.so.6:strcat) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49a3610 (libc.so.6:rindex) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49a57a0 (libc.so.6:rawmemchr) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49bd7f0 (libc.so.6:wmemchr) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49bd330 (libc.so.6:wcscmp) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49a4210 (libc.so.6:mempcpy) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49a4040 (libc.so.6:bcmp) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49a3540 (libc.so.6:strncmp) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49a3100 (libc.so.6:strcmp) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49a4180 (libc.so.6:memset) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49bd2f0 (libc.so.6:wcschr) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49a34a0 (libc.so.6:strnlen) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49a31e0 (libc.so.6:strcspn) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49a4440 (libc.so.6:strncasecmp) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49a3180 (libc.so.6:strcpy) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49a4590 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49bea40 (libc.so.6:wcsnlen) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49bd370 (libc.so.6:wcscpy) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49a3650 (libc.so.6:strpbrk) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49a30b0 (libc.so.6:index) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49a3460 (libc.so.6:strlen) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49a9c10 (libc.so.6:memrchr) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49a4490 (libc.so.6:strcasecmp_l) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49a4000 (libc.so.6:memchr) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49bd440 (libc.so.6:wcslen) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49a3770 (libc.so.6:strspn) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49a4390 (libc.so.6:stpncpy) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49a4330 (libc.so.6:stpcpy) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49a57e0 (libc.so.6:strchrnul) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49a44e0 (libc.so.6:strncasecmp_l) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49a34e0 (libc.so.6:strncat) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x4a1fa70 (libc.so.6:__memcpy_chk) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x49a3f20 (libc.so.6:strstr) redirected to 0x48331b0 (_vgnU_ifunc_wrapper) +--6077-- REDIR: 0x4a74330 (libc.so.6:__strrchr_avx2) redirected to 0x4844310 (rindex) +--6077-- REDIR: 0x499f320 (libc.so.6:malloc) redirected to 0x483e750 (malloc) +--6077-- REDIR: 0x49a00f0 (libc.so.6:calloc) redirected to 0x4843550 (calloc) +--6077-- REDIR: 0x4a74500 (libc.so.6:__strlen_avx2) redirected to 0x48447b0 (strlen) +--6077-- REDIR: 0x4a6fe30 (libc.so.6:__strncmp_avx2) redirected to 0x4844e80 (strncmp) +--6077-- REDIR: 0x4a77510 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4848220 (memmove) +--6077-- REDIR: 0x4a74140 (libc.so.6:__strchrnul_avx2) redirected to 0x4848ca0 (strchrnul) +--6077-- REDIR: 0x4a746a0 (libc.so.6:__strnlen_avx2) redirected to 0x4844750 (strnlen) +--6077-- REDIR: 0x4a73f10 (libc.so.6:__strchr_avx2) redirected to 0x4844490 (index) +--6077-- REDIR: 0x499f980 (libc.so.6:free) redirected to 0x4841120 (free) +--6077-- REDIR: 0x4a75a40 (libc.so.6:__strcpy_avx2) redirected to 0x4844900 (strcpy) +--6077-- REDIR: 0x4a6f9f0 (libc.so.6:__strcmp_avx2) redirected to 0x4845630 (strcmp) +--6077-- REDIR: 0x49a3c20 (libc.so.6:__GI_strstr) redirected to 0x4849430 (__strstr_sse2) +--6077-- REDIR: 0x4a77500 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x4849290 (__memcpy_chk) +--6077-- REDIR: 0x499fc20 (libc.so.6:realloc) redirected to 0x48437c0 (realloc) +--6077-- REDIR: 0x4a779a0 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4848120 (memset) +--6077-- REDIR: 0x4a75dd0 (libc.so.6:__strncpy_avx2) redirected to 0x4844a80 (strncpy) +--6077-- REDIR: 0x4a70af0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x48479c0 (bcmp) +--6077-- REDIR: 0x49bc410 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x48493a0 (strstr) +==6077== +==6077== HEAP SUMMARY: +==6077== in use at exit: 328,208 bytes in 369 blocks +==6077== total heap usage: 381 allocs, 12 frees, 337,016 bytes allocated +==6077== +==6077== Searching for pointers to 369 not-freed blocks +==6077== Checked 632,752 bytes +==6077== +==6077== 9 bytes in 1 blocks are still reachable in loss record 1 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x49A334E: strdup (in /usr/lib/libc-2.33.so) +==6077== by 0x48C2816: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A2FD8: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 9 bytes in 1 blocks are still reachable in loss record 2 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x49A334E: strdup (in /usr/lib/libc-2.33.so) +==6077== by 0x48C2816: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3012: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 9 bytes in 1 blocks are still reachable in loss record 3 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x49A334E: strdup (in /usr/lib/libc-2.33.so) +==6077== by 0x48C2816: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A304C: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 9 bytes in 1 blocks are still reachable in loss record 4 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x49A334E: strdup (in /usr/lib/libc-2.33.so) +==6077== by 0x48C2816: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3225: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 9 bytes in 1 blocks are still reachable in loss record 5 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x49A334E: strdup (in /usr/lib/libc-2.33.so) +==6077== by 0x48C2816: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3273: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 9 bytes in 1 blocks are still reachable in loss record 6 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x49A334E: strdup (in /usr/lib/libc-2.33.so) +==6077== by 0x48C2816: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A32C1: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 9 bytes in 1 blocks are possibly lost in loss record 7 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x49A334E: strdup (in /usr/lib/libc-2.33.so) +==6077== by 0x48C2816: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A2F9E: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 11 bytes in 1 blocks are still reachable in loss record 8 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x49A334E: strdup (in /usr/lib/libc-2.33.so) +==6077== by 0x48BD859: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48BDB69: _nc_first_db (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C9809: _nc_read_entry2 (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C0789: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C0B37: _nc_setupterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A37BA: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 11 bytes in 1 blocks are still reachable in loss record 9 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x49A334E: strdup (in /usr/lib/libc-2.33.so) +==6077== by 0x48C2816: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3083: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 11 bytes in 1 blocks are still reachable in loss record 10 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x49A334E: strdup (in /usr/lib/libc-2.33.so) +==6077== by 0x48C2816: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A30BD: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 15 bytes in 1 blocks are still reachable in loss record 11 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x49A334E: strdup (in /usr/lib/libc-2.33.so) +==6077== by 0x48C0B82: _nc_setupterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A37BA: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 17 bytes in 1 blocks are still reachable in loss record 12 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x49A334E: strdup (in /usr/lib/libc-2.33.so) +==6077== by 0x48C2816: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A2F64: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 17 bytes in 1 blocks are still reachable in loss record 13 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x49A334E: strdup (in /usr/lib/libc-2.33.so) +==6077== by 0x48C2816: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A2D34: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 20 bytes in 1 blocks are still reachable in loss record 14 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x49A334E: strdup (in /usr/lib/libc-2.33.so) +==6077== by 0x48C2816: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3314: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 23 bytes in 1 blocks are still reachable in loss record 15 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x48BE427: _nc_home_terminfo (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48BDB53: _nc_first_db (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C9809: _nc_read_entry2 (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C0789: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C0B37: _nc_setupterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A37BA: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 24 bytes in 1 blocks are still reachable in loss record 16 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x4A0E869: tsearch (in /usr/lib/libc-2.33.so) +==6077== by 0x48C2831: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A2F64: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 24 bytes in 1 blocks are still reachable in loss record 17 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x4A0E7E7: tsearch (in /usr/lib/libc-2.33.so) +==6077== by 0x48C2831: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A2FD8: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 24 bytes in 1 blocks are still reachable in loss record 18 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x4A0E7E7: tsearch (in /usr/lib/libc-2.33.so) +==6077== by 0x48C2831: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3012: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 24 bytes in 1 blocks are still reachable in loss record 19 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x4A0E7E7: tsearch (in /usr/lib/libc-2.33.so) +==6077== by 0x48C2831: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A304C: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 24 bytes in 1 blocks are still reachable in loss record 20 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x4A0E7E7: tsearch (in /usr/lib/libc-2.33.so) +==6077== by 0x48C2831: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3083: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 24 bytes in 1 blocks are still reachable in loss record 21 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x4A0E7E7: tsearch (in /usr/lib/libc-2.33.so) +==6077== by 0x48C2831: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A30BD: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 24 bytes in 1 blocks are still reachable in loss record 22 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x4A0E7E7: tsearch (in /usr/lib/libc-2.33.so) +==6077== by 0x48C2831: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3225: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 24 bytes in 1 blocks are still reachable in loss record 23 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x4A0E7E7: tsearch (in /usr/lib/libc-2.33.so) +==6077== by 0x48C2831: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3273: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 24 bytes in 1 blocks are still reachable in loss record 24 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x4A0E7E7: tsearch (in /usr/lib/libc-2.33.so) +==6077== by 0x48C2831: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A32C1: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 24 bytes in 1 blocks are still reachable in loss record 25 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x4A0E7E7: tsearch (in /usr/lib/libc-2.33.so) +==6077== by 0x48C2831: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3314: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 24 bytes in 1 blocks are still reachable in loss record 26 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x4A0E7E7: tsearch (in /usr/lib/libc-2.33.so) +==6077== by 0x48C2831: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A2D34: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 24 bytes in 1 blocks are still reachable in loss record 27 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48BB7CA: _nc_add_to_try (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48BE4D6: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48BF985: _nc_keypad (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109B32: tui_init (tui.c:15) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 24 bytes in 1 blocks are possibly lost in loss record 28 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x4A0E7E7: tsearch (in /usr/lib/libc-2.33.so) +==6077== by 0x48C2831: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A2F9E: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 28 bytes in 1 blocks are still reachable in loss record 29 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48A7FB3: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A37FE: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 32 bytes in 1 blocks are still reachable in loss record 30 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x10930D: game_init (2048.c:21) +==6077== by 0x109CCF: main (main.c:7) +==6077== +==6077== 39 bytes in 1 blocks are still reachable in loss record 31 of 75 +==6077== at 0x484383F: realloc (vg_replace_malloc.c:1192) +==6077== by 0x48BE069: _nc_doalloc (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C241C: _nc_tparm_analyze (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C2723: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3314: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 46 bytes in 1 blocks are still reachable in loss record 32 of 75 +==6077== at 0x484383F: realloc (vg_replace_malloc.c:1192) +==6077== by 0x48BE069: _nc_doalloc (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C8F03: _nc_read_termtype (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C92DB: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C96F2: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C982F: _nc_read_entry2 (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C0789: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C0B37: _nc_setupterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A37BA: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== +==6077== 46 bytes in 1 blocks are still reachable in loss record 33 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x48BB9CF: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C0B4F: _nc_setupterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A37BA: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 70 bytes in 1 blocks are still reachable in loss record 34 of 75 +==6077== at 0x484383F: realloc (vg_replace_malloc.c:1192) +==6077== by 0x48BE069: _nc_doalloc (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C6120: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A2F64: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 78 bytes in 1 blocks are still reachable in loss record 35 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x48BBA44: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C0B4F: _nc_setupterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A37BA: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 128 bytes in 1 blocks are still reachable in loss record 36 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48A7F7F: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A37FE: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 128 bytes in 4 blocks are still reachable in loss record 37 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x109342: game_init (2048.c:23) +==6077== by 0x109CCF: main (main.c:7) +==6077== +==6077== 156 bytes in 1 blocks are still reachable in loss record 38 of 75 +==6077== at 0x484383F: realloc (vg_replace_malloc.c:1192) +==6077== by 0x48BE069: _nc_doalloc (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C8F36: _nc_read_termtype (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C92DB: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C96F2: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C982F: _nc_read_entry2 (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C0789: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C0B37: _nc_setupterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A37BA: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== +==6077== 168 bytes in 1 blocks are still reachable in loss record 39 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48C278E: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A2F64: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 168 bytes in 1 blocks are still reachable in loss record 40 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48C278E: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A2FD8: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 168 bytes in 1 blocks are still reachable in loss record 41 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48C278E: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3012: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 168 bytes in 1 blocks are still reachable in loss record 42 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48C278E: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A304C: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 168 bytes in 1 blocks are still reachable in loss record 43 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48C278E: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3083: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 168 bytes in 1 blocks are still reachable in loss record 44 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48C278E: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A30BD: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 168 bytes in 1 blocks are still reachable in loss record 45 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48C278E: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3225: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 168 bytes in 1 blocks are still reachable in loss record 46 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48C278E: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3273: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 168 bytes in 1 blocks are still reachable in loss record 47 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48C278E: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A32C1: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 168 bytes in 1 blocks are still reachable in loss record 48 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48C278E: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3314: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 168 bytes in 1 blocks are still reachable in loss record 49 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48C278E: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A2D34: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 168 bytes in 1 blocks are possibly lost in loss record 50 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48C278E: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C5A80: _nc_tiparm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A2F9E: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A39AD: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 288 bytes in 1 blocks are still reachable in loss record 51 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48A3F15: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A40E8: newwin_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A83AB: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A37FE: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 288 bytes in 1 blocks are still reachable in loss record 52 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48A3F15: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A40E8: newwin_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A83D1: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A37FE: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 288 bytes in 1 blocks are still reachable in loss record 53 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48A3F15: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A40E8: newwin_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A8574: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A37FE: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 296 bytes in 1 blocks are still reachable in loss record 54 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48A3EF6: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A40E8: newwin_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A83AB: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A37FE: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 296 bytes in 1 blocks are still reachable in loss record 55 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48A3EF6: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A40E8: newwin_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A83D1: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A37FE: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 296 bytes in 1 blocks are still reachable in loss record 56 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48A3EF6: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A40E8: newwin_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A8574: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A37FE: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 504 bytes in 21 blocks are still reachable in loss record 57 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48BB712: _nc_add_to_try (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48BE5C8: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48BF985: _nc_keypad (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109B32: tui_init (tui.c:15) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 512 bytes in 1 blocks are still reachable in loss record 58 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48A7F5C: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A37FE: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 608 bytes in 1 blocks are still reachable in loss record 59 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48C911B: _nc_read_termtype (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C92DB: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C96F2: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C982F: _nc_read_entry2 (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C0789: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C0B37: _nc_setupterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A37BA: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 608 bytes in 1 blocks are still reachable in loss record 60 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x48BBB1A: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C0B4F: _nc_setupterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A37BA: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 760 bytes in 1 blocks are still reachable in loss record 61 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48C0AE8: _nc_setupterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A37BA: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 940 bytes in 1 blocks are still reachable in loss record 62 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x48C9022: _nc_read_termtype (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C92DB: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C96F2: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C982F: _nc_read_entry2 (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C0789: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C0B37: _nc_setupterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A37BA: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 1,464 bytes in 61 blocks are still reachable in loss record 63 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48BB76F: _nc_add_to_try (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48BE5C8: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48BF985: _nc_keypad (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109B32: tui_init (tui.c:15) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 1,560 bytes in 1 blocks are still reachable in loss record 64 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48C0FE7: new_prescr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CB8: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 1,664 bytes in 1 blocks are still reachable in loss record 65 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x48C872A: _nc_read_termtype (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C92DB: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C96F2: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C982F: _nc_read_entry2 (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C0789: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C0B37: _nc_setupterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A37BA: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 1,680 bytes in 70 blocks are still reachable in loss record 66 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48BB712: _nc_add_to_try (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48BE4D6: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48BF985: _nc_keypad (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109B32: tui_init (tui.c:15) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 2,208 bytes in 92 blocks are still reachable in loss record 67 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48BB76F: _nc_add_to_try (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48BE4D6: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48BF985: _nc_keypad (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109B32: tui_init (tui.c:15) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 3,493 bytes in 1 blocks are still reachable in loss record 68 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x48AB9AE: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A4F92: vw_printw (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A520B: mvprintw (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109BC7: tui_loop (tui.c:25) +==6077== by 0x109D05: main (main.c:10) +==6077== +==6077== 3,584 bytes in 1 blocks are still reachable in loss record 69 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48B9A20: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A87D5: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A37FE: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 3,904 bytes in 1 blocks are still reachable in loss record 70 of 75 +==6077== at 0x484383F: realloc (vg_replace_malloc.c:1192) +==6077== by 0x48BE069: _nc_doalloc (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C8F55: _nc_read_termtype (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C92DB: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C96F2: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C982F: _nc_read_entry2 (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C0789: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C0B37: _nc_setupterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A37BA: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== +==6077== 3,904 bytes in 1 blocks are still reachable in loss record 71 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x48BB9F1: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48C0B4F: _nc_setupterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A37BA: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 3,980 bytes in 1 blocks are still reachable in loss record 72 of 75 +==6077== at 0x483E7C5: malloc (vg_replace_malloc.c:380) +==6077== by 0x48A806D: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A37FE: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 97,272 bytes in 18 blocks are still reachable in loss record 73 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48A4131: newwin_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A83AB: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A37FE: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 97,272 bytes in 18 blocks are still reachable in loss record 74 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48A4131: newwin_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A83D1: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A37FE: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== 97,272 bytes in 18 blocks are still reachable in loss record 75 of 75 +==6077== at 0x48435FF: calloc (vg_replace_malloc.c:1117) +==6077== by 0x48A4131: newwin_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A8574: ??? (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A37FE: newterm_sp (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x48A3CCA: newterm (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x489FE32: initscr (in /usr/lib/libncursesw.so.6.3) +==6077== by 0x109AFB: tui_init (tui.c:10) +==6077== by 0x109CF9: main (main.c:8) +==6077== +==6077== LEAK SUMMARY: +==6077== definitely lost: 0 bytes in 0 blocks +==6077== indirectly lost: 0 bytes in 0 blocks +==6077== possibly lost: 201 bytes in 3 blocks +==6077== still reachable: 328,007 bytes in 366 blocks +==6077== suppressed: 0 bytes in 0 blocks +==6077== +==6077== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)