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

Program crashes eval-pdcfa-gc #82

Open
polux opened this issue Jun 27, 2018 · 0 comments
Open

Program crashes eval-pdcfa-gc #82

polux opened this issue Jun 27, 2018 · 0 comments

Comments

@polux
Copy link

polux commented Jun 27, 2018

The following program seems to crash eval-pdcfa-gc (but not eval-pdcfa-widen-gc).

(define (fiblike N)                                             
  (parse                                                        
   `((rec f (λ (x)
             (if0 x                                             
                  1                                             
                  (+ (f (- x 1)) (f (- x 1))))))                
         ,N)))

Evaluating this program with input 5 yields:

hash-ref: no value found for key
  key: 'f

Interestingly the real fib function (where the second call is (- x 2)) does not crash eval-pdcfa-gc. So this must be due to some interaction between the cache and the GC.

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

1 participant