Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osx client locks up in mmap code #1004

Closed
totaam opened this issue Oct 15, 2015 · 9 comments
Closed

osx client locks up in mmap code #1004

totaam opened this issue Oct 15, 2015 · 9 comments

Comments

@totaam
Copy link
Collaborator

totaam commented Oct 15, 2015

Issue migrated from trac ticket # 1004

component: platforms | priority: minor | resolution: fixed | keywords: osx

2015-10-15 11:04:11: antoine created the issue


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.

@totaam
Copy link
Collaborator Author

totaam commented Oct 15, 2015

2015-10-15 11:11:51: antoine changed priority from major to minor

@totaam
Copy link
Collaborator Author

totaam commented Oct 15, 2015

2015-10-15 11:11:51: antoine changed status from new to assigned

@totaam
Copy link
Collaborator Author

totaam commented Oct 15, 2015

2015-10-15 11:11:51: antoine commented


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

@totaam
Copy link
Collaborator Author

totaam commented Oct 23, 2015

2015-10-23 08:04:31: antoine commented


Re-scheduling.

@totaam
Copy link
Collaborator Author

totaam commented Jul 12, 2016

2016-07-12 17:51:51: antoine commented


Milestone renamed

@totaam
Copy link
Collaborator Author

totaam commented Aug 21, 2016

2016-08-21 10:55:50: antoine commented


Milestone renamed

@totaam
Copy link
Collaborator Author

totaam commented Feb 8, 2017

2017-02-08 05:07:03: antoine changed status from assigned to closed

@totaam
Copy link
Collaborator Author

totaam commented Feb 8, 2017

2017-02-08 05:07:03: antoine set resolution to fixed

@totaam
Copy link
Collaborator Author

totaam commented Feb 8, 2017

2017-02-08 05:07:03: antoine commented


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

@totaam totaam closed this as completed Feb 8, 2017
@totaam totaam added the v0.15.x label Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant