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

[erlc] internal consistency check failed on move: "unassigned" #6603

Closed
RobinMorisset opened this issue Dec 30, 2022 · 0 comments · Fixed by #6622
Closed

[erlc] internal consistency check failed on move: "unassigned" #6603

RobinMorisset opened this issue Dec 30, 2022 · 0 comments · Fixed by #6622
Assignees
Labels
bug Issue is reported as a bug team:VM Assigned to OTP team VM

Comments

@RobinMorisset
Copy link
Contributor

On master,

f(X) ->
    f1(
        try [0 || true xor (ok =/= ((?MODULE:f1(ok) ++ []) -- []))] of
            Y ->
                <<0 || f1(Y)>>
        catch
            [] ->
                X
        end
    ).

f1(_) ->
    ok.

crashes erlc with the error message:

unassigned:1: function f/1+38:
  Internal consistency check failed - please report this bug.
  Instruction: {move,{y,0},{x,0}}
  Error:       {unassigned,{y,0}}:
@RobinMorisset RobinMorisset added the bug Issue is reported as a bug label Dec 30, 2022
@rickard-green rickard-green added the team:VM Assigned to OTP team VM label Jan 2, 2023
@RobinMorisset RobinMorisset changed the title [erlc] internal consistency check failed: "unassigned" [erlc] internal consistency check failed on move: "unassigned" Jan 2, 2023
jhogberg added a commit that referenced this issue Jan 4, 2023
…cess/GH-6603

beam_call_types: Handle more boolean ops in will_succeed/3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is reported as a bug team:VM Assigned to OTP team VM
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants