treeform / puppy

Puppy fetches via HTTP and HTTPS
MIT License
184 stars 27 forks source link

segfault with orc #93

Closed TechThupport closed 1 year ago

TechThupport commented 1 year ago
/root/.nimble/pkgs/puppy-2.0.1/puppy.nim(33) fetch
/root/.nimble/pkgs/puppy-2.0.1/puppy/platforms/win32/platform.nim(39) fetch
/root/.choosenim/toolchains/nim-1.6.6/lib/pure/strutils.nim(1070) parseInt
/root/.choosenim/toolchains/nim-1.6.6/lib/pure/parseutils.nim(488) parseInt
/root/.choosenim/toolchains/nim-1.6.6/lib/pure/parseutils.nim(472) parseBiggestInt
/root/.choosenim/toolchains/nim-1.6.6/lib/pure/parseutils.nim(437) rawParseInt
SIGSEGV: Illegal storage access. (Attempt to read from nil?)

I'm not really sure how to get more info from the stacktrace so I can produce a small poc for this. Help is appreciated.

treeform commented 1 year ago

It looks like its failing to parse the URL. Could you be passing a nil url or invalid port?

A smaller use case would really help.

TechThupport commented 1 year ago

The problem is the same code works for refc, markAndSweep fine. Will try to find a smaller use case.

TechThupport commented 1 year ago

Alright this can be closed, it was my code. Thanks 👍