<br><br><div class="gmail_quote">On Wed, Jul 6, 2011 at 6:31 PM, Igor Stasenko <span dir="ltr">&lt;<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>&gt;</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(&quot;sendSignalToPids&quot;)</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&#39;s backwards-compatibility for plugin to consider.  Does anyone depend on the old behavior?  I&#39;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 &lt;<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>&gt; wrote:<br>
&gt; Aha.. so failing tests are because fork is unavailable.<br>
&gt; David, could you change the relevant tests to not fail but rather pass<br>
&gt; or &#39;expected fail&#39;<br>
&gt; when running on macs?<br>
&gt; because i&#39;d like to know how well it is, and to know that i wanna see<br>
&gt; clear picture what are problems if any.<br>
&gt;<br>
&gt; And, any hints why  primitiveMakePipeWithSessionIdentifier. might crash the VM?<br>
&gt;<br>
&gt; On 7 July 2011 03:52, John McIntosh &lt;<a href="mailto:johnmci@smalltalkconsulting.com">johnmci@smalltalkconsulting.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; I&quot;ve compiled the aioPlugin in the past.<br>
&gt;&gt;<br>
&gt;&gt; Some of the tests will fail because you cann&#39;t fork the VM into two<br>
&gt;&gt; processes because the UI is tied to the main pthread for the App, so a<br>
&gt;&gt; fork leads to insanity &amp; a core dump.<br>
&gt;&gt; Otherwise since OS-X is a Unix machine it should run all the other test cases.<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Best regards,<br>
&gt; Igor Stasenko AKA sig.<br>
&gt;<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>