small leaks in unity-greeter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Light Display Manager |
Fix Released
|
Low
|
Unassigned | ||
lightdm (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
unity-greeter (Ubuntu) |
Triaged
|
Low
|
Unassigned |
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/
==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_
==4777== by 0x48E1470: lightdm_
==4777== by 0x805C4CC: session_
==4777== by 0x47A4230: g_object_newv (gobject.c:1632)
==4777== by 0x47A47C7: g_object_new (gobject.c:1542)
==4777== by 0x8056D56: fadable_
==4777== by 0x805C58F: session_chooser_new (session-
==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_
==4777== by 0x47A3CF8: g_object_newv (gobject.c:1713)
==4777== by 0x47A47C7: g_object_new (gobject.c:1542)
==4777== by 0x8057C96: main_window_
==4777== by 0x80583EF: main_window_new (main-window.c:801)
==4777== by 0x80607B0: unity_greeter_
==4777== by 0x8060E5F: unity_greeter_new (unity-
==4777== by 0x8061565: unity_greeter_main (unity-
==4777== by 0x804F48F: main (unity-
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/
==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_
==4777== by 0x8057C3E: __main_
==4777== by 0x479F242: g_cclosure_
==4777== by 0x479D726: _g_closure_
==4777== by 0x47B6A28: g_signal_
==4777== by 0x47B78AE: g_signal_
==4777== by 0x80661BA: user_list_
==4777== by 0x479F242: g_cclosure_
==4777== by 0x479BDB6: g_type_
==4777== by 0x479D726: _g_closure_
==4777== by 0x47B6A28: g_signal_
==4777== by 0x47B7452: g_signal_emit (gsignal.c:3352)
==4777== by 0x4344207: gtk_widget_realize (gtkwidget.c:4507)
==4777== by 0x434841F: gtk_widget_
==4777== by 0x41097DF: gtk_box_pack (gtkbox.c:992)
==4777== by 0x41099F0: gtk_box_add (gtkbox.c:1787)
==4777== by 0x47A0602: g_cclosure_
==4777== by 0x479C2FC: g_type_
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/
==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_
==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_
==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_
==4729== by 0x47A3CF8: g_object_newv (gobject.c:1713)
==4729== by 0x47A47C7: g_object_new (gobject.c:1542)
==4729== by 0x8057C96: main_window_
==4729== by 0x80583EF: main_window_new (main-window.c:801)
==4729== by 0x80607B0: unity_greeter_
==4729== by 0x8060E5F: unity_greeter_new (unity-
==4729== by 0x8061565: unity_greeter_main (unity-
==4729== by 0x804F48F: main (unity-
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/
==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_
==4777== by 0x805F534: unity_greeter_
==4777== by 0x8060DC8: unity_greeter_
==4777== by 0x8060E5F: unity_greeter_new (unity-
==4777== by 0x8061565: unity_greeter_main (unity-
==4777== by 0x804F48F: main (unity-
Related branches
- Ken VanDine (community): Approve
-
Diff: 51 lines (+15/-1)2 files modifiedliblightdm-gobject/session.c (+13/-0)
liblightdm-gobject/user.c (+2/-1)
Changed in lightdm: | |
status: | New → Fix Committed |
importance: | Undecided → Low |
Changed in lightdm (Ubuntu): | |
status: | New → Fix Committed |
importance: | Undecided → Low |
no longer affects: | unity-greeter |
(that's using 0.2.8-0ubuntu1 on precise)