Open
Description
The following sequence resulted in the worker segfaulting and terminating.
- using PTools
- addprocs(1)
- call a method in PTools. The method creates an anonymous function (in PTools code) and does a remotecall_fetch on worker 2 for executing the said anonymous function.
- worker 2 terminates at a deserialize call.
Flipping the order of addprocs
and using
results in proper execution.
Suggest that we keep track of modules loaded in process 1, and load the same modules on all workers whenever we do an addprocs