[squeak-dev] Re: [Vm-dev] Bug 956376 ??? Can not edit class comments

David T. Lewis lewis at mail.msen.com
Fri Apr 26 12:34:18 UTC 2013


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

How about Magma? If writing to positionable files is broken, then it's
going to affect a lot more than just writing to the .changes file.

Has this bug been observed with any of the VMs distributed for Squeak?
I cannot tell from the discussion on the Pharo list, and I don't have
access to a Ubuntu 13.04 system to try it for myself.

Dave



More information about the Squeak-dev mailing list