Open jadczak opened 3 months ago
This was on my windows machine not running in WSL. My wild shot in the dark is maybe a fork
vs spawn
thing since windows doesn't support fork
:shrug:
Once I get back to my windows machine I'll give WSL a try and see if I run into similar problems. It doesn't look like python 3.12.4 fixed anything relevant to multiprocessing, but I'll give a few other versions a try to see if there is something funky going on with my particular version of python.
Tested the following python versions on Windows: 3.12.5 - OSError every time 3.11.9 - OSError every time
Tested the following python version on Clear Linux 3.12.4 - Worked every time tested
Test the following python version WSL 3.11.2 - Frequently hangs. No error when it finishes.
I'm seeing something similar. Windows 11 22H2, Python 3.10.2, Scalene version 1.5.45 (2024.10.01)
I was also able to reproduce from #809 (comment).
Attempting to profile programs with multiprocessing yields the following error:
I was able to reproduce the error using the example from https://github.com/plasma-umass/scalene/issues/809#issuecomment-2211984550
Expected behavior No crash?
Screenshots
Desktop (please complete the following information):
Error Text