8000 Inconsistent state when bubbling up from a recursive call · Issue #30 · pylbbv/pylbbv · GitHub
[go: up one dir, main page]

Skip to content
Inconsistent state when bubbling up from a recursive call #30
@Fidget-Spinner

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)

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

      0