Upgrade fail after Files-cmm.68

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

Upgrade fail after Files-cmm.68

CdAB63
Hello,

About two weeks ago I posted a kind of bug report related to a crash during update process. The answers were inconclusive, it was something related to not being able to write to the squeak.changes file... Then I didn't have access to the box where the problem was happening for this time & just today I had chance to look what's happening.

  1. Downloaded Squeak3.11-9371-alpha.zip
  2. Renamed files to squeak.image and squeak.changes
  3. Started squeakvm with following script:
    #!/bin/bash

    LC_CTYPE=pt_BR.UTF-8
    LC_ALL=pt_BR.UTF-8
    export LC_CTYPE LC_ALL

    SQUEAK_ENCODING=Latin9
    SQUEAK_TEXTENC=UTF-8
    SQUEAK_PATHENC=UTF-8
    export SQUEAK_ENCODING SQUEAK_TEXTENC SQUEAK_PATHENC

    /usr/local/bin/squeak squeak.image &

  4. Pressed <Load Code Updates> button
  5. While "Reloading Files-cmm.68" got a window with the following content:
    Syntax Error
    DirectoryEntry <none> /
    <<<This string contains a character (ascii value 3) that is not normally used in code>>> /ÀNothing more expected -> Ào ­®" +)vê;W $^ù à Mà   öºà tJà  M
  6. Cancel update
  7. Pres <Load Code Updates> again
  8. I get the error "Improper store into indexable object"
    The error appears at the method MCPackage>>snapshot when: t2 add: t4 asMethodDefinition
    MethodReference>>forMethodReference
    MCMethodDefinition>>forMethodReference
    ... timeStamp: aMethodReference timeStamp
    MethodReference>>timeStamp
    CompiledMethod>>timeStamp
    CompiledMethod>>getPreambleFrom:at:
    ... c == $!
        ifTrue: [ ^writeStream contents reverse ]
        ifFalse: [ writeStream nextPut: c ]
         ... c is nil *****
    WriteStream>>nextPut:
    etc...

--
The information contained in this message is confidential and
intended to the recipients specified in the headers. If you received
this message by error, notify the sender immediately. The
unSqueak3.11-9371-alpha.zipauthorized use, disclosure, copy or alteration of this message
are strictly forbidden and subjected to civil and criminal sanctions.



Reply | Threaded
Open this post in threaded view
|

Re: Upgrade fail after Files-cmm.68

Chris Muller-3
Are you able to reproduce this?  I'm not..

On Fri, Feb 19, 2010 at 11:08 AM, casimiro barreto
<[hidden email]> wrote:

> Hello,
>
> About two weeks ago I posted a kind of bug report related to a crash during
> update process. The answers were inconclusive, it was something related to
> not being able to write to the squeak.changes file... Then I didn't have
> access to the box where the problem was happening for this time & just today
> I had chance to look what's happening.
>
> Downloaded Squeak3.11-9371-alpha.zip
> Renamed files to squeak.image and squeak.changes
> Started squeakvm with following script:
> #!/bin/bash
>
> LC_CTYPE=pt_BR.UTF-8
> LC_ALL=pt_BR.UTF-8
> export LC_CTYPE LC_ALL
>
> SQUEAK_ENCODING=Latin9
> SQUEAK_TEXTENC=UTF-8
> SQUEAK_PATHENC=UTF-8
> export SQUEAK_ENCODING SQUEAK_TEXTENC SQUEAK_PATHENC
>
> /usr/local/bin/squeak squeak.image &
>
> Pressed <Load Code Updates> button
> While "Reloading Files-cmm.68" got a window with the following content:
> Syntax Error
> DirectoryEntry <none> /
> <<<This string contains a character (ascii value 3) that is not normally
> used in code>>> /ÀNothing more expected -> Ào ­®" +)vê;W $^ù à Mà  Â
> öºà tJà  M
> Cancel update
> Pres <Load Code Updates> again
> I get the error "Improper store into indexable object"
> The error appears at the method MCPackage>>snapshot when: t2 add: t4
> asMethodDefinition
> MethodReference>>forMethodReference
> MCMethodDefinition>>forMethodReference
> ... timeStamp: aMethodReference timeStamp
> MethodReference>>timeStamp
> CompiledMethod>>timeStamp
> CompiledMethod>>getPreambleFrom:at:
> ... c == $!
>     ifTrue: [ ^writeStream contents reverse ]
>     ifFalse: [ writeStream nextPut: c ]
>      ... c is nil *****
> WriteStream>>nextPut:
> etc...
>
> --
> The information contained in this message is confidential and
> intended to the recipients specified in the headers. If you received
> this message by error, notify the sender immediately. The
> unSqueak3.11-9371-alpha.zipauthorized use, disclosure, copy or alteration of
> this message
> are strictly forbidden and subjected to civil and criminal sanctions.
>
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Upgrade fail after Files-cmm.68

