[squeak-dev] error when updating Squeak4.4-12327 to trunk

Bert Freudenberg bert at freudenbergs.de
Thu Mar 7 11:02:00 UTC 2013


On 2013-03-06, at 21:37, Eliot Miranda <eliot.miranda at gmail.com> wrote:

> 
> 
> On Wed, Mar 6, 2013 at 11:28 AM, Frank Shearar <frank.shearar at gmail.com> wrote:
> I can't help wondering if this is because of Nicolas' fun with the Parser?
> 
> Yes it is.  But the issue is what to do about it.  I suspect a solution would be to have Monticello process class definitions that remove inst vars in two stages.  One is to redefine classes with any added inst vars (before new methods are compiled).  The next stage (as late as possible) is to redefine classes removing any inst vars.

Well, you were supposed to put back the config map that solved this problem, after you debugged your Cog crash. Or am I misremembering?

- Bert -



> 
> frank
> 
> On 6 March 2013 15:59, Ken G. Brown <kbrown at mac.com> wrote:
> > Running on COG 2397, and after updating fresh Squeak4.4-12327 Release to 12332, updating to Trunk  fails at first attempt in the same place, then by abandoning and trying the update again, it apparently completes to 12511.
> >
> >    Ken G. Brown
> >
> >> With COG 2678, pretty well the same. First attempt it timed out during the same update-nice-223, then trying again from what had already been loaded, got the following during the same update, during compiling SMLoader-fbs-78 as before:
> >>
> >> From: a at b.c
> >> To: squeak-dev at lists.squeakfoundation.org
> >> Subject: [BUG]SmallInteger(Object)>>doesNotUnderstand: #context
> >>
> >> here insert explanation of what you were doing, suspect changes you've made and so forth.
> >>
> >> 4 March 2013 6:24:59.37 pm
> >>
> >> VM: Mac OS - Smalltalk
> >> Image: Squeak4.4 [latest update: #12327]
> >>
> >> SecurityManager state:
> >> Restricted: false
> >> FileAccess: true
> >> SocketAccess: true
> >> Working Dir /myStuff/mySmalltalkStuff/Sqkb/<Sqkb4.x/Sqkb4.5Trunk
> >> Trusted Dir /foobar/tooBar/forSqueak/bogus/
> >> Untrusted Dir /Users/kbrownht/Library/Preferences/Croquet/Internet/Untrusted
> >>
> >> SmallInteger(Object)>>doesNotUnderstand: #context
> >>       Receiver: 976860964
> >>       Arguments and temporary variables:
> >>               aMessage:       context
> >>               exception:      MessageNotUnderstood: SmallInteger>>context
> >>               resumeValue:    nil
> >>       Receiver's instance variables:
> >> 976860964
> >>
> >> [] in Parser>>parse:cue:noPattern:ifFail:
> >>       Receiver: a Parser
> >>       Arguments and temporary variables:
> >> <<error during printing>
> >>       Receiver's instance variables:
> >>               source:         a ReadStream 'installWebClient
> >>       Installer ss
> >>               project: ''WebClient'';...etc...
> >>               mark:   20
> >>               hereChar:       Character space
> >>               aheadChar:      $s
> >>               token:  'Installer'
> >>               tokenType:      #word
> >>               currentComment:         nil
> >>               buffer:         a WriteStream 'Installer'
> >>               typeTable:      #(#xBinary #xBinary #xBinary #xBinary #xBinary #xBinary #xBinary #xB...etc...
> >>               here:   'installWebClient'
> >>               hereType:       #word
> >>               hereMark:       1
> >>               hereEnd:        16
> >>               prevMark:       1
> >>               prevEnd:        nil
> >>               encoder:        {an EncoderForV3PlusClosures}
> >>               parseNode:      nil
> >>               failBlock:      nil
> >>               requestorOffset:        [closure] in Compiler>>translate:noPattern:ifFail:
> >>               tempsMark:      0
> >>               doitFlag:       nil
> >>               properties:     false
> >>               queriedUnusedTemporaries:       nil
> >>               cue:    nil
> >>
> >> BlockClosure>>on:do:
> >>       Receiver: [closure] in Parser>>parse:cue:noPattern:ifFail:
> >>       Arguments and temporary variables:
> >>               exception:      ReparseAfterSourceEditing
> >>               handlerAction:  [closure] in Parser>>parse:cue:noPattern:ifFail:
> >>               handlerActive:  true
> >>       Receiver's instance variables:
> >>               outerContext:   Parser>>parse:cue:noPattern:ifFail:
> >>               startpc:        196
> >>               numArgs:        0
> >>
> >> Parser>>parse:cue:noPattern:ifFail:
> >>       Receiver: a Parser
> >>       Arguments and temporary variables:
> >> <<error during printing>
> >>       Receiver's instance variables:
> >>               source:         a ReadStream 'installWebClient
> >>       Installer ss
> >>               project: ''WebClient'';...etc...
> >>               mark:   20
> >>               hereChar:       Character space
> >>               aheadChar:      $s
> >>               token:  'Installer'
> >>               tokenType:      #word
> >>               currentComment:         nil
> >>               buffer:         a WriteStream 'Installer'
> >>               typeTable:      #(#xBinary #xBinary #xBinary #xBinary #xBinary #xBinary #xBinary #xB...etc...
> >>               here:   'installWebClient'
> >>               hereType:       #word
> >>               hereMark:       1
> >>               hereEnd:        16
> >>               prevMark:       1
> >>               prevEnd:        nil
> >>               encoder:        {an EncoderForV3PlusClosures}
> >>               parseNode:      nil
> >>               failBlock:      nil
> >>               requestorOffset:        [closure] in Compiler>>translate:noPattern:ifFail:
> >>               tempsMark:      0
> >>               doitFlag:       nil
> >>               properties:     false
> >>               queriedUnusedTemporaries:       nil
> >>               cue:    nil
> >>
> >> Compiler>>translate:noPattern:ifFail:
> >>       Receiver: a Compiler
> >>       Arguments and temporary variables:
> >>               aStream:        a ReadStream 'installWebClient
> >>       Installer ss
> >>               project: ''WebClient''...etc...
> >>               noPattern:      false
> >>               failBlock:      [closure] in MethodAddition>>createCompiledMethod
> >>       Receiver's instance variables:
> >>               sourceStream:   a ReadStream 'installWebClient
> >>       Installer ss
> >>               project: ''WebCli...etc...
> >>               requestor:      nil
> >>               class:  SMClient class
> >>               category:       #private
> >>               context:        nil
> >>               parser:         a Parser
> >>               cue:    a CompilationCue
> >>
> >> Compiler>>compile:in:classified:notifying:ifFail:
> >>       Receiver: a Compiler
> >>       Arguments and temporary variables:
> >>               textOrStream:   'installWebClient
> >>       Installer ss
> >>               project: ''WebClient'';
> >>               inst...etc...
> >>               aClass:         SMClient class
> >>               aCategory:      #private
> >>               aRequestor:     nil
> >>               failBlock:      [closure] in MethodAddition>>createCompiledMethod
> >>       Receiver's instance variables:
> >>               sourceStream:   a ReadStream 'installWebClient
> >>       Installer ss
> >>               project: ''WebCli...etc...
> >>               requestor:      nil
> >>               class:  SMClient class
> >>               category:       #private
> >>               context:        nil
> >>               parser:         a Parser
> >>               cue:    a CompilationCue
> >>
> >> Metaclass(Behavior)>>compile:classified:notifying:trailer:ifFail:
> >>       Receiver: SMClient class
> >>       Arguments and temporary variables:
> >>               code:   'installWebClient
> >>       Installer ss
> >>               project: ''WebClient'';
> >>               install: ''W...etc...
> >>               category:       #private
> >>               requestor:      nil
> >>               bytes:  a CompiledMethodTrailer
> >>               failBlock:      [closure] in MethodAddition>>createCompiledMethod
> >>               methodNode:     nil
> >>       Receiver's instance variables:
> >>               superclass:     Object class
> >>               methodDict:     a MethodDictionary(#assureWebClient->(SMClient class>>#assureWebCli...etc...
> >>               format:         152
> >>               instanceVariables:      nil
> >>               organization:   ('private' assureWebClient installWebClient)
> >>
> >>               thisClass:      SMClient
> >>
> >> MethodAddition>>createCompiledMethod
> >>       Receiver: a MethodAddition
> >>       Arguments and temporary variables:
> >>
> >>       Receiver's instance variables:
> >>               text:   'installWebClient
> >>       Installer ss
> >>               project: ''WebClient'';
> >>               install: ''W...etc...
> >>               category:       #private
> >>               changeStamp:    'fbs 2/25/2013 21:26'
> >>               requestor:      nil
> >>               logSource:      true
> >>               myClass:        SMClient class
> >>               methodAndNode:  nil
> >>               selector:       nil
> >>               compiledMethod:         nil
> >>               priorMethodOrNil:       nil
> >>
> >> On 2013-03-04, at 3:05 PM, Frank Shearar wrote:
> >>
> >>> Ken, if you use Cog 2678, do you see the same problem?
> >>>
> >>> frank
> >>>
> >>> On 4 March 2013 18:35, Ken G. Brown <kbrown at mac.com> wrote:
> >>>> Mac 10.7.5, COG 2693
> >>>> When updating a fresh Squeak4.4-12327 Release to latest trunk, I get the following:
> >>>>  Ken G. Brown
> >>>> ================================
> >>>> 4 March 2013 10:45:55.288 am
> >>>>
> >>>> VM: Mac OS - Smalltalk
> >>>> Image: Squeak4.4 [latest update: #12327]
> >>>>
> >>>> SecurityManager state:
> >>>> Restricted: false
> >>>> FileAccess: true
> >>>> SocketAccess: true
> >>>> Working Dir /myStuff/mySmalltalkStuff/Sqkb/<Sqkb4.x/Sqkb4.5Trunk
> >>>> Trusted Dir /foobar/tooBar/forSqueak/bogus/
> >>>> Untrusted Dir /Users/kbrownht/Library/Preferences/Croquet/Internet/Untrusted
> >>>>
> >>>> SmallInteger(Object)>>doesNotUnderstand: #context
> >>>>       Receiver: 976860964
> >>>>       Arguments and temporary variables:
> >>>>               aMessage:       context
> >>>>               exception:      MessageNotUnderstood: SmallInteger>>context
> >>>>               resumeValue:    nil
> >>>>       Receiver's instance variables:
> >>>> 976860964
> >>>> <snip>
> >>
> >
> 
> 
> 
> 
> -- 
> best,
> Eliot
> 



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20130307/c277e5e8/attachment.htm


More information about the Squeak-dev mailing list