Skip to content
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

stack overflow using snack on NGLess #143

Open
luispedro opened this issue Aug 12, 2019 · 1 comment
Open

stack overflow using snack on NGLess #143

luispedro opened this issue Aug 12, 2019 · 1 comment

Comments

@luispedro
Copy link

I tried snack on a clean checkout of NGLess and it first ran for a while, then it errored. From then on, running snack build runs for about a minute and terminates with

error: stack overflow (possible infinite recursion)

I attach the full log of NIX_SHOW_STATS=1 NIX_COUNT_CALLS=1 snack build:
LOG.stderr.txt

Reproducing should be a matter of:

git clone https://github.com/ngless-toolkit/ngless
cd ngless
snack build

(Installed snack with nix-env -iA snack-exe -f https://github.com/nmattia/snack/tarball/master)

@nmattia
Copy link
Owner

nmattia commented Oct 12, 2019

Looks like I missed the notification! There are some Nix-performance related issues with snack, it stresses the evaluator a lot. I looked into it a few times but it's very hairy. Hopefully one day I'll have time to dig into this properly, but I don't use Haskell much these days...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants