On Sat, 2022-09-24 at 09:36 +0200, Denis Excoffier wrote: > In my specific configuration (under linux, with --disable-nls, > --disable-load, without using -j, using 'env -i make -d -n'), a > segfault always occurs around line 118 of src/expand.c: > > My linux is old (2.6.32),
The kernel version is not very interesting for a userspace program like GNU make. But, it would be interesting if you could provide the version of libc you are using; on my system I can use: ~$ /lib/x86_64-linux-gnu/libc.so.6 --version | head -n1 You can find the library by running "ldd make | grep libc' It's also interesting you're running with "env -i" that seems like it might be related. Do you get the crash if you run without that? A quick check on my system was not able to show any issues using the same setup as you, even building make with ASAN. I will review the code especially around memory handling in the child structures to see if I can find an error by inspection.