2.99.19 - Debug Policy "Crash Only" should not warn when GEGL plugins gdouble and gint are invalid or out of range.
Environment/Versions
- GIMP version: GIMP 2.99.19 (from a month ago, because the color pickers broke)
- Package: Source build
- Operating System: Linux Fedora 38
Description of the bug
GEGL plugins of mine appear to cause a crash only sometimes, and it only happens when GIMP is closed.After investigating I have reason to believe it is because many of them have parameter values that are out of range or invalid. For example 'emboss azimuth=400' is invalid GEGL syntax because azimuth's range is (0-360). This is a valid error to report of a plugin has this but it shouldn't happen on "crash only" when GIMP restarts. The goal is to make it where when this warning occurs when GIMP closes it only occurs if error reporting is on higher values.
Reproduction
Is the bug reproducible? Randomly, it is not consistent but all evidence so far points to it being plugins of mine with invalid parameters.
Reproduction steps: Download my text styling plugin Glossy Balloon and use it. It has invalid parameters that cause issue in GIMP 2.99.19x.
https://github.com/LinuxBeaver/GEGL-glossy-balloon-text-styling/releases
when GIMP closes after using it several times you may get a crash
…
Expected result: GIMP closes without an crash error despite the plugin having invalid parameters
Actual result: There is a crash error when GIMP closes
Additional information
I know this is similar to the glib bug but it is not the same. If you have a backtrace for a crash or a warning, paste it here.