[NOBUG] Not possible to add instvars in Squeak39g 7055

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

[NOBUG] Not possible to add instvars in Squeak39g 7055

Torsten Bergmann
Aaarrghh... stupid me. Looks like the SqueakV39.sources file
from 39g7055 is different from the previous build.

Did'nt know that the source file was recreated for 39g7055.
So SqueakV39.sources <> SqueakV39.sources file.

I had the previous SqueakV39.sources file in a common folder
together with the vm executable.

The new sources file was in the the image folder since I
extracted it from the distribution. But the Squeak VM
favours the one from it's own folder -> which was the old one.

The Bug can be closed.

Thx
Torsten

--


"Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail

Reply | Threaded
Open this post in threaded view
|

RE: [NOBUG] Not possible to add instvars in Squeak39g 7055

Gary Chambers
Still some dodgy source pointers in compiled methods though, Trait related of course.

It seems something is still not quite right with the Traits.

> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]]On Behalf Of
> [hidden email]
> Sent: 06 September 2006 10:10 AM
> To: [hidden email]
> Subject: [NOBUG] Not possible to add instvars in Squeak39g 7055
>
>
> Aaarrghh... stupid me. Looks like the SqueakV39.sources file
> from 39g7055 is different from the previous build.
>
> Did'nt know that the source file was recreated for 39g7055.
> So SqueakV39.sources <> SqueakV39.sources file.
>
> I had the previous SqueakV39.sources file in a common folder
> together with the vm executable.
>
> The new sources file was in the the image folder since I
> extracted it from the distribution. But the Squeak VM
> favours the one from it's own folder -> which was the old one.
>
> The Bug can be closed.
>
> Thx
> Torsten
>
> --
>
>
> "Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...
> Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
>


Reply | Threaded
Open this post in threaded view
|

Re: [NOBUG] Not possible to add instvars in Squeak39g 7055

Klaus D. Witzel
On Wed, 06 Sep 2006 21:40:44 +0200, Gary Chambers wrote:

> Still some dodgy source pointers in compiled methods though, Trait  
> related of course.

No. I have checked each and every source pointer, they are Okay. What's  
the problem?

> It seems something is still not quite right with the Traits.

No. You have forgotten to tell us what is not right. Until then,  
everything is Okay with traits ;-)

/Klaus


Reply | Threaded
Open this post in threaded view
|

Re: [NOBUG] Not possible to add instvars in Squeak39g 7055

stéphane ducasse-2
In reply to this post by Gary Chambers
We will sit with adrian at ESUG today and try to fix the bug we saw.
Now this is always easier to count what is not working instead of  
looking at what it is.


> Still some dodgy source pointers in compiled methods though, Trait  
> related of course.
>
> It seems something is still not quite right with the Traits.


Reply | Threaded
Open this post in threaded view
|

Re: [NOBUG] Not possible to add instvars in Squeak39g 7055

stéphane ducasse-2
In reply to this post by Torsten Bergmann
Thanks torsten

Stef

On 6 sept. 06, at 11:10, [hidden email] wrote:

> Aaarrghh... stupid me. Looks like the SqueakV39.sources file
> from 39g7055 is different from the previous build.
>
> Did'nt know that the source file was recreated for 39g7055.
> So SqueakV39.sources <> SqueakV39.sources file.
>
> I had the previous SqueakV39.sources file in a common folder
> together with the vm executable.
>
> The new sources file was in the the image folder since I
> extracted it from the distribution. But the Squeak VM
> favours the one from it's own folder -> which was the old one.
>
> The Bug can be closed.
>
> Thx
> Torsten
>
> --
>
>
> "Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...
> Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
>


Reply | Threaded
Open this post in threaded view
|

RE: [NOBUG] Not possible to add instvars in Squeak39g 7055

Gary Chambers
In reply to this post by Klaus D. Witzel
Look at (for example) ClassDescription>>removeSelector:
Decompiled code, try looking at the versions!

> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]]On Behalf Of Klaus
> D. Witzel
> Sent: 07 September 2006 1:25 AM
> To: [hidden email]
> Subject: Re: [NOBUG] Not possible to add instvars in Squeak39g 7055
>
>
> On Wed, 06 Sep 2006 21:40:44 +0200, Gary Chambers wrote:
>
> > Still some dodgy source pointers in compiled methods though, Trait  
> > related of course.
>
> No. I have checked each and every source pointer, they are Okay. What's  
> the problem?
>
> > It seems something is still not quite right with the Traits.
>
> No. You have forgotten to tell us what is not right. Until then,  
> everything is Okay with traits ;-)
>
> /Klaus
>
>

Reply | Threaded
Open this post in threaded view
|

[BUG][3.9g#7055] getSourceFromFile past end of file [was: Not possible to add instvars in Squeak39g 7055]

Klaus D. Witzel
On Thu, 07 Sep 2006 15:35:38 +0200, Gary Chambers wrote:

> Look at (for example) ClassDescription>>removeSelector:
> Decompiled code, try looking at the versions!

Alright, downloaded a fresh 3.9g#7055 all into a new subdirectory and  
looked at fileIndex and filePointer samples: nothing obvious jumped into  
the eyes.

But I confirm your observation, there is a serious bug (either with the  
.source/.changes files or with the xyzPointers), reproducible with  
(ClassDescription>>#removeSelector:) getSourceFromFile.

Didn't find the cause. Marcus, Stef, are the correct #7055 files in the  
.zip?

/Klaus

Error: RemoteString past end of file
7 September 2006 5:08:48 pm

VM: Win32 - a SmalltalkImage
Image: Squeak3.9gamma [latest update: #7055]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir ...\kWitzel\My Documents\Squeak3.9g
Trusted Dir ...\kWitzel\My Documents\Squeak3.9g\kWitzel
Untrusted Dir ...\My Squeak\kWitzel

RemoteString(Object)>>error:
        Receiver: a RemoteString
        Arguments and temporary variables:
                aString: 'RemoteString past end of file'
        Receiver's instance variables:
                sourceFileNumber: 2
                filePositionHi: 19955217

RemoteString>>text
        Receiver: a RemoteString
        Arguments and temporary variables:
                theFile: MultiByteFileStream: '...\kWitzel\My Documents\S...etc...
        Receiver's instance variables:
                sourceFileNumber: 2
                filePositionHi: 19955217

CompiledMethod>>getSourceFromFile
        Receiver: a CompiledMethod (3981)
        Arguments and temporary variables:
                position: 19955217
        Receiver's instance variables:
a CompiledMethod (3981)

CompiledMethod>>DoIt
        Receiver: a CompiledMethod (3981)
        Arguments and temporary variables:

        Receiver's instance variables:
a CompiledMethod (3981)


--- The full stack ---
RemoteString(Object)>>error:
RemoteString>>text
CompiledMethod>>getSourceFromFile
CompiledMethod>>DoIt
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Compiler>>evaluate:in:to:notifying:ifFail:logged:
[] in TextMorphEditor(ParagraphEditor)>>evaluateSelection {[rcvr class  
evaluatorClass new   evaluate: self selectionAsStream   in: ctxt...]}
BlockContext>>on:do:
TextMorphEditor(ParagraphEditor)>>evaluateSelection
TextMorphEditor(ParagraphEditor)>>printIt
[] in TextMorphEditor(ParagraphEditor)>>printIt: {[self printIt]}
TextMorphEditor(Controller)>>terminateAndInitializeAround:
TextMorphEditor(ParagraphEditor)>>printIt:
TextMorphEditor(ParagraphEditor)>>dispatchOnCharacter:with:
TextMorphEditor>>dispatchOnCharacter:with:
TextMorphEditor(ParagraphEditor)>>readKeyboard
TextMorphEditor>>readKeyboard
[] in TextMorphForEditView(TextMorph)>>keyStroke: {[editor readKeyboard]}
TextMorphForEditView(TextMorph)>>handleInteraction:fromEvent:
TextMorphForEditView>>handleInteraction:fromEvent:
TextMorphForEditView(TextMorph)>>keyStroke:
TextMorphForEditView>>keyStroke:
TextMorphForEditView(TextMorph)>>handleKeystroke:
KeyboardEvent>>sentTo:
TextMorphForEditView(Morph)>>handleEvent:
TextMorphForEditView(Morph)>>handleFocusEvent:
[] in HandMorph>>sendFocusEvent:to:clear: {[ActiveHand := self.  
ActiveEvent := anEvent.  result := focusHolder     han...]}
[] in PasteUpMorph>>becomeActiveDuring: {[aBlock value]}
BlockContext>>on:do:
PasteUpMorph>>becomeActiveDuring:
HandMorph>>sendFocusEvent:to:clear:
HandMorph>>sendEvent:focus:clear:
HandMorph>>sendKeyboardEvent:
HandMorph>>handleEvent:
HandMorph>>processEvents
[] in WorldState>>doOneCycleNowFor: {[:h |  ActiveHand := h.  h  
processEvents.  capturingGesture := capturingGest...]}
Array(SequenceableCollection)>>do:
WorldState>>handsDo:
WorldState>>doOneCycleNowFor:
WorldState>>doOneCycleFor:
PasteUpMorph>>doOneCycle
[] in Project class>>spawnNewProcess {[[World doOneCycle.  Processor  
yield.  false] whileFalse.  nil]}
[] in BlockContext>>newProcess {[self value.  Processor terminateActive]}


Reply | Threaded
Open this post in threaded view
|

Re: [BUG][3.9g#7055] getSourceFromFile past end of file [was: Not possible to add instvars in Squeak39g 7055]

stéphane ducasse-2
We were aware of that and now this is fixed in 7056 (please donwload  
the image or recreate it from 7053) and remove your old
39sources

Stef

On 7 sept. 06, at 17:24, Klaus D. Witzel wrote:

> On Thu, 07 Sep 2006 15:35:38 +0200, Gary Chambers wrote:
>
>> Look at (for example) ClassDescription>>removeSelector:
>> Decompiled code, try looking at the versions!
>
> Alright, downloaded a fresh 3.9g#7055 all into a new subdirectory  
> and looked at fileIndex and filePointer samples: nothing obvious  
> jumped into the eyes.
>
> But I confirm your observation, there is a serious bug (either with  
> the .source/.changes files or with the xyzPointers), reproducible  
> with (ClassDescription>>#removeSelector:) getSourceFromFile.
>
> Didn't find the cause. Marcus, Stef, are the correct #7055 files in  
> the .zip?
>
> /Klaus
>
> Error: RemoteString past end of file
> 7 September 2006 5:08:48 pm
>
> VM: Win32 - a SmalltalkImage
> Image: Squeak3.9gamma [latest update: #7055]
>
> SecurityManager state:
> Restricted: false
> FileAccess: true
> SocketAccess: true
> Working Dir ...\kWitzel\My Documents\Squeak3.9g
> Trusted Dir ...\kWitzel\My Documents\Squeak3.9g\kWitzel
> Untrusted Dir ...\My Squeak\kWitzel
>
> RemoteString(Object)>>error:
> Receiver: a RemoteString
> Arguments and temporary variables:
> aString: 'RemoteString past end of file'
> Receiver's instance variables:
> sourceFileNumber: 2
> filePositionHi: 19955217
>
> RemoteString>>text
> Receiver: a RemoteString
> Arguments and temporary variables:
> theFile: MultiByteFileStream: '...\kWitzel\My Documents\S...etc...
> Receiver's instance variables:
> sourceFileNumber: 2
> filePositionHi: 19955217
>
> CompiledMethod>>getSourceFromFile
> Receiver: a CompiledMethod (3981)
> Arguments and temporary variables:
> position: 19955217
> Receiver's instance variables:
> a CompiledMethod (3981)
>
> CompiledMethod>>DoIt
> Receiver: a CompiledMethod (3981)
> Arguments and temporary variables:
>
> Receiver's instance variables:
> a CompiledMethod (3981)
>
>
> --- The full stack ---
> RemoteString(Object)>>error:
> RemoteString>>text
> CompiledMethod>>getSourceFromFile
> CompiledMethod>>DoIt
>  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> Compiler>>evaluate:in:to:notifying:ifFail:logged:
> [] in TextMorphEditor(ParagraphEditor)>>evaluateSelection {[rcvr  
> class evaluatorClass new   evaluate: self selectionAsStream   in:  
> ctxt...]}
> BlockContext>>on:do:
> TextMorphEditor(ParagraphEditor)>>evaluateSelection
> TextMorphEditor(ParagraphEditor)>>printIt
> [] in TextMorphEditor(ParagraphEditor)>>printIt: {[self printIt]}
> TextMorphEditor(Controller)>>terminateAndInitializeAround:
> TextMorphEditor(ParagraphEditor)>>printIt:
> TextMorphEditor(ParagraphEditor)>>dispatchOnCharacter:with:
> TextMorphEditor>>dispatchOnCharacter:with:
> TextMorphEditor(ParagraphEditor)>>readKeyboard
> TextMorphEditor>>readKeyboard
> [] in TextMorphForEditView(TextMorph)>>keyStroke: {[editor  
> readKeyboard]}
> TextMorphForEditView(TextMorph)>>handleInteraction:fromEvent:
> TextMorphForEditView>>handleInteraction:fromEvent:
> TextMorphForEditView(TextMorph)>>keyStroke:
> TextMorphForEditView>>keyStroke:
> TextMorphForEditView(TextMorph)>>handleKeystroke:
> KeyboardEvent>>sentTo:
> TextMorphForEditView(Morph)>>handleEvent:
> TextMorphForEditView(Morph)>>handleFocusEvent:
> [] in HandMorph>>sendFocusEvent:to:clear: {[ActiveHand := self.  
> ActiveEvent := anEvent.  result := focusHolder     han...]}
> [] in PasteUpMorph>>becomeActiveDuring: {[aBlock value]}
> BlockContext>>on:do:
> PasteUpMorph>>becomeActiveDuring:
> HandMorph>>sendFocusEvent:to:clear:
> HandMorph>>sendEvent:focus:clear:
> HandMorph>>sendKeyboardEvent:
> HandMorph>>handleEvent:
> HandMorph>>processEvents
> [] in WorldState>>doOneCycleNowFor: {[:h |  ActiveHand := h.  h  
> processEvents.  capturingGesture := capturingGest...]}
> Array(SequenceableCollection)>>do:
> WorldState>>handsDo:
> WorldState>>doOneCycleNowFor:
> WorldState>>doOneCycleFor:
> PasteUpMorph>>doOneCycle
> [] in Project class>>spawnNewProcess {[[World doOneCycle.  
> Processor yield.  false] whileFalse.  nil]}
> [] in BlockContext>>newProcess {[self value.  Processor  
> terminateActive]}
>
>
>