** Branch linked: lp:~mterry/lightdm/memleaks

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/988409

Title:
  small leaks in unity-greeter

Status in Light Display Manager:
  New
Status in Unity Greeter:
  New
Status in “lightdm” package in Ubuntu:
  New
Status in “unity-greeter” package in Ubuntu:
  Triaged

Bug description:
  Trying to get details on another bug I started running unity-greeter
  under valgrind, that didn't get anywhere for the bug I was trying to
  get details on but valgrind recorded some leaks so I figured I would
  report them at least ;-)

  
  leak1:
  ==4777== 6 bytes in 1 blocks are definitely lost in loss record 247 of 8,856
  ==4777==    at 0x402BE68: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
  ==4777==    by 0x482B96A: standard_malloc (gmem.c:85)
  ==4777==    by 0x482BE02: g_malloc (gmem.c:159)
  ==4777==    by 0x4841B8A: g_strdup (gstrfuncs.c:356)
  ==4777==    by 0x481FF37: g_key_file_get_locale_string (gkeyfile.c:2212)
  ==4777==    by 0x48E1470: lightdm_get_sessions (session.c:63)
  ==4777==    by 0x805C4CC: session_chooser_constructor (session-chooser.c:644)
  ==4777==    by 0x47A4230: g_object_newv (gobject.c:1632)
  ==4777==    by 0x47A47C7: g_object_new (gobject.c:1542)
  ==4777==    by 0x8056D56: fadable_box_construct (fadable-box.c:140)
  ==4777==    by 0x805C58F: session_chooser_new (session-chooser.c:610)
  ==4777==    by 0x8066838: user_list_construct (user-list.c:1039)
  ==4777==    by 0x8067ABF: user_list_new (user-list.c:1147)
  ==4777==    by 0x8058193: main_window_constructor (main-window.c:996)
  ==4777==    by 0x47A3CF8: g_object_newv (gobject.c:1713)
  ==4777==    by 0x47A47C7: g_object_new (gobject.c:1542)
  ==4777==    by 0x8057C96: main_window_construct (main-window.c:795)
  ==4777==    by 0x80583EF: main_window_new (main-window.c:801)
  ==4777==    by 0x80607B0: unity_greeter_construct (unity-greeter.c:588)
  ==4777==    by 0x8060E5F: unity_greeter_new (unity-greeter.c:803)
  ==4777==    by 0x8061565: unity_greeter_main (unity-greeter.c:2627)
  ==4777==    by 0x804F48F: main (unity-greeter.c:2714)

  leak2:
  ==4777== 12 bytes in 1 blocks are definitely lost in loss record 1,990 of 
8,856
  ==4777==    at 0x402BE68: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
  ==4777==    by 0x482B96A: standard_malloc (gmem.c:85)
  ==4777==    by 0x482BE02: g_malloc (gmem.c:159)
  ==4777==    by 0x484022D: g_slice_alloc (gslice.c:1003)
  ==4777==    by 0x4822C59: g_list_append (glist.c:228)
  ==4777==    by 0x805A6B5: menu_bar_set_layouts (menubar.c:463)
  ==4777==    by 0x8057C3E: 
