[squeak-dev] reproduced bug

gettimothy gettimothy at zoho.com
Fri Oct 23 13:45:45 UTC 2020


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20201023/2d16c1ef/attachment.html>


More information about the Squeak-dev mailing list