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

fatal error during flambda pass #7291

Closed
vicuna opened this issue Jul 18, 2016 · 4 comments

Comments

Projects
None yet
2 participants
@vicuna
Copy link

commented Jul 18, 2016

Original bug ID: 7291
Reporter: @c-cube
Assigned to: @mshinwell
Status: closed (set by @damiendoligez on 2016-10-26T14:26:19Z)
Resolution: fixed
Priority: normal
Severity: crash
Platform: all?
OS: archlinux 64 bits
Version: 4.03.0
Target version: 4.04.0 +dev / +beta1 / +beta2
Fixed in version: 4.04.0 +dev / +beta1 / +beta2
Category: middle end (typedtree to clambda)

Bug description

A project of mine compiles fine on 4.03.0, but fails in 4.03.0+flambda with the following error:

>> Fatal error: When simplifying [Project_var], the closure ID subst/3626 in the approximation of the set of closures did not match the closure ID subst_partial_fun/3548 in the [Project_var] term.  Approximation: { descr=(closure:
subst/3626 from { descr=(set_of_closures:
subst/3626 invariant_params={ (param/3627 { }) } freshening={ vars_within_closure 
{ (id/3573 id/3625) }, closure_id { (subst/3574 subst/3626) } }) var=subst_set_of_closures/3632 symbol=<no symbol> }) var=subst/3636 symbol=<no symbol> }
 Var-within-closure being projected: subst_1967/3549

Fatal error: exception Misc.Fatal_error

Steps to reproduce

$ opam sw 4.03.0+flambda
$ opam pin add -k git nunchaku https://github.com/nunchaku-inria/nunchaku.git#bug-flambda

^
it should fail during compilation of nunchaku itself. Sorry, the compilation is a bit long.

Additional information

Opam files are attached (colored output enabled, use less -R).

File attachments

@vicuna

This comment has been minimized.

Copy link
Author

commented Jul 28, 2016

Comment author: @mshinwell

I am going to look at this.

@vicuna

This comment has been minimized.

Copy link
Author

commented Jul 29, 2016

Comment author: @mshinwell

I have made progress on this today, and hope we can get a fix early next week.

@vicuna

This comment has been minimized.

Copy link
Author

commented Aug 1, 2016

Comment author: @mshinwell

#731

@vicuna

This comment has been minimized.

Copy link
Author

commented Oct 26, 2016

Comment author: @damiendoligez

This bug is fixed by #780, which supersedes #731.

#780

@vicuna vicuna closed this Oct 26, 2016

@vicuna vicuna added the middle-end label Mar 14, 2019

@vicuna vicuna added this to the 4.04.0 milestone Mar 14, 2019

@vicuna vicuna added the bug label Mar 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.