Dragging in preview with white background causes crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fractal Fr0st |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This is with version 1.3. If you set a white background, bring up the preview (Ctrl-P) and try to drag the image around it will crash. It also crashes with other colors but not as consistently as white. Dragging before the preview render finishes also causes a crash, but is only consistent using white. A black background doesn't seem to cause any problems anywhere.
I've tried this only on linux but I get identical results on these dists: Ubuntu and Fedora 32-bit, Ubuntu 64-bit
Also I tried my packaged versions versus straight from source. No difference.
Here is the error reported by fr0st on Ubuntu 32-bit:
Error:
Traceback (most recent call last):
File "/usr/share/
self.Move(diff)
File "/usr/share/
self.
File "/usr/share/
newimg = self.NewEmptyIm
File "/usr/share/
newimg.
File "/usr/lib/
return _core_.
OverflowError: in method 'Image_SetRGBRect', expected argument 3 of type 'byte'
Platform: linux2
Config:
{'Bits': 0,
'Edit-Post-Xform': False,
'Favorite-
'Gradient-
'Img-Dir': u'/home/
'Img-Type': u'.png',
'Large-
'Lock-Axes': True,
'Preview-
'Recent-Flames': (u'/home/
'Recent-Scripts': (u'/home/
'Rect-Editor': ((0, 26, 865, 500), False),
'Rect-Main': ((0, 26, 842, 689), True),
'Rect-Preview': ((0, 0, 1208, 977), False),
'Render-Settings': {'buffer_depth': 33,
'Var-Preview-
'Variation-
'World-Pivot': False,
'Xform-Combo': {'rotate': 15.0,
'flamepath': u'/home/
'jpg-quality': 95,
'renderer': 'flam3',
'version': 'Fr0st 1.3'}
Flame Path:
'<not set>'
UserParametersDir: /home/gary/
RendersDir: /home/gary/
UserScriptsDir: /home/gary/
ConfigDir: /home/gary/.fr0st
Frozen: False
AppBaseDir: /usr/bin
IconsDir: /usr/share/
Changed in fr0st: | |
status: | New → Confirmed |
yeah so it turns out the code was trying to set byte values to 256 when the bg was pure white. Not good xD