Sphinx.
![]() |
Currently it is possible to produce erroneous floating point number output with the script components. This will crash FF when passed on to other components. Perhaps you should add a mandatory 'Error' property?
|
|||
Posted: June 9, 2010 10:07 am | ||||
Vladimir Golovin
Administrator |
Uh, crash? Erroneous script output shouldn't crash anything. Just tried division by zero, works fine (produces infinities). Could you post an example filter?
|
|||
Posted: June 9, 2010 12:09 pm | ||||
Sphinx.
![]() |
Yep. The crash is not one of those severe "I'll clear the ffxml, save it, stalk your mother and exit without notice" crashes.. looks like a simple floating point error, but its still there.
Hook up the gradient to the gradient map to produce the crash. Note that I deliberately made an invalid script. I think perhaps you should check the script output before passing it on, and if invalid, use corresponding channel in mandatory Error property. Script Crash.ffxml |
|||
Posted: June 10, 2010 1:41 am | ||||
Vladimir Golovin
Administrator |
This is very, very interesting. We'll look into it today.
|
|||
Posted: June 10, 2010 1:55 am | ||||
Totte
![]() |
I filed a crashreport or two yesterday on a crash on divide by zero (Mac OS X version)
Or really math.random(1,0).... (slider for high random was set to zero) - I never expected the Spanish inquisition |
|||
Posted: June 10, 2010 2:00 am | ||||
Vladimir Golovin
Administrator |
Totte, could you post your script as well?
|
|||
Posted: June 10, 2010 2:35 am | ||||
Totte
![]() |
Sorry, I think I've scrapped that, was when I was playing with adding random stuff to the fractals.. I tried to simply recreate it, but it wasn't that simple, but I'll post it when/if it happens again. - I never expected the Spanish inquisition |
|||
Posted: June 10, 2010 2:52 am | ||||
GMM
Moderator
Posts: 3491 |
Sphinx, thanks for reporting. This will be fixed in the next update.
|
|||
Posted: June 15, 2010 10:17 am |
Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!
33,711 Registered Users
+18 new in 30 days!
153,531 Posts
+36 new in 30 days!
15,347 Topics
+72 new in year!
16 unregistered users.