NIF calls to enif_fprintf causing segfaults on Windows
Mon Jul 26 23:27:13 CEST 2021
I have recently moved from a Linux environment to Windows and my NIFs that call `enif_fprintf` are causing segfaults.
A simple call such as `enif_fprintf(stdout, "Hello, world!\n");` will cause issue.
My build setup is:
* Windows 10
* MSYS2 + MinGW 64-bit + gcc
I have tried in both `erl` and `werl` to the same effect as well as `stdout` and `stderr`...
Does anyone have any insight into what might be the issue?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions