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

GTK applications on GNOME crash/freeze when length of command output exceeds 4083 bytes #2

Open
p-e-w opened this issue Oct 24, 2022 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@p-e-w
Copy link
Owner

p-e-w commented Oct 24, 2022

This can be verified by running the commands

printf %4083s

which works, versus

printf %4084s

which crashes and sometimes freezes, when run from a Shin input inside a GTK application on GNOME. When a crash occurs, stdout contains the message

Error reading events from display: Broken pipe

This does not happen on KDE or Sway, even on the same base system and with the same GTK applications.

My guess is that the number 4083 is 4096 minus the size of the DBus header or something. There appears to be a GNOME-specific limit at work here. The other DEs can handle much larger outputs without any problems.

@p-e-w p-e-w added bug Something isn't working help wanted Extra attention is needed labels Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant