Memory leak in box drawings #586

Closed
opened 5 months ago by dnkl · 0 comments
dnkl commented 5 months ago
Owner

Got this one while I was testing something completely unrelated. I did run notcurses-demo earlier, in the same session.

Direct leak of 1500 byte(s) in 25 object(s) allocated from:
    #0 0x7f03cf4f8459 in __interceptor_calloc /build/gcc/src/gcc/libsanitizer/asan/asan_malloc_linux.cpp:154
    #1 0x557a79c2e82c in xcalloc ../../xmalloc.c:32
    #2 0x557a79a47808 in box_drawing ../../box-drawing.c:2422
    #3 0x557a79ac4bbc in render_cell ../../render.c:547
    #4 0x557a79ac8268 in render_row ../../render.c:719
    #5 0x557a79ad134b in render_sixel ../../render.c:1126
    #6 0x557a79ad2a3b in render_sixel_images ../../render.c:1199
    #7 0x557a79aeb679 in grid_render ../../render.c:2324
    #8 0x557a79b07ed7 in fdm_hook_refresh_pending_terminals ../../render.c:3480
    #9 0x557a79a88133 in fdm_poll ../../fdm.c:415
    #10 0x557a79ab715e in main ../../main.c:535
    #11 0x7f03ce4bdb24 in __libc_start_main (/usr/lib/libc.so.6+0x27b24)
Got this one while I was testing something completely unrelated. I did run `notcurses-demo` earlier, in the same session. ``` Direct leak of 1500 byte(s) in 25 object(s) allocated from: #0 0x7f03cf4f8459 in __interceptor_calloc /build/gcc/src/gcc/libsanitizer/asan/asan_malloc_linux.cpp:154 #1 0x557a79c2e82c in xcalloc ../../xmalloc.c:32 #2 0x557a79a47808 in box_drawing ../../box-drawing.c:2422 #3 0x557a79ac4bbc in render_cell ../../render.c:547 #4 0x557a79ac8268 in render_row ../../render.c:719 #5 0x557a79ad134b in render_sixel ../../render.c:1126 #6 0x557a79ad2a3b in render_sixel_images ../../render.c:1199 #7 0x557a79aeb679 in grid_render ../../render.c:2324 #8 0x557a79b07ed7 in fdm_hook_refresh_pending_terminals ../../render.c:3480 #9 0x557a79a88133 in fdm_poll ../../fdm.c:415 #10 0x557a79ab715e in main ../../main.c:535 #11 0x7f03ce4bdb24 in __libc_start_main (/usr/lib/libc.so.6+0x27b24) ```
dnkl added the
bug
label 5 months ago
dnkl closed this issue 5 months ago
dnkl referenced this issue from a commit 5 months ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.