Project

General

Profile

gdp-reader-valgrind.txt

Anonymous, 10/22/2016 03:39 PM

Download (9.88 KB)

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