Initializing a multiprocessing.Manager object give

2019-08-20 02:46发布

问题:

In my project I want to have a shared list that I can manipulate when calling a function using multiprocessing.Process. My code runs deterministically and I am using a Unix-based OS and I don't change the context (I used fork) but my code crashes at random times when trying to execute the line manager = multiprocessing.Manager() and I get an EOFError. Has anyone experienced this? What could be causing this?