CdAB63
Em 19-02-2010 17:42, Chris Muller escreveu:
> Are you able to reproduce this?  I'm not..
>  
In that box it happens all the time.

I download a fresh VM (via git to trunk)
Then I compiled the VM:
    $ ../platforms/unix/cmake/configure
    $ make
    $ su
    # make install
    # cd ~casimiro/Softwares/squeak
    # cp SqueakV39.sources /usr/local/lib/squeak/3.11.3-

Then I unziped the image/changes file as described...

The box is a Toshiba notebook (core2 processor + intel graphics)
The OS is Fedora Rel 12

The intriguing thing is that it happens only in this box...

SQUEAK_ENCODING=Latin9
SQUEAK_PATHENC=UTF-8
SQUEAK_TEXTENC=UTF-8
...

As I traced what was happening with the debugger, the only thing that
came out is that:

1) Is there a char encoding problem while loading Files-cmm.68 ????
    (since it complains of ASCII char 3...)
2) The half loaded code of Files package compromises WriteStream ????

I'll be working with that particular box tomorrow. I'll try to figure
out what's happening. Meanwhile, if someone have an insight on what's
going on...

> On Fri, Feb 19, 2010 at 11:08 AM, casimiro barreto
> <[hidden email]> wrote:
>  
>> Hello,
>>
>> About two weeks ago I posted a kind of bug report related to a crash during
>> update process. The answers were inconclusive, it was something related to
>> not being able to write to the squeak.changes file... Then I didn't have
>> access to the box where the problem was happening for this time & just today
>> I had chance to look what's happening.
>>
>> Downloaded Squeak3.11-9371-alpha.zip
>> Renamed files to squeak.image and squeak.changes
>> Started squeakvm with following script:
>> #!/bin/bash
>>
>> LC_CTYPE=pt_BR.UTF-8
>> LC_ALL=pt_BR.UTF-8
>> export LC_CTYPE LC_ALL
>>
>> SQUEAK_ENCODING=Latin9
>> SQUEAK_TEXTENC=UTF-8
>> SQUEAK_PATHENC=UTF-8
>> export SQUEAK_ENCODING SQUEAK_TEXTENC SQUEAK_PATHENC
>>
>> /usr/local/bin/squeak squeak.image &
>>
>> Pressed <Load Code Updates> button
>> While "Reloading Files-cmm.68" got a window with the following content:
>> Syntax Error
>> DirectoryEntry <none> /
>> <<<This string contains a character (ascii value 3) that is not normally
>> used in code>>> /ÀNothing more expected -> Ào ­®" +)vê;W $^ù à Mà  Â
>> öºà tJà  M
>> Cancel update
>> Pres <Load Code Updates> again
>> I get the error "Improper store into indexable object"
>> The error appears at the method MCPackage>>snapshot when: t2 add: t4
>> asMethodDefinition
>> MethodReference>>forMethodReference
>> MCMethodDefinition>>forMethodReference
>> ... timeStamp: aMethodReference timeStamp
>> MethodReference>>timeStamp
>> CompiledMethod>>timeStamp
>> CompiledMethod>>getPreambleFrom:at:
>> ... c == $!
>>     ifTrue: [ ^writeStream contents reverse ]
>>     ifFalse: [ writeStream nextPut: c ]
>>      ... c is nil *****
>> WriteStream>>nextPut:
>> etc...
>>
>> --
>> The information contained in this message is confidential and
>> intended to the recipients specified in the headers. If you received
>> this message by error, notify the sender immediately. The
>> unSqueak3.11-9371-alpha.zipauthorized use, disclosure, copy or alteration of
>> this message
>> are strictly forbidden and subjected to civil and criminal sanctions.
>>
>>
>>
>>
>>
>>    
>
>  
Best regards,

