[squeak-dev] LargeInteger parsing (?) broken between 5.2b and update 18615

Marcel Taeumel marcel.taeumel at hpi.de
Sat Jul 20 08:32:51 UTC 2019


Maybe related to this? http://forum.world.st/The-Trunk-Kernel-nice-1224-mcz-td5098877.html [http://forum.world.st/The-Trunk-Kernel-nice-1224-mcz-td5098877.html]

Best,
Marcel
Am 20.07.2019 07:20:57 schrieb tim Rowledge <tim at rowledge.org>:
Here's a strange bug that appears to have arrived between 5.2b and 18615.

In a scratch copy of a recent image, add this code to IntegerTest -
testParseInteger

#(1 0 -1 2 -2 1073741823 -1073741824 10737418231073741823 "-10737418231073741823") do: [ :each |
self parse: each asString with: #parseIntegerLength: shouldGive: each ]

and compile it. Should be fine. don't worry about the #parse:with:shouldGive: - it's actually from PostGresV3 tests.

Now uncomment the last number in the list and try to compile it. Locks up on my Pi - so hard that cmd-. does nothing.

Works fine in a 5.2b image.

Gronk?

tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Useful Latin Phrases:- Noli me vocare, ego te vocabo = Don't call me, I'll call you.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20190720/d08398e3/attachment-0001.html>


More information about the Squeak-dev mailing list