-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: First attempt at integrating HCL #87
base: master
Are you sure you want to change the base?
Conversation
Had a crack at this, got segfaults on start: ... # This goes on for a while above, essentially points the finger at noiser
register global: /home/ryan/.cache/nim/inim_d/lib@minimpkg@slogic.nim.c.so sessionNoAutoIndent__O0k9bD9cizXOF7Novj1bn1Qg
register global: /home/ryan/.cache/nim/inim_d/lib@minimpkg@slogic.nim.c.so buffer__pa9cnc9c8OYdSwAdothj57Bw
register global: /home/ryan/.cache/nim/inim_d/lib@minimpkg@slogic.nim.c.so noiser__DGuy2uWscYvZbDnH37g85w
Traceback (most recent call last)
/home/ryan/.choosenim/toolchains/nim-#devel/lib/nimhcr.nim(528) hcrInit
/home/ryan/.choosenim/toolchains/nim-#devel/lib/nimhcr.nim(509) initModules
/home/ryan/.choosenim/toolchains/nim-#devel/lib/nimhcr.nim(465) initGlobalScope
/home/ryan/dev/INim/src/inimpkg/logic.nim(70) logic
/home/ryan/dev/nim/nim-noise/noise.nim(73) init
/home/ryan/dev/nim/nim-noise/noise/basic.nim(113) isUnsupportedTerm
/home/ryan/.choosenim/toolchains/nim-#devel/lib/pure/includes/osenv.nim(131) getEnv
/home/ryan/.choosenim/toolchains/nim-#devel/lib/pure/includes/osenv.nim(103) findEnvVar
/home/ryan/.choosenim/toolchains/nim-#devel/lib/pure/includes/osenv.nim(97) getEnvVarsC
SIGSEGV: Illegal storage access. (Attempt to read from nil?)
Looks like an issue initializing Noise when getting env vars on the terminal. Might not have access or something. |
I'd love to get @timotheecour's eyes on this. This looks tricky! |
there are some basic HCR bugs (eg nim-lang/Nim#13999 although IIRC that was osx bug only); can you minimize (remove all dependencies) to isolate what the bug is? |
Ok, stripped it down so that it worked and I could hotcode reload basic stuff. I hit two issues
And with getEnv
This was run using devel and also 1.2.6 with the same results. @timotheecour Are you aware of any issues with hcr and these areas? |
WIP