Casimiro




signature.asc (269 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Upgrade fail after Files-cmm.68

espin
Something similar happened to me when the sources file was not saved properly when downloaded:
Instead of saving the text shown in the browser I did 'Save Link as...' on the link pointing to the sources file

Hope it helps
Bye
Enrico

On Sat, Feb 20, 2010 at 3:30 AM, Casimiro de Almeida Barreto <[hidden email]> wrote:
Em 19-02-2010 17:42, Chris Muller escreveu:
> Are you able to reproduce this?  I'm not..
>
In that box it happens all the time.

I download a fresh VM (via git to trunk)
Then I compiled the VM:
   $ ../platforms/unix/cmake/configure
   $ make
   $ su
   # make install
   # cd ~casimiro/Softwares/squeak
   # cp SqueakV39.sources /usr/local/lib/squeak/3.11.3-

Then I unziped the image/changes file as described...

The box is a Toshiba notebook (core2 processor + intel graphics)
The OS is Fedora Rel 12

The intriguing thing is that it happens only in this box...

SQUEAK_ENCODING=Latin9
SQUEAK_PATHENC=UTF-8
SQUEAK_TEXTENC=UTF-8
...

As I traced what was happening with the debugger, the only thing that
came out is that:

1) Is there a char encoding problem while loading Files-cmm.68 ????
   (since it complains of ASCII char 3...)
2) The half loaded code of Files package compromises WriteStream ????

I'll be working with that particular box tomorrow. I'll try to figure
out what's happening. Meanwhile, if someone have an insight on what's
going on...

> On Fri, Feb 19, 2010 at 11:08 AM, casimiro barreto
> <[hidden email]> wrote:
>
>> Hello,
>>
>> About two weeks ago I posted a kind of bug report related to a crash during
>> update process. The answers were inconclusive, it was something related to
>> not being able to write to the squeak.changes file... Then I didn't have
>> access to the box where the problem was happening for this time & just today
>> I had chance to look what's happening.
>>
>> Downloaded Squeak3.11-9371-alpha.zip
>> Renamed files to squeak.image and squeak.changes
>> Started squeakvm with following script:
>> #!/bin/bash
>>
>> LC_CTYPE=pt_BR.UTF-8
>> LC_ALL=pt_BR.UTF-8
>> export LC_CTYPE LC_ALL
>>
>> SQUEAK_ENCODING=Latin9
>> SQUEAK_TEXTENC=UTF-8
>> SQUEAK_PATHENC=UTF-8
>> export SQUEAK_ENCODING SQUEAK_TEXTENC SQUEAK_PATHENC
>>
>> /usr/local/bin/squeak squeak.image &
>>
>> Pressed <Load Code Updates> button
>> While "Reloading Files-cmm.68" got a window with the following content:
>> Syntax Error
>> DirectoryEntry <none> /
>> <<<This string contains a character (ascii value 3) that is not normally
>> used in code>>> /ÀNothing more expected -> Ào ­®" +)vê;W $^ù à Mà  Â
>> öºà tJà  M
>> Cancel update
>> Pres <Load Code Updates> again
>> I get the error "Improper store into indexable object"
>> The error appears at the method MCPackage>>snapshot when: t2 add: t4
>> asMethodDefinition
>> MethodReference>>forMethodReference
>> MCMethodDefinition>>forMethodReference
>> ... timeStamp: aMethodReference timeStamp
>> MethodReference>>timeStamp
>> CompiledMethod>>timeStamp
>> CompiledMethod>>getPreambleFrom:at:
>> ... c == $!
>>     ifTrue: [ ^writeStream contents reverse ]
>>     ifFalse: [ writeStream nextPut: c ]
>>      ... c is nil *****
>> WriteStream>>nextPut:
>> etc...
>>
>> --
>> The information contained in this message is confidential and
>> intended to the recipients specified in the headers. If you received
>> this message by error, notify the sender immediately. The
>> unSqueak3.11-9371-alpha.zipauthorized use, disclosure, copy or alteration of
>> this message
>> are strictly forbidden and subjected to civil and criminal sanctions.
>>
>>
>>
>>
>>
>>
>
>
Best regards,

Casimiro







--
Enrico Spinielli
"Do Androids dream of electric sheep?"— Philip K. Dick
"Hear and forget; see and remember;do and understand."—Mitchel Resnick