Subject: FvwmIconMan purify log

From: "Paul D. Smith" <[email-masked]>
Date: Sat, 14 Nov 1998 00:11:33 -0500 (EST)

A few leaks.  Note that in another debugging session I got a number of
errors reading memory after it'd already been freed!  Unfortunately I
lost the log and couldn't reproduce (although I didn't try too hard).
Not good, though.

****  Purify instrumented /usr/local/pure/libexec/fvwm/2.1.2/FvwmIconMan (pid 14830 at Fri Nov 13 18:10:41 1998)
  * Purify 4.1-proto-S14 970822 SunOS 4.1, Copyright (C) 1992-1997 Pure Atria Corp. All rights reserved. 
  * For contact information type: "purify -help"
  * For TTY output, use the option "-windows=no"
  * Command-line: /usr/local/pure/libexec/fvwm/2.1.2/FvwmIconMan 15 4 \
    /home/psmith/.FvwmAnimate 0 8 
  * Options settings: -chain-length=25 -auto-mount-prefix=/tmp_mnt -purify \
    -purify-home=/app/pure/purify-4.1-proto-S14-sunos4 
PureLA: 35 simple licenses, 40 users.  Please remedy.
  * Purify licensed to BAY NETWORKS
  * Purify checking enabled.

****  Purify instrumented /usr/local/pure/libexec/fvwm/2.1.2/FvwmIconMan (pid 14830)  ****
UMR: Uninitialized memory read:
  * This is occurring while in:
	XSetWMHints    [libX11.so.4.30]
	XSetWMProperties [libX11.so.4.30]
	set_window_properties [x.c:415]
	create_manager_window [x.c:809]
	ProcessMessage [fvwm.c:508]
	ReadFvwmPipe   [fvwm.c:565]
	main_loop      [FvwmIconMan.c:150]
	main           [FvwmIconMan.c:233]
	start          [crt0.o]
  * Reading 4 bytes from 0xeffff31c on the stack.

****  Purify instrumented /usr/local/pure/libexec/fvwm/2.1.2/FvwmIconMan (pid 14830)  ****
Current file descriptors in use: 9
FIU: file descriptor 0: <stdin>
FIU: file descriptor 1: <stdout>
FIU: file descriptor 2: <stderr>
FIU: file descriptor 3: "/dev/console", O_WRONLY | O_CREAT | O_TRUNC
   * File info: crw--w----  1 psmith   tty              0 Nov 13 18:11
   * File position: 37554
   * This file descriptor was allocated from:
	open           [rtlib.o]
	_endopen       [libc.so.1.9]
	fopen          [libc.so.1.9]
	OpenConsole    [debug.c:14]
	main           [FvwmIconMan.c:182]
	start          [crt0.o]
FIU: file descriptor 4: <inherited from parent>
FIU: file descriptor 5: <unnamed socket>, O_RDWR
   * This file descriptor was allocated from:
	socket         [rtlib.o]
	_X11TransSocketOpen [libX11.so.4.30]
	_X11TransSocketOpenCOTSClient [libX11.so.4.30]
	_X11TransOpen  [libX11.so.4.30]
	_X11TransOpenCOTSClient [libX11.so.4.30]
	_X11TransConnectDisplay [libX11.so.4.30]
	XOpenDisplay   [libX11.so.4.30]
	init_display   [x.c:828]
	main           [FvwmIconMan.c:208]
	start          [crt0.o]
FIU: file descriptor 15: <inherited from parent>
FIU: file descriptor 26: <reserved for Purify internal use>
FIU: file descriptor 27: <reserved for Purify internal use>

****  Purify instrumented /usr/local/pure/libexec/fvwm/2.1.2/FvwmIconMan (pid 14830)  ****
Purify: Searching for all memory leaks...

Memory leaked: 144 bytes (1.01%); potentially leaked: 0 bytes (0%)

MLK: 104 bytes leaked at 0x71f78
  * This memory was allocated from:
	malloc         [rtlib.o]
	safemalloc     [safemalloc.c:18]
	new_windata    [winlist.c:173]
	new_window     [fvwm.c:347]
	ProcessMessage [fvwm.c:464]
	ReadFvwmPipe   [fvwm.c:565]
	main_loop      [FvwmIconMan.c:150]
	main           [FvwmIconMan.c:233]
	start          [crt0.o]

MLK: 27 bytes leaked at 0x6a300
  * This memory was allocated from:
	malloc         [rtlib.o]
	safemalloc     [safemalloc.c:18]
	copy_string    [FvwmIconMan.c:35]
	set_win_displaystring [xmanager.c:665]
	change_windows_manager [xmanager.c:1102]
	res_name       [fvwm.c:264]
	ProcessMessage [fvwm.c:450]
	ReadFvwmPipe   [fvwm.c:565]
	main_loop      [FvwmIconMan.c:150]
	main           [FvwmIconMan.c:233]
	start          [crt0.o]

MLK: 13 bytes leaked at 0x764d0
  * This memory was allocated from:
	malloc         [rtlib.o]
	safemalloc     [safemalloc.c:18]
	copy_string    [FvwmIconMan.c:35]
	window_name    [fvwm.c:333]
	ProcessMessage [fvwm.c:481]
	ReadFvwmPipe   [fvwm.c:565]
	main_loop      [FvwmIconMan.c:150]
	main           [FvwmIconMan.c:233]
	start          [crt0.o]

Purify Heap Analysis (combining suppressed and unsuppressed blocks)
                         Blocks      Bytes
              Leaked          4        156
  Potentially Leaked          0          0
              In-Use        112      14037
  ----------------------------------------
     Total Allocated        116      14193

****  Purify instrumented /usr/local/pure/libexec/fvwm/2.1.2/FvwmIconMan (pid 14830)  ****
  * Program exited with status code 0.
  * 1 access error, 1 total occurrence.
  * 144 bytes leaked.
  * 0 bytes potentially leaked.
  * Basic memory usage (including Purify overhead):
      338312 code
       70776 data/bss
       65544 heap (peak use)
        2960 stack
  * Shared library memory usage (including Purify overhead):
       98304 libXpm_pure_p3_c0_108220257_413_U1V.so.4.10 (shared code)
        8192 libXpm_pure_p3_c0_108220257_413_U1V.so.4.10 (private data)
       49152 libSM_pure_p3_c0_108220257_413_U1V.so.6.0 (shared code)
        8192 libSM_pure_p3_c0_108220257_413_U1V.so.6.0 (private data)
       98304 libICE_pure_p3_c0_108220257_413_U1V.so.6.3 (shared code)
        8192 libICE_pure_p3_c0_108220257_413_U1V.so.6.3 (private data)
       73728 libXext_pure_p3_c0_108220257_413_U1V.so.4.40 (shared code)
        8192 libXext_pure_p3_c0_108220257_413_U1V.so.4.40 (private data)
     1114112 libX11_pure_p3_c0_108220257_413_U1V.so.4.30 (shared code)
       74040 libX11_pure_p3_c0_108220257_413_U1V.so.4.30 (private data)
      688128 libc_pure_p3_c0_108220257_413_U1V.so.1.9 (shared code)
       16384 libc_pure_p3_c0_108220257_413_U1V.so.1.9 (private data)
        8192 libdl.so.1.0 (shared code)
        8192 libdl.so.1.0 (private data)
        8192 libinternal_stubs.so.1.0 (shared code)
        8192 libinternal_stubs.so.1.0 (private data)

--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [email-masked].
To report problems, send mail to [email-masked].