[squeak-dev] VM crash upgrading via trunk from 5.1-17325 (420->421)

Tim Johnson digit at sonic.net
Tue Mar 20 18:20:54 UTC 2018


Hi, 

A full dump of SqueakDebug.log follows.  This is from trying to update
from #421 to #422, and the lockup occurs at update-nice.422.mcm,
"Installing Kernel-nice.1127".  It seems the lock up was indeed the
result of a "system error.   VM: Squeak 5.0, Cog Spur VM
5.0-201803080952 

Note that the debug log below states my image is "Squeak6.0alpha" but
that is because the image is renamed as such by one of the trunk
updates.   The original image was in fact originally
"Squeak5.1-16549-64bit" as downloaded from squeak.org. 

I would guess that if the current target is actually Squeak5.2 then
there is cause to revisit whichever update renames the image.  :) 

SqueakDebug.log: 

MessageNotUnderstood: TextMorph>>currentHand
20 March 2018 11:02:32.410229 am

VM: Mac OS - Smalltalk
Image: Squeak6.0alpha [latest update: #17400]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir /Users/admin/Downloads/Squeak/Squeak5.1-16549-64bit
Trusted Dir /foobar/tooBar/forSqueak/bogus/
Untrusted Dir /Users/admin/Library/Preferences/Squeak/Internet/My
Squeak/

TextMorph(Object)>>doesNotUnderstand: #currentHand
    Receiver: a TextMorph(2177815)
    Arguments and temporary variables: 
        aMessage:     currentHand
        exception:     MessageNotUnderstood: TextMorph>>currentHand
        resumeValue:     nil
    Receiver's instance variables: 
        bounds:     0 at 0 corner: 50 at 40
        owner:     nil
        submorphs:     #()
        fullBounds:     nil
        color:     Color black
        extension:     a MorphExtension (3048404) [other: 
(CreatingParagraph -> true)]
        borderWidth:     0
        borderColor:     Color black
        textStyle:     a TextStyle Bitmap DejaVu Sans 9
        text:     a Text for '***System error handling failed***
MessageNotUnderstood: Morp...etc...
        wrapFlag:     false
        paragraph:     a NewParagraph
        editor:     nil
        container:     nil
        predecessor:     nil
        successor:     nil
        backgroundColor:     nil
        margins:     nil
        editHistory:     nil
        readOnly:     nil
        autoFit:     nil

[] in TextMorph>>createParagraph
    Receiver: a TextMorph(2177815)
    Arguments and temporary variables: 

    Receiver's instance variables: 
        bounds:     0 at 0 corner: 50 at 40
        owner:     nil
        submorphs:     #()
        fullBounds:     nil
        color:     Color black
        extension:     a MorphExtension (3048404) [other: 
(CreatingParagraph -> true)]
        borderWidth:     0
        borderColor:     Color black
        textStyle:     a TextStyle Bitmap DejaVu Sans 9
        text:     a Text for '***System error handling failed***
MessageNotUnderstood: Morp...etc...
        wrapFlag:     false
        paragraph:     a NewParagraph
        editor:     nil
        container:     nil
        predecessor:     nil
        successor:     nil
        backgroundColor:     nil
        margins:     nil
        editHistory:     nil
        readOnly:     nil
        autoFit:     nil

BlockClosure>>ensure:
    Receiver: [closure] in TextMorph>>createParagraph
    Arguments and temporary variables: 
        aBlock:     [closure] in TextMorph>>createParagraph
        complete:     nil
        returnValue:     nil
    Receiver's instance variables: 
        outerContext:     TextMorph>>createParagraph
        startpc:     194
        numArgs:     0

MessageNotUnderstood: TextMorph>>currentHand
20 March 2018 11:02:32.410229 am

VM: Mac OS - Smalltalk
Image: Squeak6.0alpha [latest update: #17400]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir /Users/admin/Downloads/Squeak/Squeak5.1-16549-64bit
Trusted Dir /foobar/tooBar/forSqueak/bogus/
Untrusted Dir /Users/admin/Library/Preferences/Squeak/Internet/My
Squeak/

TextMorph(Object)>>doesNotUnderstand: #currentHand
    Receiver: a TextMorph(2177815)
    Arguments and temporary variables: 
        aMessage:     currentHand
        exception:     MessageNotUnderstood: TextMorph>>currentHand
        resumeValue:     nil
    Receiver's instance variables: 
        bounds:     0 at 0 corner: 50 at 40
        owner:     nil
        submorphs:     #()
        fullBounds:     nil
        color:     Color black
        extension:     a MorphExtension (3048404) [other: 
(CreatingParagraph -> true)]
        borderWidth:     0
        borderColor:     Color black
        textStyle:     a TextStyle Bitmap DejaVu Sans 9
        text:     a Text for '***System error handling failed***
MessageNotUnderstood: Morp...etc...
        wrapFlag:     false
        paragraph:     a NewParagraph
        editor:     nil
        container:     nil
        predecessor:     nil
        successor:     nil
        backgroundColor:     nil
        margins:     nil
        editHistory:     nil
        readOnly:     nil
        autoFit:     nil

[] in TextMorph>>createParagraph
    Receiver: a TextMorph(2177815)
    Arguments and temporary variables: 

    Receiver's instance variables: 
        bounds:     0 at 0 corner: 50 at 40
        owner:     nil
        submorphs:     #()
        fullBounds:     nil
        color:     Color black
        extension:     a MorphExtension (3048404) [other: 
(CreatingParagraph -> true)]
        borderWidth:     0
        borderColor:     Color black
        textStyle:     a TextStyle Bitmap DejaVu Sans 9
        text:     a Text for '***System error handling failed***
MessageNotUnderstood: Morp...etc...
        wrapFlag:     false
        paragraph:     a NewParagraph
        editor:     nil
        container:     nil
        predecessor:     nil
        successor:     nil
        backgroundColor:     nil
        margins:     nil
        editHistory:     nil
        readOnly:     nil
        autoFit:     nil

BlockClosure>>ensure:
    Receiver: [closure] in TextMorph>>createParagraph
    Arguments and temporary variables: 
        aBlock:     [closure] in TextMorph>>createParagraph
        complete:     nil
        returnValue:     nil
    Receiver's instance variables: 
        outerContext:     TextMorph>>createParagraph
        startpc:     194
        numArgs:     0

TextMorph>>createParagraph
    Receiver: a TextMorph(2177815)
    Arguments and temporary variables: 

    Receiver's instance variables: 
        bounds:     0 at 0 corner: 50 at 40
        owner:     nil
        submorphs:     #()
        fullBounds:     nil
        color:     Color black
        extension:     a MorphExtension (3048404) [other: 
(CreatingParagraph -> true)]
        borderWidth:     0
        borderColor:     Color black
        textStyle:     a TextStyle Bitmap DejaVu Sans 9
        text:     a Text for '***System error handling failed***
MessageNotUnderstood: Morp...etc...
        wrapFlag:     false
        paragraph:     a NewParagraph
        editor:     nil
        container:     nil
        predecessor:     nil
        successor:     nil
        backgroundColor:     nil
        margins:     nil
        editHistory:     nil
        readOnly:     nil
        autoFit:     nil

TextMorph>>paragraph
    Receiver: a TextMorph(2177815)
    Arguments and temporary variables: 

    Receiver's instance variables: 
        bounds:     0 at 0 corner: 50 at 40
        owner:     nil
        submorphs:     #()
        fullBounds:     nil
        color:     Color black
        extension:     a MorphExtension (3048404) [other: 
(CreatingParagraph -> true)]
        borderWidth:     0
        borderColor:     Color black
        textStyle:     a TextStyle Bitmap DejaVu Sans 9
        text:     a Text for '***System error handling failed***
MessageNotUnderstood: Morp...etc...
        wrapFlag:     false
        paragraph:     a NewParagraph
        editor:     nil
        container:     nil
        predecessor:     nil
        successor:     nil
        backgroundColor:     nil
        margins:     nil
        editHistory:     nil
        readOnly:     nil
        autoFit:     nil

TextMorph>>newContents:
    Receiver: a TextMorph(2177815)
    Arguments and temporary variables: 
        stringOrText:     a Text for '***System error handling failed***
MessageNotUndersto...etc...
        newText:     a Text for '***System error handling failed***
MessageNotUnderstood: M...etc...
        embeddedMorphs:     nil
        oldSelection:     nil
        ed:     nil
        sel:     nil
    Receiver's instance variables: 
        bounds:     0 at 0 corner: 50 at 40
        owner:     nil
        submorphs:     #()
        fullBounds:     nil
        color:     Color black
        extension:     a MorphExtension (3048404) [other: 
(CreatingParagraph -> true)]
        borderWidth:     0
        borderColor:     Color black
        textStyle:     a TextStyle Bitmap DejaVu Sans 9
        text:     a Text for '***System error handling failed***
MessageNotUnderstood: Morp...etc...
        wrapFlag:     false
        paragraph:     a NewParagraph
        editor:     nil
        container:     nil
        predecessor:     nil
        successor:     nil
        backgroundColor:     nil
        margins:     nil
        editHistory:     nil
        readOnly:     nil
        autoFit:     nil

TextMorph>>contentsAsIs:
    Receiver: a TextMorph(2177815)
    Arguments and temporary variables: 
        stringOrText:     a Text for '***System error handling failed***
MessageNotUndersto...etc...
    Receiver's instance variables: 
        bounds:     0 at 0 corner: 50 at 40
        owner:     nil
        submorphs:     #()
        fullBounds:     nil
        color:     Color black
        extension:     a MorphExtension (3048404) [other: 
(CreatingParagraph -> true)]
        borderWidth:     0
        borderColor:     Color black
        textStyle:     a TextStyle Bitmap DejaVu Sans 9
        text:     a Text for '***System error handling failed***
MessageNotUnderstood: Morp...etc...
        wrapFlag:     false
        paragraph:     a NewParagraph
        editor:     nil
        container:     nil
        predecessor:     nil
        successor:     nil
        backgroundColor:     nil
        margins:     nil
        editHistory:     nil
        readOnly:     nil
        autoFit:     nil

MorphicProject>>composeDisplayTextIntoForm:
    Receiver: a MorphicProject (Kernel-nice.1127) in a
PasteUpMorph(3001636) [world]
    Arguments and temporary variables: 
        displayText:     a DisplayText
        tmpText:     nil
        canvas:     nil
        color:     nil
    Receiver's instance variables: 
        dependents:     nil
        world:     a PasteUpMorph(3001636) [world]
        uiManager:     a MorphicUIManager
        changeSet:     a ChangeSet named Kernel-nice.1127
        transcript:     a TranscriptStream
        parentProject:     a MorphicProject (Kernel-nice.1127) in a
PasteUpMorph(3001636) [...etc...
        previousProject:     nil
        displayDepth:     32
        viewSize:     160 at 95
        thumbnail:     Form(160x95x32)
        nextProject:     nil
        projectParameters:     an
IdentityDictionary(#disabledGlobalFlapIDs->a Set('Paintin...etc...
        version:     nil
        urlList:     nil
        environment:     nil
        lastDirectory:     nil
        lastSavedAtSeconds:     nil
        projectPreferenceFlagDictionary:     an
IdentityDictionary(#enablePortraitMode->fal...etc...
        resourceManager:     a ResourceManager
        uiProcess:     a Process in nil

DisplayText>>composeForm
    Receiver: a DisplayText
    Arguments and temporary variables: 

    Receiver's instance variables: 
        text:     a Text for '***System error handling failed***
MessageNotUnderstood: Morp...etc...
        textStyle:     a TextStyle Bitmap DejaVu Sans 9
        offset:     0 at 0
        form:     nil
        foreColor:     Color black
        backColor:     Color white

DisplayText>>form
    Receiver: a DisplayText
    Arguments and temporary variables: 

    Receiver's instance variables: 
        text:     a Text for '***System error handling failed***
MessageNotUnderstood: Morp...etc...
        textStyle:     a TextStyle Bitmap DejaVu Sans 9
        offset:     0 at 0
        form:     nil
        foreColor:     Color black
        backColor:     Color white

DisplayText>>displayOn:at:clippingBox:rule:fillColor:
    Receiver: a DisplayText
    Arguments and temporary variables: 
        aDisplayMedium:     DisplayScreen(1024x664x32)
        aDisplayPoint:     0 at 0
        clipRectangle:     0 at 0 corner: 1024 at 664
        ruleInteger:     3
        aForm:     nil
        form1:     nil
        rule:     nil
    Receiver's instance variables: 
        text:     a Text for '***System error handling failed***
MessageNotUnderstood: Morp...etc...
        textStyle:     a TextStyle Bitmap DejaVu Sans 9
        offset:     0 at 0
        form:     nil
        foreColor:     Color black
        backColor:     Color white

DisplayText(DisplayObject)>>displayOn:at:
    Receiver: a DisplayText
    Arguments and temporary variables: 
        aDisplayMedium:     DisplayScreen(1024x664x32)
        aDisplayPoint:     0 at 0
    Receiver's instance variables: 
        text:     a Text for '***System error handling failed***
MessageNotUnderstood: Morp...etc...
        textStyle:     a TextStyle Bitmap DejaVu Sans 9
        offset:     0 at 0
        form:     nil
        foreColor:     Color black
        backColor:     Color white

ByteString(String)>>displayOn:at:textColor:
    Receiver: '***System error handling failed***
MessageNotUnderstood: MorphicToolBuilder>>currentWorld...etc...
    Arguments and temporary variables: 
        aDisplayMedium:     DisplayScreen(1024x664x32)
        aPoint:     0 at 0
        aColor:     Color black
    Receiver's instance variables: 
'***System error handling failed***
MessageNotUnderstood: MorphicToolBuilder>>currentWorld...etc...
ByteString(String)>>displayOn:at:
    Receiver: '***System error handling failed***
MessageNotUnderstood: MorphicToolBuilder>>currentWorld...etc...
    Arguments and temporary variables: 
        aDisplayMedium:     DisplayScreen(1024x664x32)
        aPoint:     0 at 0
    Receiver's instance variables: 
'***System error handling failed***
MessageNotUnderstood: MorphicToolBuilder>>currentWorld...etc...
ByteString(String)>>displayAt:
    Receiver: '***System error handling failed***
MessageNotUnderstood: MorphicToolBuilder>>currentWorld...etc...
    Arguments and temporary variables: 
        aPoint:     0 at 0
    Receiver's instance variables: 
'***System error handling failed***
MessageNotUnderstood: MorphicToolBuilder>>currentWorld...etc...
Project class>>tryEmergencyEvaluatorForRecovery:
    Receiver: Project
    Arguments and temporary variables: 
        errorMessage:     'MessageNotUnderstood:
MorphicToolBuilder>>currentWorld'
        hasTranscripter:     true
        transcripter:     Transcripter
        t:     Transcripter
    Receiver's instance variables: 
        superclass:     Model
        methodDict:     a MethodDictionary(size 245)
        format:     65555
        instanceVariables:     #('world' 'uiManager' 'changeSet'
'transcript' 'parentProjec...etc...
        organization:     ('accessing' changeSet color displayDepth:
findProjectView: forgetExistingURL...etc...
        subclasses:     {MVCProject . MorphicProject}
        name:     #Project
        classPool:     a Dictionary(#AllProjects->an OrderedCollection(a
MorphicProject (Ke...etc...
        sharedPools:     nil
        environment:     Smalltalk
        category:     #'System-Support'

Project class>>handlePrimitiveError:
    Receiver: Project
    Arguments and temporary variables: 
        errorMessage:     'MessageNotUnderstood:
MorphicToolBuilder>>currentWorld'
    Receiver's instance variables: 
        superclass:     Model
        methodDict:     a MethodDictionary(size 245)
        format:     65555
        instanceVariables:     #('world' 'uiManager' 'changeSet'
'transcript' 'parentProjec...etc...
        organization:     ('accessing' changeSet color displayDepth:
findProjectView: forgetExistingURL...etc...
        subclasses:     {MVCProject . MorphicProject}
        name:     #Project
        classPool:     a Dictionary(#AllProjects->an OrderedCollection(a
MorphicProject (Ke...etc...
        sharedPools:     nil
        environment:     Smalltalk
        category:     #'System-Support'

MorphicProject(Object)>>primitiveError:
    Receiver: a MorphicProject (Kernel-nice.1127) in a
PasteUpMorph(3001636) [world]
    Arguments and temporary variables: 
        aString:     'MessageNotUnderstood:
MorphicToolBuilder>>currentWorld'
    Receiver's instance variables: 
        dependents:     nil
        world:     a PasteUpMorph(3001636) [world]
        uiManager:     a MorphicUIManager
        changeSet:     a ChangeSet named Kernel-nice.1127
        transcript:     a TranscriptStream
        parentProject:     a MorphicProject (Kernel-nice.1127) in a
PasteUpMorph(3001636) [...etc...
        previousProject:     nil
        displayDepth:     32
        viewSize:     160 at 95
        thumbnail:     Form(160x95x32)
        nextProject:     nil
        projectParameters:     an
IdentityDictionary(#disabledGlobalFlapIDs->a Set('Paintin...etc...
        version:     nil
        urlList:     nil
        environment:     nil
        lastDirectory:     nil
        lastSavedAtSeconds:     nil
        projectPreferenceFlagDictionary:     an
IdentityDictionary(#enablePortraitMode->fal...etc...
        resourceManager:     a ResourceManager
        uiProcess:     a Process in nil

MorphicProject(Project)>>handleFatalDrawingError:
    Receiver: a MorphicProject (Kernel-nice.1127) in a
PasteUpMorph(3001636) [world]
    Arguments and temporary variables: 
        errMsg:     'MessageNotUnderstood:
MorphicToolBuilder>>currentWorld'
    Receiver's instance variables: 
        dependents:     nil
        world:     a PasteUpMorph(3001636) [world]
        uiManager:     a MorphicUIManager
        changeSet:     a ChangeSet named Kernel-nice.1127
        transcript:     a TranscriptStream
        parentProject:     a MorphicProject (Kernel-nice.1127) in a
PasteUpMorph(3001636) [...etc...
        previousProject:     nil
        displayDepth:     32
        viewSize:     160 at 95
        thumbnail:     Form(160x95x32)
        nextProject:     nil
        projectParameters:     an
IdentityDictionary(#disabledGlobalFlapIDs->a Set('Paintin...etc...
        version:     nil
        urlList:     nil
        environment:     nil
        lastDirectory:     nil
        lastSavedAtSeconds:     nil
        projectPreferenceFlagDictionary:     an
IdentityDictionary(#enablePortraitMode->fal...etc...
        resourceManager:     a ResourceManager
        uiProcess:     a Process in nil

--- The full stack ---
TextMorph(Object)>>doesNotUnderstand: #currentHand
[] in TextMorph>>createParagraph
BlockClosure>>ensure:
TextMorph>>createParagraph
TextMorph>>paragraph
TextMorph>>newContents:
TextMorph>>contentsAsIs:
MorphicProject>>composeDisplayTextIntoForm:
DisplayText>>composeForm
DisplayText>>form
DisplayText>>displayOn:at:clippingBox:rule:fillColor:
DisplayText(DisplayObject)>>displayOn:at:
ByteString(String)>>displayOn:at:textColor:
ByteString(String)>>displayOn:at:
ByteString(String)>>displayAt:
Project class>>tryEmergencyEvaluatorForRecovery:
Project class>>handlePrimitiveError:
MorphicProject(Object)>>primitiveError:
MorphicProject(Project)>>handleFatalDrawingError:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[] in Debugger class>>morphicOpenOn:context:label:contents:fullView:
BlockClosure>>ensure:
Mutex>>critical:
Debugger class>>morphicOpenOn:context:label:contents:fullView:
MorphicProject(Project)>>dispatchTo:addPrefixAndSend:withArguments:
Debugger class>>openOn:context:label:contents:fullView:
StandardToolSet class>>debug:context:label:contents:fullView:
ToolSet class>>debug:context:label:contents:fullView:
Process>>debug:title:full:
Process>>debug:title:
StandardToolSet class>>debugError:
ToolSet class>>debugError:
UnhandledError>>defaultAction
UndefinedObject>>handleSignal:
UnhandledError(Exception)>>signal
UnhandledError class>>signalForException:
MessageNotUnderstood(Error)>>defaultAction
MessageNotUnderstood>>defaultAction
UndefinedObject>>handleSignal:
MessageNotUnderstood(Exception)>>signal
MorphicToolBuilder(Object)>>doesNotUnderstand: #currentWorld
MorphicToolBuilder>>buildPluggableWindow:
PluggableWindowSpec>>buildWith:
MorphicToolBuilder(ToolBuilder)>>build:
MorphicToolBuilder>>openDebugger:
[] in Debugger>>openNotifierContents:label:
BlockClosure>>ensure:
Debugger>>openNotifierContents:label:
[] in [] in Debugger
class>>morphicOpenOn:context:label:contents:fullView:
WorldState>>runStepMethodsIn:
PasteUpMorph>>runStepMethods
WorldState>>doOneCycleNowFor:
WorldState>>doOneCycleFor:
PasteUpMorph>>doOneCycle
[] in MorphicProject>>spawnNewProcess
[] in BlockClosure>>newProcess 

On 2018-03-20 11:06, Tim Johnson wrote:

> Hi Marcel,
> 
> Thanks! That helped.  I was able to update to #421 after running this. Should this message be sent as a postamble script or preload script or somesuch?
> 
> Now unfortunately the (64-bit image on OS X) locks up (no crash) at update-nice.422.mcm, "Installing Kernel-nice.1127".  :)  In SqueakDebug.log, there is the following:
> 
> MessageNotUnderstood: TextMorph>>currentHand
> 
> For the record: it has been very useful to upgrade the MonticelloConfigurations package to the latest version, so I have the ability to send e.g.
> 
> MCMcmUpdater default doUpdateUpTo: 421
> 
> Thanks again,
> Tim
> 
> On 2018-03-20 09:50, Marcel Taeumel wrote:
> 
> Hi Tim,
> 
> try "Smalltalk cleanUp: true" before applying update #421.
> 
> Best,
> Marcel
> 
> Am 19.03.2018 08:11:05 schrieb Tim Johnson <digit at sonic.net>:
> 
> Hi all,
> 
> I was able to upgrade a 5.1 image all the way to update #420 (17325), thanks to the helpful new-ish methods in MCMcmUpdater.  Should I be able to upgrade beyond that?
> 
> When I try to apply #421, I get a friendly offer to drop into an emergency evaluator.  One time a dialog box appeared, informing me that the VM has crashed.  I thought I grabbed a screenshot of the VM crash dialog, but I guess I didn't.  I do have a crash.dmp file.
> 
> System details:
> 
> 32-bit Windows 7
> 32-bit image, starting with 5.1 and upgraded via trunk through update-420
> 
> VMs tried: squeakcog.spur_win32x86_201803080952 and cog_win32x86_squeak.cog.spur_201608171728
> 
> Updates being applied at time of crash:
> 
> update-mt.421.mcm
> System-mt.963
> 
> (I was also unable to update a 5.1 image via trunk past some point on OS X without a crash.  It might have been this update there too, but I don't have the details to confirm for now.)
> 
> Thanks,
> Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20180320/6a5f1a7e/attachment-0001.html>


More information about the Squeak-dev mailing list