<br><br><div class="gmail_quote">On Wed, Jul 6, 2011 at 6:31 PM, Igor Stasenko <span dir="ltr"><<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
With a new version of plugin submitted by Eliot it no longer crashing :)<br></blockquote><div><br></div><div>Slang is occasionally super-tricky. If you write</div><div><br></div><div> self atexit: #sendSignalToPids </div>
<div><br></div><div>it generates</div><div><br></div><div> atexit("sendSignalToPids")</div><div><br></div><div>which will crash. You must write</div><div><br></div><div> self atexit: #sendSignalToPids asSymbol</div>
<div><br></div><div>to get it to generate</div><div><br></div><div> atexit(sendSignalToPids)</div><div><br></div><div>(where sendSignalToPids is some function to be called at exit).</div><div><br></div><div>If course we should change this but there's backwards-compatibility for plugin to consider. Does anyone depend on the old behavior? I've been bitten more than a few times by this. Sigh...</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5"><br>
On 7 July 2011 03:18, Igor Stasenko <<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>> wrote:<br>
> Aha.. so failing tests are because fork is unavailable.<br>
> David, could you change the relevant tests to not fail but rather pass<br>
> or 'expected fail'<br>
> when running on macs?<br>
> because i'd like to know how well it is, and to know that i wanna see<br>
> clear picture what are problems if any.<br>
><br>
> And, any hints why primitiveMakePipeWithSessionIdentifier. might crash the VM?<br>
><br>
> On 7 July 2011 03:52, John McIntosh <<a href="mailto:johnmci@smalltalkconsulting.com">johnmci@smalltalkconsulting.com</a>> wrote:<br>
>><br>
>> I"ve compiled the aioPlugin in the past.<br>
>><br>
>> Some of the tests will fail because you cann't fork the VM into two<br>
>> processes because the UI is tied to the main pthread for the App, so a<br>
>> fork leads to insanity & a core dump.<br>
>> Otherwise since OS-X is a Unix machine it should run all the other test cases.<br>
>><br>
><br>
><br>
><br>
><br>
> --<br>
> Best regards,<br>
> Igor Stasenko AKA sig.<br>
><br>
<br>
<br>
<br>
--<br>
Best regards,<br>
Igor Stasenko AKA sig.<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>best,<div>Eliot</div><br>