Skip to content

"The lock count should never be negative" after Clean Sum of Bests #1066

Open

Description

@patrickmacarthur

I am trying to use "Clean Sum of Bests" on a splits file for a run that recently had a re-route. Whether or not I accept the suggested cleanups, the splits file is not correctly updated and I see "The lock count should never be negative" when going back from the edit screen to the main screen.

The splits file does show in the UI as edited but afaik nothing has actually changed and the cleanups are not reflected in the Sum of Bests displayed on my splits.

Activity

  1. patrickmacarthur commented on Jun 30, 2025

    @patrickmacarthur
    Author

    Update: after several attempts I got the changes to save but it's inconsistent whether the changes save or not.

  2. bariasu commented on Jan 12, 2026

    @bariasu

    I added a split and cleaned sum of best, added another and cleaned sum of best, now whenever I enter and exit the layout editor, I get the error

    "You encountered a bug:
    The lock count should never be negative.
    Please report this issue here."

  3. CryZe commented on Jan 20, 2026

    @CryZe
    Collaborator

    @bariasu I can't reproduce this. Can you maybe send me your split file and maybe a recording of what exactly you do?

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