__main_window___lambda9__user_list_user_displayed_done (main-window.c:836)
  ==4777==    by 0x479F242: g_cclosure_marshal_VOID__VOIDv (gmarshal.c:115)
  ==4777==    by 0x479D726: _g_closure_invoke_va (gclosure.c:840)
  ==4777==    by 0x47B6A28: g_signal_emit_valist (gsignal.c:3207)
  ==4777==    by 0x47B78AE: g_signal_emit_by_name (gsignal.c:3389)
  ==4777==    by 0x80661BA: user_list_real_realize (user-list.c:2660)
  ==4777==    by 0x479F242: g_cclosure_marshal_VOID__VOIDv (gmarshal.c:115)
  ==4777==    by 0x479BDB6: g_type_class_meta_marshalv (gclosure.c:997)
  ==4777==    by 0x479D726: _g_closure_invoke_va (gclosure.c:840)
  ==4777==    by 0x47B6A28: g_signal_emit_valist (gsignal.c:3207)
  ==4777==    by 0x47B7452: g_signal_emit (gsignal.c:3352)
  ==4777==    by 0x4344207: gtk_widget_realize (gtkwidget.c:4507)
  ==4777==    by 0x434841F: gtk_widget_set_parent (gtkwidget.c:8064)
  ==4777==    by 0x41097DF: gtk_box_pack (gtkbox.c:992)
  ==4777==    by 0x41099F0: gtk_box_add (gtkbox.c:1787)
  ==4777==    by 0x47A0602: g_cclosure_marshal_VOID__OBJECT (gmarshal.c:1272)
  ==4777==    by 0x479C2FC: g_type_class_meta_marshal (gclosure.c:970)

  leak3:
  ==4729== 236 (48 direct, 188 indirect) bytes in 1 blocks are definitely lost 
in loss record 9,954 of 10,838
  ==4729==    at 0x402BE68: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
  ==4729==    by 0x482B96A: standard_malloc (gmem.c:85)
  ==4729==    by 0x482BE02: g_malloc (gmem.c:159)
  ==4729==    by 0x484022D: g_slice_alloc (gslice.c:1003)
  ==4729==    by 0x4840795: g_slice_alloc0 (gslice.c:1029)
  ==4729==    by 0x47BF687: g_type_create_instance (gtype.c:1872)
  ==4729==    by 0x806380F: user_entry_new (user-list.c:501)
  ==4729==    by 0x806656C: user_list_add_entry (user-list.c:1881)
  ==4729==    by 0x80665FC: user_list_add_manual_entry (user-list.c:2096)
  ==4729==    by 0x8066BDB: user_list_construct (user-list.c:1141)
  ==4729==    by 0x8067ABF: user_list_new (user-list.c:1147)
  ==4729==    by 0x8058193: main_window_constructor (main-window.c:996)
  ==4729==    by 0x47A3CF8: g_object_newv (gobject.c:1713)
  ==4729==    by 0x47A47C7: g_object_new (gobject.c:1542)
  ==4729==    by 0x8057C96: main_window_construct (main-window.c:795)
  ==4729==    by 0x80583EF: main_window_new (main-window.c:801)
  ==4729==    by 0x80607B0: unity_greeter_construct (unity-greeter.c:588)
  ==4729==    by 0x8060E5F: unity_greeter_new (unity-greeter.c:803)
  ==4729==    by 0x8061565: unity_greeter_main (unity-greeter.c:2627)
  ==4729==    by 0x804F48F: main (unity-greeter.c:2714)

  leak4:

  ==4777== 1,794 (120 direct, 1,674 indirect) bytes in 3 blocks are definitely 
lost in loss record 8,712 of 8,856
  ==4777==    at 0x402BE68: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
  ==4777==    by 0x482B96A: standard_malloc (gmem.c:85)
  ==4777==    by 0x482BE02: g_malloc (gmem.c:159)
  ==4777==    by 0x484022D: g_slice_alloc (gslice.c:1003)
  ==4777==    by 0x4840795: g_slice_alloc0 (gslice.c:1029)
  ==4777==    by 0x481E2C1: g_key_file_new (gkeyfile.c:638)
  ==4777==    by 0x48E233B: load_user_values (user.c:1123)
  ==4777==    by 0x48E5426: lightdm_user_get_has_messages (user.c:1441)
  ==4777==    by 0x805F534: unity_greeter_user_added_cb (unity-greeter.c:1316)
  ==4777==    by 0x8060DC8: unity_greeter_construct (unity-greeter.c:744)
  ==4777==    by 0x8060E5F: unity_greeter_new (unity-greeter.c:803)
  ==4777==    by 0x8061565: unity_greeter_main (unity-greeter.c:2627)
  ==4777==    by 0x804F48F: main (unity-greeter.c:2714)

To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/988409/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to