Xpra: Ticket #2667: xpra client disappeared too fast

It happened when I middle-click pasted on a gnome-terminal.

There is literally nothing (no server/client cores, no client-native console output) except this:

2197   │ 2020-03-23 09:34:45,246 client   3 @36.235 disabled debugging for: [Logger(xpra.platform.win32.gui, win32, screen), Logger(xpra.client.mixins.display, screen), Logger(
       │ xpra.client.gtk_base.gtk_client_base, gtk, client, screen), Logger(xpra.gtk_common.gtk_util, gtk, screen)]
2198   │ 2020-03-23 09:34:46,222 New unix-domain connection received
2199   │ 2020-03-23 09:34:46,223 New unix-domain connection received
2200   │ 2020-03-23 09:34:46,223  on '/run/xpra/usr-precision-t3620-200'
2201   │ 2020-03-23 09:34:46,223  on '/run/user/1000/xpra/usr-precision-t3620-200'
2202   │ 2020-03-23 09:36:05,448 New unix-domain connection received
2203   │ 2020-03-23 09:36:05,449  on '/run/user/1000/xpra/usr-precision-t3620-200'
2204   │ 2020-03-23 09:36:05,482 client   3 @56.470 disabled debugging for: []
2205   │ 2020-03-23 09:36:06,446 New unix-domain connection received
2206   │ 2020-03-23 09:36:06,446  on '/run/user/1000/xpra/usr-precision-t3620-200'
2207   │ 2020-03-23 09:36:06,447 New unix-domain connection received
2208   │ 2020-03-23 09:36:06,447  on '/run/xpra/usr-precision-t3620-200'
2209   │ 2020-03-23 09:48:58,998 client   3 @49.986 invalid hwnd: 2 (expected 7014708)
2210   │ 2020-03-23 09:49:01,409 xpra client 3 disconnected.
2211   │ xpra for python 2.7 is not installed
2212   │  retrying with python3
2213   │ 2020-03-23 09:49:01,681 New unix-domain connection received
2214   │ 2020-03-23 09:49:01,681  on '/run/user/1000/xpra/usr-precision-t3620-200'
2215   │ 2020-03-23 09:49:02,678 New unix-domain connection received
2216   │ 2020-03-23 09:49:02,679  on '/run/user/1000/xpra/usr-precision-t3620-200'
2217   │ 2020-03-23 09:49:02,680 New unix-domain connection received
2218   │ 2020-03-23 09:49:02,680  on '/run/xpra/usr-precision-t3620-200'
2219   │ 2020-03-23 09:51:00,843 New unix-domain connection received
2220   │ 2020-03-23 09:51:00,843  on '/run/user/1000/xpra/usr-precision-t3620-200'
2221   │ 2020-03-23 09:51:00,845 Handshake complete; enabling connection
2222   │ 2020-03-23 09:51:00,848  automatic picture encoding enabled, also available:
2223   │ 2020-03-23 09:51:00,848   h264, vp9, vp8, png, png/P, png/L, rgb24, rgb32, jpeg
2224   │ 2020-03-23 09:51:00,848 Python/GTK3 Microsoft Windows 10 aero client version 4.0-r25721 64-bit


Mon, 23 Mar 2020 08:36:56 GMT - Antoine Martin: owner changed

Normally, I would say that the client output is what we need to see, but in this case we may just have the bug right in front of us already:

client 3 @49.986 invalid hwnd: 2 (expected 7014708)

r25739 should fix that. (already backported)


Mon, 23 Mar 2020 17:36:28 GMT - stdedos:

Replying to Antoine Martin:

Normally, I would say that the client output is what we need to see, but in this case we may just have the bug right in front of us already:

I would definitely do that; however, for some reason my scripts have failed to preserve the cmd-window. I start shortcuts with pause as their last command (since Windows terminal is tiresome)

client 3 @49.986 invalid hwnd: 2 (expected 7014708)

r25739 should fix that. (already backported)

This is the only case that this has ever happened; unless you have a specific replication process, I cannot reasonably replicate that.


Mon, 23 Mar 2020 17:43:32 GMT - Antoine Martin: status changed; resolution set

This is the only case that this has ever happened; unless you have a specific replication process, I cannot reasonably replicate that.

OK, let's close this ticket then.

I'm 99% sure the fix is correct and can't do any harm anyway.


Sat, 23 Jan 2021 05:57:34 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2667