g-ir-generate crashes on Gtk-4.0.typelib (4.10.4): g_struct_info_get_copy_function: assertion 'GI_IS_STRUCT_INFO (info)' failed
I am trying to generate Gtk-4.0.xml
from Gtk-4.0.typelib
using g-ir-generate. This worked fine with g-ir-generate 1.74.0. With 1.76.1, it crashes with
** (g-ir-generate:14222): CRITICAL **: 13:38:33.508: g_struct_info_get_copy_function: assertion 'GI_IS_STRUCT_INFO (info)' failed
I am running this on MacOS Ventura, with Homebrew gobject-introspection 1.76.1 and gtk-4 4.10.4.