[squeak-dev] [trunk] Getting MNU UndefinedObject>>:do when trying to build trunk from scratch

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

[squeak-dev] [trunk] Getting MNU UndefinedObject>>:do when trying to build trunk from scratch

Danie Roux-3
I'm building the trunk image from stratch, and I get (for me) a weird error. Background:

- starting from Squeak3.10-7159-basic
- using the exupery VM, on a 64bit Linux box.
- Do'ing:

(Installer repository: 'http://squeaksource.com/MCUpdateTest') install: 'MonticelloConfigurations'.
MCMcmUpdater updateFromRepositories: #('http://squeaksource.com/MCUpdateTest').

The process breaks (after a while) with:

- Installing System-ar.132
- In method ImageSegment>>comeFullyUpOnReload:
- The line seems to be 'receiverClasses := self restoreEndianness.' (which is odd for me)
- Re-doing that line works fine
- arrayOfRoots is nil (and not referenced in that statement?)

--
Danie Roux *shuffle* Adore Unix - http://danieroux.com



Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: [trunk] Getting MNU UndefinedObject>>:do when trying to build trunk from scratch

Andreas.Raab
Do you have a stack trace? Quoting a single line of code is not enough
context to figure out what is going wrong.

Cheers,
   - Andreas

Danie Roux wrote:

> I'm building the trunk image from stratch, and I get (for me) a weird
> error. Background:
>
> - starting from Squeak3.10-7159-basic
> - using the exupery VM, on a 64bit Linux box.
> - Do'ing:
>
> (Installer repository: 'http://squeaksource.com/MCUpdateTest') install:
> 'MonticelloConfigurations'.
> MCMcmUpdater updateFromRepositories:
> #('http://squeaksource.com/MCUpdateTest' 
> <http://squeaksource.com/MCUpdateTest'>).
>
> The process breaks (after a while) with:
>
> - Installing System-ar.132
> - In method ImageSegment>>comeFullyUpOnReload:
> - The line seems to be 'receiverClasses := self restoreEndianness.'
> (which is odd for me)
> - Re-doing that line works fine
> - arrayOfRoots is nil (and not referenced in that statement?)
>
> --
> Danie Roux *shuffle* Adore Unix - http://danieroux.com
>
>
> ------------------------------------------------------------------------
>
>


Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: [trunk] Getting MNU UndefinedObject>>:do when trying to build trunk from scratch

Danie Roux-3
On Tue, Aug 18, 2009 at 4:57 PM, Andreas Raab<[hidden email]> wrote:
> Do you have a stack trace? Quoting a single line of code is not enough
> context to figure out what is going wrong.

What is the best way to get a stack trace worth sending? I used
errorReportOn: and got this:

18 August 2009 5:12:12.73 pm

