|
2 | 2 | # Golang fixer for Windows 7
|
3 | 3 |
|
4 | 4 | ## What's the point?
|
5 |
| -Recently I've noticed that **ALL** programs compiled with _Go >= 1.21.5_ will crash |
6 |
| -on start with the following: |
| 5 | +Recently, I've observed that **all** programs compiled with Go version 1.21.5 or newer will crash on startup |
| 6 | +when run on **Windows 7 / Windows Server 2008**, displaying the following error: |
7 | 7 |
|
8 | 8 | ```
|
9 | 9 | Exception 0xc0000005 0x8 0x0 0x0
|
@@ -35,7 +35,7 @@ gs 0x2b
|
35 | 35 | ```
|
36 | 36 |
|
37 | 37 | ## Why?
|
38 |
| -Thanks to this [this commit](https://github.com/golang/go/commit/9e43850a3298a9b8b1162ba0033d4c53f8637571), all Windows .EXE files generated by the Go compiler are |
| 38 | +Thanks to [this commit](https://github.com/golang/go/commit/9e43850a3298a9b8b1162ba0033d4c53f8637571), all Windows .EXE files generated by the Go compiler are |
39 | 39 | non-functional and will crash upon starting on Windows 7 and Windows Server 2008.
|
40 | 40 |
|
41 | 41 | Previous versions of the Go runtime utilized [RtlGenRandom](https://learn.microsoft.com/en-us/windows/win32/api/ntsecapi/nf-ntsecapi-rtlgenrandom),
|
@@ -63,7 +63,8 @@ As of writing this, I've verified it to work with the following Go executables
|
63 | 63 | on Windows 7:
|
64 | 64 | [Hugo](https://github.com/gohugoio/hugo/releases),
|
65 | 65 | [Syncthing](https://github.com/syncthing/syncthing/releases),
|
66 |
| -[Torrserver](https://github.com/YouROK/TorrServer/releases), all of which were previously |
| 66 | +[Torrserver](https://github.com/YouROK/TorrServer/releases), |
| 67 | +[Netbird](https://github.com/netbirdio/netbird/issues/1307#issuecomment-2266315261) all of which were previously |
67 | 68 | non-functional on Windows 7 until patched. Let me know if there's something that doesn't work.
|
68 | 69 |
|
69 | 70 | ## How patch works
|
|
0 commit comments