Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003706 [Squeak] SqueakMap major always 05-23-06 22:44 07-13-06 09:18
Reporter kbrown View Status public  
Assigned To gokr
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.9 Product Version 3.9
  Product Build
Summary 0003706: 'SMSqueakMap bootStrap' doit fails with primitive failure - Squeak3.9b-7032
Description 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.

Open a workspace, then execute 'SMSqueakMap bootStrap'
After some time "Upgrading SqueakMap", get a primitive failed error. This is with no sm or package-cache folders present when Squeak starts up.

This failure also happens when first rying to Open SqueakMap and it requires an upgrade to a later verson of SqueakMap to match the server.
Therefore Cannot use SqueakMap at all.
Steps To Reproduce
Additional Information Contents of SqueakDebug.log after starting the Debugger at this point:

Error: a primitive has failed
23 May 2006 1:44:28 pm

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

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir /Volumes/SA160/SqueakStuff/Sqkb/Sqkb3.9/Sqkb3.9b/Squeak3.9b-7032 Folder
Trusted Dir /Volumes/SA160/SqueakStuff/Sqkb/Sqkb3.9/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...
Attached Files

- Relationships

- Notes
(0005163 - 245 - 257 - 257 - 257 - 257 - 257)
kbrown
06-01-06 20:08

This primitive failure also occurs in b7031 and b7033.
The first time this is attempted, two directories are created in the image directory, sm, and package-cache.
Trying the bootStrap a second time still results in the same primitive failure.
 
(0005832 - 10 - 10 - 10 - 10 - 10 - 10)
MarcusDenker
07-13-06 09:18

works 7041
 

- Issue History
Date Modified Username Field Change
05-23-06 22:44 kbrown New Issue
05-23-06 22:44 kbrown Status new => assigned
05-23-06 22:44 kbrown Assigned To  => gokr
06-01-06 20:04 kbrown Issue Monitored: kbrown
06-01-06 20:08 kbrown Note Added: 0005163
07-13-06 09:18 MarcusDenker Status assigned => closed
07-13-06 09:18 MarcusDenker Note Added: 0005832
07-13-06 09:18 MarcusDenker Resolution open => fixed
07-13-06 09:18 MarcusDenker Fixed in Version  => 3.9


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
45 total queries executed.
35 unique queries executed.
Powered by Mantis Bugtracker