[squeak-dev] corruption after failed project export

Lauren Pullen drurowin at gmail.com
Wed Apr 27 03:45:15 UTC 2022


For trunk 21650.  See attached.

The project failed to export on HandMorph and the UI no longer works.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2022-04-26 at 21.40.26.png
Type: image/png
Size: 1022476 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220427/54d13956/attachment-0001.png>
-------------- next part --------------
MessageNotUnderstood: HandMorph>>project
26 April 2022 9:39:01.324508 pm

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

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir /Users/lauren/env/vm
Trusted Dir /Users/lauren/env/vm/secure
Untrusted Dir /Users/lauren/env/vm/My Squeak

HandMorph(Object)>>doesNotUnderstand: #project
	Receiver: a HandMorph(1824793)
	Arguments and temporary variables: 
		aMessage: 	project
		exception: 	MessageNotUnderstood: HandMorph>>project
		resumeValue: 	nil
	Receiver's instance variables: 
		bounds: 	399 at 481 corner: 431 at 513
		owner: 	a PasteUpMorph(3256025) [world]
		submorphs: 	#()
		fullBounds: 	399 at 481 corner: 431 at 513
		color: 	Color blue
		extension: 	a MorphExtension (3767253) [other:  (borderStyle -> a BorderStyle) (...etc...
		mouseFocus: 	nil
		keyboardFocus: 	a TextMorphForEditView(3247677)
		eventListeners: 	nil
		mouseListeners: 	nil
		keyboardListeners: 	nil
		eventCaptureFilters: 	nil
		mouseCaptureFilters: 	nil
		keyboardCaptureFilters: 	a WeakArray(a HandMorph(1824793))
		mouseClickState: 	nil
		mouseOverHandler: 	a MouseOverHandler
		targetOffset: 	236 at 75
		lastMouseEvent: 	[399 at 484 399 at 481 mouseMove 117269489]
		lastKeyDownEvent: 	[399 at 481 keyDown (35) 117273595]
		damageRecorder: 	a DamageRecorder
		cacheCanvas: 	nil
		cachedCanvasHasHoles: 	true
		temporaryCursor: 	nil
		temporaryCursorOffset: 	nil
		hardwareCursor: 	nil
		hasChanged: 	true
		savedPatch: 	nil
		userInitials: 	''
		lastEventBuffer: 	#(1 117269489 399 481 0 0 0 1)
		genieGestureProcessor: 	nil
		keyboardInterpreter: 	a MacUnicodeInputInterpreter
		externalDropMorph: 	nil

HandMorph>>DoIt
	Receiver: a HandMorph(1824793)
	Arguments and temporary variables: 

	Receiver's instance variables: 
		bounds: 	399 at 481 corner: 431 at 513
		owner: 	a PasteUpMorph(3256025) [world]
		submorphs: 	#()
		fullBounds: 	399 at 481 corner: 431 at 513
		color: 	Color blue
		extension: 	a MorphExtension (3767253) [other:  (borderStyle -> a BorderStyle) (...etc...
		mouseFocus: 	nil
		keyboardFocus: 	a TextMorphForEditView(3247677)
		eventListeners: 	nil
		mouseListeners: 	nil
		keyboardListeners: 	nil
		eventCaptureFilters: 	nil
		mouseCaptureFilters: 	nil
		keyboardCaptureFilters: 	a WeakArray(a HandMorph(1824793))
		mouseClickState: 	nil
		mouseOverHandler: 	a MouseOverHandler
		targetOffset: 	236 at 75
		lastMouseEvent: 	[399 at 484 399 at 481 mouseMove 117269489]
		lastKeyDownEvent: 	[399 at 481 keyDown (35) 117273595]
		damageRecorder: 	a DamageRecorder
		cacheCanvas: 	nil
		cachedCanvasHasHoles: 	true
		temporaryCursor: 	nil
		temporaryCursorOffset: 	nil
		hardwareCursor: 	nil
		hasChanged: 	true
		savedPatch: 	nil
		userInitials: 	''
		lastEventBuffer: 	#(1 117269489 399 481 0 0 0 1)
		genieGestureProcessor: 	nil
		keyboardInterpreter: 	a MacUnicodeInputInterpreter
		externalDropMorph: 	nil

Compiler>>evaluateCue:ifFail:
	Receiver: a Compiler
	Arguments and temporary variables: 
		aCue: 	a CompilationCue
		failBlock: 	[closure] in Compiler>>evaluateCue:ifFail:logged:
		methodNode: 	DoIt
	^ self project
		method: 	(HandMorph>>#DoIt "a CompiledMethod(261011)")
		value: 	nil
	Receiver's instance variables: 
		parser: 	a Parser
		cue: 	a CompilationCue

Compiler>>evaluateCue:ifFail:logged:
	Receiver: a Compiler
	Arguments and temporary variables: 
		aCue: 	a CompilationCue
		failBlock: 	[closure] in [] in SmalltalkEditor(TextEditor)>>evaluateSelectionAndDo:...etc...
		logFlag: 	true
		value: 	nil
	Receiver's instance variables: 
		parser: 	a Parser
		cue: 	a CompilationCue

Compiler>>evaluate:in:to:environment:notifying:ifFail:logged:
	Receiver: a Compiler
	Arguments and temporary variables: 
		textOrStream: 	a ReadStream
		aContext: 	nil
		receiver: 	a HandMorph(1824793)
		anEnvironment: 	Smalltalk
		aRequestor: 	a SmalltalkEditor
		failBlock: 	[closure] in [] in SmalltalkEditor(TextEditor)>>evaluateSelectionAndDo:...etc...
		logFlag: 	true
	Receiver's instance variables: 
		parser: 	a Parser
		cue: 	a CompilationCue

[] in SmalltalkEditor(TextEditor)>>evaluateSelectionAndDo:
	Receiver: a SmalltalkEditor
	Arguments and temporary variables: 
		aBlock: 	[closure] in SmalltalkEditor(TextEditor)>>printIt
		result: 	nil
		rcvr: 	a HandMorph(1824793)
		ctxt: 	nil
	Receiver's instance variables: 
		morph: 	a TextMorphForEditView(3247677)
		model: 	a MorphInspector
		paragraph: 	a NewParagraph
		markBlock: 	a CharacterBlock with index 1 and character $s and rectangle 6 at 4 cor...etc...
		pointBlock: 	a CharacterBlock with index 13 and rectangle 148 at 4 corner: 148 at 38
 ...etc...
		beginTypeInIndex: 	nil
		emphasisHere: 	{a TextColor code: (Color r: 0.0 g: 0.0 b: 0.5)}
		lastParenLocation: 	nil
		otherInterval: 	(1 to: 0)
		oldInterval: 	nil
		typeAhead: 	a WriteStream
		history: 	a TextEditorCommandHistory

FullBlockClosure(BlockClosure)>>on:do:
	Receiver: [closure] in SmalltalkEditor(TextEditor)>>evaluateSelectionAndDo:
	Arguments and temporary variables: 
		exceptionOrExceptionSet: 	OutOfScopeNotification
		handlerAction: 	[closure] in SmalltalkEditor(TextEditor)>>evaluateSelectionAndDo:...etc...
		handlerActive: 	true
		handlerRearmed: 	false
	Receiver's instance variables: 
		outerContext: 	SmalltalkEditor(TextEditor)>>evaluateSelectionAndDo:
		startpcOrMethod: 	([] in TextEditor>>#evaluateSelectionAndDo: "a CompiledBlock(1...etc...
		numArgs: 	0
		receiver: 	a SmalltalkEditor

SmalltalkEditor(TextEditor)>>evaluateSelectionAndDo:
	Receiver: a SmalltalkEditor
	Arguments and temporary variables: 
		aBlock: 	[closure] in SmalltalkEditor(TextEditor)>>printIt
		result: 	nil
		rcvr: 	a HandMorph(1824793)
		ctxt: 	nil
	Receiver's instance variables: 
		morph: 	a TextMorphForEditView(3247677)
		model: 	a MorphInspector
		paragraph: 	a NewParagraph
		markBlock: 	a CharacterBlock with index 1 and character $s and rectangle 6 at 4 cor...etc...
		pointBlock: 	a CharacterBlock with index 13 and rectangle 148 at 4 corner: 148 at 38
 ...etc...
		beginTypeInIndex: 	nil
		emphasisHere: 	{a TextColor code: (Color r: 0.0 g: 0.0 b: 0.5)}
		lastParenLocation: 	nil
		otherInterval: 	(1 to: 0)
		oldInterval: 	nil
		typeAhead: 	a WriteStream
		history: 	a TextEditorCommandHistory

SmalltalkEditor(TextEditor)>>printIt
	Receiver: a SmalltalkEditor
	Arguments and temporary variables: 

	Receiver's instance variables: 
		morph: 	a TextMorphForEditView(3247677)
		model: 	a MorphInspector
		paragraph: 	a NewParagraph
		markBlock: 	a CharacterBlock with index 1 and character $s and rectangle 6 at 4 cor...etc...
		pointBlock: 	a CharacterBlock with index 13 and rectangle 148 at 4 corner: 148 at 38
 ...etc...
		beginTypeInIndex: 	nil
		emphasisHere: 	{a TextColor code: (Color r: 0.0 g: 0.0 b: 0.5)}
		lastParenLocation: 	nil
		otherInterval: 	(1 to: 0)
		oldInterval: 	nil
		typeAhead: 	a WriteStream
		history: 	a TextEditorCommandHistory

SmalltalkEditor(TextEditor)>>printIt:
	Receiver: a SmalltalkEditor
	Arguments and temporary variables: 
		aKeyboardEvent: 	[208 at 70 keystroke '<Cmd-p>' (112) 117273595]
	Receiver's instance variables: 
		morph: 	a TextMorphForEditView(3247677)
		model: 	a MorphInspector
		paragraph: 	a NewParagraph
		markBlock: 	a CharacterBlock with index 1 and character $s and rectangle 6 at 4 cor...etc...
		pointBlock: 	a CharacterBlock with index 13 and rectangle 148 at 4 corner: 148 at 38
 ...etc...
		beginTypeInIndex: 	nil
		emphasisHere: 	{a TextColor code: (Color r: 0.0 g: 0.0 b: 0.5)}
		lastParenLocation: 	nil
		otherInterval: 	(1 to: 0)
		oldInterval: 	nil
		typeAhead: 	a WriteStream
		history: 	a TextEditorCommandHistory

SmalltalkEditor(TextEditor)>>dispatchOnKeyboardEvent:
	Receiver: a SmalltalkEditor
	Arguments and temporary variables: 
		aKeyboardEvent: 	[208 at 70 keystroke '<Cmd-p>' (112) 117273595]
		honorCommandKeys: 	true
		typedChar: 	$p
	Receiver's instance variables: 
		morph: 	a TextMorphForEditView(3247677)
		model: 	a MorphInspector
		paragraph: 	a NewParagraph
		markBlock: 	a CharacterBlock with index 1 and character $s and rectangle 6 at 4 cor...etc...
		pointBlock: 	a CharacterBlock with index 13 and rectangle 148 at 4 corner: 148 at 38
 ...etc...
		beginTypeInIndex: 	nil
		emphasisHere: 	{a TextColor code: (Color r: 0.0 g: 0.0 b: 0.5)}
		lastParenLocation: 	nil
		otherInterval: 	(1 to: 0)
		oldInterval: 	nil
		typeAhead: 	a WriteStream
		history: 	a TextEditorCommandHistory

SmalltalkEditor(TextEditor)>>keyStroke:
	Receiver: a SmalltalkEditor
	Arguments and temporary variables: 
		anEvent: 	[208 at 70 keystroke '<Cmd-p>' (112) 117273595]
	Receiver's instance variables: 
		morph: 	a TextMorphForEditView(3247677)
		model: 	a MorphInspector
		paragraph: 	a NewParagraph
		markBlock: 	a CharacterBlock with index 1 and character $s and rectangle 6 at 4 cor...etc...
		pointBlock: 	a CharacterBlock with index 13 and rectangle 148 at 4 corner: 148 at 38
 ...etc...
		beginTypeInIndex: 	nil
		emphasisHere: 	{a TextColor code: (Color r: 0.0 g: 0.0 b: 0.5)}
		lastParenLocation: 	nil
		otherInterval: 	(1 to: 0)
		oldInterval: 	nil
		typeAhead: 	a WriteStream
		history: 	a TextEditorCommandHistory

[] in [] in TextMorphForEditView(TextMorph)>>keyStroke:
	Receiver: a TextMorphForEditView(3247677)
	Arguments and temporary variables: 
		evt: 	[208 at 70 keystroke '<Cmd-p>' (112) 117273595]
		action: 	nil
	Receiver's instance variables: 
		bounds: 	0 at 0 corner: 529 at 42
		owner: 	a TransformMorph(3244093)
		submorphs: 	#()
		fullBounds: 	0 at 0 corner: 529 at 42
		color: 	Color black
		extension: 	a MorphExtension (3046011) [other:  (unfocusedSelectionColor -> (Col...etc...
		borderWidth: 	0
		borderColor: 	Color black
		textStyle: 	a TextStyle(9) BitstreamVeraSansForSqueak
		text: 	a Text for 'self project'
		wrapFlag: 	true
		paragraph: 	a NewParagraph
		editor: 	a SmalltalkEditor
		container: 	nil
		predecessor: 	nil
		successor: 	nil
		backgroundColor: 	nil
		margins: 	6 at 4 corner: 6 at 4
		readOnly: 	false
		autoFit: 	true
		plainTextOnly: 	false
		numCharactersPerLine: 	nil
		editView: 	a PluggableTextMorphPlus(1956417)
		acceptOnCR: 	false

TextMorphForEditView(TextMorph)>>handleInteraction:fromEvent:
	Receiver: a TextMorphForEditView(3247677)
	Arguments and temporary variables: 
		interactionBlock: 	[closure] in [] in TextMorphForEditView(TextMorph)>>keyStroke:...etc...
		evt: 	[208 at 70 keystroke '<Cmd-p>' (112) 117273595]
		oldEditor: 	a SmalltalkEditor
		oldParagraph: 	a NewParagraph
		oldText: 	a Text for 'self project'
		oldSelection: 	{144 at 4 corner: 153 at 38}
	Receiver's instance variables: 
		bounds: 	0 at 0 corner: 529 at 42
		owner: 	a TransformMorph(3244093)
		submorphs: 	#()
		fullBounds: 	0 at 0 corner: 529 at 42
		color: 	Color black
		extension: 	a MorphExtension (3046011) [other:  (unfocusedSelectionColor -> (Col...etc...
		borderWidth: 	0
		borderColor: 	Color black
		textStyle: 	a TextStyle(9) BitstreamVeraSansForSqueak
		text: 	a Text for 'self project'
		wrapFlag: 	true
		paragraph: 	a NewParagraph
		editor: 	a SmalltalkEditor
		container: 	nil
		predecessor: 	nil
		successor: 	nil
		backgroundColor: 	nil
		margins: 	6 at 4 corner: 6 at 4
		readOnly: 	false
		autoFit: 	true
		plainTextOnly: 	false
		numCharactersPerLine: 	nil
		editView: 	a PluggableTextMorphPlus(1956417)
		acceptOnCR: 	false

TextMorphForEditView>>handleInteraction:fromEvent:
	Receiver: a TextMorphForEditView(3247677)
	Arguments and temporary variables: 
		interActionBlock: 	[closure] in [] in TextMorphForEditView(TextMorph)>>keyStroke:...etc...
		evt: 	[208 at 70 keystroke '<Cmd-p>' (112) 117273595]
	Receiver's instance variables: 
		bounds: 	0 at 0 corner: 529 at 42
		owner: 	a TransformMorph(3244093)
		submorphs: 	#()
		fullBounds: 	0 at 0 corner: 529 at 42
		color: 	Color black
		extension: 	a MorphExtension (3046011) [other:  (unfocusedSelectionColor -> (Col...etc...
		borderWidth: 	0
		borderColor: 	Color black
		textStyle: 	a TextStyle(9) BitstreamVeraSansForSqueak
		text: 	a Text for 'self project'
		wrapFlag: 	true
		paragraph: 	a NewParagraph
		editor: 	a SmalltalkEditor
		container: 	nil
		predecessor: 	nil
		successor: 	nil
		backgroundColor: 	nil
		margins: 	6 at 4 corner: 6 at 4
		readOnly: 	false
		autoFit: 	true
		plainTextOnly: 	false
		numCharactersPerLine: 	nil
		editView: 	a PluggableTextMorphPlus(1956417)
		acceptOnCR: 	false

[] in TextMorphForEditView(TextMorph)>>keyStroke:
	Receiver: a TextMorphForEditView(3247677)
	Arguments and temporary variables: 
		evt: 	[208 at 70 keystroke '<Cmd-p>' (112) 117273595]
		action: 	nil
	Receiver's instance variables: 
		bounds: 	0 at 0 corner: 529 at 42
		owner: 	a TransformMorph(3244093)
		submorphs: 	#()
		fullBounds: 	0 at 0 corner: 529 at 42
		color: 	Color black
		extension: 	a MorphExtension (3046011) [other:  (unfocusedSelectionColor -> (Col...etc...
		borderWidth: 	0
		borderColor: 	Color black
		textStyle: 	a TextStyle(9) BitstreamVeraSansForSqueak
		text: 	a Text for 'self project'
		wrapFlag: 	true
		paragraph: 	a NewParagraph
		editor: 	a SmalltalkEditor
		container: 	nil
		predecessor: 	nil
		successor: 	nil
		backgroundColor: 	nil
		margins: 	6 at 4 corner: 6 at 4
		readOnly: 	false
		autoFit: 	true
		plainTextOnly: 	false
		numCharactersPerLine: 	nil
		editView: 	a PluggableTextMorphPlus(1956417)
		acceptOnCR: 	false

ECToolSet class>>codeCompletionAround:textMorph:keyStroke:
	Receiver: ECToolSet
	Arguments and temporary variables: 
		aBlock: 	[closure] in TextMorphForEditView(TextMorph)>>keyStroke:
		aTextMorph: 	a TextMorphForEditView(3247677)
		evt: 	[208 at 70 keystroke '<Cmd-p>' (112) 117273595]
		completionAllowed: 	false
		editor: 	a SmalltalkEditor
		stringHolder: 	a MorphInspector
	Receiver's instance variables: 
		superclass: 	StandardToolSet
		methodDict: 	a MethodDictionary()
		format: 	0
		instanceVariables: 	nil
		organization: 	('as yet unclassified')

		subclasses: 	nil
		name: 	#ECToolSet
		classPool: 	nil
		sharedPools: 	nil
		environment: 	Smalltalk
		category: 	#OcompletionSqueakCompatibility

ToolSet class>>codeCompletionAround:textMorph:keyStroke:
	Receiver: ToolSet
	Arguments and temporary variables: 
		aBlock: 	[closure] in TextMorphForEditView(TextMorph)>>keyStroke:
		aTextMorph: 	a TextMorphForEditView(3247677)
		evt: 	[208 at 70 keystroke '<Cmd-p>' (112) 117273595]
	Receiver's instance variables: 
		superclass: 	AppRegistry
		methodDict: 	a MethodDictionary()
		format: 	0
		instanceVariables: 	nil
		organization: 	('as yet unclassified')

		subclasses: 	nil
		name: 	#ToolSet
		classPool: 	nil
		sharedPools: 	nil
		environment: 	Smalltalk
		category: 	#'System-Applications'
		registeredClasses: 	an OrderedCollection(StandardToolSet CommandLineToolSet ECToolSet...etc...
		default: 	ECToolSet

TextMorphForEditView(TextMorph)>>keyStroke:
	Receiver: a TextMorphForEditView(3247677)
	Arguments and temporary variables: 
		evt: 	[208 at 70 keystroke '<Cmd-p>' (112) 117273595]
	Receiver's instance variables: 
		bounds: 	0 at 0 corner: 529 at 42
		owner: 	a TransformMorph(3244093)
		submorphs: 	#()
		fullBounds: 	0 at 0 corner: 529 at 42
		color: 	Color black
		extension: 	a MorphExtension (3046011) [other:  (unfocusedSelectionColor -> (Col...etc...
		borderWidth: 	0
		borderColor: 	Color black
		textStyle: 	a TextStyle(9) BitstreamVeraSansForSqueak
		text: 	a Text for 'self project'
		wrapFlag: 	true
		paragraph: 	a NewParagraph
		editor: 	a SmalltalkEditor
		container: 	nil
		predecessor: 	nil
		successor: 	nil
		backgroundColor: 	nil
		margins: 	6 at 4 corner: 6 at 4
		readOnly: 	false
		autoFit: 	true
		plainTextOnly: 	false
		numCharactersPerLine: 	nil
		editView: 	a PluggableTextMorphPlus(1956417)
		acceptOnCR: 	false


--- The full stack ---
HandMorph(Object)>>doesNotUnderstand: #project
HandMorph>>DoIt
Compiler>>evaluateCue:ifFail:
Compiler>>evaluateCue:ifFail:logged:
Compiler>>evaluate:in:to:environment:notifying:ifFail:logged:
[] in SmalltalkEditor(TextEditor)>>evaluateSelectionAndDo:
FullBlockClosure(BlockClosure)>>on:do:
SmalltalkEditor(TextEditor)>>evaluateSelectionAndDo:
SmalltalkEditor(TextEditor)>>printIt
SmalltalkEditor(TextEditor)>>printIt:
SmalltalkEditor(TextEditor)>>dispatchOnKeyboardEvent:
SmalltalkEditor(TextEditor)>>keyStroke:
[] in [] in TextMorphForEditView(TextMorph)>>keyStroke:
TextMorphForEditView(TextMorph)>>handleInteraction:fromEvent:
TextMorphForEditView>>handleInteraction:fromEvent:
[] in TextMorphForEditView(TextMorph)>>keyStroke:
ECToolSet class>>codeCompletionAround:textMorph:keyStroke:
ToolSet class>>codeCompletionAround:textMorph:keyStroke:
TextMorphForEditView(TextMorph)>>keyStroke:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
TextMorphForEditView>>keyStroke:
TextMorphForEditView(Morph)>>handleKeystroke:
TextMorphForEditView(TextMorph)>>handleKeystroke:
KeyboardEvent>>sentTo:
TextMorphForEditView(Morph)>>handleEvent:
TextMorphForEditView(Morph)>>handleFocusEvent:
MorphicEventDispatcher>>doHandlingForFocusEvent:with:
MorphicEventDispatcher>>dispatchFocusEvent:with:
TextMorphForEditView(Morph)>>processFocusEvent:using:
TextMorphForEditView(Morph)>>processFocusEvent:
[] in [] in [] in HandMorph>>sendFocusEvent:to:clear:
[] in ActiveEventVariable class(DynamicVariable class)>>value:during:
FullBlockClosure(BlockClosure)>>ensure:
ActiveEventVariable class(DynamicVariable class)>>value:during:
[] in ActiveEventVariable class>>value:during:
FullBlockClosure(BlockClosure)>>ensure:
ActiveEventVariable class>>value:during:
KeyboardEvent(MorphicEvent)>>becomeActiveDuring:
[] in [] in HandMorph>>sendFocusEvent:to:clear:
[] in ActiveHandVariable class(DynamicVariable class)>>value:during:
FullBlockClosure(BlockClosure)>>ensure:
ActiveHandVariable class(DynamicVariable class)>>value:during:
[] in ActiveHandVariable class>>value:during:
FullBlockClosure(BlockClosure)>>ensure:
ActiveHandVariable class>>value:during:
HandMorph>>becomeActiveDuring:
[] in HandMorph>>sendFocusEvent:to:clear:
[] in ActiveWorldVariable class(DynamicVariable class)>>value:during:
FullBlockClosure(BlockClosure)>>ensure:
ActiveWorldVariable class(DynamicVariable class)>>value:during:
[] in ActiveWorldVariable class>>value:during:
FullBlockClosure(BlockClosure)>>ensure:
ActiveWorldVariable class>>value:during:
PasteUpMorph>>becomeActiveDuring:
HandMorph>>sendFocusEvent:to:clear:
HandMorph>>sendEvent:focus:clear:
HandMorph>>sendKeyboardEvent:
HandMorph>>handleEvent:
HandMorph>>processEvents
[] in [] in WorldState>>doOneCycleNowFor:
[] in ActiveHandVariable class(DynamicVariable class)>>value:during:
FullBlockClosure(BlockClosure)>>ensure:
-- and more not shown --


More information about the Squeak-dev mailing list