Bug in _Inbox: Not Spam
• You are subscribed to this case
As reported on Pharo-users by Hilaire Fernandez,and affecting DrGeo. Reading PNG fails on 64-bit Spur due to denormalized large integer passed as parameter to a primitive. Fix is to normalize the integer.
Unit test and fix are in Squeak trunk repository http://source.squeak.org/trunk.
To reproduce: Unit test is PNGReadWriterTest>>testNewFromSampleBytes in GraphicsTests-dtl.44.
Fix is in Graphics-dtl.377. There are four methods that need updating: PNGReadWriter>>copyPixelsRGB: PNGReadWriter>>copyPixelsRGB:at:by: PNGReadWriter>>copyPixelsRGBA: PNGReadWriter>>copyPixelsRGBA:at:by: