[3.9b bug report] 3.9 beta 7032 primitive fails on upgrading SqueakMap

Ken G. Brown kbrown at mac.com
Wed May 10 09:38:08 UTC 2006


Installed ftp://ftp.squeak.org/3.9Beta/Squeak3.9b-7032.zip running on VM Squeak 3.8.12beta4U.app on Mac G5 with OS X 10.4.6.

Try Open SqueakMap Package Browser
	Get notifier saying SqueakMap server version is newer (2.2) than client (2.0), upgrade to new version Yes/No.
Select Yes, then after some time "Upgrading SqueakMap", get a primitive failed error. This is with no sm or package-cache folders present on Squeak startup.

Contents of SqueakDebug.log after starting the Debugger at this point:

Error: a primitive has failed
10 May 2006 3:28:58 am

VM: Mac OS - a SmalltalkImage
Image: Squeak3.9alpha [latest update: #7032]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir /Sqkb3.9b/Squeak3.9b-7032 Folder
Trusted Dir /Sqkb3.9b/Squeak3.9b-7032 Folder
Untrusted Dir /Users/kbrown/Library/Preferences/Squeak/Internet/My Squeak

ByteString class(Object)>>error:
	Receiver: ByteString
	Arguments and temporary variables: 
		aString: 	'a primitive has failed'
	Receiver's instance variables: 
		superclass: 	String
		methodDict: 	a MethodDictionary(#asByteArray->a CompiledMethod (2960) #asOctetSt...etc...
		format: 	23554
		instanceVariables: 	nil
		organization: 	('accessing' at: at:put: byteAt: byteAt:put: byteSize replaceFrom...etc...
		subclasses: 	nil
		name: 	#ByteString
		classPool: 	nil
		sharedPools: 	nil
		environment: 	a SystemDictionary(lots of globals)
		category: 	#'Collections-Strings'
		traitComposition: 	nil
		localSelectors: 	nil

ByteString class(Object)>>primitiveFailed
	Receiver: ByteString
	Arguments and temporary variables: 

	Receiver's instance variables: 
		superclass: 	String
		methodDict: 	a MethodDictionary(#asByteArray->a CompiledMethod (2960) #asOctetSt...etc...
		format: 	23554
		instanceVariables: 	nil
		organization: 	('accessing' at: at:put: byteAt: byteAt:put: byteSize replaceFrom...etc...
		subclasses: 	nil
		name: 	#ByteString
		classPool: 	nil
		sharedPools: 	nil
		environment: 	a SystemDictionary(lots of globals)
		category: 	#'Collections-Strings'
		traitComposition: 	nil
		localSelectors: 	nil

ByteString class(Behavior)>>basicNew:
	Receiver: ByteString
	Arguments and temporary variables: 
		sizeRequested: 	-1
	Receiver's instance variables: 
		superclass: 	String
		methodDict: 	a MethodDictionary(#asByteArray->a CompiledMethod (2960) #asOctetSt...etc...
		format: 	23554
		instanceVariables: 	nil
		organization: 	('accessing' at: at:put: byteAt: byteAt:put: byteSize replaceFrom...etc...
		subclasses: 	nil
		name: 	#ByteString
		classPool: 	nil
		sharedPools: 	nil
		environment: 	a SystemDictionary(lots of globals)
		category: 	#'Collections-Strings'
		traitComposition: 	nil
		localSelectors: 	nil

ByteString class(String class)>>new:
	Receiver: ByteString
	Arguments and temporary variables: 
		sizeRequested: 	-1
	Receiver's instance variables: 
		superclass: 	String
		methodDict: 	a MethodDictionary(#asByteArray->a CompiledMethod (2960) #asOctetSt...etc...
		format: 	23554
		instanceVariables: 	nil
		organization: 	('accessing' at: at:put: byteAt: byteAt:put: byteSize replaceFrom...etc...
		subclasses: 	nil
		name: 	#ByteString
		classPool: 	nil
		sharedPools: 	nil
		environment: 	a SystemDictionary(lots of globals)
		category: 	#'Collections-Strings'
		traitComposition: 	nil
		localSelectors: 	nil


--- The full stack ---
ByteString class(Object)>>error:
ByteString class(Object)>>primitiveFailed
ByteString class(Behavior)>>basicNew:
ByteString class(String class)>>new:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ByteString(SequenceableCollection)>>copyFrom:to:
ByteString(SequenceableCollection)>>first:
SMSqueakMap>>saveCheckpoint:
[] in SMSqueakMap>>loadFullFrom: {[self saveCheckpoint: zipped]}
Time class>>millisecondsToRun:
SMSqueakMap>>loadFullFrom:
SMSqueakMap>>loadUpdatesFull:
SMSqueakMap>>loadFull
SMSqueakMap>>loadUpdates
[] in UndefinedObject>>DoIt {[(Smalltalk hasClassNamed: #SMLoader)   ifTrue: [(Smalltalk at: #SMLoader) a...]}
BlockContext>>ensure:
CursorWithMask(Cursor)>>showWhile:
UndefinedObject>>DoIt
Compiler>>evaluate:in:to:notifying:ifFail:logged:
Compiler class>>evaluate:for:notifying:logged:
Compiler class>>evaluate:for:logged:
Compiler class>>evaluate:logged:
[] in ReadStream(PositionableStream)>>fileInAnnouncing: {[val := (self peekFor: $!)     ifTrue: [(Compiler evaluate: self nextChunk l...]}
BlockContext>>on:do:
[] in ReadStream(PositionableStream)>>fileInAnnouncing: {[:bar |  [self atEnd]   whileFalse: [bar value: self position.    self skipS...]}
[] in ProgressInitiationException>>defaultMorphicAction {[result := workBlock value: progress]}
BlockContext>>ensure:
ProgressInitiationException>>defaultMorphicAction
ProgressInitiationException>>defaultAction
UndefinedObject>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
ProgressInitiationException(Exception)>>signal
...etc...

Hope this helps.
   Ken Brown
 


 



More information about the Squeak-dev mailing list