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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Ken G. Brown
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
 


 

Reply | Threaded
Open this post in threaded view
|

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

timrowledge

On 10-May-06, at 2:38 AM, Ken G. Brown wrote:

> 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.
>
> ByteString class(Behavior)>>basicNew:
> Receiver: ByteString
> Arguments and temporary variables:
> sizeRequested: -1
Unfortunately I'm quite unable to make the vm create a byte array of  
size -1 :-)

Looks like some arithmetic needs checking in or around  
SMSqueakMap>>saveCheckpoint:


tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Strange OpCodes: CRN: Compare to Random Number