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

Segfault when running over an ssh connection #451

Open
6502 opened this issue Mar 9, 2024 · 0 comments
Open

Segfault when running over an ssh connection #451

6502 opened this issue Mar 9, 2024 · 0 comments

Comments

@6502
Copy link

6502 commented Mar 9, 2024

Not sure if you're interested into fixing this, but in my opinion a more graceful error should be appropriate instead of segfaulting. Running a program that uses xdotool to find the title of active window in a terminal connected over ssh to another host often just crashes badly...

~$ xdotool getactivewindow
Warning: XTEST extension unavailable on '(null)'. Some functionality may be disabled; See 'man xdotool' for more info.
Segmentation fault (core dumped)

Unfortunately it doesn't happen every single time... sometimes the result I get is

~$ xdotool getactivewindow
Error: Can't open display: (null)
Failed creating new xdo instance
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

No branches or pull requests

1 participant