Skip to content

Inconsistent state when bubbling up from a recursive call #30

Closed

Description

@Fidget-Spinner

Now help(1) fails with a different error (a broken assertion). This is because of an inconsistency of states when entering and leaving a recursive function. Basically the following happens:

1st call to f (lasti saved as the tier 1 instruction)
2nd call to f (recursive)
...
nth call to f(lasti saved as the tier 2 instruction)
... bubbles back up
leaves 2nd call to f
leaves 1st call to f (lasti now out of sync since it is tier 1 instruction but actually tier 2 instruction is already available)

Activity

  1. changed the title [-]Assertions fail when bubbling up from a recursive call[/-] [+]Inconsistent state when bubbling up from a recursive call[/+] on Jun 11, 2023
  2. JuliaPoo commented on Jun 12, 2023

    @JuliaPoo

    Fix in #34 for #33 might partially fix this issue, not sure but will merge to fix #33 for now.

  3. Fidget-Spinner commented on Jun 21, 2023

    @Fidget-Spinner
    Author

    Pretty sure this is completely fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      Sponsor
      SponsoredKunjungi sekarang
      Promo