FogBugz (Case [Issue]20167) _Inbox - Regression with PNGReaderWriter in P6

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

FogBugz (Case [Issue]20167) _Inbox - Regression with PNGReaderWriter in P6

Pharo Issue Tracker
FogBugz Notification
avatar
dtlewis290 opened Case 20167: Regression with PNGReaderWriter in P6 and assigned it to Everyone:
Bug in Project:  _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:
Priority Priority: 5 – Fix If Time Status Status: Work Needed
Assigned To Assigned to: Everyone Milestone Milestone: Later

Go to Case
No longer need updates? Unsubscribe from this case.

Don't want FogBugz notifications anymore? Update your preferences.

FogBugz

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
https://lists.gforge.inria.fr/mailman/listinfo/pharo-bugtracker