I have developed a simple CLI program that, given a URL as an argument, returns the response time to me.
Since I have to call up sites that are on old servers (windows server 2008 r2), I had to use an sslContext with CipherSuitesOld.
I compiled it with the -d:ssl -d:openssl10 and -d:release parameters.
The development took place on Windows 11 and the program runs without generating errors.
Reported on Windows server 2008 r2 (but also on windows 2019) and added the necessary libraries for ssl, when I start it, I get the error: SIGSEGV: Illegal storage access..
What can it come from?
Any help is welcome.
I think that the problem is on this line:
let jsonNode: JsonNode = parseJson(readFile("dns_qsanet.json"))
It is the first line below imports.
My debugging attempt continues:
I add segfaults module and now I have this message in console:
Traceback (most recent call last)
C:\Users\mauro_s1nn2ps\.choosenim\toolchains\nim-2.0.2\lib\pure\net.nim(732) firstRunDigitalisoNim
C:\Users\mauro_s1nn2ps\.choosenim\toolchains\nim-2.0.2\lib\system\orc.nim(508) nimDecRefIsLastCyclicStatic
SIGSEGV: Illegal storage access. (Attempt to read from nil?)
Any idea what it could depend on?