imports.package.run triggered crash
System information
What is your operating system and version? OpenBSD 6.7
What is your version of GJS? 1.64.2
Versions of relevant dependencies are spidermonkey68 68.7.0 and gobject-introspection 1.64.1
Bug information
Steps to reproduce
- Invoke gnome-weather, gnome-characters, or other applications using this "launcher":
#!/usr/local/bin/gjs
imports.package.init({ name: "org.gnome.Weather",
version: "3.36.0",
prefix: "/usr/local",
libdir: "/usr/local/share/org.gnome.Weather" });
imports.package.run(imports.app.main);
Current behaviour
After updating from gjs 1.58.7 (with spidermonkey 60) to the aforementioned version of gjs certain applications now crash. I have attached a backtrace obtained when invoking gnome-weather, but other applications such as gnome-characters fail too.
For reference these are the Makefile, patches and full package contents for gjs and spidermonkey as well as one of the crashing applications.
Is there any clue or lead in either the files references above or the backtrace below as to what could be causing these crashes?
Perhaps relevant (and hence the title for this report) is the fact of the examples shipped with gjs only gtk-application.js
doesn't run. This is the sole example using app.run()
.