The Trunk: Kernel-eem.1005.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Kernel-eem.1005.mcz

commits-2
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

Reply | Threaded
Open this post in threaded view
|

Re: The Trunk: Kernel-eem.1005.mcz

Eliot Miranda-2
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, <[hidden email]> 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