Skip to content

Image freeze when stepping into primitive 198 #105

Open

Description

@StevenCostiou

When using the interpreter to step code calling this primitive, the image freeze.
Stepping over the sender context of that primitive works as a workaround.

Notes:

  • 198 is actually a fake primitive that always fail
  • 198 is called in ensure: from blocks, but it really seems that the freezes happens within 198 when valueNoContextSwitch is called

Activity

  1. added
    bug
    documentation
    on Apr 11, 2025
  2. StevenCostiou commented on Apr 11, 2025

    @StevenCostiou
    ContributorAuthor

    It freezes here:
    Image

    The workaround actually prevents Sindarin to control execution within blocks to which the ensure: message is sent.

  3. StevenCostiou commented on Apr 11, 2025

    @StevenCostiou
    ContributorAuthor

    So it's not the primitive itself that is the problem, but that the Semaphore keeps waiting.
    It happens only when executing from the debugger and not from a test, which suggests there is some kind of interaction messing up with the Semaphore release. Or not.

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

Metadata

Metadata

Assignees

Labels

bugdocumentation

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions