reproduced bug

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

reproduced bug

Squeak - Dev mailing list
Hi folks,



start with a pristine image, following pass:

BoxedFloat64 infinity
(BoxedFloat64 infinity) >= 1
(BoxedFloat64 infinity) < 1 

Image
-----
/home/wm/Squeak/images/RoassalSqueak6.0alpha-2001022-64bit/RoassalSqueak6.0alpha-2001022-64bit.image
Squeak6.0alpha
latest update: #20019
Current Change Set: HomeProject
Image format 68021 (64 bit)

Virtual Machine
---------------
/home/wm/Squeak/vms/sqcogspur64linuxht20201018/lib/squeak/5.0-202010180357/squeak
Open Smalltalk Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-eem.2847]
Unix built on Oct 18 2020 04:01:26 Compiler: 4.2.1 Compatible Clang 7.0.0 (tags/RELEASE_700/final)
platform sources revision VM: 202010180357 https://github.com/OpenSmalltalk/opensmalltalk-vm.git Date: Sat Oct 17 20:57:51 2020 CommitHash: 712cfe6 Plugins: 202010180357 https://github.com/OpenSmalltalk/opensmalltalk-vm.git
CoInterpreter VMMaker.oscog-eem.2847 uuid: 7737c3b2-b284-4437-8070-d692253551e5 Oct 18 2020
StackToRegisterMappingCogit VMMaker.oscog-eem.2847 uuid: 7737c3b2-b284-4437-8070-d692253551e5 Oct 18 2020

Run the Roassal3 install steps, checking the Infinity tests as I go.
pristine image

Preference Wizard last page install git, refactor etc.

Installer ensureRecentMetacello

SquitAddRemote >>remoteName

^ remoteName ifNil: [String empty] ifNotNil: [remoteName asString]

Manually unload all three tonel packages using the Monticello Browser

MonticelloTonel-Core
MonticelloTonel-FileSystem
MonticelloTonel-Tests



and then running:
Metacello new
     repository: 'github://squeak-smalltalk/squeak-tonel:squeak';
     baseline: 'Tonel';
     load.

TonelFileUtils

TonelFileSystemUtils initialize
TonelFileUtils current


BoxedFloat64 infinity   Infinity
(BoxedFloat64 infinity) >= 1  true
(BoxedFloat64 infinity) < 1   false


Transcript clear.
Metacello new
    repository: 'github://tom95/Roassal3';
    baseline: 'Roassal3';
    load.

BoxedFloat64 infinity   Infinity
(BoxedFloat64 infinity) >= 1  true
(BoxedFloat64 infinity) < 1   false


save and quit.

re-open image and it errs out.
BoxedFloat64 infinity  Infinity
(BoxedFloat64 infinity) >= 1  false
(BoxedFloat64 infinity) < 1   true



Funny, If I do a save-and-quit, then re-run the image, the error sometimes goes away.

ok...the Save and Quit toggles the bug.

Every other run introduces the error.


odd!


Next up, I am going to remove the Squeak-Launcher as a possible source of the error.





Reply | Threaded
Open this post in threaded view
|

Re: reproduced bug

Eliot Miranda-2
Hi Timothy,

   what is the value of
      { (Float infinity basicAt: 1) hex.
        (Float infinity basicAt: 2) hex.
        (BoxedFloat64 infinity basicAt: 1) hex.
        (BoxedFloat64 infinity basicAt: 2) hex.
         BoxedFloat64 infinity == Float infinity }

before and after the change?
        
_,,,^..^,,,_ (phone)

On Oct 23, 2020, at 6:45 AM, gettimothy via Squeak-dev <[hidden email]> wrote:


Hi folks,



start with a pristine image, following pass:

BoxedFloat64 infinity
(BoxedFloat64 infinity) >= 1
(BoxedFloat64 infinity) < 1 

Image
-----
/home/wm/Squeak/images/RoassalSqueak6.0alpha-2001022-64bit/RoassalSqueak6.0alpha-2001022-64bit.image
Squeak6.0alpha
latest update: #20019
Current Change Set: HomeProject
Image format 68021 (64 bit)

Virtual Machine
---------------
/home/wm/Squeak/vms/sqcogspur64linuxht20201018/lib/squeak/5.0-202010180357/squeak
Open Smalltalk Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-eem.2847]
Unix built on Oct 18 2020 04:01:26 Compiler: 4.2.1 Compatible Clang 7.0.0 (tags/RELEASE_700/final)
platform sources revision VM: 202010180357 https://github.com/OpenSmalltalk/opensmalltalk-vm.git Date: Sat Oct 17 20:57:51 2020 CommitHash: 712cfe6 Plugins: 202010180357 https://github.com/OpenSmalltalk/opensmalltalk-vm.git
CoInterpreter VMMaker.oscog-eem.2847 uuid: 7737c3b2-b284-4437-8070-d692253551e5 Oct 18 2020
StackToRegisterMappingCogit VMMaker.oscog-eem.2847 uuid: 7737c3b2-b284-4437-8070-d692253551e5 Oct 18 2020

Run the Roassal3 install steps, checking the Infinity tests as I go.
pristine image

Preference Wizard last page install git, refactor etc.

Installer ensureRecentMetacello

SquitAddRemote >>remoteName

^ remoteName ifNil: [String empty] ifNotNil: [remoteName asString]

Manually unload all three tonel packages using the Monticello Browser

MonticelloTonel-Core
MonticelloTonel-FileSystem
MonticelloTonel-Tests



and then running:
Metacello new
     repository: 'github://squeak-smalltalk/squeak-tonel:squeak';
     baseline: 'Tonel';
     load.

TonelFileUtils

TonelFileSystemUtils initialize
TonelFileUtils current


BoxedFloat64 infinity   Infinity
(BoxedFloat64 infinity) >= 1  true
(BoxedFloat64 infinity) < 1   false


Transcript clear.
Metacello new
    repository: 'github://tom95/Roassal3';
    baseline: 'Roassal3';
    load.

BoxedFloat64 infinity   Infinity
(BoxedFloat64 infinity) >= 1  true
(BoxedFloat64 infinity) < 1   false


save and quit.

re-open image and it errs out.
BoxedFloat64 infinity  Infinity
(BoxedFloat64 infinity) >= 1  false
(BoxedFloat64 infinity) < 1   true



Funny, If I do a save-and-quit, then re-run the image, the error sometimes goes away.

ok...the Save and Quit toggles the bug.

Every other run introduces the error.


odd!


Next up, I am going to remove the Squeak-Launcher as a possible source of the error.






Reply | Threaded
Open this post in threaded view
|

Re: reproduced bug

Squeak - Dev mailing list
Hi Eliot.

While things are working as expected....


#('16r7FF00000' '16r0' '16r7FF00000' '16r0' true)

After the save and quit, then re-run when things are broken...
#('16r0' '16r7FF00000' '16r0' '16r7FF00000' true)

cheers,




---- On Fri, 23 Oct 2020 10:15:21 -0400 Eliot Miranda <[hidden email]> wrote ----

Hi Timothy,

   what is the value of
      { (Float infinity basicAt: 1) hex.
        (Float infinity basicAt: 2) hex.
        (BoxedFloat64 infinity basicAt: 1) hex.
        (BoxedFloat64 infinity basicAt: 2) hex.
         BoxedFloat64 infinity == Float infinity }

before and after the change?
        
_,,,^..^,,,_ (phone)

On Oct 23, 2020, at 6:45 AM, gettimothy via Squeak-dev <[hidden email]> wrote:


Hi folks,



start with a pristine image, following pass:

BoxedFloat64 infinity
(BoxedFloat64 infinity) >= 1
(BoxedFloat64 infinity) < 1 

Image
-----
/home/wm/Squeak/images/RoassalSqueak6.0alpha-2001022-64bit/RoassalSqueak6.0alpha-2001022-64bit.image
Squeak6.0alpha
latest update: #20019
Current Change Set: HomeProject
Image format 68021 (64 bit)

Virtual Machine
---------------
/home/wm/Squeak/vms/sqcogspur64linuxht20201018/lib/squeak/5.0-202010180357/squeak
Open Smalltalk Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-eem.2847]
Unix built on Oct 18 2020 04:01:26 Compiler: 4.2.1 Compatible Clang 7.0.0 (tags/RELEASE_700/final)
platform sources revision VM: 202010180357 https://github.com/OpenSmalltalk/opensmalltalk-vm.git Date: Sat Oct 17 20:57:51 2020 CommitHash: 712cfe6 Plugins: 202010180357 https://github.com/OpenSmalltalk/opensmalltalk-vm.git
CoInterpreter VMMaker.oscog-eem.2847 uuid: 7737c3b2-b284-4437-8070-d692253551e5 Oct 18 2020
StackToRegisterMappingCogit VMMaker.oscog-eem.2847 uuid: 7737c3b2-b284-4437-8070-d692253551e5 Oct 18 2020

Run the Roassal3 install steps, checking the Infinity tests as I go.
pristine image

Preference Wizard last page install git, refactor etc.

Installer ensureRecentMetacello

SquitAddRemote >>remoteName

^ remoteName ifNil: [String empty] ifNotNil: [remoteName asString]

Manually unload all three tonel packages using the Monticello Browser

MonticelloTonel-Core
MonticelloTonel-FileSystem
MonticelloTonel-Tests



and then running:
Metacello new
     repository: 'github://squeak-smalltalk/squeak-tonel:squeak';
     baseline: 'Tonel';
     load.

TonelFileUtils

TonelFileSystemUtils initialize
TonelFileUtils current


BoxedFloat64 infinity   Infinity
(BoxedFloat64 infinity) >= 1  true
(BoxedFloat64 infinity) < 1   false


Transcript clear.
Metacello new
    repository: 'github://tom95/Roassal3';
    baseline: 'Roassal3';
    load.

BoxedFloat64 infinity   Infinity
(BoxedFloat64 infinity) >= 1  true
(BoxedFloat64 infinity) < 1   false


save and quit.

re-open image and it errs out.
BoxedFloat64 infinity  Infinity
(BoxedFloat64 infinity) >= 1  false
(BoxedFloat64 infinity) < 1   true



Funny, If I do a save-and-quit, then re-run the image, the error sometimes goes away.

ok...the Save and Quit toggles the bug.

Every other run introduces the error.


odd!


Next up, I am going to remove the Squeak-Launcher as a possible source of the error.