<br><br><div class="gmail_quote">On Fri, Apr 26, 2013 at 9:25 AM, Chris Muller <span dir="ltr">&lt;<a href="mailto:asqueaker@gmail.com" target="_blank">asqueaker@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">
Frank are you saying that, under Ubuntu 13.04, after writing to a<br>
particular place in a file, if you subsequently go back and _read_<br>
from that place, even using the same ReadWriteStream instance, that it<br>
will not read back in what was just written until a #flush occurs?<br>
<br>
Hopefully that is not the case!<br></blockquote><div><br></div><div>If it is, it is an ubuntu bug and not one we should work around, no?</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="HOEnZb"><div class="h5"><br>
On Fri, Apr 26, 2013 at 5:17 AM, Frank Shearar &lt;<a href="mailto:frank.shearar@gmail.com">frank.shearar@gmail.com</a>&gt; wrote:<br>
&gt; On 25 April 2013 15:35, Frank Shearar &lt;<a href="mailto:frank.shearar@gmail.com">frank.shearar@gmail.com</a>&gt; wrote:<br>
&gt;&gt; On 25 April 2013 13:54, David T. Lewis &lt;<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Thu, Apr 25, 2013 at 02:18:22PM +0200, Bert Freudenberg wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; This didn&#39;t sound like a VM problem at first, but according to the discussion it is:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; <a href="https://bugzilla.redhat.com/show_bug.cgi?id=956376" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=956376</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Any idea?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On my 64-bit Linux with an interpreter VM compiled in 64-bit, and using<br>
&gt;&gt;&gt; Squeak - no problem. With a 32-bit interpreter - no problem. With Cog -<br>
&gt;&gt;&gt; again, no problem.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I edited the class comment for class Array in each case.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Dave<br>
&gt;&gt;<br>
&gt;&gt; &quot;Error: RemoteString past end of file&quot; can indicate a broken/damages<br>
&gt;&gt; changes file.<br>
&gt;&gt;<br>
&gt;&gt; It does when I get the error, at least. Usually that happens when I<br>
&gt;&gt; have to hard-kill an image that&#39;s stored state in the changes file.<br>
&gt;&gt; Restarting the image means there&#39;s a mismatch somehow in the state<br>
&gt;&gt; between the image and the changes file. Once you get one of these<br>
&gt;&gt; you&#39;re nearly completely hosed: you can&#39;t file things out, for<br>
&gt;&gt; instance.<br>
&gt;<br>
&gt; For those not following the Pharo list, it looks like the root cause<br>
&gt; is that the glibc in Ubuntu 13.04 doesn&#39;t immediately write new<br>
&gt; content out to the file. Thus you can &quot;write&quot; to the file, and then<br>
&gt; read from the file, only your RemoteString starts off the end of the<br>
&gt; file. The fix is to make WriteStream &gt;&gt; #nextPutChunk: call &quot;self<br>
&gt; flush&quot;. I&#39;ve pushed a 4.5 fix to trunk, but have not yet done the same<br>
&gt; for the 4.4 and 4.3 update streams.<br>
&gt;<br>
&gt; frank<br>
&gt;<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div>