-
Notifications
You must be signed in to change notification settings - Fork 9
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
crashes on rather large screens (some letters, some fonts only) #11
Comments
Ha, that's a weird bug! I'm not sure what to do myself, though. sm has been pretty stable for years and I think it's unlikely nobody ever started something with |
I am certain something else changed on my system and sm is most likely not at fault, yes. Just out of luck to figure out what exactly 😅 i'll look around. |
It might be at fault if it does something wrong that just happened to have worked before. Thanks for looking into it! |
backtrace with
relevant lines:
Both of them are pretty generic calls though :/ |
Update! sm no longer crashes on the letter e, but fails to redraw. It seems unresponsive, but actually works, just doesn't refresh the window to show the current text. Using e as a letter other than the 1st works. Capital E also works. For each e, the following warnings show up:
any hits? 😅 |
Maybe freetype crashes due to the large font size? Does it also happen with a smaller window |
Oh, you actually got it! My screen is 3840x2160 and that is apparently too big for libfreetype or sm or the combination to handle. |
Just a note on the new title, for repro, at least on my machine, this still only happens with the letter |
Ha, only happens with the |
Great! I just hope that it’s a bug in one of the libraries and I’m not the one to be blamed :-) |
Some time ago sm started crashing for me when I press the letter E. This is on arch linux, sm installed from the AUR.
sm
Any other letter (e.g. a) works fine.
The makes me sad, because I LOVE your tool and use it every single day. I already recompiled it, which didn't help. Below is a stack trace from
gdb
. Let me know if there is anything else I can provide. I am a dev myself, but inexperienced with C. However, if you give me some keywords on what to do, I am happy to get you more debugging info or try patches.Thank you!
The text was updated successfully, but these errors were encountered: