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


<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you commented.<br />Reply to this email directly, <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/548#issuecomment-770291776">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AIJPEWYAU75D32GEF6DONQDS4SDKJANCNFSM4WRCJIUQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AIJPEW7DWQHD7225R6NCHCDS4SDKJA5CNFSM4WRCJIU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFXU3QQA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/548#issuecomment-770291776",
"url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/548#issuecomment-770291776",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>