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

Starts eating infinite amount of memory when borders are larger than the whole window. #130

Closed
kanashimia opened this issue Feb 11, 2021 · 1 comment · Fixed by #153
Closed

Comments

@kanashimia
Copy link

To reproduce:

Set border size to something like 100 (why is this called border size, if it is padding?)
echo 'st.borderpx: 100' | xrdb
launch xst, and make window as small as possible.
Congradulations! If you have swap your computer is now frozen, can trigger OOM killer by yourself using sysrq + f

I had problems with this even on 5px borders.

0.8.4.1 btw

@neeasade
Copy link
Member

this bug is amazing -- realized I've never caught it because I actually have borderpx set to 0

notes:

  • can't recreate upstream
  • thought it might be cursortype (borderpx used in some kinds) but that's not it

@neeasade neeasade mentioned this issue Apr 28, 2023
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants