GNOME Bugzilla – Bug 730287
gi library init functions segfault if arguments non null
Last modified: 2018-01-27 11:57:58 UTC
The following two line programs all segfault immediately... const Clutter = imports.gi.Clutter; Clutter.init(ARGV); const Gtk = imports.gi.Gtk; Gtk.init(ARGV); Suspect there some introspection challenges with handling the char ***argv in the function signatures. But a segfault isn't too friendly.
I discovered in the Debian bug tracker [1] that this used to work, but was broken by commit 6c111e16fbaadaa43eae0b38f0b1c5dd73b9abb6. [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=651259
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gjs/issues/88.