YOUR ACCOUNT

Login or Register to post new topics or replies
Sphinx.
Filter Optimizer

Posts: 1750
Filters: 39
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?
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Uh, crash? Erroneous script output shouldn't crash anything. Just tried division by zero, works fine (produces infinities). Could you post an example filter?
  Details E-Mail
Sphinx.
Filter Optimizer

Posts: 1750
Filters: 39
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
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
This is very, very interesting. We'll look into it today.
  Details E-Mail
Totte
Übernerd

Posts: 1460
Filters: 107
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
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Totte, could you post your script as well?
  Details E-Mail
Totte
Übernerd

Posts: 1460
Filters: 107
Quote
Totte, could you post your script as well?

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
  Details E-Mail
GMM
Moderator
Filter Forge, Inc
Posts: 3491
Sphinx, thanks for reporting. This will be fixed in the next update.
  Details E-Mail

Join Our Community!

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!

Create an Account

Online Users Last minute:

16 unregistered users.