==4150== 1 errors in context 1 of 1:
==4150== Invalid read of size 4
==4150== at 0x444FE59: gtk_menu_tracker_remove_items (gtkmenutracker.c:290)
==4150== by 0x444FE59: gtk_menu_tracker_model_changed (gtkmenutracker.c:451)
==4150== by 0x55D1D11: ffi_call_SYSV (sysv.S:65)
==4150== by 0x55D198B: ffi_call (ffi.c:389)
==4150== by 0x4D183AC: g_cclosure_marshal_generic (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.4600.0)
==4150== by 0x4D17B8A: g_closure_invoke (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.4600.0)
==4150== by 0x4D29FFB: signal_emit_unlocked_R (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.4600.0)
==4150== by 0x4D32C95: g_signal_emit_valist (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.4600.0)
==4150== by 0x4D32FC4: g_signal_emit (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.4600.0)
==4150== by 0x4BF4F6B: g_menu_model_items_changed (in /usr/lib/i386-linux-gnu/libgio-2.0.so.0.4600.0)
==4150== by 0x4BF852D: g_dbus_menu_group_changed (in /usr/lib/i386-linux-gnu/libgio-2.0.so.0.4600.0)
==4150== by 0x4BF8C07: g_dbus_menu_path_signal (in /usr/lib/i386-linux-gnu/libgio-2.0.so.0.4600.0)
==4150== by 0x4C10DCE: emit_signal_instance_in_idle_cb (in /usr/lib/i386-linux-gnu/libgio-2.0.so.0.4600.0)
==4150== by 0x4DAC40F: g_idle_dispatch (in /lib/i386-linux-gnu/libglib-2.0.so.0.4600.0)
==4150== by 0x4DAFB9A: g_main_context_dispatch (in /lib/i386-linux-gnu/libglib-2.0.so.0.4600.0)
==4150== by 0x4DAFF88: g_main_context_iterate.isra.29 (in /lib/i386-linux-gnu/libglib-2.0.so.0.4600.0)
==4150== by 0x4DB0338: g_main_loop_run (in /lib/i386-linux-gnu/libglib-2.0.so.0.4600.0)
==4150== by 0x442F99D: gtk_main (gtkmain.c:1219)
==4150== by 0x804C313: main (in /usr/lib/unity/unity-panel-service)
Copy paste from bug #1499133:
under valgrind it shows that invalid read
==4150== 1 errors in context 1 of 1: tracker_ remove_ items (gtkmenutracker .c:290) tracker_ model_changed (gtkmenutracker .c:451) marshal_ generic (in /usr/lib/ i386-linux- gnu/libgobject- 2.0.so. 0.4600. 0) i386-linux- gnu/libgobject- 2.0.so. 0.4600. 0) emit_unlocked_ R (in /usr/lib/ i386-linux- gnu/libgobject- 2.0.so. 0.4600. 0) emit_valist (in /usr/lib/ i386-linux- gnu/libgobject- 2.0.so. 0.4600. 0) i386-linux- gnu/libgobject- 2.0.so. 0.4600. 0) model_items_ changed (in /usr/lib/ i386-linux- gnu/libgio- 2.0.so. 0.4600. 0) menu_group_ changed (in /usr/lib/ i386-linux- gnu/libgio- 2.0.so. 0.4600. 0) menu_path_ signal (in /usr/lib/ i386-linux- gnu/libgio- 2.0.so. 0.4600. 0) instance_ in_idle_ cb (in /usr/lib/ i386-linux- gnu/libgio- 2.0.so. 0.4600. 0) linux-gnu/ libglib- 2.0.so. 0.4600. 0) context_ dispatch (in /lib/i386- linux-gnu/ libglib- 2.0.so. 0.4600. 0) context_ iterate. isra.29 (in /lib/i386- linux-gnu/ libglib- 2.0.so. 0.4600. 0) linux-gnu/ libglib- 2.0.so. 0.4600. 0) unity/unity- panel-service)
==4150== Invalid read of size 4
==4150== at 0x444FE59: gtk_menu_
==4150== by 0x444FE59: gtk_menu_
==4150== by 0x55D1D11: ffi_call_SYSV (sysv.S:65)
==4150== by 0x55D198B: ffi_call (ffi.c:389)
==4150== by 0x4D183AC: g_cclosure_
==4150== by 0x4D17B8A: g_closure_invoke (in /usr/lib/
==4150== by 0x4D29FFB: signal_
==4150== by 0x4D32C95: g_signal_
==4150== by 0x4D32FC4: g_signal_emit (in /usr/lib/
==4150== by 0x4BF4F6B: g_menu_
==4150== by 0x4BF852D: g_dbus_
==4150== by 0x4BF8C07: g_dbus_
==4150== by 0x4C10DCE: emit_signal_
==4150== by 0x4DAC40F: g_idle_dispatch (in /lib/i386-
==4150== by 0x4DAFB9A: g_main_
==4150== by 0x4DAFF88: g_main_
==4150== by 0x4DB0338: g_main_loop_run (in /lib/i386-
==4150== by 0x442F99D: gtk_main (gtkmain.c:1219)
==4150== by 0x804C313: main (in /usr/lib/