==8488== Memcheck, a memory error detector
==8488== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==8488== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==8488== Command: /usr/bin/gnome-shell-binary --replace
==8488== Parent PID: 8486
==8488== 
==8500== Warning: invalid file descriptor 1024 in syscall close()
==8488== Syscall param writev(vector[...]) points to uninitialised byte(s)
==8488==    at 0xF51D67D: ??? (syscall-template.S:84)
==8488==    by 0x1211BF86: write_vec (xcb_conn.c:277)
==8488==    by 0x1211BF86: _xcb_conn_wait (xcb_conn.c:522)
==8488==    by 0x1211C384: _xcb_out_send (xcb_out.c:458)
==8488==    by 0x1211C40C: xcb_writev (xcb_out.c:406)
==8488==    by 0xEEFC205: _XSend (xcb_io.c:486)
==8488==    by 0xEEFC72B: _XReply (xcb_io.c:573)
==8488==    by 0xEAAD4AC: XCompositeGetOverlayWindow (Xcomposite.c:369)
==8488==    by 0x8FB635A: meta_screen_new (screen.c:740)
==8488==    by 0x8FA7027: meta_display_open (display.c:942)
==8488==    by 0x8FB02EB: meta_run (main.c:645)
==8488==    by 0x10A4A6: main (main.c:454)
==8488==  Address 0x29266b40 is 32 bytes inside a block of size 16,384 alloc'd
==8488==    at 0x4C30A1E: calloc (vg_replace_malloc.c:711)
==8488==    by 0xEEEC2D5: XOpenDisplay (OpenDis.c:237)
==8488==    by 0x9BD6058: _gdk_x11_display_open (gdkdisplay-x11.c:1375)
==8488==    by 0x9BAA9B2: gdk_display_manager_open_display (gdkdisplaymanager.c:472)
==8488==    by 0x9494C99: gtk_init_check (gtkmain.c:1093)
==8488==    by 0x8FCDE7C: meta_ui_init (ui.c:56)
==8488==    by 0x8FAFDFB: meta_init (main.c:587)
==8488==    by 0x10A1A9: main (main.c:427)
==8488== 
==8488== Invalid read of size 8
==8488==    at 0x61987DA: std::_Rb_tree<_ConnectData*, _ConnectData*, std::_Identity<_ConnectData*>, std::less<_ConnectData*>, std::allocator<_ConnectData*> >::_M_begin() (stl_tree.h:737)
==8488==    by 0x619A7E4: std::_Rb_tree<_ConnectData*, _ConnectData*, std::_Identity<_ConnectData*>, std::less<_ConnectData*>, std::allocator<_ConnectData*> >::equal_range(_ConnectData* const&) (stl_tree.h:1936)
==8488==    by 0x6198D46: std::_Rb_tree<_ConnectData*, _ConnectData*, std::_Identity<_ConnectData*>, std::less<_ConnectData*>, std::allocator<_ConnectData*> >::erase(_ConnectData* const&) (stl_tree.h:2500)
==8488==    by 0x61979B2: std::set<_ConnectData*, std::less<_ConnectData*>, std::allocator<_ConnectData*> >::erase(_ConnectData* const&) (stl_set.h:675)
==8488==    by 0x618F6F2: ??? (object.cpp:1394)
==8488==    by 0xD97FC66: g_idle_dispatch (gmain.c:5582)
==8488==    by 0xD983276: g_main_dispatch (gmain.c:3230)
==8488==    by 0xD983276: g_main_context_dispatch (gmain.c:3895)
==8488==    by 0xD983617: g_main_context_iterate.isra.25 (gmain.c:3968)
==8488==    by 0xD983931: g_main_loop_run (gmain.c:4164)
==8488==    by 0x8FB02FB: meta_run (main.c:648)
==8488==    by 0x10A4A6: main (main.c:454)
==8488==  Address 0x27f260c8 is 88 bytes inside a block of size 216 free'd
==8488==    at 0x4C2FD18: free (vg_replace_malloc.c:530)
==8488==    by 0xD988B7D: g_free (gmem.c:189)
==8488==    by 0xD9A0B3F: g_slice_free1 (gslice.c:1136)
==8488==    by 0x618FB6A: ??? (object.cpp:1508)
==8488==    by 0x1105B562: finalize (jsobjinlines.h:42)
==8488==    by 0x1105B562: finalize<JSObject> (jsgc.cpp:497)
==8488==    by 0x1105B562: FinalizeTypedArenas<JSObject> (jsgc.cpp:557)
==8488==    by 0x1105B562: FinalizeArenas(js::FreeOp*, js::gc::ArenaHeader**, js::gc::SortedArenaList&, js::gc::AllocKind, js::SliceBudget&, js::gc::ArenaLists::KeepArenasEnum) (jsgc.cpp:600)
==8488==    by 0x110B62B2: js::gc::ArenaLists::forceFinalizeNow(js::FreeOp*, js::gc::AllocKind, js::gc::ArenaLists::KeepArenasEnum, js::gc::ArenaHeader**) (jsgc.cpp:2758)
==8488==    by 0x1105C848: finalizeNow (jsgc.cpp:2741)
==8488==    by 0x1105C848: js::gc::ArenaLists::queueForegroundObjectsForSweep(js::FreeOp*) (jsgc.cpp:2877)
==8488==    by 0x110731E8: js::gc::GCRuntime::beginSweepingZoneGroup() (jsgc.cpp:5069)
==8488==    by 0x110739C7: js::gc::GCRuntime::beginSweepPhase(bool) (jsgc.cpp:5164)
==8488==    by 0x11075BE2: js::gc::GCRuntime::incrementalCollectSlice(js::SliceBudget&, JS::gcreason::Reason) (jsgc.cpp:5889)
==8488==    by 0x110765D1: js::gc::GCRuntime::gcCycle(bool, js::SliceBudget&, JS::gcreason::Reason) (jsgc.cpp:6076)
==8488==    by 0x1107682C: js::gc::GCRuntime::collect(bool, js::SliceBudget, JS::gcreason::Reason) (jsgc.cpp:6190)
==8488==  Block was alloc'd at
==8488==    at 0x4C2EB6B: malloc (vg_replace_malloc.c:299)
==8488==    by 0xD988A68: g_malloc (gmem.c:94)
==8488==    by 0xD9A05C5: g_slice_alloc (gslice.c:1025)
==8488==    by 0xD9A0A58: g_slice_alloc0 (gslice.c:1051)
==8488==    by 0x618E8C7: ??? (object.cpp:1109)
==8488==    by 0x618F3D1: ??? (object.cpp:1353)
==8488==    by 0x10D72585: CallJSNative (jscntxtinlines.h:226)
==8488==    by 0x10D72585: CallJSNativeConstructor (jscntxtinlines.h:259)
==8488==    by 0x10D72585: js::InvokeConstructor(JSContext*, JS::CallArgs) (Interpreter.cpp:576)
==8488==    by 0x10D61525: Interpret(JSContext*, js::RunState&) (Interpreter.cpp:2599)
==8488==    by 0x10D65323: js::RunScript(JSContext*, js::RunState&) (Interpreter.cpp:448)
==8488==    by 0x10D65613: js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct) (Interpreter.cpp:517)
==8488==    by 0x10D66242: js::Invoke(JSContext*, JS::Value const&, JS::Value const&, unsigned int, JS::Value const*, JS::MutableHandle<JS::Value>) (Interpreter.cpp:554)
==8488==    by 0x10FBEBFA: js::jit::InvokeFunction(JSContext*, JS::Handle<JSObject*>, unsigned int, JS::Value*, JS::Value*) (VMFunctions.cpp:75)
==8488== 
==8488== Invalid read of size 8
==8488==    at 0x619A96C: std::_Rb_tree<_ConnectData*, _ConnectData*, std::_Identity<_ConnectData*>, std::less<_ConnectData*>, std::allocator<_ConnectData*> >::size() const (stl_tree.h:997)
==8488==    by 0x6198D5A: std::_Rb_tree<_ConnectData*, _ConnectData*, std::_Identity<_ConnectData*>, std::less<_ConnectData*>, std::allocator<_ConnectData*> >::erase(_ConnectData* const&) (stl_tree.h:2501)
==8488==    by 0x61979B2: std::set<_ConnectData*, std::less<_ConnectData*>, std::allocator<_ConnectData*> >::erase(_ConnectData* const&) (stl_set.h:675)
==8488==    by 0x618F6F2: ??? (object.cpp:1394)
==8488==    by 0xD97FC66: g_idle_dispatch (gmain.c:5582)
==8488==    by 0xD983276: g_main_dispatch (gmain.c:3230)
==8488==    by 0xD983276: g_main_context_dispatch (gmain.c:3895)
==8488==    by 0xD983617: g_main_context_iterate.isra.25 (gmain.c:3968)
==8488==    by 0xD983931: g_main_loop_run (gmain.c:4164)
==8488==    by 0x8FB02FB: meta_run (main.c:648)
==8488==    by 0x10A4A6: main (main.c:454)
==8488==  Address 0x27f260e0 is 112 bytes inside a block of size 216 free'd
==8488==    at 0x4C2FD18: free (vg_replace_malloc.c:530)
==8488==    by 0xD988B7D: g_free (gmem.c:189)
==8488==    by 0xD9A0B3F: g_slice_free1 (gslice.c:1136)
==8488==    by 0x618FB6A: ??? (object.cpp:1508)
==8488==    by 0x1105B562: finalize (jsobjinlines.h:42)
==8488==    by 0x1105B562: finalize<JSObject> (jsgc.cpp:497)
==8488==    by 0x1105B562: FinalizeTypedArenas<JSObject> (jsgc.cpp:557)
==8488==    by 0x1105B562: FinalizeArenas(js::FreeOp*, js::gc::ArenaHeader**, js::gc::SortedArenaList&, js::gc::AllocKind, js::SliceBudget&, js::gc::ArenaLists::KeepArenasEnum) (jsgc.cpp:600)
==8488==    by 0x110B62B2: js::gc::ArenaLists::forceFinalizeNow(js::FreeOp*, js::gc::AllocKind, js::gc::ArenaLists::KeepArenasEnum, js::gc::ArenaHeader**) (jsgc.cpp:2758)
==8488==    by 0x1105C848: finalizeNow (jsgc.cpp:2741)
==8488==    by 0x1105C848: js::gc::ArenaLists::queueForegroundObjectsForSweep(js::FreeOp*) (jsgc.cpp:2877)
==8488==    by 0x110731E8: js::gc::GCRuntime::beginSweepingZoneGroup() (jsgc.cpp:5069)
==8488==    by 0x110739C7: js::gc::GCRuntime::beginSweepPhase(bool) (jsgc.cpp:5164)
==8488==    by 0x11075BE2: js::gc::GCRuntime::incrementalCollectSlice(js::SliceBudget&, JS::gcreason::Reason) (jsgc.cpp:5889)
==8488==    by 0x110765D1: js::gc::GCRuntime::gcCycle(bool, js::SliceBudget&, JS::gcreason::Reason) (jsgc.cpp:6076)
==8488==    by 0x1107682C: js::gc::GCRuntime::collect(bool, js::SliceBudget, JS::gcreason::Reason) (jsgc.cpp:6190)
==8488==  Block was alloc'd at
==8488==    at 0x4C2EB6B: malloc (vg_replace_malloc.c:299)
==8488==    by 0xD988A68: g_malloc (gmem.c:94)
==8488==    by 0xD9A05C5: g_slice_alloc (gslice.c:1025)
==8488==    by 0xD9A0A58: g_slice_alloc0 (gslice.c:1051)
==8488==    by 0x618E8C7: ??? (object.cpp:1109)
==8488==    by 0x618F3D1: ??? (object.cpp:1353)
==8488==    by 0x10D72585: CallJSNative (jscntxtinlines.h:226)
==8488==    by 0x10D72585: CallJSNativeConstructor (jscntxtinlines.h:259)
==8488==    by 0x10D72585: js::InvokeConstructor(JSContext*, JS::CallArgs) (Interpreter.cpp:576)
==8488==    by 0x10D61525: Interpret(JSContext*, js::RunState&) (Interpreter.cpp:2599)
==8488==    by 0x10D65323: js::RunScript(JSContext*, js::RunState&) (Interpreter.cpp:448)
==8488==    by 0x10D65613: js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct) (Interpreter.cpp:517)
==8488==    by 0x10D66242: js::Invoke(JSContext*, JS::Value const&, JS::Value const&, unsigned int, JS::Value const*, JS::MutableHandle<JS::Value>) (Interpreter.cpp:554)
==8488==    by 0x10FBEBFA: js::jit::InvokeFunction(JSContext*, JS::Handle<JSObject*>, unsigned int, JS::Value*, JS::Value*) (VMFunctions.cpp:75)
==8488== 
==8488== Invalid read of size 8
==8488==    at 0x619C1E2: std::_Rb_tree<_ConnectData*, _ConnectData*, std::_Identity<_ConnectData*>, std::less<_ConnectData*>, std::allocator<_ConnectData*> >::begin() (stl_tree.h:961)
==8488==    by 0x619A9AF: std::_Rb_tree<_ConnectData*, _ConnectData*, std::_Identity<_ConnectData*>, std::less<_ConnectData*>, std::allocator<_ConnectData*> >::_M_erase_aux(std::_Rb_tree_const_iterator<_ConnectData*>, std::_Rb_tree_const_iterator<_ConnectData*>) (stl_tree.h:2487)
==8488==    by 0x6198D9F: std::_Rb_tree<_ConnectData*, _ConnectData*, std::_Identity<_ConnectData*>, std::less<_ConnectData*>, std::allocator<_ConnectData*> >::erase(_ConnectData* const&) (stl_tree.h:2502)
==8488==    by 0x61979B2: std::set<_ConnectData*, std::less<_ConnectData*>, std::allocator<_ConnectData*> >::erase(_ConnectData* const&) (stl_set.h:675)
==8488==    by 0x618F6F2: ??? (object.cpp:1394)
==8488==    by 0xD97FC66: g_idle_dispatch (gmain.c:5582)
==8488==    by 0xD983276: g_main_dispatch (gmain.c:3230)
==8488==    by 0xD983276: g_main_context_dispatch (gmain.c:3895)
==8488==    by 0xD983617: g_main_context_iterate.isra.25 (gmain.c:3968)
==8488==    by 0xD983931: g_main_loop_run (gmain.c:4164)
==8488==    by 0x8FB02FB: meta_run (main.c:648)
==8488==    by 0x10A4A6: main (main.c:454)
==8488==  Address 0x27f260d0 is 96 bytes inside a block of size 216 free'd
==8488==    at 0x4C2FD18: free (vg_replace_malloc.c:530)
==8488==    by 0xD988B7D: g_free (gmem.c:189)
==8488==    by 0xD9A0B3F: g_slice_free1 (gslice.c:1136)
==8488==    by 0x618FB6A: ??? (object.cpp:1508)
==8488==    by 0x1105B562: finalize (jsobjinlines.h:42)
==8488==    by 0x1105B562: finalize<JSObject> (jsgc.cpp:497)
==8488==    by 0x1105B562: FinalizeTypedArenas<JSObject> (jsgc.cpp:557)
==8488==    by 0x1105B562: FinalizeArenas(js::FreeOp*, js::gc::ArenaHeader**, js::gc::SortedArenaList&, js::gc::AllocKind, js::SliceBudget&, js::gc::ArenaLists::KeepArenasEnum) (jsgc.cpp:600)
==8488==    by 0x110B62B2: js::gc::ArenaLists::forceFinalizeNow(js::FreeOp*, js::gc::AllocKind, js::gc::ArenaLists::KeepArenasEnum, js::gc::ArenaHeader**) (jsgc.cpp:2758)
==8488==    by 0x1105C848: finalizeNow (jsgc.cpp:2741)
==8488==    by 0x1105C848: js::gc::ArenaLists::queueForegroundObjectsForSweep(js::FreeOp*) (jsgc.cpp:2877)
==8488==    by 0x110731E8: js::gc::GCRuntime::beginSweepingZoneGroup() (jsgc.cpp:5069)
==8488==    by 0x110739C7: js::gc::GCRuntime::beginSweepPhase(bool) (jsgc.cpp:5164)
==8488==    by 0x11075BE2: js::gc::GCRuntime::incrementalCollectSlice(js::SliceBudget&, JS::gcreason::Reason) (jsgc.cpp:5889)
==8488==    by 0x110765D1: js::gc::GCRuntime::gcCycle(bool, js::SliceBudget&, JS::gcreason::Reason) (jsgc.cpp:6076)
==8488==    by 0x1107682C: js::gc::GCRuntime::collect(bool, js::SliceBudget, JS::gcreason::Reason) (jsgc.cpp:6190)
==8488==  Block was alloc'd at
==8488==    at 0x4C2EB6B: malloc (vg_replace_malloc.c:299)
==8488==    by 0xD988A68: g_malloc (gmem.c:94)
==8488==    by 0xD9A05C5: g_slice_alloc (gslice.c:1025)
==8488==    by 0xD9A0A58: g_slice_alloc0 (gslice.c:1051)
==8488==    by 0x618E8C7: ??? (object.cpp:1109)
==8488==    by 0x618F3D1: ??? (object.cpp:1353)
==8488==    by 0x10D72585: CallJSNative (jscntxtinlines.h:226)
==8488==    by 0x10D72585: CallJSNativeConstructor (jscntxtinlines.h:259)
==8488==    by 0x10D72585: js::InvokeConstructor(JSContext*, JS::CallArgs) (Interpreter.cpp:576)
==8488==    by 0x10D61525: Interpret(JSContext*, js::RunState&) (Interpreter.cpp:2599)
==8488==    by 0x10D65323: js::RunScript(JSContext*, js::RunState&) (Interpreter.cpp:448)
==8488==    by 0x10D65613: js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct) (Interpreter.cpp:517)
==8488==    by 0x10D66242: js::Invoke(JSContext*, JS::Value const&, JS::Value const&, unsigned int, JS::Value const*, JS::MutableHandle<JS::Value>) (Interpreter.cpp:554)
==8488==    by 0x10FBEBFA: js::jit::InvokeFunction(JSContext*, JS::Handle<JSObject*>, unsigned int, JS::Value*, JS::Value*) (VMFunctions.cpp:75)
==8488== 
==8488== Invalid read of size 8
==8488==    at 0x619A96C: std::_Rb_tree<_ConnectData*, _ConnectData*, std::_Identity<_ConnectData*>, std::less<_ConnectData*>, std::allocator<_ConnectData*> >::size() const (stl_tree.h:997)
==8488==    by 0x6198DAB: std::_Rb_tree<_ConnectData*, _ConnectData*, std::_Identity<_ConnectData*>, std::less<_ConnectData*>, std::allocator<_ConnectData*> >::erase(_ConnectData* const&) (stl_tree.h:2503)
==8488==    by 0x61979B2: std::set<_ConnectData*, std::less<_ConnectData*>, std::allocator<_ConnectData*> >::erase(_ConnectData* const&) (stl_set.h:675)
==8488==    by 0x618F6F2: ??? (object.cpp:1394)
==8488==    by 0xD97FC66: g_idle_dispatch (gmain.c:5582)
==8488==    by 0xD983276: g_main_dispatch (gmain.c:3230)
==8488==    by 0xD983276: g_main_context_dispatch (gmain.c:3895)
==8488==    by 0xD983617: g_main_context_iterate.isra.25 (gmain.c:3968)
==8488==    by 0xD983931: g_main_loop_run (gmain.c:4164)
==8488==    by 0x8FB02FB: meta_run (main.c:648)
==8488==    by 0x10A4A6: main (main.c:454)
==8488==  Address 0x27f260e0 is 112 bytes inside a block of size 216 free'd
==8488==    at 0x4C2FD18: free (vg_replace_malloc.c:530)
==8488==    by 0xD988B7D: g_free (gmem.c:189)
==8488==    by 0xD9A0B3F: g_slice_free1 (gslice.c:1136)
==8488==    by 0x618FB6A: ??? (object.cpp:1508)
==8488==    by 0x1105B562: finalize (jsobjinlines.h:42)
==8488==    by 0x1105B562: finalize<JSObject> (jsgc.cpp:497)
==8488==    by 0x1105B562: FinalizeTypedArenas<JSObject> (jsgc.cpp:557)
==8488==    by 0x1105B562: FinalizeArenas(js::FreeOp*, js::gc::ArenaHeader**, js::gc::SortedArenaList&, js::gc::AllocKind, js::SliceBudget&, js::gc::ArenaLists::KeepArenasEnum) (jsgc.cpp:600)
==8488==    by 0x110B62B2: js::gc::ArenaLists::forceFinalizeNow(js::FreeOp*, js::gc::AllocKind, js::gc::ArenaLists::KeepArenasEnum, js::gc::ArenaHeader**) (jsgc.cpp:2758)
==8488==    by 0x1105C848: finalizeNow (jsgc.cpp:2741)
==8488==    by 0x1105C848: js::gc::ArenaLists::queueForegroundObjectsForSweep(js::FreeOp*) (jsgc.cpp:2877)
==8488==    by 0x110731E8: js::gc::GCRuntime::beginSweepingZoneGroup() (jsgc.cpp:5069)
==8488==    by 0x110739C7: js::gc::GCRuntime::beginSweepPhase(bool) (jsgc.cpp:5164)
==8488==    by 0x11075BE2: js::gc::GCRuntime::incrementalCollectSlice(js::SliceBudget&, JS::gcreason::Reason) (jsgc.cpp:5889)
==8488==    by 0x110765D1: js::gc::GCRuntime::gcCycle(bool, js::SliceBudget&, JS::gcreason::Reason) (jsgc.cpp:6076)
==8488==    by 0x1107682C: js::gc::GCRuntime::collect(bool, js::SliceBudget, JS::gcreason::Reason) (jsgc.cpp:6190)
==8488==  Block was alloc'd at
==8488==    at 0x4C2EB6B: malloc (vg_replace_malloc.c:299)
==8488==    by 0xD988A68: g_malloc (gmem.c:94)
==8488==    by 0xD9A05C5: g_slice_alloc (gslice.c:1025)
==8488==    by 0xD9A0A58: g_slice_alloc0 (gslice.c:1051)
==8488==    by 0x618E8C7: ??? (object.cpp:1109)
==8488==    by 0x618F3D1: ??? (object.cpp:1353)
==8488==    by 0x10D72585: CallJSNative (jscntxtinlines.h:226)
==8488==    by 0x10D72585: CallJSNativeConstructor (jscntxtinlines.h:259)
==8488==    by 0x10D72585: js::InvokeConstructor(JSContext*, JS::CallArgs) (Interpreter.cpp:576)
==8488==    by 0x10D61525: Interpret(JSContext*, js::RunState&) (Interpreter.cpp:2599)
==8488==    by 0x10D65323: js::RunScript(JSContext*, js::RunState&) (Interpreter.cpp:448)
==8488==    by 0x10D65613: js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct) (Interpreter.cpp:517)
==8488==    by 0x10D66242: js::Invoke(JSContext*, JS::Value const&, JS::Value const&, unsigned int, JS::Value const*, JS::MutableHandle<JS::Value>) (Interpreter.cpp:554)
==8488==    by 0x10FBEBFA: js::jit::InvokeFunction(JSContext*, JS::Handle<JSObject*>, unsigned int, JS::Value*, JS::Value*) (VMFunctions.cpp:75)
==8488== 
