Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Program crashes if I press return too fast #72

Open
allgreed opened this issue Dec 11, 2022 · 3 comments
Open

Program crashes if I press return too fast #72

allgreed opened this issue Dec 11, 2022 · 3 comments
Labels

Comments

@allgreed
Copy link

allgreed commented Dec 11, 2022

Given a clear shell When I start the program and press return 2+ times before the modal is present on the screen Then the program crashes.

As you can see I cannot always reproduce it:
2022-12-12-00-33-04_404x985

@simonmichael
Copy link

Sounds like simonmichael/hledger#743

@hpdeifel
Copy link
Owner

I remember seeing this some time ago. I think I didn't manage to get a minimal reproducer, but will try again

@hpdeifel hpdeifel added the bug label Dec 13, 2022
@hpdeifel
Copy link
Owner

Ftr, I can still reproduce this with the newest brick versions. Specifically I get: free(): double free detected in tcache 2.


Inspired by the linked issue above: Here is a good way to reproduce:

while true; do hledger-iadd || break; done

Then hold the Esc key until it breaks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants