[squeak-dev] New year mac cog VM bug?

Eliot Miranda eliot.miranda at gmail.com
Thu Jan 8 20:20:21 UTC 2015


Hi Javier,

On Thu, Jan 8, 2015 at 11:48 AM, Javier Diaz-Reinoso <javier_diaz_r at mac.com>
wrote:

>
> On Jan 7, 2015, at 16:43, Eliot Miranda <eliot.miranda at gmail.com> wrote:
>
>
>
> On Tue, Jan 6, 2015 at 12:31 PM, Javier Diaz-Reinoso <
> javier_diaz_r at mac.com> wrote:
>
>> I try open an image (4.4) today, when I try to browse Collection, for
>> example, fails with the error 'RemoteString past end of file', this error
>> is because the VM (Cog 4.0.3205 but also older versions) is not recognizing
>> an (mac) alias to the file SqueakV41.sources, if I change the alias for the
>> file or a unix soft link then all works OK.
>>
>> The strange thing is that I'm sure this worked on December 31, maybe this
>> fail because the change from year?
>>
>
> Thanks, Javier.  I must have broken this in my recent changes.  I'll fix
> it asap.  Thanks for the report!
>
> --
> best,
> Eliot
>
>
> I think this error is because Apple finally remove the Alias manager API,
> this API was marked ‘Deprecated' in 10.8 but continue to work, I think in
> the update to 10.10.1 the API was removed.
>
> The editor TextWrangler also fail with the error: 'An unexpected
> end-of-file was encountered (MacOS Error code: -39)’ when try to open the
> SqueakV41.sources; notice that the alias files remain working, is the calls
> to this specific API who don’t work.
>
> I am worry that the (Cog) mac VM have a few of this APIs deprecated,
> perhaps is time to migrate to Cocoa.
>

Luckily I've started doing that, with help from John McIntosh.  I can't
build a 64-bit VM on Carbon, hence I need to move.

I'm curious though.  Have you upgraded your operating sytsem or is it the
VM that's changed?  If you use an older VM does the alias get dererferenced
or not?  If the older VM works I wonder if you could do the following for
me:

1. tell me what the last good version of the VM is
2. Copy both the current VM's .app bundle and the last good VM's .app
bundle. Swap the executable (CogSpur.app/Contents/MacOS/Squeak) between the
two.  Repeat the experiment.  Tel me which fails.  This will tell me
whether something in the Info.plist has changed or whether something in the
executable changed.

-- 
best,
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20150108/a4ca2a1c/attachment.htm


More information about the Squeak-dev mailing list