reference counting/garbage collection races
When running the reproducer script below I'm seeing some "scary" output:
(python3:22196): GEGL-WARNING **: 22:17:29.124: (gegl-tile-handler-cache.c:977):gegl_tile_cache_destroy: runtime check failed: (g_queue_is_empty (&cache_queue))
EEEEeEeek! 2 GeglBuffers leaked
Also GLib says at the very end:
(python3:22196): GLib-WARNING **: 22:17:29.126: corrupted double-linked list detected
Reproducer script:
#!/usr/bin/env python3
import os
import sys
import gi
gi.require_version('Gegl', '0.4')
from gi.repository import Gegl
Gegl.init()
input_path = sys.argv[1]
graph = Gegl.Node();
gegl_img = graph.create_child('gegl:load')
gegl_img.set_property('path', input_path)
gegl_img.process()
Gegl.exit()
This is likely the same problem as noticed by a Gimp user in gimp#3054 (moved) .
Edited by Øyvind "pippin" Kolås