bogdanfinn / tls-client

net/http.Client like HTTP Client with options to select specific client TLS Fingerprints to use for requests.
BSD 4-Clause "Original" or "Old" License
667 stars 133 forks source link

PSA: Segfault on Go 1.21 (`fatal: morestack on g0`) #92

Open clouedoc opened 6 months ago

clouedoc commented 6 months ago

This is more a PSA than a bug report, as it appears that this is something that is happening to other projects: https://github.com/golang/go/issues/62440

TLS client version

master, after 1.7.1

System information

MacOS 13.2.1 (22D68) – Ventura

Issue description

Building the project with Go 1.21 gets me a fatal: morestack on g0 error when used as a shared library.

Steps to reproduce / Code Sample

  1. Install Go 1.21
  2. cd cffi_dist && ./build.sh master-go1.21
  3. Use the library