Merge lp:~pete-woods/hud/memory-leaks into lp:hud/phablet
- memory-leaks
- Merge into phablet
Proposed by
Pete Woods
Status: | Merged |
---|---|
Approved by: | Antti Kaijanmäki |
Approved revision: | 376 |
Merged at revision: | 376 |
Proposed branch: | lp:~pete-woods/hud/memory-leaks |
Merge into: | lp:hud/phablet |
Diff against target: |
751 lines (+80/-613) 4 files modified
build.sh (+1/-1) src/pronounce-dict.c (+4/-0) tests/gobject.suppression (+70/-612) tests/test-voice.c (+5/-0) |
To merge this branch: | bzr merge lp:~pete-woods/hud/memory-leaks |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Antti Kaijanmäki (community) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+158559@code.launchpad.net |
Commit message
Fix a couple of minor memory leaks and improve the GObject suppression file to use wildcards
Description of the change
Fix a couple of minor memory leaks and improve the GObject suppression file to use wildcards
To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : | # |
review:
Approve
(continuous-integration)
Revision history for this message
Antti Kaijanmäki (kaijanmaki) wrote : | # |
Looks good. nice job with the suppression file also!
review:
Approve
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'build.sh' | |||
2 | --- build.sh 2013-04-02 08:34:53 +0000 | |||
3 | +++ build.sh 2013-04-12 10:53:32 +0000 | |||
4 | @@ -13,6 +13,6 @@ | |||
5 | 13 | echo "Using $BUILD_COMMAND to build" | 13 | echo "Using $BUILD_COMMAND to build" |
6 | 14 | ( | 14 | ( |
7 | 15 | cd build | 15 | cd build |
9 | 16 | cmake .. $EXTRA_ARGS -DCMAKE_INSTALL_PREFIX=../../install -DLOCAL_INSTALL=ON | 16 | cmake .. $EXTRA_ARGS -DCMAKE_INSTALL_PREFIX=../../install -DLOCAL_INSTALL=ON -DCMAKE_BUILD_TYPE=Debug |
10 | 17 | $BUILD_COMMAND | 17 | $BUILD_COMMAND |
11 | 18 | ) | 18 | ) |
12 | 19 | 19 | ||
13 | === modified file 'src/pronounce-dict.c' | |||
14 | --- src/pronounce-dict.c 2013-02-11 09:51:46 +0000 | |||
15 | +++ src/pronounce-dict.c 2013-04-12 10:53:32 +0000 | |||
16 | @@ -208,6 +208,10 @@ | |||
17 | 208 | 208 | ||
18 | 209 | g_free(line); | 209 | g_free(line); |
19 | 210 | 210 | ||
20 | 211 | g_object_unref(dstream); | ||
21 | 212 | g_object_unref(stream); | ||
22 | 213 | g_object_unref(dict_file); | ||
23 | 214 | |||
24 | 211 | return TRUE; | 215 | return TRUE; |
25 | 212 | } | 216 | } |
26 | 213 | 217 | ||
27 | 214 | 218 | ||
28 | === modified file 'tests/gobject.suppression' | |||
29 | --- tests/gobject.suppression 2013-01-03 12:52:35 +0000 | |||
30 | +++ tests/gobject.suppression 2013-04-12 10:53:32 +0000 | |||
31 | @@ -1,614 +1,72 @@ | |||
32 | 1 | 1 | ||
645 | 2 | { | 2 | ############################### |
646 | 3 | hello | 3 | # PocketSphinx rules |
647 | 4 | Memcheck:Leak | 4 | ############################### |
648 | 5 | fun:malloc | 5 | |
649 | 6 | fun:realloc | 6 | { |
650 | 7 | fun:g_realloc | 7 | <insert_a_suppression_name_here> |
651 | 8 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.* | 8 | Memcheck:Leak |
652 | 9 | fun:g_type_register_static | 9 | ... |
653 | 10 | fun:g_type_plugin_get_type | 10 | fun:cmd_ln_init |
654 | 11 | fun:g_type_init_with_debug_flags | 11 | } |
655 | 12 | fun:main | 12 | |
656 | 13 | } | 13 | ############################### |
657 | 14 | 14 | # GObject rules | |
658 | 15 | { | 15 | ############################### |
659 | 16 | <insert_a_suppression_name_here> | 16 | |
660 | 17 | Memcheck:Leak | 17 | { |
661 | 18 | fun:malloc | 18 | <insert_a_suppression_name_here> |
662 | 19 | fun:realloc | 19 | Memcheck:Leak |
663 | 20 | fun:g_realloc | 20 | ... |
664 | 21 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.* | 21 | fun:g_type_register_static |
665 | 22 | fun:g_type_register_static | 22 | } |
666 | 23 | fun:g_boxed_type_register_static | 23 | |
667 | 24 | fun:g_value_array_get_type | 24 | { |
668 | 25 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.* | 25 | <insert_a_suppression_name_here> |
669 | 26 | fun:g_type_init_with_debug_flags | 26 | Memcheck:Leak |
670 | 27 | fun:main | 27 | ... |
671 | 28 | } | 28 | fun:g_type_register_fundamental |
672 | 29 | 29 | } | |
673 | 30 | { | 30 | |
674 | 31 | <insert_a_suppression_name_here> | 31 | { |
675 | 32 | Memcheck:Leak | 32 | <insert_a_suppression_name_here> |
676 | 33 | fun:malloc | 33 | Memcheck:Leak |
677 | 34 | fun:realloc | 34 | ... |
678 | 35 | fun:g_realloc | 35 | fun:type_node_fundamental_new_W |
679 | 36 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.* | 36 | } |
680 | 37 | fun:g_type_register_static | 37 | |
681 | 38 | fun:g_pointer_type_register_static | 38 | { |
682 | 39 | fun:g_gtype_get_type | 39 | <insert_a_suppression_name_here> |
683 | 40 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.* | 40 | Memcheck:Leak |
684 | 41 | fun:g_type_init_with_debug_flags | 41 | ... |
685 | 42 | fun:main | 42 | fun:type_data_make_W |
686 | 43 | } | 43 | } |
687 | 44 | 44 | ||
688 | 45 | { | 45 | { |
689 | 46 | <insert_a_suppression_name_here> | 46 | <insert_a_suppression_name_here> |
690 | 47 | Memcheck:Leak | 47 | Memcheck:Leak |
691 | 48 | fun:calloc | 48 | ... |
692 | 49 | fun:g_malloc0 | 49 | fun:g_type_add_interface_static |
693 | 50 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.* | 50 | } |
694 | 51 | fun:g_type_register_fundamental | 51 | |
695 | 52 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.* | 52 | { |
696 | 53 | fun:g_type_init_with_debug_flags | 53 | <insert_a_suppression_name_here> |
697 | 54 | fun:main | 54 | Memcheck:Leak |
698 | 55 | } | 55 | ... |
699 | 56 | 56 | fun:type_iface_vtable_base_init_Wm | |
700 | 57 | { | 57 | } |
701 | 58 | <insert_a_suppression_name_here> | 58 | |
702 | 59 | Memcheck:Leak | 59 | { |
703 | 60 | fun:malloc | 60 | <insert_a_suppression_name_here> |
704 | 61 | fun:realloc | 61 | Memcheck:Leak |
705 | 62 | fun:g_realloc | 62 | ... |
706 | 63 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.* | 63 | fun:g_dbus_interface_skeleton_class_intern_init |
707 | 64 | fun:g_type_register_fundamental | 64 | } |
708 | 65 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.* | 65 | |
709 | 66 | fun:g_type_init_with_debug_flags | 66 | { |
710 | 67 | fun:main | 67 | <insert_a_suppression_name_here> |
711 | 68 | } | 68 | Memcheck:Leak |
712 | 69 | 69 | ... | |
713 | 70 | { | 70 | fun:g_signal_type_cclosure_new |
714 | 71 | <insert_a_suppression_name_here> | 71 | } |
103 | 72 | Memcheck:Leak | ||
104 | 73 | fun:calloc | ||
105 | 74 | fun:g_malloc0 | ||
106 | 75 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.* | ||
107 | 76 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.* | ||
108 | 77 | fun:g_type_init_with_debug_flags | ||
109 | 78 | fun:main | ||
110 | 79 | } | ||
111 | 80 | |||
112 | 81 | { | ||
113 | 82 | <insert_a_suppression_name_here> | ||
114 | 83 | Memcheck:Leak | ||
115 | 84 | fun:calloc | ||
116 | 85 | fun:g_malloc0 | ||
117 | 86 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.* | ||
118 | 87 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.* | ||
119 | 88 | fun:g_type_register_fundamental | ||
120 | 89 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.* | ||
121 | 90 | fun:g_type_init_with_debug_flags | ||
122 | 91 | fun:main | ||
123 | 92 | } | ||
124 | 93 | |||
125 | 94 | { | ||
126 | 95 | <insert_a_suppression_name_here> | ||
127 | 96 | Memcheck:Leak | ||
128 | 97 | fun:realloc | ||
129 | 98 | fun:g_realloc | ||
130 | 99 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.* | ||
131 | 100 | fun:g_type_register_static | ||
132 | 101 | fun:g_param_type_register_static | ||
133 | 102 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.* | ||
134 | 103 | fun:g_type_init_with_debug_flags | ||
135 | 104 | fun:main | ||
136 | 105 | } | ||
137 | 106 | |||
138 | 107 | { | ||
139 | 108 | <insert_a_suppression_name_here> | ||
140 | 109 | Memcheck:Leak | ||
141 | 110 | fun:calloc | ||
142 | 111 | fun:g_malloc0 | ||
143 | 112 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.* | ||
144 | 113 | fun:g_type_init_with_debug_flags | ||
145 | 114 | fun:main | ||
146 | 115 | } | ||
147 | 116 | |||
148 | 117 | { | ||
149 | 118 | <insert_a_suppression_name_here> | ||
150 | 119 | Memcheck:Leak | ||
151 | 120 | fun:malloc | ||
152 | 121 | fun:realloc | ||
153 | 122 | fun:g_realloc | ||
154 | 123 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.* | ||
155 | 124 | fun:g_type_register_static | ||
156 | 125 | fun:g_type_register_static_simple | ||
157 | 126 | fun:hud_keyword_mapping_get_type | ||
158 | 127 | fun:hud_keyword_mapping_new | ||
159 | 128 | fun:test_keyword_mapping_open_tab | ||
160 | 129 | obj:/lib/x86_64-linux-gnu/libglib-2.* | ||
161 | 130 | obj:/lib/x86_64-linux-gnu/libglib-2.* | ||
162 | 131 | obj:/lib/x86_64-linux-gnu/libglib-2.* | ||
163 | 132 | fun:g_test_run_suite | ||
164 | 133 | fun:main | ||
165 | 134 | } | ||
166 | 135 | |||
167 | 136 | { | ||
168 | 137 | <insert_a_suppression_name_here> | ||
169 | 138 | Memcheck:Leak | ||
170 | 139 | fun:realloc | ||
171 | 140 | fun:g_realloc | ||
172 | 141 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.* | ||
173 | 142 | fun:g_type_register_static | ||
174 | 143 | fun:g_type_register_static_simple | ||
175 | 144 | fun:hud_result_get_type | ||
176 | 145 | fun:hud_result_new | ||
177 | 146 | fun:test_result_highlighting_base | ||
178 | 147 | obj:/lib/x86_64-linux-gnu/libglib-2.* | ||
179 | 148 | obj:/lib/x86_64-linux-gnu/libglib-2.* | ||
180 | 149 | obj:/lib/x86_64-linux-gnu/libglib-2.* | ||
181 | 150 | fun:g_test_run_suite | ||
182 | 151 | fun:main | ||
183 | 152 | } | ||
184 | 153 | |||
185 | 154 | { | ||
186 | 155 | <insert_a_suppression_name_here> | ||
187 | 156 | Memcheck:Leak | ||
188 | 157 | fun:malloc | ||
189 | 158 | fun:g_malloc | ||
190 | 159 | fun:g_slice_alloc | ||
191 | 160 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
192 | 161 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
193 | 162 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
194 | 163 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
195 | 164 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
196 | 165 | fun:g_type_add_interface_static | ||
197 | 166 | fun:hud_random_source_get_type | ||
198 | 167 | fun:hud_random_source_new_full | ||
199 | 168 | fun:test_hud_query | ||
200 | 169 | obj:/lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1 | ||
201 | 170 | obj:/lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1 | ||
202 | 171 | fun:g_test_run_suite | ||
203 | 172 | fun:main | ||
204 | 173 | } | ||
205 | 174 | |||
206 | 175 | { | ||
207 | 176 | <insert_a_suppression_name_here> | ||
208 | 177 | Memcheck:Leak | ||
209 | 178 | fun:malloc | ||
210 | 179 | fun:g_malloc | ||
211 | 180 | fun:g_slice_alloc | ||
212 | 181 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
213 | 182 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
214 | 183 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
215 | 184 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
216 | 185 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
217 | 186 | fun:g_type_add_interface_static | ||
218 | 187 | fun:g_dbus_interface_skeleton_get_type | ||
219 | 188 | fun:hud_query_iface_com_canonical_hud_query_skeleton_get_type | ||
220 | 189 | fun:hud_query_iface_com_canonical_hud_query_skeleton_new | ||
221 | 190 | fun:hud_query_init | ||
222 | 191 | fun:g_type_create_instance | ||
223 | 192 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
224 | 193 | fun:g_object_newv | ||
225 | 194 | fun:g_object_new | ||
226 | 195 | fun:hud_query_new | ||
227 | 196 | fun:make_assertion | ||
228 | 197 | fun:test_hud_query | ||
229 | 198 | } | ||
230 | 199 | |||
231 | 200 | { | ||
232 | 201 | <insert_a_suppression_name_here> | ||
233 | 202 | Memcheck:Leak | ||
234 | 203 | fun:malloc | ||
235 | 204 | fun:g_malloc | ||
236 | 205 | fun:g_slice_alloc | ||
237 | 206 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
238 | 207 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
239 | 208 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
240 | 209 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
241 | 210 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
242 | 211 | fun:g_type_add_interface_static | ||
243 | 212 | fun:hud_query_iface_com_canonical_hud_query_skeleton_get_type | ||
244 | 213 | fun:hud_query_iface_com_canonical_hud_query_skeleton_new | ||
245 | 214 | fun:hud_query_init | ||
246 | 215 | fun:g_type_create_instance | ||
247 | 216 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
248 | 217 | fun:g_object_newv | ||
249 | 218 | fun:g_object_new | ||
250 | 219 | fun:hud_query_new | ||
251 | 220 | fun:make_assertion | ||
252 | 221 | fun:test_hud_query | ||
253 | 222 | obj:/lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1 | ||
254 | 223 | } | ||
255 | 224 | |||
256 | 225 | { | ||
257 | 226 | <insert_a_suppression_name_here> | ||
258 | 227 | Memcheck:Leak | ||
259 | 228 | fun:malloc | ||
260 | 229 | fun:g_malloc | ||
261 | 230 | fun:g_slice_alloc | ||
262 | 231 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
263 | 232 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
264 | 233 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
265 | 234 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
266 | 235 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
267 | 236 | fun:g_type_add_interface_static | ||
268 | 237 | fun:g_dbus_connection_get_type | ||
269 | 238 | obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1 | ||
270 | 239 | fun:g_bus_get_sync | ||
271 | 240 | fun:hud_query_init | ||
272 | 241 | fun:g_type_create_instance | ||
273 | 242 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
274 | 243 | fun:g_object_newv | ||
275 | 244 | fun:g_object_new | ||
276 | 245 | fun:hud_query_new | ||
277 | 246 | fun:make_assertion | ||
278 | 247 | fun:test_hud_query | ||
279 | 248 | } | ||
280 | 249 | |||
281 | 250 | { | ||
282 | 251 | <insert_a_suppression_name_here> | ||
283 | 252 | Memcheck:Leak | ||
284 | 253 | fun:malloc | ||
285 | 254 | fun:g_malloc | ||
286 | 255 | fun:g_slice_alloc | ||
287 | 256 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
288 | 257 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
289 | 258 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
290 | 259 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
291 | 260 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
292 | 261 | fun:g_type_add_interface_static | ||
293 | 262 | fun:g_socket_address_get_type | ||
294 | 263 | fun:g_unix_socket_address_get_type | ||
295 | 264 | fun:g_unix_socket_address_new_with_type | ||
296 | 265 | obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1 | ||
297 | 266 | fun:g_dbus_address_get_stream_sync | ||
298 | 267 | obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1 | ||
299 | 268 | fun:g_bus_get_sync | ||
300 | 269 | fun:hud_query_init | ||
301 | 270 | fun:g_type_create_instance | ||
302 | 271 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
303 | 272 | fun:g_object_newv | ||
304 | 273 | } | ||
305 | 274 | |||
306 | 275 | { | ||
307 | 276 | <insert_a_suppression_name_here> | ||
308 | 277 | Memcheck:Leak | ||
309 | 278 | fun:malloc | ||
310 | 279 | fun:g_malloc | ||
311 | 280 | fun:g_slice_alloc | ||
312 | 281 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
313 | 282 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
314 | 283 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
315 | 284 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
316 | 285 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
317 | 286 | fun:g_type_add_interface_static | ||
318 | 287 | obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1 | ||
319 | 288 | obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1 | ||
320 | 289 | obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1 | ||
321 | 290 | obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1 | ||
322 | 291 | obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1 | ||
323 | 292 | fun:g_bus_get_sync | ||
324 | 293 | fun:hud_query_init | ||
325 | 294 | fun:g_type_create_instance | ||
326 | 295 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
327 | 296 | fun:g_object_newv | ||
328 | 297 | fun:g_object_new | ||
329 | 298 | } | ||
330 | 299 | |||
331 | 300 | { | ||
332 | 301 | <insert_a_suppression_name_here> | ||
333 | 302 | Memcheck:Leak | ||
334 | 303 | fun:malloc | ||
335 | 304 | fun:g_malloc | ||
336 | 305 | fun:g_slice_alloc | ||
337 | 306 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
338 | 307 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
339 | 308 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
340 | 309 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
341 | 310 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
342 | 311 | fun:g_type_add_interface_static | ||
343 | 312 | fun:g_simple_async_result_get_type | ||
344 | 313 | obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1 | ||
345 | 314 | obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1 | ||
346 | 315 | fun:g_bus_get_sync | ||
347 | 316 | fun:hud_query_init | ||
348 | 317 | fun:g_type_create_instance | ||
349 | 318 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
350 | 319 | fun:g_object_newv | ||
351 | 320 | fun:g_object_new | ||
352 | 321 | fun:hud_query_new | ||
353 | 322 | fun:make_assertion | ||
354 | 323 | } | ||
355 | 324 | |||
356 | 325 | { | ||
357 | 326 | <insert_a_suppression_name_here> | ||
358 | 327 | Memcheck:Leak | ||
359 | 328 | fun:malloc | ||
360 | 329 | fun:g_malloc | ||
361 | 330 | fun:g_slice_alloc | ||
362 | 331 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
363 | 332 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
364 | 333 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
365 | 334 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
366 | 335 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
367 | 336 | fun:g_type_add_interface_static | ||
368 | 337 | fun:g_memory_output_stream_get_type | ||
369 | 338 | fun:g_memory_output_stream_new | ||
370 | 339 | fun:g_dbus_message_to_blob | ||
371 | 340 | obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1 | ||
372 | 341 | fun:g_dbus_connection_send_message_with_reply | ||
373 | 342 | fun:g_dbus_connection_send_message_with_reply_sync | ||
374 | 343 | obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1 | ||
375 | 344 | fun:g_dbus_connection_call_sync | ||
376 | 345 | obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1 | ||
377 | 346 | fun:g_bus_get_sync | ||
378 | 347 | fun:hud_query_init | ||
379 | 348 | } | ||
380 | 349 | |||
381 | 350 | { | ||
382 | 351 | <insert_a_suppression_name_here> | ||
383 | 352 | Memcheck:Leak | ||
384 | 353 | fun:calloc | ||
385 | 354 | fun:g_malloc0 | ||
386 | 355 | fun:g_type_class_ref | ||
387 | 356 | fun:g_type_class_ref | ||
388 | 357 | fun:g_param_spec_flags | ||
389 | 358 | obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1 | ||
390 | 359 | fun:g_type_class_ref | ||
391 | 360 | fun:g_type_class_ref | ||
392 | 361 | fun:g_object_newv | ||
393 | 362 | fun:g_object_new | ||
394 | 363 | fun:hud_query_iface_com_canonical_hud_query_skeleton_new | ||
395 | 364 | fun:hud_query_init | ||
396 | 365 | fun:g_type_create_instance | ||
397 | 366 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
398 | 367 | fun:g_object_newv | ||
399 | 368 | fun:g_object_new | ||
400 | 369 | fun:hud_query_new | ||
401 | 370 | fun:make_assertion | ||
402 | 371 | fun:test_hud_query | ||
403 | 372 | obj:/lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1 | ||
404 | 373 | } | ||
405 | 374 | |||
406 | 375 | { | ||
407 | 376 | <insert_a_suppression_name_here> | ||
408 | 377 | Memcheck:Leak | ||
409 | 378 | fun:malloc | ||
410 | 379 | fun:g_malloc | ||
411 | 380 | fun:g_memdup | ||
412 | 381 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
413 | 382 | fun:g_type_class_ref | ||
414 | 383 | fun:g_object_new_valist | ||
415 | 384 | fun:g_initable_new_valist | ||
416 | 385 | fun:g_initable_new | ||
417 | 386 | fun:g_socket_new | ||
418 | 387 | obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1 | ||
419 | 388 | fun:g_socket_client_connect | ||
420 | 389 | obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1 | ||
421 | 390 | fun:g_dbus_address_get_stream_sync | ||
422 | 391 | obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1 | ||
423 | 392 | fun:g_bus_get_sync | ||
424 | 393 | fun:hud_query_init | ||
425 | 394 | fun:g_type_create_instance | ||
426 | 395 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
427 | 396 | fun:g_object_newv | ||
428 | 397 | fun:g_object_new | ||
429 | 398 | } | ||
430 | 399 | |||
431 | 400 | { | ||
432 | 401 | <insert_a_suppression_name_here> | ||
433 | 402 | Memcheck:Leak | ||
434 | 403 | fun:malloc | ||
435 | 404 | fun:g_malloc | ||
436 | 405 | fun:g_memdup | ||
437 | 406 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
438 | 407 | fun:g_type_class_ref | ||
439 | 408 | fun:g_type_class_ref | ||
440 | 409 | fun:g_object_new_valist | ||
441 | 410 | fun:g_object_new | ||
442 | 411 | fun:g_unix_socket_address_new_with_type | ||
443 | 412 | obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1 | ||
444 | 413 | fun:g_dbus_address_get_stream_sync | ||
445 | 414 | obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1 | ||
446 | 415 | fun:g_bus_get_sync | ||
447 | 416 | fun:hud_query_init | ||
448 | 417 | fun:g_type_create_instance | ||
449 | 418 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
450 | 419 | fun:g_object_newv | ||
451 | 420 | fun:g_object_new | ||
452 | 421 | fun:hud_query_new | ||
453 | 422 | fun:make_assertion | ||
454 | 423 | } | ||
455 | 424 | |||
456 | 425 | { | ||
457 | 426 | <insert_a_suppression_name_here> | ||
458 | 427 | Memcheck:Leak | ||
459 | 428 | fun:calloc | ||
460 | 429 | fun:g_malloc0 | ||
461 | 430 | fun:g_type_class_ref | ||
462 | 431 | fun:g_type_class_ref | ||
463 | 432 | fun:g_param_spec_enum | ||
464 | 433 | obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1 | ||
465 | 434 | fun:g_type_class_ref | ||
466 | 435 | fun:g_type_class_ref | ||
467 | 436 | fun:g_object_new_valist | ||
468 | 437 | fun:g_object_new | ||
469 | 438 | fun:g_unix_socket_address_new_with_type | ||
470 | 439 | obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1 | ||
471 | 440 | fun:g_dbus_address_get_stream_sync | ||
472 | 441 | obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1 | ||
473 | 442 | fun:g_bus_get_sync | ||
474 | 443 | fun:hud_query_init | ||
475 | 444 | fun:g_type_create_instance | ||
476 | 445 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
477 | 446 | fun:g_object_newv | ||
478 | 447 | fun:g_object_new | ||
479 | 448 | } | ||
480 | 449 | |||
481 | 450 | { | ||
482 | 451 | <insert_a_suppression_name_here> | ||
483 | 452 | Memcheck:Leak | ||
484 | 453 | fun:realloc | ||
485 | 454 | fun:g_realloc | ||
486 | 455 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
487 | 456 | fun:g_type_register_static | ||
488 | 457 | fun:g_flags_register_static | ||
489 | 458 | fun:g_tls_certificate_flags_get_type | ||
490 | 459 | obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1 | ||
491 | 460 | fun:g_type_class_ref | ||
492 | 461 | fun:g_object_newv | ||
493 | 462 | fun:g_object_new | ||
494 | 463 | obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1 | ||
495 | 464 | fun:g_dbus_address_get_stream_sync | ||
496 | 465 | obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1 | ||
497 | 466 | fun:g_bus_get_sync | ||
498 | 467 | fun:hud_query_init | ||
499 | 468 | fun:g_type_create_instance | ||
500 | 469 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
501 | 470 | fun:g_object_newv | ||
502 | 471 | fun:g_object_new | ||
503 | 472 | fun:hud_query_new | ||
504 | 473 | } | ||
505 | 474 | |||
506 | 475 | |||
507 | 476 | { | ||
508 | 477 | <insert_a_suppression_name_here> | ||
509 | 478 | Memcheck:Leak | ||
510 | 479 | fun:realloc | ||
511 | 480 | fun:g_realloc | ||
512 | 481 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
513 | 482 | fun:g_type_register_static | ||
514 | 483 | fun:g_boxed_type_register_static | ||
515 | 484 | fun:dee_model_iter_get_type | ||
516 | 485 | obj:/usr/lib/libdee-1.0.so.4.1.1 | ||
517 | 486 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
518 | 487 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
519 | 488 | fun:g_type_class_ref | ||
520 | 489 | fun:g_type_class_ref | ||
521 | 490 | fun:g_object_newv | ||
522 | 491 | fun:g_object_new | ||
523 | 492 | fun:dee_sequence_model_new | ||
524 | 493 | fun:dee_shared_model_new | ||
525 | 494 | fun:hud_query_init | ||
526 | 495 | fun:g_type_create_instance | ||
527 | 496 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
528 | 497 | fun:g_object_newv | ||
529 | 498 | fun:g_object_new | ||
530 | 499 | } | ||
531 | 500 | |||
532 | 501 | { | ||
533 | 502 | <insert_a_suppression_name_here> | ||
534 | 503 | Memcheck:Leak | ||
535 | 504 | fun:malloc | ||
536 | 505 | fun:g_malloc | ||
537 | 506 | fun:g_slice_alloc | ||
538 | 507 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
539 | 508 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
540 | 509 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
541 | 510 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
542 | 511 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
543 | 512 | fun:g_type_add_interface_static | ||
544 | 513 | fun:g_memory_input_stream_get_type | ||
545 | 514 | obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1 | ||
546 | 515 | obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1 | ||
547 | 516 | fun:g_bus_get_sync | ||
548 | 517 | fun:hud_query_init | ||
549 | 518 | fun:g_type_create_instance | ||
550 | 519 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
551 | 520 | fun:g_object_newv | ||
552 | 521 | fun:g_object_new | ||
553 | 522 | fun:hud_query_new | ||
554 | 523 | fun:make_assertion | ||
555 | 524 | } | ||
556 | 525 | |||
557 | 526 | { | ||
558 | 527 | <insert_a_suppression_name_here> | ||
559 | 528 | Memcheck:Leak | ||
560 | 529 | fun:malloc | ||
561 | 530 | fun:g_malloc | ||
562 | 531 | fun:g_slice_alloc | ||
563 | 532 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
564 | 533 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
565 | 534 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
566 | 535 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
567 | 536 | fun:g_type_add_interface_static | ||
568 | 537 | fun:hud_random_source_get_type | ||
569 | 538 | fun:hud_random_source_new_full | ||
570 | 539 | fun:test_hud_query | ||
571 | 540 | obj:/lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1 | ||
572 | 541 | obj:/lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1 | ||
573 | 542 | fun:g_test_run_suite | ||
574 | 543 | fun:main | ||
575 | 544 | } | ||
576 | 545 | |||
577 | 546 | { | ||
578 | 547 | <insert_a_suppression_name_here> | ||
579 | 548 | Memcheck:Leak | ||
580 | 549 | fun:malloc | ||
581 | 550 | fun:g_malloc | ||
582 | 551 | fun:g_memdup | ||
583 | 552 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
584 | 553 | fun:g_type_class_ref | ||
585 | 554 | fun:g_object_newv | ||
586 | 555 | fun:g_object_new | ||
587 | 556 | fun:hud_random_source_new_full | ||
588 | 557 | fun:test_hud_query | ||
589 | 558 | obj:/lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1 | ||
590 | 559 | obj:/lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1 | ||
591 | 560 | fun:g_test_run_suite | ||
592 | 561 | fun:main | ||
593 | 562 | } | ||
594 | 563 | |||
595 | 564 | { | ||
596 | 565 | <insert_a_suppression_name_here> | ||
597 | 566 | Memcheck:Leak | ||
598 | 567 | fun:malloc | ||
599 | 568 | fun:g_malloc | ||
600 | 569 | fun:g_slice_alloc | ||
601 | 570 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
602 | 571 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
603 | 572 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
604 | 573 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
605 | 574 | fun:g_type_add_interface_static | ||
606 | 575 | fun:g_dbus_interface_skeleton_get_type | ||
607 | 576 | fun:hud_query_iface_com_canonical_hud_query_skeleton_get_type | ||
608 | 577 | fun:hud_query_iface_com_canonical_hud_query_skeleton_new | ||
609 | 578 | fun:hud_query_init | ||
610 | 579 | fun:g_type_create_instance | ||
611 | 580 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
612 | 581 | fun:g_object_newv | ||
613 | 582 | fun:g_object_new | ||
614 | 583 | fun:hud_query_new | ||
615 | 584 | fun:make_assertion | ||
616 | 585 | fun:test_hud_query | ||
617 | 586 | obj:/lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1 | ||
618 | 587 | } | ||
619 | 588 | |||
620 | 589 | { | ||
621 | 590 | <insert_a_suppression_name_here> | ||
622 | 591 | Memcheck:Leak | ||
623 | 592 | fun:malloc | ||
624 | 593 | fun:g_malloc | ||
625 | 594 | fun:g_slice_alloc | ||
626 | 595 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
627 | 596 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
628 | 597 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
629 | 598 | fun:g_type_register_static | ||
630 | 599 | fun:g_type_register_static_simple | ||
631 | 600 | fun:hud_query_iface_com_canonical_hud_query_skeleton_get_type | ||
632 | 601 | fun:hud_query_iface_com_canonical_hud_query_skeleton_new | ||
633 | 602 | fun:hud_query_init | ||
634 | 603 | fun:g_type_create_instance | ||
635 | 604 | obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1 | ||
636 | 605 | fun:g_object_newv | ||
637 | 606 | fun:g_object_new | ||
638 | 607 | fun:hud_query_new | ||
639 | 608 | fun:make_assertion | ||
640 | 609 | fun:test_hud_query | ||
641 | 610 | obj:/lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1 | ||
642 | 611 | obj:/lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1 | ||
643 | 612 | } | ||
644 | 613 | |||
715 | 614 | 72 | ||
716 | 615 | 73 | ||
717 | === modified file 'tests/test-voice.c' | |||
718 | --- tests/test-voice.c 2013-04-02 15:05:53 +0000 | |||
719 | +++ tests/test-voice.c 2013-04-12 10:53:32 +0000 | |||
720 | @@ -347,26 +347,31 @@ | |||
721 | 347 | HudStringList *tokens = hud_string_list_add_item ("menu", NULL ); | 347 | HudStringList *tokens = hud_string_list_add_item ("menu", NULL ); |
722 | 348 | tokens = hud_string_list_add_item ("auto adjust", tokens); | 348 | tokens = hud_string_list_add_item ("auto adjust", tokens); |
723 | 349 | hud_manual_source_add (source, tokens, NULL, "shortcut1", TRUE); | 349 | hud_manual_source_add (source, tokens, NULL, "shortcut1", TRUE); |
724 | 350 | hud_string_list_unref(tokens); | ||
725 | 350 | } | 351 | } |
726 | 351 | { | 352 | { |
727 | 352 | HudStringList *tokens = hud_string_list_add_item ("menu", NULL ); | 353 | HudStringList *tokens = hud_string_list_add_item ("menu", NULL ); |
728 | 353 | tokens = hud_string_list_add_item ("color balance", tokens); | 354 | tokens = hud_string_list_add_item ("color balance", tokens); |
729 | 354 | hud_manual_source_add (source, tokens, NULL, "shortcut2", TRUE); | 355 | hud_manual_source_add (source, tokens, NULL, "shortcut2", TRUE); |
730 | 356 | hud_string_list_unref(tokens); | ||
731 | 355 | } | 357 | } |
732 | 356 | { | 358 | { |
733 | 357 | HudStringList *tokens = hud_string_list_add_item ("menu", NULL ); | 359 | HudStringList *tokens = hud_string_list_add_item ("menu", NULL ); |
734 | 358 | tokens = hud_string_list_add_item ("open tab", tokens); | 360 | tokens = hud_string_list_add_item ("open tab", tokens); |
735 | 359 | hud_manual_source_add (source, tokens, NULL, "shortcut3", TRUE); | 361 | hud_manual_source_add (source, tokens, NULL, "shortcut3", TRUE); |
736 | 362 | hud_string_list_unref(tokens); | ||
737 | 360 | } | 363 | } |
738 | 361 | { | 364 | { |
739 | 362 | HudStringList *tokens = hud_string_list_add_item ("menu", NULL ); | 365 | HudStringList *tokens = hud_string_list_add_item ("menu", NULL ); |
740 | 363 | tokens = hud_string_list_add_item ("open terminal", tokens); | 366 | tokens = hud_string_list_add_item ("open terminal", tokens); |
741 | 364 | hud_manual_source_add (source, tokens, NULL, "shortcut4", TRUE); | 367 | hud_manual_source_add (source, tokens, NULL, "shortcut4", TRUE); |
742 | 368 | hud_string_list_unref(tokens); | ||
743 | 365 | } | 369 | } |
744 | 366 | { | 370 | { |
745 | 367 | HudStringList *tokens = hud_string_list_add_item ("menu", NULL ); | 371 | HudStringList *tokens = hud_string_list_add_item ("menu", NULL ); |
746 | 368 | tokens = hud_string_list_add_item ("system settings", tokens); | 372 | tokens = hud_string_list_add_item ("system settings", tokens); |
747 | 369 | hud_manual_source_add (source, tokens, NULL, "shortcut5", TRUE); | 373 | hud_manual_source_add (source, tokens, NULL, "shortcut5", TRUE); |
748 | 374 | hud_string_list_unref(tokens); | ||
749 | 370 | } | 375 | } |
750 | 371 | 376 | ||
751 | 372 | load_pipe_module (&test_voice); | 377 | load_pipe_module (&test_voice); |
PASSED: Continuous integration, rev:376 s-jenkins: 8080/job/ hud-small- ci/323/ s-jenkins: 8080/job/ hud-small- ci/./build= pbuilder, distribution= quantal, flavor= i386/323
http://
Executed test runs:
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins: 8080/job/ hud-small- ci/323/ rebuild
http://