See it explained at https://copyconstruct.medium.com/the-method-to-epolls-madness-d9d2d6378642
Le sam. 30 janv. 2021 à 23:38, smalltalking firstname.lastname@example.org a écrit :
The problem is that the file descriptors and structures are shared between parent and child after fork. However, after the fork, the epoll structures point to data that belongs to the parent. At line 405 the child process tries to access that data, and I think that causes the segfault. The child should close the inherited epoll file descriptor and recreate it along with the necessary data structures. This can be done by a handler registered with pthread_atfork().
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/548#issuecomment-770291427, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFRYIUUQU763FNFDLYNS73S4SC45ANCNFSM4WRCJIUQ .