And the assert is failing is indeed in sqExternalSemaphores.c<br><br>Here:<br><br>/* Signal the external semaphore with the given index. Answer non-zero on<br> * success, zero otherwise. This function is (should be) thread-safe;<br>
* multiple threads may attempt to signal the same semaphore without error.<br> * An index of zero should be and is silently ignored.<br> */<br>sqInt<br>signalSemaphoreWithIndex(sqInt index)<br>{<br> int i = index - 1;<br>
int v;<br><br> /* An index of zero should be and is silently ignored. */<br><span style="background-color: rgb(255, 255, 51);"> assert(index >= 0 && index <= numSignalRequests);</span><br><br> if ((unsigned)i >= numSignalRequests)<br>
return 0;<br><br><br><div class="gmail_quote">On Wed, Aug 17, 2011 at 9:37 AM, Mariano Martinez Peck <span dir="ltr"><<a href="mailto:marianopeck@gmail.com">marianopeck@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
BTW...your VM is quite "old". Why don't you give a try with a new one?<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Wed, Aug 17, 2011 at 9:35 AM, Mariano Martinez Peck <span dir="ltr"><<a href="mailto:marianopeck@gmail.com" target="_blank">marianopeck@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><br><div class="gmail_quote"><div>On Wed, Aug 17, 2011 at 9:16 AM, Sven Van Caekenberghe <span dir="ltr"><<a href="mailto:sven@beta9.be" target="_blank">sven@beta9.be</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Bernat,<br>
<br>
You could try to use the Finder to search the source(s) for this string or parts of it.<br>
I couldn't find it in my image…<br>
<font color="#888888"><br></font></blockquote></div><div><br>That's an assert that is failing in the VM side.<div><br><font face="arial, sans-serif"><span style="border-collapse:collapse">index >= 0 && index <= numSignalRequests 133</span></font><br>
<br></div>means that "<font face="arial, sans-serif"><span style="border-collapse:collapse">index >= 0 && index <= numSignalRequests"</span></font> evaluated to false, and 133 is the line number in the C code. <br>
<br>BTW, is not this the problem of Sempahores or I don't know what that you need to change/make bigger in Cog ?<br><br> </div><div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<font color="#888888">
Sven<br>
</font><div><div></div><div><br>
On 17 Aug 2011, at 07:32, Bernat Romagosa wrote:<br>
<br>
> Hi list,<br>
><br>
> I think I asked this a while ago but never managed to find a solution, so here we go:<br>
><br>
> I have an image running under a screen session in my server, it's running my simple blog written in Iliad and nothing else. The image is a Pharo 1.2.1 on a Croquet Closure Cog VM [CoInterpreter VMMaker.oscog-eem.75] machine, the server is a VPSLink slice with Debian 5 on it.<br>
><br>
> For a very long while now I've been experiencing a weird behaviour. The image runs flawlessly and fast for a couple of days, then it hangs without any apparent reason, just stops working overnight, and the only output I get in the console is<br>
><br>
> index >= 0 && index <= numSignalRequests 133<br>
><br>
> repeatedly, and after that the website can't be accessed neither can I reach the image via VNC, so the only solution is to kill the process and fire it up again...<br>
><br>
> Any clues? Is this a known bug?<br>
><br>
> Cheers,<br>
><br>
> --<br>
> Bernat Romagosa.<br>
<br>
<br>
</div></div></blockquote></div></div><font color="#888888"><br><br clear="all"><br>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br><br>