|
|
Bugzilla Link |
311 |
Created on |
Oct 23, 2006 15:53 |
Resolution |
FIXED |
Resolved on |
Nov 09, 2007 12:35 |
Version |
1.00beta |
OS |
Linux |
Architecture |
PC |
Attachments |
wldpbug.sac |
Extended Description
Compiling a stepped mandelbrot example fails
int mandelbrot( double xmin, double xmax, double ymin, int depth, double zoom,
SDLdisplay &disp )
{
drawn = genarray( [YRES, XRES], false );
steps = [16,4];
for( i=0; i < 2; i++ )
{
drawn, disp = with
{
( . <= [y,x] <= . step [steps[[i]], steps[[i]]] ): ( true, disp );
} ( genarray( [YRES, XRES], false ) , propagate( disp ) );
}
It turns out, that in Withloop-default partition generation (-b10:wldp, after
-b10:accu), the important prop_obj prfs are not compiled and thus we get faulty
reference counting on disp.
Since we are not really interesting in locking the display in these generators,
I suggest a comeback of the F_prop_obj. F_prop_obj could be the result of
merging F_prop_obj_in, F_prop_obj_out and it can be used in cases like this
where we are only interested in a correct representation.