23 Nov
2022
23 Nov
'22
8:22 p.m.
On Wed Nov 23 20:22:32 2022 +0000, Brendan Shanks wrote:
Unfortunately this patch seems to be causing Wine to crash, at least on macOS Ventura and Monterey. After the preloader loads the wine loader, `environ` in the loader is NULL for some reason. I'm still looking into this, but as a quick hack, using `*(NSGetEnviron())` (and including `<crt_externs.h>`) instead of `environ` in main() works. I’m assuming in bother cases you’ve built wine64 against Xcode14?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/1396#note_17223