short.exe leading to segmentation error on win11
Closed this issue · 1 comments
F2011B commented
The example short.exe can be compiled,
however on windows 11 with
zig-windows-x86_64-0.13.0
I receive a segmentation error calling the executable with
.\zig-out\bin\short.exe --port=12 --host=123
Segmentation fault at address 0x2206b980153
In case i call it in the following way no segmentation error is thrown.
.\zig-out\bin\short.exe --port=12
debug: server is listening on localhost
Therefore the treatment of the host variable seems to be faulty.
sam701 commented
Unfortunately, I do not have any windows system I can test on. I cannot reproduce this behaviour on macos or linux. We need to wait for someone who could look into on Windows.