<p></p>
<p>The segfault happens in the child process that was forked by the forkSqueak prim. It occurs in the new epoll code. I don't yet see the cause (there is no obvious null pointer issue) but the gdb backtrace is:</p>
<p>(gdb) bt<br>
#0  0x0000000000dd39b0 in ?? ()<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="160595621" data-permission-text="Title is private" data-url="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/1" data-hovercard-type="issue" data-hovercard-url="/OpenSmalltalk/opensmalltalk-vm/issues/1/hovercard" href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/1">#1</a>  0x00000000004d62dc in aioPoll (microSeconds=0) at /home/lewis/squeak/git/opensmalltalk-vm/platforms/unix/vm/aio.c:405<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="160789081" data-permission-text="Title is private" data-url="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/2" data-hovercard-type="issue" data-hovercard-url="/OpenSmalltalk/opensmalltalk-vm/issues/2/hovercard" href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/2">#2</a>  0x00007fa016315e39 in display_ioProcessEvents () at /home/lewis/squeak/git/opensmalltalk-vm/platforms/unix/vm-display-X11/sqUnixX11.c:4867<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="160789405" data-permission-text="Title is private" data-url="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/3" data-hovercard-type="issue" data-hovercard-url="/OpenSmalltalk/opensmalltalk-vm/issues/3/hovercard" href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/3">#3</a>  0x0000000000417ca3 in ioProcessEvents () at /home/lewis/squeak/git/opensmalltalk-vm/platforms/unix/vm/sqUnixMain.c:726<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="160909142" data-permission-text="Title is private" data-url="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/4" data-hovercard-type="issue" data-hovercard-url="/OpenSmalltalk/opensmalltalk-vm/issues/4/hovercard" href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/4">#4</a>  0x0000000000441f58 in checkForEventsMayContextSwitch (mayContextSwitch=1) at /home/lewis/squeak/git/opensmalltalk-vm/spurstack64src/vm/gcc3x-interp.c:50306<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="161023328" data-permission-text="Title is private" data-url="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/5" data-hovercard-type="issue" data-hovercard-url="/OpenSmalltalk/opensmalltalk-vm/issues/5/hovercard" href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/5">#5</a>  0x00000000004401ca in handleStackOverflowOrEventAllowContextSwitch (mayContextSwitch=1)<br>
at /home/lewis/squeak/git/opensmalltalk-vm/spurstack64src/vm/gcc3x-interp.c:53718<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="161101277" data-permission-text="Title is private" data-url="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/6" data-hovercard-type="issue" data-hovercard-url="/OpenSmalltalk/opensmalltalk-vm/issues/6/hovercard" href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/6">#6</a>  0x0000000000426cbd in interpret () at /home/lewis/squeak/git/opensmalltalk-vm/spurstack64src/vm/gcc3x-interp.c:5844<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="161160618" data-permission-text="Title is private" data-url="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/7" data-hovercard-type="issue" data-hovercard-url="/OpenSmalltalk/opensmalltalk-vm/issues/7/hovercard" href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/7">#7</a>  0x000000000043ab1f in enterSmalltalkExecutiveImplementation () at /home/lewis/squeak/git/opensmalltalk-vm/spurstack64src/vm/gcc3x-interp.c:51798<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="161372184" data-permission-text="Title is private" data-url="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/8" data-hovercard-type="pull_request" data-hovercard-url="/OpenSmalltalk/opensmalltalk-vm/pull/8/hovercard" href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/8">#8</a>  0x000000000041d4ba in interpret () at /home/lewis/squeak/git/opensmalltalk-vm/spurstack64src/vm/gcc3x-interp.c:2493<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="161408350" data-permission-text="Title is private" data-url="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/9" data-hovercard-type="issue" data-hovercard-url="/OpenSmalltalk/opensmalltalk-vm/issues/9/hovercard" href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/9">#9</a>  0x000000000041ad0a in main (argc=2, argv=0x7ffc3ba11f78, envp=0x7ffc3ba11f90) at /home/lewis/squeak/git/opensmalltalk-vm/platforms/unix/vm/sqUnixMain.c:2164</p>

<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-770284089">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AIJPEW2DRUSBO2PYYXPTOOTS4R3KLANCNFSM4WRCJIUQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AIJPEW7FCHITFVMABIGITK3S4R3KLA5CNFSM4WRCJIU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFXUZUOI.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-770284089",
"url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/548#issuecomment-770284089",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>