Xpra: Ticket #1004: osx client locks up in mmap code

The easy solution is just to disable mmap, but I would rather figure out why this code suddenly stopped working (the code has not changed for a very long time). Could be related to a recent upgrade of Pillow, numpy or Cython?

Adding print statements, I can it getting stuck on os.write(fd, b'\x00'), and it only resumes when the server disconnects the client because of the connection timeout.



Thu, 15 Oct 2015 10:11:50 GMT - Antoine Martin: priority, status changed

I don't have time for this, so r10846 disables mmap on osx and win32 so I can move on.


Fri, 23 Oct 2015 07:04:31 GMT - Antoine Martin: milestone changed

Re-scheduling.


Tue, 12 Jul 2016 16:51:50 GMT - Antoine Martin: milestone changed

Milestone renamed


Sun, 21 Aug 2016 09:55:49 GMT - Antoine Martin: milestone changed

Milestone renamed


Wed, 08 Feb 2017 05:07:02 GMT - Antoine Martin: status changed; resolution set

r15010 restores mmap on osx as I can't get it to misbehave any more, and also adds support for mmap on win32.

I don't think it is particularly useful on osx, but on win32 one could conceivably have concurrent sessions? (does MS Windows handle that in a meaningful way?)


Sat, 23 Jan 2021 05:12:12 GMT - migration script:

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