Xpra: Ticket #1149: win32 shadow server crashes with bind-tcp and -d sound,gstreamer

This command line:

xpra_cmd shadow --bind-tcp= -d sound,gstreamer

crashes in a very odd place (importing win32ui):

xpra main error:
Traceback (most recent call last):
  File "xpra\scripts\main.pyc", line 125, in main
  File "xpra\scripts\main.pyc", line 979, in run_mode
  File "xpra\scripts\server.pyc", line 1099, in run_server
  File "xpra\platform\shadow_server.pyc", line 9, in <module>
  File "xpra\platform\__init__.pyc", line 150, in platform_import
  File "xpra\platform\win32\shadow_server.pyc", line 11, in <module>
ImportError: DLL load failed: Invalid access to memory location.

It works fine with -d all, just -d sound or -d gstreamer, but not with this particular combination!

Fri, 25 Mar 2016 14:33:05 GMT - Antoine Martin: status changed

Could just be because of the amount of logging that goes on. See also #1150. Maybe we should log to a file or to the system log instead (NTEventLogHandler)

Sat, 26 Mar 2016 11:53:17 GMT - Antoine Martin:

Reminiscent of #1094, similar fix to r11736? (gobject threads init early)

Wed, 10 Aug 2016 05:44:48 GMT - Antoine Martin: status changed; resolution set

Can no longer reproduce!

Could also have been related to changeset/8786/xpra (see win32ttywrite workaround).

Sat, 23 Jan 2021 05:16:19 GMT - migration script:

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