Closed Gr1N closed 6 years ago
I think that could be some kind of deadlock of threads. On Mac checking that a pthread lock is released is a little different than on Linux.
I ran into this infinite looping issue in earlier version of the module, but not recently. I've thought that I got rid of this after some refactorization.
I've tried to reproduce it now, but no luck. Unfortunately, these thread related bugs are usually hard to reproduce and even more difficult to me to fix them. :( But I will try my best.
This is not a big problem, because macOS isn't production platform. But it would be great to find issue.
Hi!
I got some very strange behavior with
bonsai
on macOS, first connection never works properly. Here my code example:And console output with enabled
PYTHONASYNCIODEBUG
env var:Sometimes first connection doesn't work at all...
Same code on Linux works well:
Any ideas?