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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
|
**** Purify instrumented xlock/xlock (pid 23212 at Mon Dec 12 14:55:57 2005)
* Purify 2003a.06.15 Solaris 2 (32-bit) (c) Copyright IBM Corp. 1992, 2005 All rights reserved.
* For contact information type: "purify -help"
* For TTY output, use the option "-windows=no"
* Command-line: xlock/xlock -modelist ant,fzort -inwindow
* Options settings: -chain-length=25 -cache-dir=purify-cache \
-windows=yes -g++=yes -purify \
-purify-home=/mu/sdk/purify/releases/purify.sol.2003a.06.15 \
-gcc3_path=/opt/gnu/bin/g++.sh -cache-dir=purify-cache \
-demangle_program=/opt/gnu/bin/c++filt -threads=yes \
-use-internal-locks=yes -thread_stack_change=0x4000 -mt_safe_malloc=yes \
-language=english
* License successfully checked out.
* Command-line: xlock/xlock -modelist ant,fzort -inwindow
**** Purify instrumented xlock/xlock (pid 23212) ****
UMR: Uninitialized memory read (1107 times):
* This is occurring while in:
fill_triangle_32bpp [fz_filler.h:114]
render_process_mesh [fzort.c:766]
render [fzort.c:1510]
draw_fzort [fzort.c:1586]
call_callback_hook [mode.c:1289]
call_callback_hook [mode.c:1289]
runMainLoop [xlock.c:1959]
justDisplay [xlock.c:2785]
main [xlock.c:3897]
_start [crt1.o]
* Reading 4 bytes from 0xefffd4b0 on the stack.
* Address 0xefffd4b0 is 36 bytes past start of local variable "x_left" in function fill_triangle_32bpp.
**** Purify instrumented xlock/xlock (pid 23212) ****
UMR: Uninitialized memory read (27 times):
* This is occurring while in:
fill_triangle_32bpp [fz_filler.h:114]
render_process_mesh [fzort.c:766]
render [fzort.c:1510]
draw_fzort [fzort.c:1586]
call_callback_hook [mode.c:1289]
call_change_hook [mode.c:1360]
justDisplay [xlock.c:2839]
main [xlock.c:3897]
_start [crt1.o]
* Reading 4 bytes from 0xefffd5d8 on the stack.
* Address 0xefffd5d8 is 36 bytes past start of local variable "x_left" in function fill_triangle_32bpp.
**** Purify instrumented xlock/xlock (pid 23212) ****
Current file descriptors in use: 7
FIU: file descriptor 0: <stdin>
FIU: file descriptor 1: <stdout>
FIU: file descriptor 2: <stderr>
FIU: file descriptor 3: "/tmp/.X11-pipe/X0", O_RDWR
* File info: prw-rw-rw- 1 root root 0 Jul 27 17:00
* This file descriptor was allocated from:
_open [libc.so.1]
open [libc.so.1]
_X11TransSocketPIPEConnect [x11trans.c]
_X11TransConnect [x11trans.c]
_X11TransConnectDisplay [ConnDis.c]
XOpenDisplay [OpenDis.c]
openDisplay [resource.c:1467]
getResources [resource.c:1850]
main [xlock.c:3260]
_start [crt1.o]
FIU: file descriptor 4: "/etc/.name_service_door", O_RDONLY
* File info: ?r--r--r-- 1 root root 0 Sep 18 2000
* This file descriptor was allocated from:
_open64 [libc.so.1]
_nsc_trydoorcall [libc.so.1]
getpwnam_r [libc.so.1]
my_passwd_entry [passwd.c:469]
getUserName [passwd.c:651]
initPasswd [passwd.c:2150]
main [xlock.c:3275]
_start [crt1.o]
FIU: file descriptor 26: <reserved for Purify internal use>
FIU: file descriptor 27: <reserved for Purify internal use>
**** Purify instrumented xlock/xlock (pid 23212) ****
Purify: Searching for all memory leaks...
Memory leaked: 1024 bytes (1.3%); potentially leaked: 0 bytes (0%)
MLK: 1024 bytes leaked at 0x2f45e0
* This memory was allocated from:
malloc [rtlib.o]
_nss_compat_XY_all [nss_compat.so.1]
nss_search [libc.so.1]
getspnam_r [libc.so.1]
my_passwd_entry [passwd.c:483]
getUserName [passwd.c:651]
initPasswd [passwd.c:2150]
main [xlock.c:3275]
_start [crt1.o]
Purify Heap Analysis (combining suppressed and unsuppressed blocks)
Blocks Bytes
Leaked 11 1176
Potentially Leaked 0 0
In-Use 431 77830
----------------------------------------
Total Allocated 442 79006
**** Purify instrumented xlock/xlock (pid 23212) ****
Thread Summary : 1 threads in existence
* Thread 0 [main thread]
Stack Limit : (0xef800000 0xf0000000), size = 0x800000
**** Purify instrumented xlock/xlock (pid 23212) ****
* Program exited with status code 0.
* 2 access errors, 1134 total occurrences.
* 1024 bytes leaked.
* 0 bytes potentially leaked.
* Basic memory usage (including Purify overhead):
2237592 code
582628 data/bss
811012 heap (peak use)
8680 stack
* Shared library memory usage (including Purify overhead):
992 libpure_solaris2_init.so.1 (shared code)
280 libpure_solaris2_init.so.1 (private data)
51736 libSM.so.6_pure_p3_c0_103312158_56_32 (shared code)
3632 libSM.so.6_pure_p3_c0_103312158_56_32 (private data)
121456 libICE.so.6_pure_p3_c0_103312158_56_32 (shared code)
12624 libICE.so.6_pure_p3_c0_103312158_56_32 (private data)
41848 libsocket.so.1_pure_p3_c0_103312158_56_32 (shared code)
3348 libsocket.so.1_pure_p3_c0_103312158_56_32 (private data)
744524 libnsl.so.1_pure_p3_c0_103312158_56_32 (shared code)
54848 libnsl.so.1_pure_p3_c0_103312158_56_32 (private data)
129952 libXmu.so.4_pure_p3_c0_103312158_56_32 (shared code)
7000 libXmu.so.4_pure_p3_c0_103312158_56_32 (private data)
565932 libDtSvc.so.1_pure_p3_c0_103312158_56_32 (shared code)
23012 libDtSvc.so.1_pure_p3_c0_103312158_56_32 (private data)
25964 libposix4.so.1_pure_p3_c0_103312158_56_32 (shared code)
1848 libposix4.so.1_pure_p3_c0_103312158_56_32 (private data)
845348 libX11.so.4_pure_p3_c0_103312158_56_32 (shared code)
21080 libX11.so.4_pure_p3_c0_103312158_56_32 (private data)
135528 libXext.so.0_pure_p3_c0_103312158_56_32 (shared code)
2612 libXext.so.0_pure_p3_c0_103312158_56_32 (private data)
559484 libstdc++.so.5_pure_p3_c0_103312158_56_32 (shared code)
0 libstdc++.so.5_pure_p3_c0_103312158_56_32 (private data)
139336 libm.so.1_pure_p3_c0_103312158_56_32 (shared code)
1380 libm.so.1_pure_p3_c0_103312158_56_32 (private data)
44804 libgcc_s.so.1_pure_p3_c0_103312158_56_32 (shared code)
2160 libgcc_s.so.1_pure_p3_c0_103312158_56_32 (private data)
977848 libc.so.1_pure_p3_c0_103312158_56_32 (shared code)
30752 libc.so.1_pure_p3_c0_103312158_56_32 (private data)
2292 libdl.so.1_pure_p3_c0_103312158_56_32 (shared code)
76 libdl.so.1_pure_p3_c0_103312158_56_32 (private data)
15416 libinternal_stubs.so.1 (shared code)
1044 libinternal_stubs.so.1 (private data)
16380 libmp.so.2_pure_p3_c0_103312158_56_32 (shared code)
868 libmp.so.2_pure_p3_c0_103312158_56_32 (private data)
587740 libXt.so.4_pure_p3_c0_103312158_56_32 (shared code)
24956 libXt.so.4_pure_p3_c0_103312158_56_32 (private data)
670812 libtt.so.2_pure_p3_c0_103312158_56_32 (shared code)
48464 libtt.so.2_pure_p3_c0_103312158_56_32 (private data)
2596680 libXm.so.3_pure_p3_c0_103312158_56_32 (shared code)
75128 libXm.so.3_pure_p3_c0_103312158_56_32 (private data)
35892 libaio.so.1_pure_p3_c0_103312158_56_32 (shared code)
2072 libaio.so.1_pure_p3_c0_103312158_56_32 (private data)
13948 libc_psr.so.1_pure_p3_c0_103312158_56_32 (shared code)
76 libc_psr.so.1_pure_p3_c0_103312158_56_32 (private data)
8<------------------------------------------------------------------------>8
**** Purify instrumented xlock/xlock (pid 4834 at Wed Aug 9 17:07:56 2000)
* Purify 5.1 Solaris 2 (32-bit), Copyright (C) 1992-2000 Rational Software Corp. All rights reserved.
* For contact information type: "purify -help"
* For TTY output, use the option "-windows=no"
* Command-line: xlock/xlock -sequential -verbose -modelist all
* Options settings: -chain-length=25 -windows=yes -g++=yes -purify \
-purify-home=/opt/pure/purify-5.1-solaris2 -threads=yes \
-use-internal-locks=yes -thread_stack_change=0x4000 -mt_safe_malloc=yes
* Command-line: xlock/xlock -sequential -verbose -modelist all
**** Purify instrumented xlock/xlock (pid 4834) ****
Current file descriptors in use: 8
FIU: file descriptor 0: <stdin>
FIU: file descriptor 1: <stdout>
FIU: file descriptor 2: <stderr>
FIU: file descriptor 3: "/tmp/.X11-pipe/X0", O_RDWR
* File info: prw-rw-rw- 1 root root 0 Jun 16 16:09
* This file descriptor was allocated from:
_open [libc.so.1]
open [libc.so.1]
_X11TransSocketPIPEConnect [x11trans.c]
_X11TransConnect [x11trans.c]
_X11TransConnectDisplay [ConnDis.c]
XOpenDisplay [OpenDis.c]
openDisplay [resource.c:1429]
getResources [resource.c:1792]
main [xlock.c:2918]
_start [crt1.o]
FIU: file descriptor 4: "/etc/.name_service_door", O_RDONLY
* File info: ?r--r--r-- 1 root root 0 Jun 11 1999
* This file descriptor was allocated from:
_open64 [libc.so.1]
_nsc_trydoorcall [libc.so.1]
getpwuid_r [libc.so.1]
fullLock [logout.c:491]
getResources [resource.c:1990]
main [xlock.c:2918]
_start [crt1.o]
FIU: file descriptor 5: "/usr/local/xlock.staff", O_RDONLY
* File info: -rw-r--r-- 1 root other 20 Oct 13 1998
* File position: 20
* This file descriptor was allocated from:
_open [libc.so.1]
_endopen [libc.so.1]
fopen [libc.so.1]
my_fopen [iostuff.c:59]
fullLock [logout.c:500]
getResources [resource.c:1990]
main [xlock.c:2918]
_start [crt1.o]
FIU: file descriptor 26: <reserved for Purify internal use>
FIU: file descriptor 27: <reserved for Purify internal use>
**** Purify instrumented xlock/xlock (pid 4834) ****
Purify: Searching for all memory leaks...
Memory leaked: 3241 bytes (0.0319%); potentially leaked: 0 bytes (0%)
MLK: 1024 bytes leaked at 0x6b3120
* This memory was allocated from:
malloc [rtlib.o]
_nss_compat_XY_all [nss_compat.so.1]
nss_search [libc.so.1]
getspnam_r [libc.so.1]
getCryptedRootPasswd [passwd.c:923]
initPasswd [passwd.c:1947]
main [xlock.c:2933]
_start [crt1.o]
MLK: 1024 bytes leaked at 0x6b4040
* This memory was allocated from:
malloc [rtlib.o]
_nss_compat_XY_all [nss_compat.so.1]
nss_search [libc.so.1]
getspnam_r [libc.so.1]
my_passwd_entry [passwd.c:407]
getCryptedUserPasswd [passwd.c:766]
initPasswd [passwd.c:1939]
main [xlock.c:2933]
_start [crt1.o]
MLK: 1024 bytes leaked at 0x6ddd90
* This memory was allocated from:
malloc [rtlib.o]
_nss_compat_XY_all [nss_compat.so.1]
nss_search [libc.so.1]
getspnam_r [libc.so.1]
my_passwd_entry [passwd.c:407]
getUserName [passwd.c:531]
initPasswd [passwd.c:1924]
main [xlock.c:2933]
_start [crt1.o]
MLK: 32 bytes leaked in 2 blocks
* This memory was allocated from:
malloc [rtlib.o]
PutEntry [Xrm.c]
XrmQPutStringResource [Xrm.c]
XrmParseCommand [ParseCmd.c]
getResources [resource.c:1860]
main [xlock.c:2918]
_start [crt1.o]
* Block of 16 bytes (2 times); last block at 0x6c5fb8
MLK: 26 bytes leaked at 0x7054b0
* This memory was allocated from:
malloc [rtlib.o]
GetResource [resource.c:1201]
getResources [resource.c:1946]
main [xlock.c:2918]
_start [crt1.o]
MLK: 24 bytes leaked at 0x6c61c0
* This memory was allocated from:
malloc [rtlib.o]
PutEntry [Xrm.c]
XrmQPutStringResource [Xrm.c]
XrmParseCommand [ParseCmd.c]
getResources [resource.c:1860]
main [xlock.c:2918]
_start [crt1.o]
MLK: 20 bytes leaked at 0x6bfe50
* This memory was allocated from:
malloc [rtlib.o]
create_conv [lcDefConv.c]
_XlcOpenConverter [lcConv.c]
_XrmDefaultInitParseInfo [lcRM.c]
NewDatabase [Xrm.c]
XrmQPutStringResource [Xrm.c]
XrmParseCommand [ParseCmd.c]
getResources [resource.c:1860]
main [xlock.c:2918]
_start [crt1.o]
MLK: 16 bytes leaked at 0x6bff08
* This memory was allocated from:
malloc [rtlib.o]
PutEntry [Xrm.c]
XrmQPutStringResource [Xrm.c]
XrmParseCommand [ParseCmd.c]
getResources [resource.c:1860]
main [xlock.c:2918]
_start [crt1.o]
MLK: 16 bytes leaked at 0x6bffc8
* This memory was allocated from:
malloc [rtlib.o]
NewDatabase [Xrm.c]
XrmQPutStringResource [Xrm.c]
XrmParseCommand [ParseCmd.c]
getResources [resource.c:1860]
main [xlock.c:2918]
_start [crt1.o]
MLK: 15 bytes leaked at 0x6c6110
* This memory was allocated from:
malloc [rtlib.o]
PutEntry [Xrm.c]
XrmQPutStringResource [Xrm.c]
XrmParseCommand [ParseCmd.c]
getResources [resource.c:1860]
main [xlock.c:2918]
_start [crt1.o]
MLK: 8 bytes leaked at 0x6c3170
* This memory was allocated from:
malloc [rtlib.o]
create_conv [lcDefConv.c]
_XlcOpenConverter [lcConv.c]
_XrmDefaultInitParseInfo [lcRM.c]
NewDatabase [Xrm.c]
XrmQPutStringResource [Xrm.c]
XrmParseCommand [ParseCmd.c]
getResources [resource.c:1860]
main [xlock.c:2918]
_start [crt1.o]
MLK: 8 bytes leaked at 0x6e2cb0
* This memory was allocated from:
malloc [rtlib.o]
_XrmDefaultInitParseInfo [lcRM.c]
NewDatabase [Xrm.c]
XrmQPutStringResource [Xrm.c]
XrmParseCommand [ParseCmd.c]
getResources [resource.c:1860]
main [xlock.c:2918]
_start [crt1.o]
MLK: 4 bytes leaked at 0x6c6068
* This memory was allocated from:
malloc [rtlib.o]
PutEntry [Xrm.c]
XrmQPutStringResource [Xrm.c]
XrmParseCommand [ParseCmd.c]
getResources [resource.c:1860]
main [xlock.c:2918]
_start [crt1.o]
Purify Heap Analysis (combining suppressed and unsuppressed blocks)
Blocks Bytes
Leaked 23 3241
Potentially Leaked 1 8200
In-Use 6212 10140895
----------------------------------------
Total Allocated 6236 10152336
**** Purify instrumented xlock/xlock (pid 4834) ****
Thread Summary : 1 threads in existence
* Thread 0 [main thread]
Stack: (0xefffe048 0xf0000000), size = 0x1fb8
**** Purify instrumented xlock/xlock (pid 4834) ****
* Program exited with status code 0.
* 1 access error, 654 total occurrences.
* 3241 bytes leaked.
* 0 bytes potentially leaked.
* Basic memory usage (including Purify overhead):
6205148 code
672992 data/bss
22593540 heap (peak use)
6856 stack
* Shared library memory usage (including Purify overhead):
1456 libpure_solaris2_init.so.1 (shared code)
252 libpure_solaris2_init.so.1 (private data)
51619 libSM.so.6_pure_p3_c0_510_56_32 (shared code)
3584 libSM.so.6_pure_p3_c0_510_56_32 (private data)
114154 libICE.so.6_pure_p3_c0_510_56_32 (shared code)
12152 libICE.so.6_pure_p3_c0_510_56_32 (private data)
41726 libsocket.so.1_pure_p3_c0_510_56_32 (shared code)
3316 libsocket.so.1_pure_p3_c0_510_56_32 (private data)
736310 libnsl.so.1_pure_p3_c0_510_56_32 (shared code)
114968 libnsl.so.1_pure_p3_c0_510_56_32 (private data)
560976 libDtSvc.so.1_pure_p3_c0_510_56_32 (shared code)
22520 libDtSvc.so.1_pure_p3_c0_510_56_32 (private data)
2048 solaris2_threads.so_pure_p3_c0_510_56_32 (shared code)
8544 solaris2_threads.so_pure_p3_c0_510_56_32 (private data)
25835 libposix4.so.1_pure_p3_c0_510_56_32 (shared code)
1820 libposix4.so.1_pure_p3_c0_510_56_32 (private data)
844434 libX11.so.4_pure_p3_c0_510_56_32 (shared code)
59356 libX11.so.4_pure_p3_c0_510_56_32 (private data)
135413 libXext.so.0_pure_p3_c0_510_56_32 (shared code)
2564 libXext.so.0_pure_p3_c0_510_56_32 (private data)
140125 libm.so.1_pure_p3_c0_510_56_32 (shared code)
1332 libm.so.1_pure_p3_c0_510_56_32 (private data)
964709 libc.so.1_pure_p3_c0_510_56_32 (shared code)
31024 libc.so.1_pure_p3_c0_510_56_32 (private data)
2040 libdl.so.1_pure_p3_c0_510_56_32 (shared code)
4 libdl.so.1_pure_p3_c0_510_56_32 (private data)
13528 libinternal_stubs.so.1 (shared code)
916 libinternal_stubs.so.1 (private data)
16264 libmp.so.2_pure_p3_c0_510_56_32 (shared code)
836 libmp.so.2_pure_p3_c0_510_56_32 (private data)
658534 libtt.so.2_pure_p3_c0_510_56_32 (shared code)
47160 libtt.so.2_pure_p3_c0_510_56_32 (private data)
2594362 libXm.so.3_pure_p3_c0_510_56_32 (shared code)
182028 libXm.so.3_pure_p3_c0_510_56_32 (private data)
587610 libXt.so.4_pure_p3_c0_510_56_32 (shared code)
24908 libXt.so.4_pure_p3_c0_510_56_32 (private data)
35802 libaio.so.1_pure_p3_c0_510_56_32 (shared code)
6404 libaio.so.1_pure_p3_c0_510_56_32 (private data)
|