GNOME Bugzilla – Bug 732210
GJS crashes in object_instance_trace
Last modified: 2014-06-25 10:06:14 UTC
Latest GJS from master crashes on build.gnome.org when running startstop script (https://git.gnome.org/browse/gnome-continuous/tree/src/tests/gnome-continuous-startstopapps)
+ Trace 233729
Thread 1 (Thread 0x7f6118651980 (LWP 641))
(gdb) call gjs_dumpstack () == Stack trace for context 0x6190b0 == StartStopApps<.run@/tmp/gnome-continuous-startstopapps:205 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 main@/tmp/gnome-continuous-startstopapps:213 @/tmp/gnome-continuous-startstopapps:219
This code is wrong: ''' const StartStopApps = new GObject.Class({ Name: 'StartStopApps', _init: function(props) { this._commandConnection = null; }, ''' If you use GObject.Class, you must chain up from _init(). But I see no reason for using GObject.Class, so you should use Lang.Class.
(In reply to comment #1) > so you should use Lang.Class. Thanks, that did the trick