On Wed Nov 23 20:30:34 2022 +0000, Dean M Greer wrote:
> I’m assuming in both cases you’ve built wine64 against Xcode14?
Yes, although I also reproduced it with a test app I built on Mojave. On Mojave environ wasn’t NULL, on Monterey/Ventura it was.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/1396#note_17225
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