[squeak-dev] Emergency evaluator due to MNU in hasContentsInExplorer

David T. Lewis lewis at mail.msen.com
Sun Feb 23 17:25:28 UTC 2020


I should add that you can evaluate "MVCProject new beTopProject" to
add an MVC project to support emergency recovery.

This will be done automatically in the 5.3 release process (thanks
Marcel) but if your current image does not have an MVC project you
can add it in this way.

Dave

On Sat, Feb 22, 2020 at 04:13:17PM -0500, David T. Lewis wrote:
> Hi Jakob,
> 
> I can't quite see what's going on here, but if you think that
> you may be able to reproduce the failure, then try adding an
> MVC project as a parent of the Morphic (or AnimMorphicProject)
> that you are in while doing the update. When the failure happens,
> the system will try to open a debugger in the MVC project (see
> Project>>primitiveError:).
> 
> If that works, then you will be able to work with a real debugger
> rather than the emergency evaluator.
> 
> There is probably some recursive error going on here, and you
> should be able to find it if you can get into a debugger. I'll
> note that the MNU at the top of the stack seems odd to me, I
> can't quite figure out where that would be coming from, but I
> wonder if the #errorMessage is nil for some reason? I still can't
> see where the #notEmpty send is coming from though.
> 
> HTH,
> Dave
> 
> 
> On Sat, Feb 22, 2020 at 05:09:40PM +0100, Jakob Reschke wrote:
> > Hello,
> > 
> > I updated my Trunk image this morning and just got an emergency
> > evaluator popping up. I seem to have a bug in a hasContentsInExplorer
> > method of one of my classes, but I didn't think that would lead to an
> > emergency...
> > 
> > At least it continues quite normally if I press any key. Got a bunch
> > of debuggers and could fix the error there.
> > 
> > Attached you find the SqueakDebug.log. Now I will type the stack trace
> > from the evaluator... Is there a way to copy that except for taking a
> > screenshot?
> > 
> > ***System error handling failed***
> > MessageNotUnderstood: UndefinedObject>>notEmpty
> > Project class>>tryEmergencyEvaluatorForRecovery:
> > AnimMorphicProject(Project)>>primitiveError:
> > AnimMorphicProject(Project)>>recursiveError:
> > AnimMorphicProject(MorphicProject)>>recursiveError:
> > ECToolSet class(StandardToolSet class)>>handleRecursiveError:
> > ToolSet class>>handleRecursiveError:
> > Debugger class>>openOn:context:label:contents:fullView:
> > ECToolSet class(StandardToolSet
> > class)>>debugProcess:context:label:contents:fullView:
> > ToolSet class>>debugProcess:context:label:contents:fullView:
> > Process>>debug:title:full:contents:
> > Process>>debug:title:full:
> > Process>>debug:title:
> > ECToolSet class(StandardToolSet class)>>handleError:
> > ToolSet class>>handleError:
> > UnhandledError>>defaultAction
> > UndefinedObject>>handleSignal:
> > UnhandledError(Exception)>>signal
> > UnhandledError class>>signalForException:
> > MessageNotUnderstood(Error)>>defaultAction
> > MessageNotUnderstood>>defaultAction
> > -----------------------------
> > 
> > Kind regards,
> > Jakob
> 
> 
> > 
> 
> 


More information about the Squeak-dev mailing list