Caught this during testing:
Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/xpra/server/source.py", line 1574, in data_to_packet encode_and_queue() File "/usr/lib64/python2.7/site-packages/xpra/server/window_source.py", line 886, in make_data_packet_cb packet = self.make_data_packet(*data) File "/usr/lib64/python2.7/site-packages/xpra/server/window_source.py", line 1066, in make_data_packet mmap_data = mmap_send(self._mmap, self._mmap_size, image, self.rgb_formats, self.supports_transparency) File "/usr/lib64/python2.7/site-packages/xpra/server/picture_encode.py", line 322, in mmap_send mmap_data, mmap_free_size = mmap_write(mmap, mmap_size, data) File "/usr/lib64/python2.7/site-packages/xpra/net/mmap_pipe.py", line 162, in mmap_write mmap_data_start = ctypes.c_uint.from_buffer(mmap_area, 0) TypeError: expected a single-segment buffer object
Another related race fixed in r6024.
Sending via mmap is done in two parts:
mmap_sendwhich tries to populate the mmap area (and can fail)
mmap_encodewhich creates the mostly empty packet data referencing the data position within the mmap area
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/554