snack icon indicating copy to clipboard operation
snack copied to clipboard

stack overflow using snack on NGLess

Open luispedro opened this issue 6 years ago • 1 comments

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)

luispedro avatar Aug 12 '19 12:08 luispedro

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...

nmattia avatar Oct 12 '19 09:10 nmattia