Project

General

Profile

gcl-subscribe-valgrind-14Nov2016.txt

Anonymous, 11/14/2016 07:31 AM

Download (10.5 KB)

 
1
==7885== Memcheck, a memory error detector
2
==7885== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
3
==7885== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
4
==7885== Command: gdp-reader -D *=10 -n 1 -s ptolemy.actor.lib.jjs.modules.gdp.test.auto.GDPLogSubscribeJS.0.6
5
==7885== 
6
_gdp_lib_init(NULL)
7
	@(#)Gdplib 0.6.1 (2016-06-08_14:01)
8
My GDP routing name = EdGB3LQJ0JWu4c_3Vcm53icx5jveevqZRUI2D9mFdjo
9
gdp_lib_init: OK
10
Trying Zeroconf:
11
: Cache exhausted
12
: All for now
13
_gdp_chan_open(gdp-03.eecs.berkeley.edu; gdp-02.eecs.berkeley.edu)
14
Trying gdp-03.eecs.berkeley.edu
15
Talking to router at gdp-03.eecs.berkeley.edu:8007
16
_gdp_advertise => OK
17
gdp_init: OK
18
Reading GCL n63QFLX1yqjy0hWddy5JpxVjAkuIrSTCfX7sLQbPHew
19
ack_success: received 68
20
Opened GCL n63QFLX1yqjy0hWddy5JpxVjAkuIrSTCfX7sLQbPHew
21
_gdp_gcl_cache_add(0x52b34c0): already cached
22
ack_success: received 72
23
Starting subscription poker thread
24
ack_success: received 128
25
 >>> recno 1, len 3, ts 2016-11-14T15:30:10.391485000Z
26
00000000 62 61 72
27
         b  a  r 
28
ack_success: received 133
29
End of Subscription
30
exiting after 1 records with status WARNING: end of file [EPLIB:generic:3]
31
==7885== 
32
==7885== HEAP SUMMARY:
33
==7885==     in use at exit: 64,849 bytes in 656 blocks
34
==7885==   total heap usage: 935 allocs, 279 frees, 164,995 bytes allocated
35
==7885== 
36
==7885== 6 bytes in 1 blocks are definitely lost in loss record 2 of 650
37
==7885==    at 0x4A06A2E: malloc (vg_replace_malloc.c:270)
38
==7885==    by 0x3FA4C03674: avahi_malloc (in /usr/lib64/libavahi-common.so.3.5.1)
39
==7885==    by 0x3FA4C039A8: avahi_strdup (in /usr/lib64/libavahi-common.so.3.5.1)
40
==7885==    by 0x410983: gdp_zc_scan (gdp_zc_client.c:602)
41
==7885==    by 0x406A87: _gdp_chan_open (gdp_chan.c:239)
42
==7885==    by 0x405CFE: gdp_init (gdp_api.c:254)
43
==7885==    by 0x40580A: main (gdp-reader.c:456)
44
==7885== 
45
==7885== 10 bytes in 1 blocks are definitely lost in loss record 11 of 650
46
==7885==    at 0x4A06A2E: malloc (vg_replace_malloc.c:270)
47
==7885==    by 0x3FA4C03674: avahi_malloc (in /usr/lib64/libavahi-common.so.3.5.1)
48
==7885==    by 0x3FA4C039A8: avahi_strdup (in /usr/lib64/libavahi-common.so.3.5.1)
49
==7885==    by 0x410963: gdp_zc_scan (gdp_zc_client.c:600)
50
==7885==    by 0x406A87: _gdp_chan_open (gdp_chan.c:239)
51
==7885==    by 0x405CFE: gdp_init (gdp_api.c:254)
52
==7885==    by 0x40580A: main (gdp-reader.c:456)
53
==7885== 
54
==7885== 51 bytes in 1 blocks are possibly lost in loss record 586 of 650
55
==7885==    at 0x4A06A2E: malloc (vg_replace_malloc.c:270)
56
==7885==    by 0x41513E: system_malloc (ep_mem.c:102)
57
==7885==    by 0x4151CA: ep_mem_ialloc (ep_mem.c:171)
58
==7885==    by 0x41531C: ep_mem_istrdup (ep_mem.c:319)
59
==7885==    by 0x41536C: ep_mem_strdup (ep_mem.c:337)
60
==7885==    by 0x411D12: read_param_file (ep_adm.c:107)
61
==7885==    by 0x411DFA: ep_adm_readparams (ep_adm.c:208)
62
==7885==    by 0x40B729: gdp_lib_init (gdp_main.c:548)
63
==7885==    by 0x405CD1: gdp_init (gdp_api.c:249)
64
==7885==    by 0x40580A: main (gdp-reader.c:456)
65
==7885== 
66
==7885== 51 bytes in 1 blocks are definitely lost in loss record 587 of 650
67
==7885==    at 0x4A06A2E: malloc (vg_replace_malloc.c:270)
68
==7885==    by 0x41513E: system_malloc (ep_mem.c:102)
69
==7885==    by 0x4151CA: ep_mem_ialloc (ep_mem.c:171)
70
==7885==    by 0x41531C: ep_mem_istrdup (ep_mem.c:319)
71
==7885==    by 0x41536C: ep_mem_strdup (ep_mem.c:337)
72
==7885==    by 0x411D12: read_param_file (ep_adm.c:107)
73
==7885==    by 0x411DFA: ep_adm_readparams (ep_adm.c:208)
74
==7885==    by 0x40B729: gdp_lib_init (gdp_main.c:548)
75
==7885==    by 0x405CD1: gdp_init (gdp_api.c:249)
76
==7885==    by 0x40580A: main (gdp-reader.c:456)
77
==7885== 
78
==7885== 80 bytes in 1 blocks are possibly lost in loss record 599 of 650
79
==7885==    at 0x4A06A2E: malloc (vg_replace_malloc.c:270)
80
==7885==    by 0x41513E: system_malloc (ep_mem.c:102)
81
==7885==    by 0x4151CA: ep_mem_ialloc (ep_mem.c:171)
82
==7885==    by 0x415E9F: ep_rpool_new (ep_rpool.c:169)
83
==7885==    by 0x414932: ep_hash_new (ep_hash.c:107)
84
==7885==    by 0x4162AA: ep_stat_reg_strings (ep_stat.c:84)
85
==7885==    by 0x4162EB: _ep_stat_init (ep_statcodes.c:71)
86
==7885==    by 0x414B7F: ep_lib_init (ep_lib.c:50)
87
==7885==    by 0x40B71D: gdp_lib_init (gdp_main.c:547)
88
==7885==    by 0x405CD1: gdp_init (gdp_api.c:249)
89
==7885==    by 0x40580A: main (gdp-reader.c:456)
90
==7885== 
91
==7885== 80 bytes in 1 blocks are possibly lost in loss record 600 of 650
92
==7885==    at 0x4A06A2E: malloc (vg_replace_malloc.c:270)
93
==7885==    by 0x41513E: system_malloc (ep_mem.c:102)
94
==7885==    by 0x4151CA: ep_mem_ialloc (ep_mem.c:171)
95
==7885==    by 0x415E9F: ep_rpool_new (ep_rpool.c:169)
96
==7885==    by 0x414932: ep_hash_new (ep_hash.c:107)
97
==7885==    by 0x411A97: get_param_path (ep_adm.c:130)
98
==7885==    by 0x411D9C: ep_adm_readparams (ep_adm.c:195)
99
==7885==    by 0x414B8B: ep_lib_init (ep_lib.c:51)
100
==7885==    by 0x40B71D: gdp_lib_init (gdp_main.c:547)
101
==7885==    by 0x405CD1: gdp_init (gdp_api.c:249)
102
==7885==    by 0x40580A: main (gdp-reader.c:456)
103
==7885== 
104
==7885== 80 bytes in 1 blocks are possibly lost in loss record 601 of 650
105
==7885==    at 0x4A06A2E: malloc (vg_replace_malloc.c:270)
106
==7885==    by 0x41513E: system_malloc (ep_mem.c:102)
107
==7885==    by 0x4151CA: ep_mem_ialloc (ep_mem.c:171)
108
==7885==    by 0x415E9F: ep_rpool_new (ep_rpool.c:169)
109
==7885==    by 0x414932: ep_hash_new (ep_hash.c:107)
110
==7885==    by 0x408C6D: _gdp_gcl_cache_init (gdp_gcl_cache.c:94)
111
==7885==    by 0x40B993: gdp_lib_init (gdp_main.c:623)
112
==7885==    by 0x405CD1: gdp_init (gdp_api.c:249)
113
==7885==    by 0x40580A: main (gdp-reader.c:456)
114
==7885== 
115
==7885== 560 bytes in 1 blocks are possibly lost in loss record 637 of 650
116
==7885==    at 0x4A057BB: calloc (vg_replace_malloc.c:593)
117
==7885==    by 0x344A611A82: _dl_allocate_tls (in /lib64/ld-2.12.so)
118
==7885==    by 0x344B2072CC: pthread_create@@GLIBC_2.2.5 (in /lib64/libpthread-2.12.so)
119
==7885==    by 0x40BB64: _gdp_start_event_loop_thread (gdp_main.c:446)
120
==7885==    by 0x40BBB2: _gdp_evloop_init (gdp_main.c:669)
121
==7885==    by 0x405D24: gdp_init (gdp_api.c:259)
122
==7885==    by 0x40580A: main (gdp-reader.c:456)
123
==7885== 
124
==7885== 560 bytes in 1 blocks are possibly lost in loss record 638 of 650
125
==7885==    at 0x4A057BB: calloc (vg_replace_malloc.c:593)
126
==7885==    by 0x344A611A82: _dl_allocate_tls (in /lib64/ld-2.12.so)
127
==7885==    by 0x344B2072CC: pthread_create@@GLIBC_2.2.5 (in /lib64/libpthread-2.12.so)
128
==7885==    by 0x40FFE5: _gdp_gcl_subscribe (gdp_subscr.c:252)
129
==7885==    by 0x405BE0: gdp_gcl_subscribe (gdp_api.c:472)
130
==7885==    by 0x405465: do_multiread (gdp-reader.c:238)
131
==7885==    by 0x405939: main (gdp-reader.c:499)
132
==7885== 
133
==7885== 4,096 bytes in 1 blocks are possibly lost in loss record 646 of 650
134
==7885==    at 0x4A06A2E: malloc (vg_replace_malloc.c:270)
135
==7885==    by 0x41513E: system_malloc (ep_mem.c:102)
136
==7885==    by 0x4151CA: ep_mem_ialloc (ep_mem.c:171)
137
==7885==    by 0x415982: ep_rpool_ialloc (ep_rpool.c:405)
138
==7885==    by 0x415B28: ep_rpool_zalloc (ep_rpool.c:271)
139
==7885==    by 0x414948: ep_hash_new (ep_hash.c:112)
140
==7885==    by 0x4162AA: ep_stat_reg_strings (ep_stat.c:84)
141
==7885==    by 0x4162EB: _ep_stat_init (ep_statcodes.c:71)
142
==7885==    by 0x414B7F: ep_lib_init (ep_lib.c:50)
143
==7885==    by 0x40B71D: gdp_lib_init (gdp_main.c:547)
144
==7885==    by 0x405CD1: gdp_init (gdp_api.c:249)
145
==7885==    by 0x40580A: main (gdp-reader.c:456)
146
==7885== 
147
==7885== 4,096 bytes in 1 blocks are possibly lost in loss record 647 of 650
148
==7885==    at 0x4A06A2E: malloc (vg_replace_malloc.c:270)
149
==7885==    by 0x41513E: system_malloc (ep_mem.c:102)
150
==7885==    by 0x4151CA: ep_mem_ialloc (ep_mem.c:171)
151
==7885==    by 0x415982: ep_rpool_ialloc (ep_rpool.c:405)
152
==7885==    by 0x415B28: ep_rpool_zalloc (ep_rpool.c:271)
153
==7885==    by 0x414948: ep_hash_new (ep_hash.c:112)
154
==7885==    by 0x411A97: get_param_path (ep_adm.c:130)
155
==7885==    by 0x411D9C: ep_adm_readparams (ep_adm.c:195)
156
==7885==    by 0x414B8B: ep_lib_init (ep_lib.c:51)
157
==7885==    by 0x40B71D: gdp_lib_init (gdp_main.c:547)
158
==7885==    by 0x405CD1: gdp_init (gdp_api.c:249)
159
==7885==    by 0x40580A: main (gdp-reader.c:456)
160
==7885== 
161
==7885== 4,096 bytes in 1 blocks are possibly lost in loss record 648 of 650
162
==7885==    at 0x4A06A2E: malloc (vg_replace_malloc.c:270)
163
==7885==    by 0x41513E: system_malloc (ep_mem.c:102)
164
==7885==    by 0x4151CA: ep_mem_ialloc (ep_mem.c:171)
165
==7885==    by 0x415982: ep_rpool_ialloc (ep_rpool.c:405)
166
==7885==    by 0x414725: ep_hash_insert (ep_hash.c:208)
167
==7885==    by 0x4162CC: ep_stat_reg_strings (ep_stat.c:91)
168
==7885==    by 0x40FD14: _gdp_stat_init (gdp_stat.c:112)
169
==7885==    by 0x40B7AE: gdp_lib_init (gdp_main.c:567)
170
==7885==    by 0x405CD1: gdp_init (gdp_api.c:249)
171
==7885==    by 0x40580A: main (gdp-reader.c:456)
172
==7885== 
173
==7885== 4,096 bytes in 1 blocks are possibly lost in loss record 649 of 650
174
==7885==    at 0x4A06A2E: malloc (vg_replace_malloc.c:270)
175
==7885==    by 0x41513E: system_malloc (ep_mem.c:102)
176
==7885==    by 0x4151CA: ep_mem_ialloc (ep_mem.c:171)
177
==7885==    by 0x415982: ep_rpool_ialloc (ep_rpool.c:405)
178
==7885==    by 0x414725: ep_hash_insert (ep_hash.c:208)
179
==7885==    by 0x408B68: _gdp_gcl_cache_add (gdp_gcl_cache.c:134)
180
==7885==    by 0x40F62A: _gdp_req_send (gdp_req.c:365)
181
==7885==    by 0x40EBB9: _gdp_invoke (gdp_proto.c:112)
182
==7885==    by 0x40998C: _gdp_gcl_open (gdp_gcl_ops.c:299)
183
==7885==    by 0x405FA0: gdp_gcl_open (gdp_api.c:381)
184
==7885==    by 0x4058BB: main (gdp-reader.c:484)
185
==7885== 
186
==7885== 16,128 bytes in 1 blocks are possibly lost in loss record 650 of 650
187
==7885==    at 0x4A06A2E: malloc (vg_replace_malloc.c:270)
188
==7885==    by 0x41513E: system_malloc (ep_mem.c:102)
189
==7885==    by 0x4151CA: ep_mem_ialloc (ep_mem.c:171)
190
==7885==    by 0x415982: ep_rpool_ialloc (ep_rpool.c:405)
191
==7885==    by 0x415B28: ep_rpool_zalloc (ep_rpool.c:271)
192
==7885==    by 0x414948: ep_hash_new (ep_hash.c:112)
193
==7885==    by 0x408C6D: _gdp_gcl_cache_init (gdp_gcl_cache.c:94)
194
==7885==    by 0x40B993: gdp_lib_init (gdp_main.c:623)
195
==7885==    by 0x405CD1: gdp_init (gdp_api.c:249)
196
==7885==    by 0x40580A: main (gdp-reader.c:456)
197
==7885== 
198
==7885== LEAK SUMMARY:
199
==7885==    definitely lost: 67 bytes in 3 blocks
200
==7885==    indirectly lost: 0 bytes in 0 blocks
201
==7885==      possibly lost: 33,923 bytes in 11 blocks
202
==7885==    still reachable: 30,859 bytes in 642 blocks
203
==7885==         suppressed: 0 bytes in 0 blocks
204
==7885== Reachable blocks (those to which a pointer was found) are not shown.
205
==7885== To see them, rerun with: --leak-check=full --show-reachable=yes
206
==7885== 
207
==7885== For counts of detected and suppressed errors, rerun with: -v
208
==7885== ERROR SUMMARY: 14 errors from 14 contexts (suppressed: 6 from 6)