[Bug][3.4gammaOne] Adding an instance var to ClassDescription does not work

Ned Konz ned at bike-nomad.com
Tue Feb 25 00:31:23 UTC 2003


On Monday 24 February 2003 02:36 pm, Hannes Hirzel wrote:

> Nathanael Schaerli raised the issue. Adding an instance variable to
> the class ClassDescription
> is not possible anymore in 3.4. In version 3.2 (the offical one
> from www.squeak.org) it worked.
>
> The following test case illustrates this:

I ran the test case in MVC, from a Workspace. It did complete, after I 
proceeded once.

When I went to examine classes, etc. later, though, I got a walkback. 
Perhaps this will offer a clue:


Error: File write failed
24 February 2003 4:26:59 pm

VM: unix - Squeak3.4gamma of '7 January 2003' [latest update: #5169]
Image: Squeak3.4gamma [latest update: #5169]

StandardFileStream(Object)>>error:
	Receiver: StandardFileStream: 
'/home/ned/Squeak/3.4/distro/SqueakDebug.log'
	Arguments and temporary variables: 
		aString: 	'File write failed'
	Receiver's instance variables: 


StandardFileStream>>primWrite:from:startingAt:count:
	Receiver: StandardFileStream: 
'/home/ned/Squeak/3.4/distro/SqueakDebug.log'
	Arguments and temporary variables: 
		id: 	a ByteArray(144 171 20 8 2 185 90 62 1 0 0 0 252 12 0 0 2 0 0 
0)
		stringOrByteArray: 	a Dictionary()
		startIndex: 	1
		count: 	0
	Receiver's instance variables: 


StandardFileStream>>nextPutAll:
	Receiver: StandardFileStream: 
'/home/ned/Squeak/3.4/distro/SqueakDebug.log'
	Arguments and temporary variables: 
		aString: 	a Dictionary()
	Receiver's instance variables: 


MethodContext(ContextPart)>>printOn:
	Receiver: >>name
	Arguments and temporary variables: 
		aStream: 	StandardFileStream: 
'/home/ned/Squeak/3.4/distro/SqueakDebug.log'
		selector: 	#name
		class: 	
		mclass: 	
		c: 	
	Receiver's instance variables: 
		sender: 	MethodContext(ContextPart)>>printOn:
		pc: 	31
		stackp: 	0
		method: 	a CompiledMethod (3422)
		receiverMap: 	nil
		receiver: 	<<error during printing>>


--- The full stack ---
StandardFileStream(Object)>>error:
StandardFileStream>>primWrite:from:startingAt:count:
StandardFileStream>>nextPutAll:
MethodContext(ContextPart)>>printOn:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
StandardFileStream(Stream)>>print:
MethodContext(ContextPart)>>errorReportOn:
SystemDictionary>>logError:inContext:to:
Debugger class>>openContext:label:contents:
Error>>devDefaultAction
Error>>defaultAction
Error(Exception)>>signal
Error(Exception)>>signal:
StandardFileStream(Object)>>error:
StandardFileStream>>primWrite:from:startingAt:count:
StandardFileStream>>nextPutAll:
MethodContext(ContextPart)>>printOn:
StandardFileStream(Stream)>>print:
MethodContext(ContextPart)>>errorReportOn:
SystemDictionary>>logError:inContext:to:
Debugger class>>openContext:label:contents:
Error>>devDefaultAction
Error>>defaultAction
Error(Exception)>>signal
Error(Exception)>>signal:
StandardFileStream(Object)>>error:
StandardFileStream>>primWrite:from:startingAt:count:
StandardFileStream>>nextPutAll:
MethodContext(ContextPart)>>printOn:
StandardFileStream(Stream)>>print:
MethodContext(ContextPart)>>errorReportOn:
SystemDictionary>>logError:inContext:to:
Debugger class>>openContext:label:contents:
Error>>devDefaultAction
Error>>defaultAction
Error(Exception)>>signal
Error(Exception)>>signal:
StandardFileStream(Object)>>error:
StandardFileStream>>primWrite:from:startingAt:count:
StandardFileStream>>nextPutAll:
MethodContext(ContextPart)>>printOn:
StandardFileStream(Stream)>>print:
MethodContext(ContextPart)>>errorReportOn:
SystemDictionary>>logError:inContext:to:
Debugger class>>openContext:label:contents:
Error>>devDefaultAction
Error>>defaultAction
Error(Exception)>>signal
Error(Exception)>>signal:
StandardFileStream(Object)>>error:
StandardFileStream>>primWrite:from:startingAt:count:
StandardFileStream>>nextPutAll:
MethodContext(ContextPart)>>printOn:
StandardFileStream(Stream)>>print:
MethodContext(ContextPart)>>errorReportOn:
SystemDictionary>>logError:inContext:to:
Debugger class>>openContext:label:contents:
MessageNotUnderstood(Error)>>devDefaultAction
MessageNotUnderstood(Error)>>defaultAction
MessageNotUnderstood(Exception)>>signal
Character(Object)>>doesNotUnderstand:
Dictionary>>add:
-- and more not shown --

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE



More information about the Squeak-dev mailing list