VM: unix - a SmalltalkImage
Image: Squeak3.10beta [latest update: #7159]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true

UndefinedObject(Object)>>doesNotUnderstand: #do:
        Receiver: nil
        Arguments and temporary variables:
                aMessage: do: [closure] in ImageSegment>>comeFullyUpOnReload:
        Receiver's instance variables:
nil
ImageSegment>>comeFullyUpOnReload:
        Receiver: an ImageSegment
        Arguments and temporary variables:
<<error during printing>
        Receiver's instance variables:
                arrayOfRoots: nil
                segment: a WordArrayForSegment(1929386342 165294603 20 2147483653
142082361 214...etc...
                outPointers: an Array(SMSqueakMap nil true Dictionary SMFileCache
SMInstallatio...etc...
                state: #imported
                segmentName: nil
                fileName: nil
                endMarker: ByteString class(String class)>>new:
                userRootCnt: 1
                renamedClasses: nil

SmartRefStream(DataStream)>>next
        Receiver: a SmartRefStream a ByteArray(33 13 13)
        Arguments and temporary variables:
                type: 16
                selector: #readShortInst
                anObject: an ImageSegment
                isARefType: true
                pos: nil
                internalObject: nil
        Receiver's instance variables:
                byteStream: a MultiByteBinaryOrTextStream a ByteArray(33 13 13)
                topCall: #marked
                basePos: 146
                references: an IdentityDictionary()
                objects: an IdentityDictionary(size 482)
                currentReference: 3167
                fwdRefEnds: an IdentityDictionary()
                blockers: an IdentityDictionary()
                skipping: an IdentitySet()
                insideASegment: false
                structures: a Dictionary(#Array->#(0) #ArrayedCollection->#(0)
#Association->#(...etc...
                steady: a Set(ByteArray SMObject Object SMInstallationRegistry
LookupKey SMRoot...etc...
                reshaped: nil
                renamed: a Dictionary(#FlasherMorph->#Flasher )
                renamedConv: a Dictionary(1->#SMSqueakMap 4->#Dictionary
5->#SMFileCache 6->#SM...etc...
                superclasses: a Dictionary(#Array->#ArrayedCollection
#ArrayedCollection->#Sequ...etc...
                progressBar: nil
                objCount: nil
                classInstVars: nil

SmartRefStream(ReferenceStream)>>next
        Receiver: a SmartRefStream a ByteArray(33 13 13)
        Arguments and temporary variables:
                curPosn: 3167
                skipToPosn: nil
                theObject: false
                wasSkipping: nil
                haveIt: #(false)
        Receiver's instance variables:
                byteStream: a MultiByteBinaryOrTextStream a ByteArray(33 13 13)
                topCall: #marked
                basePos: 146
                references: an IdentityDictionary()
                objects: an IdentityDictionary(size 482)
                currentReference: 3167
                fwdRefEnds: an IdentityDictionary()
                blockers: an IdentityDictionary()
                skipping: an IdentitySet()
                insideASegment: false
                structures: a Dictionary(#Array->#(0) #ArrayedCollection->#(0)
#Association->#(...etc...
                steady: a Set(ByteArray SMObject Object SMInstallationRegistry
LookupKey SMRoot...etc...
                reshaped: nil
                renamed: a Dictionary(#FlasherMorph->#Flasher )
                renamedConv: a Dictionary(1->#SMSqueakMap 4->#Dictionary
5->#SMFileCache 6->#SM...etc...
                superclasses: a Dictionary(#Array->#ArrayedCollection
#ArrayedCollection->#Sequ...etc...
                progressBar: nil
                objCount: nil
                classInstVars: nil


--- The full stack ---
UndefinedObject(Object)>>doesNotUnderstand: #do:
ImageSegment>>comeFullyUpOnReload:
SmartRefStream(DataStream)>>next
SmartRefStream(ReferenceStream)>>next
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SmartRefStream>>next
SmartRefStream>>scanFrom:
ObjectScanner>>scanFrom:
[] in [] in MultiByteBinaryOrTextStream(PositionableStream)>>fileInAnnouncing:
BlockClosure>>on:do:
[] in MultiByteBinaryOrTextStream(PositionableStream)>>fileInAnnouncing:
[] in [] in ProgressInitiationException>>defaultMorphicAction
BlockClosure>>on:do:
[] in ProgressInitiationException>>defaultMorphicAction
BlockClosure>>ensure:
ProgressInitiationException>>defaultMorphicAction
ProgressInitiationException>>defaultAction
UndefinedObject>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
ProgressInitiationException(Exception)>>signal
ProgressInitiationException>>display:at:from:to:during:
...etc...

--
Danie Roux *shuffle* Adore Unix - http://danieroux.com

Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: [trunk] Getting MNU UndefinedObject>>:do when trying to build trunk from scratch

Andreas.Raab
Danie Roux wrote:
> On Tue, Aug 18, 2009 at 4:57 PM, Andreas Raab<[hidden email]> wrote:
>> Do you have a stack trace? Quoting a single line of code is not enough
>> context to figure out what is going wrong.
>
> What is the best way to get a stack trace worth sending? I used
> errorReportOn: and got this:

Close. There is a SqueakDebug.log that you can send. But the information
is clear enough - it looks like it's SqueakMap causing trouble again,
probably during flaps reinitialization. Try destroying the global flaps
(World Menu >> Flaps >> Destroy All Shared Flaps) before you update.
This should fix it.

Cheers,
   - Andreas

>
> 18 August 2009 5:12:12.73 pm
>
> VM: unix - a SmalltalkImage
> Image: Squeak3.10beta [latest update: #7159]
>
> SecurityManager state:
> Restricted: false
> FileAccess: true
> SocketAccess: true
>
> UndefinedObject(Object)>>doesNotUnderstand: #do:
> Receiver: nil
> Arguments and temporary variables:
> aMessage: do: [closure] in ImageSegment>>comeFullyUpOnReload:
> Receiver's instance variables:
> nil
> ImageSegment>>comeFullyUpOnReload:
> Receiver: an ImageSegment
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> arrayOfRoots: nil
> segment: a WordArrayForSegment(1929386342 165294603 20 2147483653
> 142082361 214...etc...
> outPointers: an Array(SMSqueakMap nil true Dictionary SMFileCache
> SMInstallatio...etc...
> state: #imported
> segmentName: nil
> fileName: nil
> endMarker: ByteString class(String class)>>new:
> userRootCnt: 1
> renamedClasses: nil
>
> SmartRefStream(DataStream)>>next
> Receiver: a SmartRefStream a ByteArray(33 13 13)
> Arguments and temporary variables:
> type: 16
> selector: #readShortInst
> anObject: an ImageSegment
> isARefType: true
> pos: nil
> internalObject: nil
> Receiver's instance variables:
> byteStream: a MultiByteBinaryOrTextStream a ByteArray(33 13 13)
> topCall: #marked
> basePos: 146
> references: an IdentityDictionary()
> objects: an IdentityDictionary(size 482)
> currentReference: 3167
> fwdRefEnds: an IdentityDictionary()
> blockers: an IdentityDictionary()
> skipping: an IdentitySet()
> insideASegment: false
> structures: a Dictionary(#Array->#(0) #ArrayedCollection->#(0)
> #Association->#(...etc...
> steady: a Set(ByteArray SMObject Object SMInstallationRegistry
> LookupKey SMRoot...etc...
> reshaped: nil
> renamed: a Dictionary(#FlasherMorph->#Flasher )
> renamedConv: a Dictionary(1->#SMSqueakMap 4->#Dictionary
> 5->#SMFileCache 6->#SM...etc...
> superclasses: a Dictionary(#Array->#ArrayedCollection
> #ArrayedCollection->#Sequ...etc...
> progressBar: nil
> objCount: nil
> classInstVars: nil
>
> SmartRefStream(ReferenceStream)>>next
> Receiver: a SmartRefStream a ByteArray(33 13 13)
> Arguments and temporary variables:
> curPosn: 3167
> skipToPosn: nil
> theObject: false
> wasSkipping: nil
> haveIt: #(false)
> Receiver's instance variables:
> byteStream: a MultiByteBinaryOrTextStream a ByteArray(33 13 13)
> topCall: #marked
> basePos: 146
> references: an IdentityDictionary()
> objects: an IdentityDictionary(size 482)
> currentReference: 3167
> fwdRefEnds: an IdentityDictionary()
> blockers: an IdentityDictionary()
> skipping: an IdentitySet()
> insideASegment: false
> structures: a Dictionary(#Array->#(0) #ArrayedCollection->#(0)
> #Association->#(...etc...
> steady: a Set(ByteArray SMObject Object SMInstallationRegistry
> LookupKey SMRoot...etc...
> reshaped: nil
> renamed: a Dictionary(#FlasherMorph->#Flasher )
> renamedConv: a Dictionary(1->#SMSqueakMap 4->#Dictionary
> 5->#SMFileCache 6->#SM...etc...
> superclasses: a Dictionary(#Array->#ArrayedCollection
> #ArrayedCollection->#Sequ...etc...
> progressBar: nil
> objCount: nil
> classInstVars: nil
>
>
> --- The full stack ---
> UndefinedObject(Object)>>doesNotUnderstand: #do:
> ImageSegment>>comeFullyUpOnReload:
> SmartRefStream(DataStream)>>next
> SmartRefStream(ReferenceStream)>>next
>  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> SmartRefStream>>next
> SmartRefStream>>scanFrom:
> ObjectScanner>>scanFrom:
> [] in [] in MultiByteBinaryOrTextStream(PositionableStream)>>fileInAnnouncing:
> BlockClosure>>on:do:
> [] in MultiByteBinaryOrTextStream(PositionableStream)>>fileInAnnouncing:
> [] in [] in ProgressInitiationException>>defaultMorphicAction
> BlockClosure>>on:do:
> [] in ProgressInitiationException>>defaultMorphicAction
> BlockClosure>>ensure:
> ProgressInitiationException>>defaultMorphicAction
> ProgressInitiationException>>defaultAction
> UndefinedObject>>handleSignal:
> MethodContext(ContextPart)>>handleSignal:
> MethodContext(ContextPart)>>handleSignal:
> MethodContext(ContextPart)>>handleSignal:
> MethodContext(ContextPart)>>handleSignal:
> MethodContext(ContextPart)>>handleSignal:
> ProgressInitiationException(Exception)>>signal
> ProgressInitiationException>>display:at:from:to:during:
> ...etc...
>