Re: seg fault with EXTRA_PREREQS

2025-04-22 Thread Shim Manning
n Fri, Apr 18, 2025 at 11:12 PM Shim Manning > wrote: > > > > Seems that using .EXTRA_PREREQS can cause a segfault under the right > conditions. > ... > > snap_deps > > hash_map_arg (loop happens here) > > snap_file > > expand_extra_prereqs > >

seg fault with EXTRA_PREREQS

2025-04-18 Thread Shim Manning
Seems that using .EXTRA_PREREQS can cause a segfault under the right conditions. in file.c, when"snap_deps" is called to process the EXTRA_PREREQS.. struct dep *prereqs = expand_extra_prereqs (lookup_variable (STRING_SIZE_TUPLE(".EXTRA_PREREQS"))); /* Perform per-file snap operations.