gjs> let cc = new imports.gi.ClutterCairo.ClutterCairo({surfaceWidth: 42, surfaceHeight: 42});
   JS IMPORT: JS import 'gi' not found in /opt/gnome-shell/share/gjs-1.0
   JS IMPORT: JS import 'gi' not found in /usr/share/gjs-1.0
   JS IMPORT: JS import 'gi' not found in /usr/local/share/gjs-1.0
   JS IMPORT: JS import 'gi' not found in /usr/share/gjs-1.0
   JS IMPORT: JS import 'gi' not found in /usr/share/gdm/gjs-1.0
   JS IMPORT: Importing '/opt/gnome-shell/lib/gjs-1.0/gi.so'
   JS IMPORT: Defining parent 0x94a6780 of 0x94a6840 'gi' is mod 1
   JS NATIVE: Registered native JS module 'gi'
   JS NATIVE: Defining native module 'gi'
   JS G REPO: Initialized class GIRepository prototype 0x94a6860
     JS G NS: Initialized class GIRepositoryNamespace prototype 0x94a68c0
     JS G NS: Defined namespace 'GLib' 0x94a68e0 in GIRepository 0x94a6880
   JS IMPORT: successfully imported module 'gi'
     JS G NS: Defined namespace 'ClutterCairo' 0x94a6900 in GIRepository 0x94a6880
     JS G NS: Found info type OBJECT for 'ClutterCairo' in namespace 'ClutterCairo'
     JS G NS: Found info type OBJECT for 'ClutterCairo' in namespace 'ClutterCairo'
     JS G NS: Defined namespace 'Clutter' 0x94a6920 in GIRepository 0x94a6880
     JS G NS: Found info type OBJECT for 'Texture' in namespace 'Clutter'
     JS G NS: Found info type OBJECT for 'Actor' in namespace 'Clutter'
     JS G NS: Defined namespace 'GObject' 0x94a6940 in GIRepository 0x94a6880
     JS G NS: Found info type OBJECT for 'InitiallyUnowned' in namespace 'GObject'
     JS G NS: Found info type OBJECT for 'Object' in namespace 'GObject'
   JS G REPO: Initializing dynamic class Object 0x94db820
    JS G OBJ: Defined class Object prototype 0x94a6960 class 0x94db820 in object 0x94a6940
   JS G REPO: Initializing dynamic class InitiallyUnowned 0x94db870
    JS G OBJ: Defined class InitiallyUnowned prototype 0x94a6980 class 0x94db870 in object 0x94a6940
   JS G REPO: Initializing dynamic class Actor 0x94db8c0
    JS G OBJ: Defined class Actor prototype 0x94a69a0 class 0x94db8c0 in object 0x94a6920
   JS G FUNC: Initialized class GIRepositoryFunction prototype 0x94a69c0
   JS G REPO: Initializing dynamic class Texture 0x94db910
    JS G OBJ: Defined class Texture prototype 0x94a6a00 class 0x94db910 in object 0x94a6920
   JS G REPO: Initializing dynamic class ClutterCairo 0x94db960
    JS G OBJ: Defined class ClutterCairo prototype 0x94a6a80 class 0x94db960 in object 0x94a6900

(gjs-console:12514): Clutter-CRITICAL **: clutter_id_pool_add: assertion `id_pool != NULL' failed

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7c9e6b0 (LWP 12514)]
0xb7975ca6 in glTexEnvi () from /usr/lib/libGL.so.1
(gdb) bt
#0  0xb7975ca6 in glTexEnvi () from /usr/lib/libGL.so.1
#1  0xb79f561d in cogl_create_context () at cogl-context.c:104
#2  0xb79f569d in _cogl_context_get_default () at cogl-context.c:139
#3  0xb79eea92 in cogl_features_available (features=COGL_FEATURE_TEXTURE_NPOT)
    at cogl.c:1136
#4  0xb79f348e in _cogl_texture_slices_create (tex=0x94e1b08)
    at cogl-texture.c:820
#5  0xb79f3e6e in cogl_texture_new_from_data (width=42, height=42, 
    max_waste=63, auto_mipmap=0, format=COGL_PIXEL_FORMAT_RGBA_8888, 
    internal_format=COGL_PIXEL_FORMAT_ANY, rowstride=168, data=0x94e3800 "")
    at cogl-texture.c:1315
#6  0xb79e3d28 in clutter_texture_set_from_data (texture=0x94e2050, 
    data=0x2 <Address 0x2 out of bounds>, 
    source_format=COGL_PIXEL_FORMAT_RGBA_8888, width=42, height=42, 
    rowstride=168, bpp=4, error=0x0) at clutter-texture.c:1137
#7  0xb7b673a9 in clutter_cairo_surface_resize_internal (cairo=0x94e2050)
    at clutter-cairo.c:209
#8  0xb7b67fc9 in clutter_cairo_constructor (gtype=156093112, n_properties=5, 
    properties=0x94e15a8) at clutter-cairo.c:241
#9  0xb8006c06 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#10 0xb7afc937 in object_instance_constructor (context=0x9491890, 
    obj=0x94a6b00, argc=1, argv=0x94af058, retval=0xbfc78ea4)
    at gi/object.c:706
#11 0xb7eecd61 in js_Invoke () from /usr/lib/xulrunner-1.9.0.6/libmozjs.so
#12 0xb7eecfdd in ?? () from /usr/lib/xulrunner-1.9.0.6/libmozjs.so
#13 0xb7ee3508 in ?? () from /usr/lib/xulrunner-1.9.0.6/libmozjs.so
#14 0xb7eec62a in ?? () from /usr/lib/xulrunner-1.9.0.6/libmozjs.so
#15 0xb7eb85cd in JS_ExecuteScript ()
   from /usr/lib/xulrunner-1.9.0.6/libmozjs.so
#16 0xb7b7af76 in gjs_console_interact (context=0x9491890, obj=0x94a6820, 
    argc=0, argv=0x94af048, retval=0xbfc7a3c4) at modules/console.c:205
#17 0xb7eecd61 in js_Invoke () from /usr/lib/xulrunner-1.9.0.6/libmozjs.so
#18 0xb7ee0bec in ?? () from /usr/lib/xulrunner-1.9.0.6/libmozjs.so
#19 0xb7eec62a in ?? () from /usr/lib/xulrunner-1.9.0.6/libmozjs.so
#20 0xb7eb8a1f in JS_EvaluateUCScriptForPrincipals ()
   from /usr/lib/xulrunner-1.9.0.6/libmozjs.so
#21 0xb7eb8a93 in JS_EvaluateUCScript ()
   from /usr/lib/xulrunner-1.9.0.6/libmozjs.so
#22 0xb7ebac24 in JS_EvaluateScript ()
   from /usr/lib/xulrunner-1.9.0.6/libmozjs.so
#23 0xb80528e4 in gjs_context_eval (js_context=0x9489e00, 
    script=0x9489c00 "const Console = imports.console; Console.interact();", 
    script_len=52, filename=0x8048cde "<stdin>", exit_status_p=0xbfc7a898, 
    error=0xbfc7a8a4) at gjs/context.c:507
#24 0x08048b1d in main (argc=1, argv=0xbfc7a954) at gjs/console.c:85

