7056 Memcheck memory error detector 7056 Copyright 2002-2007 and GNU G

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
==7056== Memcheck, a memory error detector.
==7056== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==7056== Using LibVEX rev 1732, a library for dynamic binary translation.
==7056== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==7056== Using valgrind-3.2.3, a dynamic binary instrumentation framework.
==7056== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==7056== For more details, rerun with: -v
==7056==
==7056== My PID = 7056, parent PID = 6117. Prog and args are:
==7056== ./efl_leak_test
==7056==
==7056== Syscall param writev(vector[...]) points to uninitialised byte(s)
==7056== at 0x42C31A2: (within /lib/libc-2.5.1.so)
==7056== by 0x454AD7C: (within /usr/lib/libxcb.so.1.0.0)
==7056== by 0x454B35A: (within /usr/lib/libxcb.so.1.0.0)
==7056== by 0x454B489: (within /usr/lib/libxcb.so.1.0.0)
==7056== by 0x454C936: xcb_wait_for_reply (in /usr/lib/libxcb.so.1.0.0)
==7056== by 0x455756A: xcb_get_property_reply (in /usr/lib/libxcb.so.1.0.0)
==7056== by 0x45303F9: ecore_x_icccm_size_pos_hints_get_fetch (ecore_xcb_icccm.c:472)
==7056== by 0x4037D37: ee_window_min_max_size_set (ewl_engine_xcb.c:478)
==7056== by 0x40A4E96: ewl_engine_window_min_max_size_set (ewl_engines.c:337)
==7056== by 0x4151CCA: ewl_window_cb_configure (ewl_window.c:1265)
==7056== by 0x4071C76: ewl_callback_call_with_event_data (ewl_callback.c:520)
==7056== by 0x4071F7D: ewl_callback_call (ewl_callback.c:437)
==7056== Address 0x486A406 is 4,414 bytes inside a block of size 8,556 alloc'd
==7056== at 0x401E964: calloc (vg_replace_malloc.c:279)
==7056== by 0x454B000: xcb_connect_to_fd (in /usr/lib/libxcb.so.1.0.0)
==7056== by 0x454D800: xcb_connect (in /usr/lib/libxcb.so.1.0.0)
==7056== by 0x453D263: ecore_x_init (ecore_xcb.c:195)
==7056== by 0x4038A92: ewl_engine_create (ewl_engine_xcb.c:193)
==7056== by 0x40A5FDF: ewl_engine_new (ewl_engines.c:203)
==7056== by 0x40A5F6A: ewl_engine_new (ewl_engines.c:182)
==7056== by 0x40DF160: ewl_init (ewl_misc.c:255)
==7056== by 0x8048C5D: main (efl_leak_test.c:79)
==7056==
==7056== Syscall param writev(vector[...]) points to uninitialised byte(s)
==7056== at 0x42C31A2: (within /lib/libc-2.5.1.so)
==7056== by 0x454AD7C: (within /usr/lib/libxcb.so.1.0.0)
==7056== by 0x454B35A: (within /usr/lib/libxcb.so.1.0.0)
==7056== by 0x454BB5D: xcb_send_request (in /usr/lib/libxcb.so.1.0.0)
==7056== by 0x4552B49: xcb_put_image (in /usr/lib/libxcb.so.1.0.0)
==7056== by 0x460AFF4: xcb_image_put (xcb_image.c:452)
==7056== by 0x40468F4: evas_software_xcb_x_output_buffer_paste (evas_xcb_buffer.c:258)
==7056== by 0x40458E2: evas_software_xcb_outbuf_flush (evas_outbuf.c:656)
==7056== by 0x40444AE: eng_output_flush (evas_engine.c:376)
==7056== by 0x41AA16D: evas_render_updates_internal (evas_render.c:544)
==7056== by 0x4040817: ee_canvas_render (ewl_engine_evas.c:140)
==7056== by 0x40A10D9: ewl_engine_canvas_render (ewl_engines.c:1043)
==7056== Address 0x486A3DA is 4,370 bytes inside a block of size 8,556 alloc'd
==7056== at 0x401E964: calloc (vg_replace_malloc.c:279)
==7056== by 0x454B000: xcb_connect_to_fd (in /usr/lib/libxcb.so.1.0.0)
==7056== by 0x454D800: xcb_connect (in /usr/lib/libxcb.so.1.0.0)
==7056== by 0x453D263: ecore_x_init (ecore_xcb.c:195)
==7056== by 0x4038A92: ewl_engine_create (ewl_engine_xcb.c:193)
==7056== by 0x40A5FDF: ewl_engine_new (ewl_engines.c:203)
==7056== by 0x40A5F6A: ewl_engine_new (ewl_engines.c:182)
==7056== by 0x40DF160: ewl_init (ewl_misc.c:255)
==7056== by 0x8048C5D: main (efl_leak_test.c:79)
==7056==
==7056== Syscall param writev(vector[...]) points to uninitialised byte(s)
==7056== at 0x42C31A2: (within /lib/libc-2.5.1.so)
==7056== by 0x42C324A: writev (in /lib/libc-2.5.1.so)
==7056== by 0x454AD7C: (within /usr/lib/libxcb.so.1.0.0)
==7056== by 0x454B35A: (within /usr/lib/libxcb.so.1.0.0)
==7056== by 0x454B489: (within /usr/lib/libxcb.so.1.0.0)
==7056== by 0x454C936: xcb_wait_for_reply (in /usr/lib/libxcb.so.1.0.0)
==7056== by 0x455736A: xcb_get_input_focus_reply (in /usr/lib/libxcb.so.1.0.0)
==7056== by 0x40458A8: evas_software_xcb_outbuf_flush (evas_outbuf.c:641)
==7056== by 0x40444AE: eng_output_flush (evas_engine.c:376)
==7056== by 0x41AA16D: evas_render_updates_internal (evas_render.c:544)
==7056== by 0x4040817: ee_canvas_render (ewl_engine_evas.c:140)
==7056== by 0x40A10D9: ewl_engine_canvas_render (ewl_engines.c:1043)
==7056== Address 0x486A3CA is 4,354 bytes inside a block of size 8,556 alloc'd
==7056== at 0x401E964: calloc (vg_replace_malloc.c:279)
==7056== by 0x454B000: xcb_connect_to_fd (in /usr/lib/libxcb.so.1.0.0)
==7056== by 0x454D800: xcb_connect (in /usr/lib/libxcb.so.1.0.0)
==7056== by 0x453D263: ecore_x_init (ecore_xcb.c:195)
==7056== by 0x4038A92: ewl_engine_create (ewl_engine_xcb.c:193)
==7056== by 0x40A5FDF: ewl_engine_new (ewl_engines.c:203)
==7056== by 0x40A5F6A: ewl_engine_new (ewl_engines.c:182)
==7056== by 0x40DF160: ewl_init (ewl_misc.c:255)
==7056== by 0x8048C5D: main (efl_leak_test.c:79)
==7056==
==7056== ERROR SUMMARY: 32 errors from 3 contexts (suppressed: 127 from 1)
==7056== malloc/free: in use at exit: 44,212,354 bytes in 649 blocks.
==7056== malloc/free: 14,279 allocs, 13,630 frees, 52,133,534 bytes allocated.
==7056== For counts of detected errors, rerun with: -v
==7056== searching for pointers to 649 not-freed blocks.
==7056== checked 53,890,724 bytes.
==7056==
==7056==
==7056== 144 bytes in 2 blocks are definitely lost in loss record 7 of 18
==7056== at 0x401E964: calloc (vg_replace_malloc.c:279)
==7056== by 0x4607A8B: xcb_alloc_size_hints (icccm.c:195)
==7056== by 0x45315F8: ecore_x_icccm_size_pos_hints_set (ecore_xcb_icccm.c:515)
==7056== by 0x4037D96: ???
==7056== by 0x40A4E96: ewl_engine_window_min_max_size_set (ewl_engines.c:337)
==7056== by 0x4151CCA: ewl_window_cb_configure (ewl_window.c:1265)
==7056== by 0x4071C76: ewl_callback_call_with_event_data (ewl_callback.c:520)
==7056== by 0x4071F7D: ewl_callback_call (ewl_callback.c:437)
==7056== by 0x40DFB92: ewl_idle_render (ewl_misc.c:866)
==7056== by 0x43AFB58: _ecore_idle_enterer_call (ecore_idle_enterer.c:101)
==7056== by 0x43B2E7A: _ecore_main_loop_iterate_internal (ecore_main.c:551)
==7056== by 0x43B3266: ecore_main_loop_begin (ecore_main.c:87)
==7056==
==7056==
==7056== 272 bytes in 2 blocks are possibly lost in loss record 8 of 18
==7056== at 0x401E964: calloc (vg_replace_malloc.c:279)
==7056== by 0x400F7B7: allocate_dtv (in /lib/ld-2.5.1.so)
==7056== by 0x400F87B: _dl_allocate_tls (in /lib/ld-2.5.1.so)
==7056== by 0x44848B3: pthread_create@@GLIBC_2.1 (in /lib/libpthread-2.5.1.so)
==7056== by 0x41EB6C6: evas_common_pipe_begin (evas_pipe.c:146)
==7056== by 0x40444E0: ???
==7056== by 0x41AA0F8: evas_render_updates_internal (evas_render.c:537)
==7056== by 0x4040817: ???
==7056== by 0x40A10D9: ewl_engine_canvas_render (ewl_engines.c:1043)
==7056== by 0x40DFCF3: ewl_idle_render (ewl_misc.c:514)
==7056== by 0x43AFB58: _ecore_idle_enterer_call (ecore_idle_enterer.c:101)
==7056== by 0x43B304D: _ecore_main_loop_iterate_internal (ecore_main.c:691)
==7056==
==7056==
==7056== 6,588 bytes in 183 blocks are definitely lost in loss record 14 of 18
==7056== at 0x401F587: malloc (vg_replace_malloc.c:149)
==7056== by 0x454C122: (within /usr/lib/libxcb.so.1.0.0)
==7056== by 0x454C63A: xcb_poll_for_event (in /usr/lib/libxcb.so.1.0.0)
==7056== by 0x453DEFD: _ecore_xcb_fd_handler (ecore_xcb.c:860)
==7056== by 0x43B2FFA: _ecore_main_loop_iterate_internal (ecore_main.c:421)
==7056== by 0x43B3266: ecore_main_loop_begin (ecore_main.c:87)
==7056== by 0x40DE7E6: ewl_main (ewl_misc.c:390)
==7056== by 0x8048E1D: main (efl_leak_test.c:107)
==7056==
==7056==
==7056== 3,841,028 bytes in 4 blocks are definitely lost in loss record 17 of 18
==7056== at 0x401F587: malloc (vg_replace_malloc.c:149)
==7056== by 0x4046A90: ???
==7056== by 0x4046B23: ???
==7056== by 0x4045C20: ???
==7056== by 0x4044A2E: ???
==7056== by 0x417F699: evas_engine_info_set (evas_main.c:337)
==7056== by 0x4030251: ???
==7056== by 0x40A1429: ewl_engine_canvas_setup (ewl_engines.c:993)
==7056== by 0x4153D8F: ewl_window_cb_realize (ewl_window.c:987)
==7056== by 0x4071C76: ewl_callback_call_with_event_data (ewl_callback.c:520)
==7056== by 0x4071F7D: ewl_callback_call (ewl_callback.c:437)
==7056== by 0x414EE5B: ewl_widget_realize (ewl_widget.c:226)
==7056==
==7056==
==7056== 40,320,000 bytes in 21 blocks are possibly lost in loss record 18 of 18
==7056== at 0x401F587: malloc (vg_replace_malloc.c:149)
==7056== by 0x4046A90: ???
==7056== by 0x4045AB8: ???
==7056== by 0x4046422: ???
==7056== by 0x40445B6: ???
==7056== by 0x41A9CB3: evas_render_updates_internal (evas_render.c:436)
==7056== by 0x4040817: ???
==7056== by 0x40A10D9: ewl_engine_canvas_render (ewl_engines.c:1043)
==7056== by 0x40DFCF3: ewl_idle_render (ewl_misc.c:514)
==7056== by 0x43AFB58: _ecore_idle_enterer_call (ecore_idle_enterer.c:101)
==7056== by 0x43B2E7A: _ecore_main_loop_iterate_internal (ecore_main.c:551)
==7056== by 0x43B3266: ecore_main_loop_begin (ecore_main.c:87)
==7056==
==7056== LEAK SUMMARY:
==7056== definitely lost: 3,847,760 bytes in 189 blocks.
==7056== possibly lost: 40,320,272 bytes in 23 blocks.
==7056== still reachable: 44,322 bytes in 437 blocks.
==7056== suppressed: 0 bytes in 0 blocks.
==7056== Reachable blocks (those to which a pointer was found) are not shown.
==7056== To see them, rerun with: --leak-check=full --show-reachable=yes