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

twm in desktop mode crashes the server #1565

Closed
totaam opened this issue Jul 4, 2017 · 8 comments
Closed

twm in desktop mode crashes the server #1565

totaam opened this issue Jul 4, 2017 · 8 comments

Comments

@totaam
Copy link
Collaborator

totaam commented Jul 4, 2017

Issue migrated from trac ticket # 1565

component: server | priority: minor | resolution: wontfix | keywords: x11

2017-07-04 06:22:35: antoine created the issue


trying to move a window or using the twm menu results in a complete deadlock.

killing xpra does not help, the X11 server is hosed and no longer responds.

Looks like an upstream bug.

@totaam
Copy link
Collaborator Author

totaam commented Jul 4, 2017

2017-07-04 06:24:07: antoine changed status from new to assigned

@totaam
Copy link
Collaborator Author

totaam commented Jul 4, 2017

2017-07-04 06:24:07: antoine edited the issue description

@totaam
Copy link
Collaborator Author

totaam commented Jul 4, 2017

2017-07-04 06:35:59: antoine changed priority from critical to minor

@totaam
Copy link
Collaborator Author

totaam commented Jul 4, 2017

2017-07-04 06:35:59: antoine commented


Not an xpra bug - lowering priority, this can be reproduced with just dummy + twm:

/usr/libexec/Xorg -noreset -novtswitch -nolisten tcp -config /etc/xpra/xorg.conf :10
#verify we can access the display:
DISPLAY=:10 xprop -root
DISPLAY=:10 xterm&
DISPLAY=:10 twm&
#now click on the title bar of the xterm:
DISPLAY=:10 xdotool mousemove 90 10 mousedown 1
#and now the X11 server is inaccessible:
DISPLAY=:10 xprop -root

@totaam
Copy link
Collaborator Author

totaam commented Jul 4, 2017

2017-07-04 06:53:30: antoine commented


Reported upstream: twm deadlocks the server

@totaam
Copy link
Collaborator Author

totaam commented Jul 16, 2017

2017-07-16 13:15:32: antoine changed status from assigned to closed

@totaam
Copy link
Collaborator Author

totaam commented Jul 16, 2017

2017-07-16 13:15:32: antoine set resolution to wontfix

@totaam
Copy link
Collaborator Author

totaam commented Jul 16, 2017

2017-07-16 13:15:32: antoine commented


As I was kindly reminded: in this response, this is not a bug - twm grabs the server, and nothing ever gets a chance to emit the click release event that would cause twm to release the grab.

The only solution that I can think of at this point is to use virtual input devices (uinput, etc - #173) instead of xtest.

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