[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Crash in 'find_and_set_default_shell()'
From: |
Gisle Vanem |
Subject: |
Crash in 'find_and_set_default_shell()' |
Date: |
Tue, 10 May 2022 15:03:01 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
Hello list.
Some resent (?) change has caused a crash in
'find_and_set_default_shell()' with this minimal
Makefile:
export PATH := $(PATH):node_modules/.bin
SHELL := env "PATH=$(PATH)" /bin/bash
all:
@echo "Hello"
---------------
Without the 'SHELL ..' line, all is good.
Or even a 'SHELL=/bin/bash' works; no ':='.
Not sure what Gnumake is trying to do here.
The MSVC-2022 built version exits with a
"Security check failure or stack buffer overrun
- code c0000409" at 'gnumake!__report_gsfailure(void)+0x18'
followed by a bogus call-stack; 185 lines of
junk.
I discovered this while trying to build this
project:
https://github.com/Financial-Times/n-fetch
But I'm not sure if the above shell syntax should
work on Windows or not. And I use 32-bit Cygwin
as my POSIX toolbox.
--
--gv
- Crash in 'find_and_set_default_shell()',
Gisle Vanem <=