Conversation
|
What does this need to move forward? |
|
I think the #476 PR makes sense (not using The reasons I haven't fixed it yet are:
So I don't really understand the bug. Sorry it's taking long, I guess it's time to fix it even without really understanding it. |
|
From what I can tell this is an issue with the MacOS foundations API and setproctitle's C bindings/implementation being not fork safe with python's fork library. There is a way to avoid this entirely with I do have a future PR (commits can be found at https://github.com/lyft/mutmut/tree/nicklafleur/oss-complete) which implements a few different forking strategies (mainly due to the fact that we also use libraries like gunicorn/gevent/etc which pollute the internal state of the main process). We could absolutely add a "subprocess" mode to this if the need is there. It was actually the initial implementation but I moved away due to poor performance. |
Fixes #446
On macOS this likely costs a few miliseconds per mutation (the import takes +-1ms on my linux system).