[FIX] ContextCleanupDebugFix ( breaks Process>>terminate? )

ned at bike-nomad.com ned at bike-nomad.com
Mon Jul 7 19:50:01 UTC 2003


In my image, I'm now getting walkbacks when a process is terminated.

Specifically, I have OSProcess installed, and it's got a process that it
terminates in its startUp method.

However, that process's suspendedContext is nil.

Here's the call stack:

VM: unix - Squeak3.4 of 1 March 2003 [latest update: #5170]
Image: Squeak3.6beta [latest update: #5331]

UndefinedObject(Object)>>doesNotUnderstand: #activateReturn:value:
	Receiver: nil
	Arguments and temporary variables: 
		aMessage: 	activateReturn: [] in BlockContext>>newProcess value: [] in
UnixOSPro...etc...
	Receiver's instance variables: 
nil

Process>>activateReturn:value:
	Receiver: a Process in nil
	Arguments and temporary variables: 
		aContext: 	[] in BlockContext>>newProcess
		value: 	[] in UnixOSProcessAccessor>>grimReaperProcess
	Receiver's instance variables: 
		nextLink: 	nil
		suspendedContext: 	nil
		priority: 	40
		myList: 	nil
		errorHandler: 	nil

Process>>return:value:
	Receiver: a Process in nil
	Arguments and temporary variables: 
		aContext: 	[] in BlockContext>>newProcess
		value: 	[] in UnixOSProcessAccessor>>grimReaperProcess
	Receiver's instance variables: 
		nextLink: 	nil
		suspendedContext: 	nil
		priority: 	40
		myList: 	nil
		errorHandler: 	nil

Process>>popTo:
	Receiver: a Process in nil
	Arguments and temporary variables: 
		aContext: 	nil
		callee: 	[] in BlockContext>>newProcess
	Receiver's instance variables: 
		nextLink: 	nil
		suspendedContext: 	nil
		priority: 	40
		myList: 	nil
		errorHandler: 	nil


--- The full stack ---
UndefinedObject(Object)>>doesNotUnderstand: #activateReturn:value:
Process>>activateReturn:value:
Process>>return:value:
Process>>popTo:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Process>>terminate
UnixOSProcessAccessor>>finalize
UnixOSProcessAccessor>>initialize
OSProcessAccessor class>>startUp














< I'm a bug-fixing machine! >

This post brought to you by the BugFixArchiveViewer, a handy tool that
makes it easy to comment on proposed fixes and enhancements for Squeak. 
For more information, check out the Web page for the BugFixArchiveViewer
project: http://minnow.cc.gatech.edu/squeak/3214 

< I'm a bug-fixing machine! >



More information about the Squeak-dev mailing list