[squeak-dev] The Trunk: Kernel-eem.1005.mcz

Eliot Miranda eliot.miranda at gmail.com
Tue Mar 8 21:06:33 UTC 2016


F**k.  I have broken things.  I realise now that the preamble script is run
before loading, but is /not/ run when simply updating.  So the scrupt that
does the surgery needs to be in the postload.  I'll fix this asap.

On Tue, Mar 8, 2016 at 12:53 PM, <commits at source.squeak.org> wrote:

> Eliot Miranda uploaded a new version of Kernel to project The Trunk:
> http://source.squeak.org/trunk/Kernel-eem.1005.mcz
>
> ==================== Summary ====================
>
> Name: Kernel-eem.1005
> Author: eem
> Time: 8 March 2016, 12:52:58.152073 pm
> UUID: b570ba5a-517f-4ac1-8bae-f328843a7cff
> Ancestors: Kernel-bf.1004
>
> Add a preamble script to make sure that
>  a) SmallFloat64 has identityHash 3 and occupies the 4th (3rd,
> zero-relative) slot of the first class table page, and
>  b) that the first class table page is hidden by ensuring its class index
> is 16, the Array class index pun.
>
> Check the above has happened in the postscript.
>
> ==== ERROR ===
>
> Error: Unrecognized class definition
>
> 8 March 2016 8:54:15.015 pm
>
> VM: unix - a SmalltalkImage
> Image: Squeak3.11alpha [latest update: #8824]
>
> SecurityManager state:
> Restricted: false
> FileAccess: true
> SocketAccess: true
> Working Dir /home/squeaksource
> Trusted Dir /home/squeaksource/secure
> Untrusted Dir /home/squeaksource/My Squeak
>
> MCStReader(Object)>>error:
>         Receiver: a MCStReader
>         Arguments and temporary variables:
>                 aString:        'Unrecognized class definition'
>         Receiver's instance variables:
>                 stream:         a ReadStream
>                 definitions:    an OrderedCollection(a
> MCClassDefinition(Integer) a MCMethodDefini...etc...
>
> MCStReader>>typeOfSubclass:
>         Receiver: a MCStReader
>         Arguments and temporary variables:
>                 aSymbol:        #immediateSubclass:
>         Receiver's instance variables:
>                 stream:         a ReadStream
>                 definitions:    an OrderedCollection(a
> MCClassDefinition(Integer) a MCMethodDefini...etc...
>
> MCStReader>>classDefinitionFrom:
>         Receiver: a MCStReader
>         Arguments and temporary variables:
>                 aPseudoClass:   a PseudoClass(#SmallFloat64)
>                 tokens:         #(#Float #immediateSubclass: #SmallFloat64
> #instanceVariableNames: '' #...etc...
>                 traitCompositionString:         '{}'
>                 lastIndex:      11
>                 classTraitCompositionString:    '{}'
>         Receiver's instance variables:
>                 stream:         a ReadStream
>                 definitions:    an OrderedCollection(a
> MCClassDefinition(Integer) a MCMethodDefini...etc...
>
> [] in MCStReader>>loadDefinitions
>         Receiver: a MCStReader
>         Arguments and temporary variables:
>                 filePackage:    a PseudoClass(#SmallFloat64)
>                 pseudoClass:    an OrderedCollection(a
> MCClassDefinition(Integer) a MCMethodDefini...etc...
>         Receiver's instance variables:
>                 stream:         a ReadStream
>                 definitions:    an OrderedCollection(a
> MCClassDefinition(Integer) a MCMethodDefini...etc...
>
>
> --- The full stack ---
> MCStReader(Object)>>error:
> MCStReader>>typeOfSubclass:
> MCStReader>>classDefinitionFrom:
> [] in MCStReader>>loadDefinitions
>  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> [] in Dictionary>>valuesDo:
> Dictionary>>associationsDo:
> Dictionary>>valuesDo:
> Dictionary>>do:
> MCStReader>>loadDefinitions
> MCStReader(MCSnapshotReader)>>definitions
> [] in MCMczReader>>extractDefinitionsFrom:
> MCStReader class(Object)>>ifNotNilDo:
> MCMczReader>>extractDefinitionsFrom:
> [] in MCMczReader>>loadDefinitions
> OrderedCollection>>do:
> MCMczReader>>loadDefinitions
> MCMczReader(MCVersionReader)>>definitions
> MCMczReader(MCVersionReader)>>snapshot
> [] in SSDiffyTextWriter>>writeVersion:for:
> BlockClosure>>on:do:
> SSDiffyTextWriter>>writeVersion:for:
> [] in SSEMailSubscription>>versionAdded:to:
> BlockClosure>>on:do:
> SSEMailSubscription>>versionAdded:to:
> [] in [] in SSProject>>versionAdded:
> [] in BlockClosure>>newProcess
>
>


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


More information about the Squeak-dev mailing list