G_VA_COPY not working on Apple Silicon
Marshallers generated by
glib-genmarshal dealing with variadic arguments (va_list etc.) currently do not work on Mac M1. This was reported in GNOME Discourse: https://discourse.gnome.org/t/gtk3-on-m1-mac-with-monterey/8348/8
The crash occurs because of G_VA_COPY. G_VA_COPY should be changed to account for the Mac M1 ABI as explained in https://github.com/rust-lang/rust/issues/78092#issuecomment-711447137.