dankamongmen / growlight

notcurses block device manager / system installation tool

Home Page:https://nick-black.com/dankwiki/index.php/Growlight

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Segfault when expanding window during initialization

dankamongmen opened this issue · comments

I started growlight in a small terminal window. While the Initializing... banner was up, I resized the window. Upon new output being generated, growlight segfaulted out. Not sure how easy this will be to reproduce, but this ought be obvious enough if we can get a coredump.

Reproducible, and I got one:

[schwarzgerat](139) $ cat e
==1709745== Memcheck, a memory error detector
==1709745== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==1709745== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info
==1709745== Command: ./growlight
==1709745== 
Term: 45x80 vte-256color (VTE with xterm 256-colors)
==1709745== Warning: noted but unhandled ioctl 0x5a04 with no size/direction hints.
==1709745==    This could cause spurious value errors to appear.
==1709745==    See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
==1709745== Warning: noted but unhandled ioctl 0x5a05 with no size/direction hints.
==1709745==    This could cause spurious value errors to appear.
==1709745==    See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
==1709745== Warning: noted but unhandled ioctl 0x5a27 with no size/direction hints.
==1709745==    This could cause spurious value errors to appear.
==1709745==    See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
==1709745== Warning: noted but unhandled ioctl 0x5a12 with no size/direction hints.
==1709745==    This could cause spurious value errors to appear.
==1709745==    See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
==1709745== Warning: noted but unhandled ioctl 0x5a13 with no size/direction hints.
==1709745==    This could cause spurious value errors to appear.
==1709745==    See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
==1709745== Thread 9:
==1709745== Invalid read of size 8
==1709745==    at 0x4D26E5E: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745==  Address 0xf47ce70 is 16 bytes after a block of size 172,800 alloc'd
==1709745==    at 0x48386AF: malloc (vg_replace_malloc.c:306)
==1709745==    by 0x483ADE7: realloc (vg_replace_malloc.c:834)
==1709745==    by 0x4D28F37: ncpile_render (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D2A070: notcurses_render (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12E56B: screen_update (notcurses.c:406)
==1709745==    by 0x12E56B: show_splash (notcurses.c:1569)
==1709745==    by 0x1106B9: main (notcurses.c:6105)
==1709745== 
==1709745== Invalid read of size 1
==1709745==    at 0x4D26EB9: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745==  Address 0xf47ce89 is 23 bytes before a block of size 57,600 free'd
==1709745==    at 0x483AD7B: realloc (vg_replace_malloc.c:834)
==1709745==    by 0x4D26669: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EB0: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745==  Block was alloc'd at
==1709745==    at 0x48386AF: malloc (vg_replace_malloc.c:306)
==1709745==    by 0x483ADE7: realloc (vg_replace_malloc.c:834)
==1709745==    by 0x4D26669: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EB0: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12E56B: screen_update (notcurses.c:406)
==1709745==    by 0x12E56B: show_splash (notcurses.c:1569)
==1709745==    by 0x1106B9: main (notcurses.c:6105)
==1709745== 
==1709745== Invalid read of size 8
==1709745==    at 0x4D26F31: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745==  Address 0xf47ce60 is 0 bytes after a block of size 172,800 alloc'd
==1709745==    at 0x48386AF: malloc (vg_replace_malloc.c:306)
==1709745==    by 0x483ADE7: realloc (vg_replace_malloc.c:834)
==1709745==    by 0x4D28F37: ncpile_render (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D2A070: notcurses_render (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12E56B: screen_update (notcurses.c:406)
==1709745==    by 0x12E56B: show_splash (notcurses.c:1569)
==1709745==    by 0x1106B9: main (notcurses.c:6105)
==1709745== 
==1709745== Invalid read of size 2
==1709745==    at 0x4D26F39: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745==  Address 0xf47ce6e is 14 bytes after a block of size 172,800 alloc'd
==1709745==    at 0x48386AF: malloc (vg_replace_malloc.c:306)
==1709745==    by 0x483ADE7: realloc (vg_replace_malloc.c:834)
==1709745==    by 0x4D28F37: ncpile_render (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D2A070: notcurses_render (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12E56B: screen_update (notcurses.c:406)
==1709745==    by 0x12E56B: show_splash (notcurses.c:1569)
==1709745==    by 0x1106B9: main (notcurses.c:6105)
==1709745== 
==1709745== Invalid read of size 8
==1709745==    at 0x4D26F48: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745==  Address 0xf47ce70 is 16 bytes after a block of size 172,800 alloc'd
==1709745==    at 0x48386AF: malloc (vg_replace_malloc.c:306)
==1709745==    by 0x483ADE7: realloc (vg_replace_malloc.c:834)
==1709745==    by 0x4D28F37: ncpile_render (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D2A070: notcurses_render (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12E56B: screen_update (notcurses.c:406)
==1709745==    by 0x12E56B: show_splash (notcurses.c:1569)
==1709745==    by 0x1106B9: main (notcurses.c:6105)
==1709745== 
==1709745== Invalid read of size 4
==1709745==    at 0x4D19770: cell_extended_gcluster (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D27014: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745==  Address 0xf47ce68 is 8 bytes after a block of size 172,800 alloc'd
==1709745==    at 0x48386AF: malloc (vg_replace_malloc.c:306)
==1709745==    by 0x483ADE7: realloc (vg_replace_malloc.c:834)
==1709745==    by 0x4D28F37: ncpile_render (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D2A070: notcurses_render (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12E56B: screen_update (notcurses.c:406)
==1709745==    by 0x12E56B: show_splash (notcurses.c:1569)
==1709745==    by 0x1106B9: main (notcurses.c:6105)
==1709745== 
==1709745== Invalid read of size 1
==1709745==    at 0x483CB93: strcmp (vg_replace_strmem.c:847)
==1709745==    by 0x4D27044: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745==  Address 0xf47ce68 is 8 bytes after a block of size 172,800 alloc'd
==1709745==    at 0x48386AF: malloc (vg_replace_malloc.c:306)
==1709745==    by 0x483ADE7: realloc (vg_replace_malloc.c:834)
==1709745==    by 0x4D28F37: ncpile_render (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D2A070: notcurses_render (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12E56B: screen_update (notcurses.c:406)
==1709745==    by 0x12E56B: show_splash (notcurses.c:1569)
==1709745==    by 0x1106B9: main (notcurses.c:6105)
==1709745== 
==1709745== Invalid read of size 8
==1709745==    at 0x4D26EBF: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745==  Address 0xf47cea0 is 0 bytes inside a block of size 57,600 free'd
==1709745==    at 0x483AD7B: realloc (vg_replace_malloc.c:834)
==1709745==    by 0x4D26669: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EB0: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745==  Block was alloc'd at
==1709745==    at 0x48386AF: malloc (vg_replace_malloc.c:306)
==1709745==    by 0x483ADE7: realloc (vg_replace_malloc.c:834)
==1709745==    by 0x4D26669: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EB0: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12E56B: screen_update (notcurses.c:406)
==1709745==    by 0x12E56B: show_splash (notcurses.c:1569)
==1709745==    by 0x1106B9: main (notcurses.c:6105)
==1709745== 
==1709745== Invalid read of size 2
==1709745==    at 0x4D267D0: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D26F60: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745==  Address 0xf47ce9e is 2 bytes before a block of size 57,600 free'd
==1709745==    at 0x483AD7B: realloc (vg_replace_malloc.c:834)
==1709745==    by 0x4D26669: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EB0: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745==  Block was alloc'd at
==1709745==    at 0x48386AF: malloc (vg_replace_malloc.c:306)
==1709745==    by 0x483ADE7: realloc (vg_replace_malloc.c:834)
==1709745==    by 0x4D26669: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EB0: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12E56B: screen_update (notcurses.c:406)
==1709745==    by 0x12E56B: show_splash (notcurses.c:1569)
==1709745==    by 0x1106B9: main (notcurses.c:6105)
==1709745== 
==1709745== Invalid read of size 8
==1709745==    at 0x4D267E2: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D26F60: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745==  Address 0xf47cea0 is 0 bytes inside a block of size 57,600 free'd
==1709745==    at 0x483AD7B: realloc (vg_replace_malloc.c:834)
==1709745==    by 0x4D26669: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EB0: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745==  Block was alloc'd at
==1709745==    at 0x48386AF: malloc (vg_replace_malloc.c:306)
==1709745==    by 0x483ADE7: realloc (vg_replace_malloc.c:834)
==1709745==    by 0x4D26669: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EB0: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12E56B: screen_update (notcurses.c:406)
==1709745==    by 0x12E56B: show_splash (notcurses.c:1569)
==1709745==    by 0x1106B9: main (notcurses.c:6105)
==1709745== 
==1709745== Invalid read of size 4
==1709745==    at 0x4D267EA: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D26F60: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745==  Address 0xf47ce98 is 8 bytes before a block of size 57,600 free'd
==1709745==    at 0x483AD7B: realloc (vg_replace_malloc.c:834)
==1709745==    by 0x4D26669: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EB0: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745==  Block was alloc'd at
==1709745==    at 0x48386AF: malloc (vg_replace_malloc.c:306)
==1709745==    by 0x483ADE7: realloc (vg_replace_malloc.c:834)
==1709745==    by 0x4D26669: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EB0: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12E56B: screen_update (notcurses.c:406)
==1709745==    by 0x12E56B: show_splash (notcurses.c:1569)
==1709745==    by 0x1106B9: main (notcurses.c:6105)
==1709745== 
==1709745== Invalid read of size 8
==1709745==    at 0x4D26F61: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745==  Address 0xf47cea0 is 0 bytes inside a block of size 57,600 free'd
==1709745==    at 0x483AD7B: realloc (vg_replace_malloc.c:834)
==1709745==    by 0x4D26669: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EB0: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745==  Block was alloc'd at
==1709745==    at 0x48386AF: malloc (vg_replace_malloc.c:306)
==1709745==    by 0x483ADE7: realloc (vg_replace_malloc.c:834)
==1709745==    by 0x4D26669: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EB0: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12E56B: screen_update (notcurses.c:406)
==1709745==    by 0x12E56B: show_splash (notcurses.c:1569)
==1709745==    by 0x1106B9: main (notcurses.c:6105)
==1709745== 
==1709745== Invalid write of size 1
==1709745==    at 0x4D26F65: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745==  Address 0xf47ceb8 is 24 bytes inside a block of size 57,600 free'd
==1709745==    at 0x483AD7B: realloc (vg_replace_malloc.c:834)
==1709745==    by 0x4D26669: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EB0: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745==  Block was alloc'd at
==1709745==    at 0x48386AF: malloc (vg_replace_malloc.c:306)
==1709745==    by 0x483ADE7: realloc (vg_replace_malloc.c:834)
==1709745==    by 0x4D26669: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EB0: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12E56B: screen_update (notcurses.c:406)
==1709745==    by 0x12E56B: show_splash (notcurses.c:1569)
==1709745==    by 0x1106B9: main (notcurses.c:6105)
==1709745== 
==1709745== Conditional jump or move depends on uninitialised value(s)
==1709745==    at 0x4D26EBD: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745== 
==1709745== Conditional jump or move depends on uninitialised value(s)
==1709745==    at 0x4D26E7B: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745== 
==1709745== Conditional jump or move depends on uninitialised value(s)
==1709745==    at 0x4D26E9E: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745== 
==1709745== Conditional jump or move depends on uninitialised value(s)
==1709745==    at 0x4D26F46: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745== 
==1709745== Conditional jump or move depends on uninitialised value(s)
==1709745==    at 0x4D26F50: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745== 
==1709745== Conditional jump or move depends on uninitialised value(s)
==1709745==    at 0x4D19780: cell_extended_gcluster (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D27014: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745== 
==1709745== Conditional jump or move depends on uninitialised value(s)
==1709745==    at 0x483CB98: strcmp (vg_replace_strmem.c:847)
==1709745==    by 0x4D27044: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745== 
==1709745== Conditional jump or move depends on uninitialised value(s)
==1709745==    at 0x4D27051: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745== 
==1709745== Invalid write of size 8
==1709745==    at 0x4D26E8C: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745==  Address 0xf48b4e0 is 0 bytes inside a block of size 8,192 free'd
==1709745==    at 0x48399AB: free (vg_replace_malloc.c:538)
==1709745==    by 0x4D1FF22: ncplane_vprintf_yx (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x123616: ncplane_vprintf (notcurses.h:1568)
==1709745==    by 0x123616: cwprintw (notcurses.c:648)
==1709745==    by 0x12370C: draw_main_window (notcurses.c:674)
==1709745==    by 0x125772: locked_vdiag (notcurses.c:691)
==1709745==    by 0x12B1DB: locked_diag (notcurses.c:702)
==1709745==    by 0x110704: main (notcurses.c:6119)
==1709745==  Block was alloc'd at
==1709745==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==1709745==    by 0x4D19E29: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D1FEFE: ncplane_vprintf_yx (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x123616: ncplane_vprintf (notcurses.h:1568)
==1709745==    by 0x123616: cwprintw (notcurses.c:648)
==1709745==    by 0x12370C: draw_main_window (notcurses.c:674)
==1709745==    by 0x125772: locked_vdiag (notcurses.c:691)
==1709745==    by 0x12B1DB: locked_diag (notcurses.c:702)
==1709745==    by 0x110704: main (notcurses.c:6119)
==1709745== 
==1709745== Invalid write of size 8
==1709745==    at 0x4D26EB5: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745==  Address 0xf48b4e0 is 0 bytes inside a block of size 8,192 free'd
==1709745==    at 0x48399AB: free (vg_replace_malloc.c:538)
==1709745==    by 0x4D1FF22: ncplane_vprintf_yx (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x123616: ncplane_vprintf (notcurses.h:1568)
==1709745==    by 0x123616: cwprintw (notcurses.c:648)
==1709745==    by 0x12370C: draw_main_window (notcurses.c:674)
==1709745==    by 0x125772: locked_vdiag (notcurses.c:691)
==1709745==    by 0x12B1DB: locked_diag (notcurses.c:702)
==1709745==    by 0x110704: main (notcurses.c:6119)
==1709745==  Block was alloc'd at
==1709745==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==1709745==    by 0x4D19E29: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D1FEFE: ncplane_vprintf_yx (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x123616: ncplane_vprintf (notcurses.h:1568)
==1709745==    by 0x123616: cwprintw (notcurses.c:648)
==1709745==    by 0x12370C: draw_main_window (notcurses.c:674)
==1709745==    by 0x125772: locked_vdiag (notcurses.c:691)
==1709745==    by 0x12B1DB: locked_diag (notcurses.c:702)
==1709745==    by 0x110704: main (notcurses.c:6119)
==1709745== 
==1709745== Invalid write of size 4
==1709745==    at 0x4D26EDA: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745==  Address 0xf48d918 is 24 bytes inside a block of size 44 free'd
==1709745==    at 0x48399AB: free (vg_replace_malloc.c:538)
==1709745==    by 0x4D98C07: _nl_make_l10nflist (l10nflist.c:237)
==1709745==    by 0x4D9223D: _nl_find_locale (findlocale.c:205)
==1709745==    by 0x4D919F7: setlocale (setlocale.c:337)
==1709745==    by 0x1194AC: growlight_init (growlight.c:1957)
==1709745==    by 0x11071B: main (notcurses.c:6120)
==1709745==  Block was alloc'd at
==1709745==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==1709745==    by 0x4D988BB: _nl_make_l10nflist (l10nflist.c:166)
==1709745==    by 0x4D9223D: _nl_find_locale (findlocale.c:205)
==1709745==    by 0x4D919F7: setlocale (setlocale.c:337)
==1709745==    by 0x1194AC: growlight_init (growlight.c:1957)
==1709745==    by 0x11071B: main (notcurses.c:6120)
==1709745== 
==1709745== Invalid read of size 4
==1709745==    at 0x4D26CE6: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D26F0E: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745==  Address 0xf48d918 is 24 bytes inside a block of size 44 free'd
==1709745==    at 0x48399AB: free (vg_replace_malloc.c:538)
==1709745==    by 0x4D98C07: _nl_make_l10nflist (l10nflist.c:237)
==1709745==    by 0x4D9223D: _nl_find_locale (findlocale.c:205)
==1709745==    by 0x4D919F7: setlocale (setlocale.c:337)
==1709745==    by 0x1194AC: growlight_init (growlight.c:1957)
==1709745==    by 0x11071B: main (notcurses.c:6120)
==1709745==  Block was alloc'd at
==1709745==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==1709745==    by 0x4D988BB: _nl_make_l10nflist (l10nflist.c:166)
==1709745==    by 0x4D9223D: _nl_find_locale (findlocale.c:205)
==1709745==    by 0x4D919F7: setlocale (setlocale.c:337)
==1709745==    by 0x1194AC: growlight_init (growlight.c:1957)
==1709745==    by 0x11071B: main (notcurses.c:6120)
==1709745== 
==1709745== Invalid write of size 4
==1709745==    at 0x4D26D1F: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D26F0E: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745==  Address 0xf48d918 is 24 bytes inside a block of size 44 free'd
==1709745==    at 0x48399AB: free (vg_replace_malloc.c:538)
==1709745==    by 0x4D98C07: _nl_make_l10nflist (l10nflist.c:237)
==1709745==    by 0x4D9223D: _nl_find_locale (findlocale.c:205)
==1709745==    by 0x4D919F7: setlocale (setlocale.c:337)
==1709745==    by 0x1194AC: growlight_init (growlight.c:1957)
==1709745==    by 0x11071B: main (notcurses.c:6120)
==1709745==  Block was alloc'd at
==1709745==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==1709745==    by 0x4D988BB: _nl_make_l10nflist (l10nflist.c:166)
==1709745==    by 0x4D9223D: _nl_find_locale (findlocale.c:205)
==1709745==    by 0x4D919F7: setlocale (setlocale.c:337)
==1709745==    by 0x1194AC: growlight_init (growlight.c:1957)
==1709745==    by 0x11071B: main (notcurses.c:6120)
==1709745== 
==1709745== Invalid read of size 4
==1709745==    at 0x4D26F0F: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745==  Address 0xf48d924 is 36 bytes inside a block of size 44 free'd
==1709745==    at 0x48399AB: free (vg_replace_malloc.c:538)
==1709745==    by 0x4D98C07: _nl_make_l10nflist (l10nflist.c:237)
==1709745==    by 0x4D9223D: _nl_find_locale (findlocale.c:205)
==1709745==    by 0x4D919F7: setlocale (setlocale.c:337)
==1709745==    by 0x1194AC: growlight_init (growlight.c:1957)
==1709745==    by 0x11071B: main (notcurses.c:6120)
==1709745==  Block was alloc'd at
==1709745==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==1709745==    by 0x4D988BB: _nl_make_l10nflist (l10nflist.c:166)
==1709745==    by 0x4D9223D: _nl_find_locale (findlocale.c:205)
==1709745==    by 0x4D919F7: setlocale (setlocale.c:337)
==1709745==    by 0x1194AC: growlight_init (growlight.c:1957)
==1709745==    by 0x11071B: main (notcurses.c:6120)
==1709745== 
==1709745== Invalid write of size 4
==1709745==    at 0x4D26F16: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745==  Address 0xf48d914 is 20 bytes inside a block of size 44 free'd
==1709745==    at 0x48399AB: free (vg_replace_malloc.c:538)
==1709745==    by 0x4D98C07: _nl_make_l10nflist (l10nflist.c:237)
==1709745==    by 0x4D9223D: _nl_find_locale (findlocale.c:205)
==1709745==    by 0x4D919F7: setlocale (setlocale.c:337)
==1709745==    by 0x1194AC: growlight_init (growlight.c:1957)
==1709745==    by 0x11071B: main (notcurses.c:6120)
==1709745==  Block was alloc'd at
==1709745==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==1709745==    by 0x4D988BB: _nl_make_l10nflist (l10nflist.c:166)
==1709745==    by 0x4D9223D: _nl_find_locale (findlocale.c:205)
==1709745==    by 0x4D919F7: setlocale (setlocale.c:337)
==1709745==    by 0x1194AC: growlight_init (growlight.c:1957)
==1709745==    by 0x11071B: main (notcurses.c:6120)
==1709745== 
==1709745== Invalid read of size 4
==1709745==    at 0x4D26CE6: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D26F1F: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745==  Address 0xf48d920 is 32 bytes inside a block of size 44 free'd
==1709745==    at 0x48399AB: free (vg_replace_malloc.c:538)
==1709745==    by 0x4D98C07: _nl_make_l10nflist (l10nflist.c:237)
==1709745==    by 0x4D9223D: _nl_find_locale (findlocale.c:205)
==1709745==    by 0x4D919F7: setlocale (setlocale.c:337)
==1709745==    by 0x1194AC: growlight_init (growlight.c:1957)
==1709745==    by 0x11071B: main (notcurses.c:6120)
==1709745==  Block was alloc'd at
==1709745==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==1709745==    by 0x4D988BB: _nl_make_l10nflist (l10nflist.c:166)
==1709745==    by 0x4D9223D: _nl_find_locale (findlocale.c:205)
==1709745==    by 0x4D919F7: setlocale (setlocale.c:337)
==1709745==    by 0x1194AC: growlight_init (growlight.c:1957)
==1709745==    by 0x11071B: main (notcurses.c:6120)
==1709745== 
==1709745== Invalid write of size 4
==1709745==    at 0x4D26D1F: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D26F1F: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745==  Address 0xf48d920 is 32 bytes inside a block of size 44 free'd
==1709745==    at 0x48399AB: free (vg_replace_malloc.c:538)
==1709745==    by 0x4D98C07: _nl_make_l10nflist (l10nflist.c:237)
==1709745==    by 0x4D9223D: _nl_find_locale (findlocale.c:205)
==1709745==    by 0x4D919F7: setlocale (setlocale.c:337)
==1709745==    by 0x1194AC: growlight_init (growlight.c:1957)
==1709745==    by 0x11071B: main (notcurses.c:6120)
==1709745==  Block was alloc'd at
==1709745==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==1709745==    by 0x4D988BB: _nl_make_l10nflist (l10nflist.c:166)
==1709745==    by 0x4D9223D: _nl_find_locale (findlocale.c:205)
==1709745==    by 0x4D919F7: setlocale (setlocale.c:337)
==1709745==    by 0x1194AC: growlight_init (growlight.c:1957)
==1709745==    by 0x11071B: main (notcurses.c:6120)
==1709745== 
==1709745== Invalid write of size 4
==1709745==    at 0x4D26F25: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745==  Address 0xf48d914 is 20 bytes inside a block of size 44 free'd
==1709745==    at 0x48399AB: free (vg_replace_malloc.c:538)
==1709745==    by 0x4D98C07: _nl_make_l10nflist (l10nflist.c:237)
==1709745==    by 0x4D9223D: _nl_find_locale (findlocale.c:205)
==1709745==    by 0x4D919F7: setlocale (setlocale.c:337)
==1709745==    by 0x1194AC: growlight_init (growlight.c:1957)
==1709745==    by 0x11071B: main (notcurses.c:6120)
==1709745==  Block was alloc'd at
==1709745==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==1709745==    by 0x4D988BB: _nl_make_l10nflist (l10nflist.c:166)
==1709745==    by 0x4D9223D: _nl_find_locale (findlocale.c:205)
==1709745==    by 0x4D919F7: setlocale (setlocale.c:337)
==1709745==    by 0x1194AC: growlight_init (growlight.c:1957)
==1709745==    by 0x11071B: main (notcurses.c:6120)
==1709745== 
==1709745== Invalid read of size 4
==1709745==    at 0x4D19770: cell_extended_gcluster (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D26814: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D26F60: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745==  Address 0xf48e3b8 is 104 bytes inside a block of size 32,816 free'd
==1709745==    at 0x48399AB: free (vg_replace_malloc.c:538)
==1709745==    by 0x4E2677C: closedir (closedir.c:50)
==1709745==    by 0x4E26F4E: __scandir64_tail (scandir-tail-common.c:82)
==1709745==    by 0x4C2F306: ??? (in /usr/lib/x86_64-linux-gnu/libpciaccess.so.0.11.1)
==1709745==    by 0x119717: glight_pci_init (growlight.c:1570)
==1709745==    by 0x119717: growlight_init (growlight.c:2045)
==1709745==    by 0x11071B: main (notcurses.c:6120)
==1709745==  Block was alloc'd at
==1709745==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==1709745==    by 0x4E26596: __alloc_dir (opendir.c:118)
==1709745==    by 0x4E26699: opendir_tail (opendir.c:69)
==1709745==    by 0x4E26CA2: scandir (scandir64.c:27)
==1709745==    by 0x4C2F306: ??? (in /usr/lib/x86_64-linux-gnu/libpciaccess.so.0.11.1)
==1709745==    by 0x119717: glight_pci_init (growlight.c:1570)
==1709745==    by 0x119717: growlight_init (growlight.c:2045)
==1709745==    by 0x11071B: main (notcurses.c:6120)
==1709745== 
==1709745== Invalid read of size 8
==1709745==    at 0x4D19795: cell_extended_gcluster (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D26814: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D26F60: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745==    by 0x4E5DD4E: clone (clone.S:95)
==1709745==  Address 0x409f is not stack'd, malloc'd or (recently) free'd
==1709745== 
==1709745== 
==1709745== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==1709745==    at 0x4D51FBF: raise (raise.c:46)
==1709745==    by 0x4D5213F: ??? (in /lib/x86_64-linux-gnu/libpthread-2.31.so)
==1709745==    by 0x4D19794: cell_extended_gcluster (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D26814: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D26F60: ??? (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x4D29EE8: ncpile_rasterize (in /usr/lib/x86_64-linux-gnu/libnotcurses.so.2.0.8)
==1709745==    by 0x12AE1B: screen_update (notcurses.c:406)
==1709745==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1709745==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1709745==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1709745==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1709745==    by 0x1182BB: rescan (growlight.c:941)
==1709745==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1709745==    by 0x118710: create_new_device (growlight.c:1192)
==1709745==    by 0x116AE4: lookup_device (growlight.c:1262)
==1709745==    by 0x118BB5: scan_device (growlight.c:1394)
==1709745==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1709745== 
==1709745== HEAP SUMMARY:
==1709745==     in use at exit: 1,011,426 bytes in 2,996 blocks
==1709745==   total heap usage: 7,164 allocs, 4,168 frees, 6,372,808 bytes allocated
==1709745== 
==1709745== LEAK SUMMARY:
==1709745==    definitely lost: 1,232 bytes in 2 blocks
==1709745==    indirectly lost: 20,040 bytes in 255 blocks
==1709745==      possibly lost: 49,088 bytes in 290 blocks
==1709745==    still reachable: 941,066 bytes in 2,449 blocks
==1709745==                       of which reachable via heuristic:
==1709745==                         newarray           : 1,536 bytes in 16 blocks
==1709745==         suppressed: 0 bytes in 0 blocks
==1709745== Rerun with --leak-check=full to see details of leaked memory
==1709745== 
==1709745== Use --track-origins=yes to see where uninitialised values come from
==1709745== For lists of detected and suppressed errors, rerun with: -s
==1709745== ERROR SUMMARY: 11030 errors from 33 contexts (suppressed: 0 from 0)
[schwarzgerat](0) $ 

with notcurses symbols present:

==1724600== Thread 9:
==1724600== Invalid read of size 8
==1724600==    at 0x4D26E5E: cell_fg_alpha (notcurses.h:1858)
==1724600==    by 0x4D26E5E: lock_in_highcontrast (render.c:211)
==1724600==    by 0x4D26E5E: postpaint (render.c:384)
==1724600==    by 0x4D29EE8: ncpile_rasterize (render.c:1059)
==1724600==    by 0x12AE1B: screen_update (notcurses.c:406)
==1724600==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1724600==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1724600==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1724600==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1724600==    by 0x1182BB: rescan (growlight.c:941)
==1724600==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1724600==    by 0x118710: create_new_device (growlight.c:1192)
==1724600==    by 0x116AE4: lookup_device (growlight.c:1262)
==1724600==    by 0x118BB5: scan_device (growlight.c:1394)
==1724600==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1724600==    by 0x4E5DD4E: clone (clone.S:95)
==1724600==  Address 0xf47ce70 is 16 bytes after a block of size 172,800 alloc'd
==1724600==    at 0x48386AF: malloc (vg_replace_malloc.c:306)
==1724600==    by 0x483ADE7: realloc (vg_replace_malloc.c:834)
==1724600==    by 0x4D28F37: engorge_crender_vector (render.c:1078)
==1724600==    by 0x4D28F37: ncpile_render (render.c:1095)
==1724600==    by 0x4D2A070: notcurses_render (render.c:1108)
==1724600==    by 0x12E56B: screen_update (notcurses.c:406)
==1724600==    by 0x12E56B: show_splash (notcurses.c:1569)
==1724600==    by 0x1106B9: main (notcurses.c:6105)
==1724600==
==1724600== Invalid read of size 1
==1724600==    at 0x4D26EB9: lock_in_highcontrast (render.c:217)
==1724600==    by 0x4D26EB9: postpaint (render.c:384)
==1724600==    by 0x4D29EE8: ncpile_rasterize (render.c:1059)
==1724600==    by 0x12AE1B: screen_update (notcurses.c:406)
==1724600==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1724600==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1724600==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1724600==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1724600==    by 0x1182BB: rescan (growlight.c:941)
==1724600==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1724600==    by 0x118710: create_new_device (growlight.c:1192)
==1724600==    by 0x116AE4: lookup_device (growlight.c:1262)
==1724600==    by 0x118BB5: scan_device (growlight.c:1394)
==1724600==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1724600==    by 0x4E5DD4E: clone (clone.S:95)
==1724600==  Address 0xf47ce89 is 23 bytes before a block of size 57,600 free'd
==1724600==    at 0x483AD7B: realloc (vg_replace_malloc.c:834)
==1724600==    by 0x4D26669: notcurses_resize (render.c:40)
==1724600==    by 0x4D29EB0: ncpile_rasterize (render.c:1058)
==1724600==    by 0x12AE1B: screen_update (notcurses.c:406)
==1724600==    by 0x12AE1B: unlock_notcurses_growlight (notcurses.c:3386)
==1724600==    by 0x12AE1B: adapter_callback (notcurses.c:5665)
==1724600==    by 0x1182BB: find_pcie_controller (growlight.c:356)
==1724600==    by 0x1182BB: parse_bus_topology (growlight.c:899)
==1724600==    by 0x1182BB: rescan (growlight.c:941)
==1724600==    by 0x118710: create_new_device_inner (growlight.c:1150)
==1724600==    by 0x118710: create_new_device (growlight.c:1192)
==1724600==    by 0x116AE4: lookup_device (growlight.c:1262)
==1724600==    by 0x118BB5: scan_device (growlight.c:1394)
==1724600==    by 0x4D46EA6: start_thread (pthread_create.c:477)
==1724600==    by 0x4E5DD4E: clone (clone.S:95)
==1724600==  Block was alloc'd at
==1724600==    at 0x48386AF: malloc (vg_replace_malloc.c:306)
==1724600==    by 0x483ADE7: realloc (vg_replace_malloc.c:834)
==1724600==    by 0x4D26669: notcurses_resize (render.c:40)
==1724600==    by 0x4D29EB0: ncpile_rasterize (render.c:1058)
==1724600==    by 0x12E56B: screen_update (notcurses.c:406)
==1724600==    by 0x12E56B: show_splash (notcurses.c:1569)
==1724600==    by 0x1106B9: main (notcurses.c:6105)

This is a notcurses bug. I can reproduce it in notcurses-demo 2.0.8-1.

Filed notcurses bug 1162 here: dankamongmen/notcurses#1162. Let's close this when it's released.

This fix is present in notcurses 2.0.9, which I'm about to release.