Hi Lukas,<br><br><div class="gmail_quote">On Sat, Jun 26, 2010 at 10:48 PM, Lukas Renggli <span dir="ltr">&lt;<a href="mailto:renggli@gmail.com">renggli@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>
Hi Eliot,<br>
<br>
Thank you for the quick fix. I can confirm that all 1600 Seaside 3.0<br>
tests run green now.<br>
<br>
However I stil get random crashes when using Seaside through the<br>
webbrowser. Sometimes it survives 30 requests, sometimes it crashes<br>
right after the first request. In the console I get:<br>
<br>
  nanosleep: Invalid argument<br>
  Exited with exit code: 1<br></blockquote><div><br></div><div>I suspect this will be the nanosleep in the heartbeat (there are perror(&quot;nanosleep&quot;)&#39;s in platforms/unix/vm/sqUnixHeartbeat.c and in platforms/unix/vm-display/sqUnixXdnd.c.  First step is to add a line number to perror, e.g.</div>
<div><br></div><div>    perror(&quot;nanosleep&quot; &quot; &quot; __stringifyNum(__LINE__))</div><div><br></div><div>(__stringifyNum is in platforms/Cross/vm/sqAssert.h)</div><div><br></div><div>Then drill down further.  The above is very interesting.  I also see this occasionally but only on linux.  Any and all unix experts please feel free to look over my code in platforms/unix/vm/sqUnixHeartbeat.c and see if I&#39;ve done anything stupid.</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
How can I further debug this? I cannot reproduce it with the tests. It<br>
only happens (randomly) when using Seaside through the webbrowser.<br>
<br>
Lukas<br>
<br>
On Sunday, June 27, 2010, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt; wrote:<br>
&gt;<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">Lukas Renggli<br>
<a href="http://www.lukas-renggli.ch" target="_blank">www.lukas-renggli.ch</a><br>
</div></div></blockquote></div><br>