Skip to content

Stacking two Chesto Screens - specifically in HBAS - causes an infinite CPU-eating loop, freezing HBAS #170

Description

@compucat

Describe the bug
Title. (original title: When attempting to leave feedback, HBAS freezes.)

Sometimes after waiting a while, the keyboard will disappear. I suspect this is somewhere in Chesto - spotted a similar issue that called SDL_SetCursor a ridiculous number of times per frame.

Platform: Linux, uncertain of others

To Reproduce

Launch HBAS; from the app list, select HBAS itself, then click on "Report Issue"

Per git-bisect, from oldest to newest, the first bad commit could be any of:

EDIT: after further testing, the first ones are all red herrings due to a missing return. 464b329 is the first commit with the issue proper.

Some of these commits will instead crash HBAS entirely when attempting to provide feedback. IIRC the last commit is the one that actually freezes, rather than crashing?

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