xpra icon
Bug tracker and wiki

Opened 22 months ago

Closed 6 months ago

#1004 closed defect (fixed)

osx client locks up in mmap code

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: minor Milestone: 2.0
Component: platforms Version: 0.15.x
Keywords: osx Cc:

Description

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.

Change History (5)

comment:1 Changed 22 months ago by Antoine Martin

Priority: majorminor
Status: newassigned

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

comment:2 Changed 21 months ago by Antoine Martin

Milestone: 0.161.0

Re-scheduling.

comment:3 Changed 13 months ago by Antoine Martin

Milestone: 1.01.1

Milestone renamed

comment:4 Changed 11 months ago by Antoine Martin

Milestone: 1.12.0

Milestone renamed

comment:5 Changed 6 months ago by Antoine Martin

Resolution: fixed
Status: assignedclosed

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?)

Note: See TracTickets for help on using tickets.