Newsgroups: comp.parallel.pvm
From: ladanyi@cs.cornell.edu (La'szlo' Lada'nyi)
Subject: HELP! Memory problem with pvm3.3.4
Organization: Cornell University Computer Science Department
Date: Fri, 4 Nov 1994 19:45:53 GMT
Message-ID: <1994Nov4.194553.11058@cs.cornell.edu>


While coding a parallel vrp program we found that there is some problem
in the pvm_recv routine. We used purify to figure out what is wrong with 
our code (mysterious segmentation faults, hanging, etc.) and the 
result is below (soory, it's a bit long).
It appears that pvm_recv tries to write into a buffer that has been 
alloacated and freed by pvm_recv itself. Also it tries to read from
an already freed block.

Is there anyone with deeper knowledge about pvm who can fix these
problems?

Thanks in advance,
    Laci Ladanyi
    ladanyi@cs.cornell.edu


==========================================================================

Purify'd pure_vrp3  (pid 20990 at Fri Nov  4 12:46:14 1994) 
Purify 2.1.1 SunOS 4.1, Copyright 1992, 1993 Pure Software Inc.
For contact information type: "purify -help"
Purify licensed to Cornell University

****  Start Batch Report  ****

****  Purify'd pure_vrp3  (pid 20990)  ****
Purify (fmw): free memory write:
  * This is occurring while in:
	bcopy        [p9.o, pc=0xd5f0]
	byteupk      [line 196, ../lpvmpack.c, pc=0x4c004]
	dec_foo_byte [line 1511, ../lpvmpack.c, pc=0x506e0]
	pvm_upkbyte  [line 2146, ../lpvmpack.c, pc=0x53440]
	pvmclaimo    [line 225, ../lpvmcat.c, pc=0x40580]
	pvmmctl      [line 1158, ../lpvm.c, pc=0x6013c]
	mxfer        [line 1502, ../lpvm.c, pc=0x623b4]
	mroute       [line 745, ../lpvm.c, pc=0x5eca8]
	pvm_recv     [line 1189, ../lpvmgen.c, pc=0x46ab4]
	branch_and_cut [line 66, branch_and_cut.c, pc=0x32ec4]
  * Writing 97 bytes to 0xb72a5 in the heap.
  * This is 3725 bytes into a freed  block at 0xb6418 of 4104 bytes.
  * This block was allocated from:
	malloc       [p6.o, pc=0x485c]
	da_new       [line 69, ../pvmdabuf.c, pc=0x69d58]
	fr_new       [line 84, ../pvmfrag.c, pc=0x5b434]
	mxinput      [line 1225, ../lpvm.c, pc=0x60394]
	mxfer        [line 1486, ../lpvm.c, pc=0x62234]
	mroute       [line 745, ../lpvm.c, pc=0x5eca8]
	pvm_recv     [line 1189, ../lpvmgen.c, pc=0x46ab4]
	branch_and_cut [line 66, branch_and_cut.c, pc=0x32ec4]
	main         [line 49, vrp.c, pc=0x1bba4]
	start        [crt0.o, pc=0x2064]
  * There have been 7 calls to free since this block was freed from:
	free         [p6.o, pc=0x4a68]
	da_unref     [line 90, ../pvmdabuf.c, pc=0x69e84]
	fr_unref     [line 156, ../pvmfrag.c, pc=0x5b8d4]
	fr_unref     [line 164, ../pvmfrag.c, pc=0x5ba64]
	umbuf_free   [line 193, ../pvmumbuf.c, pc=0x5c3e0]
	pvm_nrecv    [line 953, ../lpvmgen.c, pc=0x453ac]
	process_messages [line 399, branch_and_cut.c, pc=0x35d74]
	branch_and_cut [line 67, branch_and_cut.c, pc=0x32f20]
	main         [line 49, vrp.c, pc=0x1bba4]
	start        [crt0.o, pc=0x2064]

****  Purify'd pure_vrp3  (pid 20990)  ****
Purify (fmw): free memory write:
  * This is occurring while in:
	pvmclaimo    [line 226, ../lpvmcat.c, pc=0x405c8]
	pvmmctl      [line 1158, ../lpvm.c, pc=0x6013c]
	mxfer        [line 1502, ../lpvm.c, pc=0x623b4]
	mroute       [line 745, ../lpvm.c, pc=0x5eca8]
	pvm_recv     [line 1189, ../lpvmgen.c, pc=0x46ab4]
	branch_and_cut [line 66, branch_and_cut.c, pc=0x32ec4]
	main         [line 49, vrp.c, pc=0x1bba4]
	start        [crt0.o, pc=0x2064]
  * Writing 1 byte to 0xb7306 in the heap.
  * This is 3822 bytes into a freed  block at 0xb6418 of 4104 bytes.
  * This block was allocated from:
	malloc       [p6.o, pc=0x485c]
	da_new       [line 69, ../pvmdabuf.c, pc=0x69d58]
	fr_new       [line 84, ../pvmfrag.c, pc=0x5b434]
	mxinput      [line 1225, ../lpvm.c, pc=0x60394]
	mxfer        [line 1486, ../lpvm.c, pc=0x62234]
	mroute       [line 745, ../lpvm.c, pc=0x5eca8]
	pvm_recv     [line 1189, ../lpvmgen.c, pc=0x46ab4]
	branch_and_cut [line 66, branch_and_cut.c, pc=0x32ec4]
	main         [line 49, vrp.c, pc=0x1bba4]
	start        [crt0.o, pc=0x2064]
  * There have been 7 calls to free since this block was freed from:
	free         [p6.o, pc=0x4a68]
	da_unref     [line 90, ../pvmdabuf.c, pc=0x69e84]
	fr_unref     [line 156, ../pvmfrag.c, pc=0x5b8d4]
	fr_unref     [line 164, ../pvmfrag.c, pc=0x5ba64]
	umbuf_free   [line 193, ../pvmumbuf.c, pc=0x5c3e0]
	pvm_nrecv    [line 953, ../lpvmgen.c, pc=0x453ac]
	process_messages [line 399, branch_and_cut.c, pc=0x35d74]
	branch_and_cut [line 67, branch_and_cut.c, pc=0x32f20]
	main         [line 49, vrp.c, pc=0x1bba4]
	start        [crt0.o, pc=0x2064]

****  Purify'd pure_vrp3  (pid 20990)  ****
Purify (fmr): free memory read:
  * This is occurring while in:
	index        [p9.o, pc=0xd4a4]
	pvmclaimo    [line 232, ../lpvmcat.c, pc=0x40668]
	pvmmctl      [line 1158, ../lpvm.c, pc=0x6013c]
	mxfer        [line 1502, ../lpvm.c, pc=0x623b4]
	mroute       [line 745, ../lpvm.c, pc=0x5eca8]
	pvm_recv     [line 1189, ../lpvmgen.c, pc=0x46ab4]
	branch_and_cut [line 66, branch_and_cut.c, pc=0x32ec4]
	main         [line 49, vrp.c, pc=0x1bba4]
	start        [crt0.o, pc=0x2064]
  * Reading 9 bytes from 0xb72a5 in the heap.
  * This is 3725 bytes into a freed  block at 0xb6418 of 4104 bytes.
  * This block was allocated from:
	malloc       [p6.o, pc=0x485c]
	da_new       [line 69, ../pvmdabuf.c, pc=0x69d58]
	fr_new       [line 84, ../pvmfrag.c, pc=0x5b434]
	mxinput      [line 1225, ../lpvm.c, pc=0x60394]
	mxfer        [line 1486, ../lpvm.c, pc=0x62234]
	mroute       [line 745, ../lpvm.c, pc=0x5eca8]
	pvm_recv     [line 1189, ../lpvmgen.c, pc=0x46ab4]
	branch_and_cut [line 66, branch_and_cut.c, pc=0x32ec4]
	main         [line 49, vrp.c, pc=0x1bba4]
	start        [crt0.o, pc=0x2064]
  * There have been 7 calls to free since this block was freed from:
	free         [p6.o, pc=0x4a68]
	da_unref     [line 90, ../pvmdabuf.c, pc=0x69e84]
	fr_unref     [line 156, ../pvmfrag.c, pc=0x5b8d4]
	fr_unref     [line 164, ../pvmfrag.c, pc=0x5ba64]
	umbuf_free   [line 193, ../pvmumbuf.c, pc=0x5c3e0]
	pvm_nrecv    [line 953, ../lpvmgen.c, pc=0x453ac]
	process_messages [line 399, branch_and_cut.c, pc=0x35d74]
	branch_and_cut [line 67, branch_and_cut.c, pc=0x32f20]
	main         [line 49, vrp.c, pc=0x1bba4]
	start        [crt0.o, pc=0x2064]

****  Purify'd pure_vrp3  (pid 20990)  ****
Purify (fmw): free memory write:
  * This is occurring while in:
	pvmclaimo    [line 233, ../lpvmcat.c, pc=0x4068c]
	pvmmctl      [line 1158, ../lpvm.c, pc=0x6013c]
	mxfer        [line 1502, ../lpvm.c, pc=0x623b4]
	mroute       [line 745, ../lpvm.c, pc=0x5eca8]
	pvm_recv     [line 1189, ../lpvmgen.c, pc=0x46ab4]
	branch_and_cut [line 66, branch_and_cut.c, pc=0x32ec4]
	main         [line 49, vrp.c, pc=0x1bba4]
	start        [crt0.o, pc=0x2064]
  * Writing 1 byte to 0xb72ad in the heap.
  * This is 3733 bytes into a freed  block at 0xb6418 of 4104 bytes.
  * This block was allocated from:
	malloc       [p6.o, pc=0x485c]
	da_new       [line 69, ../pvmdabuf.c, pc=0x69d58]
	fr_new       [line 84, ../pvmfrag.c, pc=0x5b434]
	mxinput      [line 1225, ../lpvm.c, pc=0x60394]
	mxfer        [line 1486, ../lpvm.c, pc=0x62234]
	mroute       [line 745, ../lpvm.c, pc=0x5eca8]
	pvm_recv     [line 1189, ../lpvmgen.c, pc=0x46ab4]
	branch_and_cut [line 66, branch_and_cut.c, pc=0x32ec4]
	main         [line 49, vrp.c, pc=0x1bba4]
	start        [crt0.o, pc=0x2064]
  * There have been 7 calls to free since this block was freed from:
	free         [p6.o, pc=0x4a68]
	da_unref     [line 90, ../pvmdabuf.c, pc=0x69e84]
	fr_unref     [line 156, ../pvmfrag.c, pc=0x5b8d4]
	fr_unref     [line 164, ../pvmfrag.c, pc=0x5ba64]
	umbuf_free   [line 193, ../pvmumbuf.c, pc=0x5c3e0]
	pvm_nrecv    [line 953, ../lpvmgen.c, pc=0x453ac]
	process_messages [line 399, branch_and_cut.c, pc=0x35d74]
	branch_and_cut [line 67, branch_and_cut.c, pc=0x32f20]
	main         [line 49, vrp.c, pc=0x1bba4]
	start        [crt0.o, pc=0x2064]

****  Purify'd pure_vrp3  (pid 20990)  ****
Purify (fmr): free memory read:
  * This is occurring while in:
	bcopy        [p9.o, pc=0xd5f0]
	pvmclaimo    [line 237, ../lpvmcat.c, pc=0x407b8]
	pvmmctl      [line 1158, ../lpvm.c, pc=0x6013c]
	mxfer        [line 1502, ../lpvm.c, pc=0x623b4]
	mroute       [line 745, ../lpvm.c, pc=0x5eca8]
	pvm_recv     [line 1189, ../lpvmgen.c, pc=0x46ab4]
	branch_and_cut [line 66, branch_and_cut.c, pc=0x32ec4]
	main         [line 49, vrp.c, pc=0x1bba4]
	start        [crt0.o, pc=0x2064]
  * Reading 88 bytes from 0xb72ae in the heap.
  * This is 3734 bytes into a freed  block at 0xb6418 of 4104 bytes.
  * This block was allocated from:
	malloc       [p6.o, pc=0x485c]
	da_new       [line 69, ../pvmdabuf.c, pc=0x69d58]
	fr_new       [line 84, ../pvmfrag.c, pc=0x5b434]
	mxinput      [line 1225, ../lpvm.c, pc=0x60394]
	mxfer        [line 1486, ../lpvm.c, pc=0x62234]
	mroute       [line 745, ../lpvm.c, pc=0x5eca8]
	pvm_recv     [line 1189, ../lpvmgen.c, pc=0x46ab4]
	branch_and_cut [line 66, branch_and_cut.c, pc=0x32ec4]
	main         [line 49, vrp.c, pc=0x1bba4]
	start        [crt0.o, pc=0x2064]
  * There have been 7 calls to free since this block was freed from:
	free         [p6.o, pc=0x4a68]
	da_unref     [line 90, ../pvmdabuf.c, pc=0x69e84]
	fr_unref     [line 156, ../pvmfrag.c, pc=0x5b8d4]
	fr_unref     [line 164, ../pvmfrag.c, pc=0x5ba64]
	umbuf_free   [line 193, ../pvmumbuf.c, pc=0x5c3e0]
	pvm_nrecv    [line 953, ../lpvmgen.c, pc=0x453ac]
	process_messages [line 399, branch_and_cut.c, pc=0x35d74]
	branch_and_cut [line 67, branch_and_cut.c, pc=0x32f20]
	main         [line 49, vrp.c, pc=0x1bba4]
	start        [crt0.o, pc=0x2064]

****  Purify'd pure_vrp3  (pid 20990)  ****
Purify (fmw): free memory write:
  * This is occurring while in:
	bcopy        [p9.o, pc=0xd5f0]
	byteupk      [line 196, ../lpvmpack.c, pc=0x4c004]
	dec_foo_byte [line 1511, ../lpvmpack.c, pc=0x506e0]
	pvm_upkbyte  [line 2146, ../lpvmpack.c, pc=0x53440]
	pvmclaimo    [line 225, ../lpvmcat.c, pc=0x40580]
	pvmmctl      [line 1158, ../lpvm.c, pc=0x6013c]
	mxfer        [line 1502, ../lpvm.c, pc=0x623b4]
	mroute       [line 745, ../lpvm.c, pc=0x5eca8]
	msendrecv    [line 1719, ../lpvm.c, pc=0x63764]
	pvm_spawn    [line 1509, ../lpvmgen.c, pc=0x48620]
  * Writing 532 bytes to 0xb997c in the heap (36 bytes at 0xb997c illegal).
  * This is 81 bytes past end of a freed block at 0xb9908 of 36 bytes.
  * This block was allocated from:
	malloc       [p6.o, pc=0x485c]
	fr_new       [line 79, ../pvmfrag.c, pc=0x5b3c4]
	umbuf_new    [line 159, ../pvmumbuf.c, pc=0x5c098]
	mxinput      [line 1307, ../lpvm.c, pc=0x60c74]
	mxfer        [line 1486, ../lpvm.c, pc=0x62234]
	mroute       [line 745, ../lpvm.c, pc=0x5eca8]
	msendrecv    [line 1712, ../lpvm.c, pc=0x63680]
	pvm_spawn    [line 1509, ../lpvmgen.c, pc=0x48620]
	start_node   [line 132, branch_and_cut.c, pc=0x33548]
	branch_and_cut [line 61, branch_and_cut.c, pc=0x32e40]
  * There have been 18 frees since this block was freed from:
	free         [p6.o, pc=0x4a68]
	fr_unref     [line 167, ../pvmfrag.c, pc=0x5baa8]
	umbuf_free   [line 193, ../pvmumbuf.c, pc=0x5c3e0]
	pvmmctl      [line 1196, ../lpvm.c, pc=0x60300]
	mxfer        [line 1502, ../lpvm.c, pc=0x623b4]
	mroute       [line 745, ../lpvm.c, pc=0x5eca8]
	msendrecv    [line 1712, ../lpvm.c, pc=0x63680]
	pvm_spawn    [line 1509, ../lpvmgen.c, pc=0x48620]
	start_node   [line 132, branch_and_cut.c, pc=0x33548]
	branch_and_cut [line 61, branch_and_cut.c, pc=0x32e40]

****  Purify'd pure_vrp3  (pid 20990)  ****
Purify (fmr): free memory read:
  * This is occurring while in:
	index        [p9.o, pc=0xd4a4]
	pvmclaimo    [line 232, ../lpvmcat.c, pc=0x40668]
	pvmmctl      [line 1158, ../lpvm.c, pc=0x6013c]
	mxfer        [line 1502, ../lpvm.c, pc=0x623b4]
	mroute       [line 745, ../lpvm.c, pc=0x5eca8]
	msendrecv    [line 1719, ../lpvm.c, pc=0x63764]
	pvm_spawn    [line 1509, ../lpvmgen.c, pc=0x48620]
	start_node   [line 134, branch_and_cut.c, pc=0x335cc]
	branch_and_cut [line 61, branch_and_cut.c, pc=0x32e40]
	main         [line 49, vrp.c, pc=0x1bba4]
  * Reading 7 bytes from 0xb997c in the heap.
  * This is 81 bytes past end of a freed block at 0xb9908 of 36 bytes.
  * This block was allocated from:
	malloc       [p6.o, pc=0x485c]
	fr_new       [line 79, ../pvmfrag.c, pc=0x5b3c4]
	umbuf_new    [line 159, ../pvmumbuf.c, pc=0x5c098]
	mxinput      [line 1307, ../lpvm.c, pc=0x60c74]
	mxfer        [line 1486, ../lpvm.c, pc=0x62234]
	mroute       [line 745, ../lpvm.c, pc=0x5eca8]
	msendrecv    [line 1712, ../lpvm.c, pc=0x63680]
	pvm_spawn    [line 1509, ../lpvmgen.c, pc=0x48620]
	start_node   [line 132, branch_and_cut.c, pc=0x33548]
	branch_and_cut [line 61, branch_and_cut.c, pc=0x32e40]
  * There have been 18 frees since this block was freed from:
	free         [p6.o, pc=0x4a68]
	fr_unref     [line 167, ../pvmfrag.c, pc=0x5baa8]
	umbuf_free   [line 193, ../pvmumbuf.c, pc=0x5c3e0]
	pvmmctl      [line 1196, ../lpvm.c, pc=0x60300]
	mxfer        [line 1502, ../lpvm.c, pc=0x623b4]
	mroute       [line 745, ../lpvm.c, pc=0x5eca8]
	msendrecv    [line 1712, ../lpvm.c, pc=0x63680]
	pvm_spawn    [line 1509, ../lpvmgen.c, pc=0x48620]
	start_node   [line 132, branch_and_cut.c, pc=0x33548]
	branch_and_cut [line 61, branch_and_cut.c, pc=0x32e40]

****  Purify'd pure_vrp3  (pid 20990)  ****
Purify (fmw): free memory write:
  * This is occurring while in:
	pvmclaimo    [line 233, ../lpvmcat.c, pc=0x4068c]
	pvmmctl      [line 1158, ../lpvm.c, pc=0x6013c]
	mxfer        [line 1502, ../lpvm.c, pc=0x623b4]
	mroute       [line 745, ../lpvm.c, pc=0x5eca8]
	msendrecv    [line 1719, ../lpvm.c, pc=0x63764]
	pvm_spawn    [line 1509, ../lpvmgen.c, pc=0x48620]
	start_node   [line 134, branch_and_cut.c, pc=0x335cc]
	branch_and_cut [line 61, branch_and_cut.c, pc=0x32e40]
	main         [line 49, vrp.c, pc=0x1bba4]
	start        [crt0.o, pc=0x2064]
  * Writing 1 byte to 0xb9982 in the heap.
  * This is 87 bytes past end of a freed block at 0xb9908 of 36 bytes.
  * This block was allocated from:
	malloc       [p6.o, pc=0x485c]
	fr_new       [line 79, ../pvmfrag.c, pc=0x5b3c4]
	umbuf_new    [line 159, ../pvmumbuf.c, pc=0x5c098]
	mxinput      [line 1307, ../lpvm.c, pc=0x60c74]
	mxfer        [line 1486, ../lpvm.c, pc=0x62234]
	mroute       [line 745, ../lpvm.c, pc=0x5eca8]
	msendrecv    [line 1712, ../lpvm.c, pc=0x63680]
	pvm_spawn    [line 1509, ../lpvmgen.c, pc=0x48620]
	start_node   [line 132, branch_and_cut.c, pc=0x33548]
	branch_and_cut [line 61, branch_and_cut.c, pc=0x32e40]
  * There have been 18 frees since this block was freed from:
	free         [p6.o, pc=0x4a68]
	fr_unref     [line 167, ../pvmfrag.c, pc=0x5baa8]
	umbuf_free   [line 193, ../pvmumbuf.c, pc=0x5c3e0]
	pvmmctl      [line 1196, ../lpvm.c, pc=0x60300]
	mxfer        [line 1502, ../lpvm.c, pc=0x623b4]
	mroute       [line 745, ../lpvm.c, pc=0x5eca8]
	msendrecv    [line 1712, ../lpvm.c, pc=0x63680]
	pvm_spawn    [line 1509, ../lpvmgen.c, pc=0x48620]
	start_node   [line 132, branch_and_cut.c, pc=0x33548]
	branch_and_cut [line 61, branch_and_cut.c, pc=0x32e40]

****  Purify'd pure_vrp3  (pid 20990)  ****
Purify (fmr): free memory read:
  * This is occurring while in:
	bcopy        [p9.o, pc=0xd5f0]
	pvmclaimo    [line 237, ../lpvmcat.c, pc=0x407b8]
	pvmmctl      [line 1158, ../lpvm.c, pc=0x6013c]
	mxfer        [line 1502, ../lpvm.c, pc=0x623b4]
	mroute       [line 745, ../lpvm.c, pc=0x5eca8]
	msendrecv    [line 1719, ../lpvm.c, pc=0x63764]
	pvm_spawn    [line 1509, ../lpvmgen.c, pc=0x48620]
	start_node   [line 134, branch_and_cut.c, pc=0x335cc]
	branch_and_cut [line 61, branch_and_cut.c, pc=0x32e40]
	main         [line 49, vrp.c, pc=0x1bba4]
  * Reading 525 bytes from 0xb9983 in the heap (29 bytes at 0xb9983 illegal).
  * This is 88 bytes past end of a freed block at 0xb9908 of 36 bytes.
  * This block was allocated from:
	malloc       [p6.o, pc=0x485c]
	fr_new       [line 79, ../pvmfrag.c, pc=0x5b3c4]
	umbuf_new    [line 159, ../pvmumbuf.c, pc=0x5c098]
	mxinput      [line 1307, ../lpvm.c, pc=0x60c74]
	mxfer        [line 1486, ../lpvm.c, pc=0x62234]
	mroute       [line 745, ../lpvm.c, pc=0x5eca8]
	msendrecv    [line 1712, ../lpvm.c, pc=0x63680]
	pvm_spawn    [line 1509, ../lpvmgen.c, pc=0x48620]
	start_node   [line 132, branch_and_cut.c, pc=0x33548]
	branch_and_cut [line 61, branch_and_cut.c, pc=0x32e40]
  * There have been 18 frees since this block was freed from:
	free         [p6.o, pc=0x4a68]
	fr_unref     [line 167, ../pvmfrag.c, pc=0x5baa8]
	umbuf_free   [line 193, ../pvmumbuf.c, pc=0x5c3e0]
	pvmmctl      [line 1196, ../lpvm.c, pc=0x60300]
	mxfer        [line 1502, ../lpvm.c, pc=0x623b4]
	mroute       [line 745, ../lpvm.c, pc=0x5eca8]
	msendrecv    [line 1712, ../lpvm.c, pc=0x63680]
	pvm_spawn    [line 1509, ../lpvmgen.c, pc=0x48620]
	start_node   [line 132, branch_and_cut.c, pc=0x33548]
	branch_and_cut [line 61, branch_and_cut.c, pc=0x32e40]

****  Purify'd pure_vrp3  (pid 20990)  ****
Purify (fum): free unallocated memory::
  * This is occurring while in:
	free         [p6.o, pc=0x49e0]
	tobuf_free   [line 154, ../lpvmcat.c, pc=0x400a0]
	pvmclaimo    [line 259, ../lpvmcat.c, pc=0x409b4]
	pvmmctl      [line 1158, ../lpvm.c, pc=0x6013c]
	mxfer        [line 1502, ../lpvm.c, pc=0x623b4]
	mroute       [line 745, ../lpvm.c, pc=0x5eca8]
	msendrecv    [line 1719, ../lpvm.c, pc=0x63764]
	pvm_spawn    [line 1509, ../lpvmgen.c, pc=0x48620]
	start_node   [line 134, branch_and_cut.c, pc=0x335cc]
	branch_and_cut [line 61, branch_and_cut.c, pc=0x32e40]
  * Attempting to free block at 0xb99a0 in the heap, not obtained from malloc.
  * This is 117 bytes past end of a freed block at 0xb9908 of 36 bytes.
  * This block was allocated from:
	malloc       [p6.o, pc=0x485c]
	fr_new       [line 79, ../pvmfrag.c, pc=0x5b3c4]
	umbuf_new    [line 159, ../pvmumbuf.c, pc=0x5c098]
	mxinput      [line 1307, ../lpvm.c, pc=0x60c74]
	mxfer        [line 1486, ../lpvm.c, pc=0x62234]
	mroute       [line 745, ../lpvm.c, pc=0x5eca8]
	msendrecv    [line 1712, ../lpvm.c, pc=0x63680]
	pvm_spawn    [line 1509, ../lpvmgen.c, pc=0x48620]
	start_node   [line 132, branch_and_cut.c, pc=0x33548]
	branch_and_cut [line 61, branch_and_cut.c, pc=0x32e40]
  * There have been 23 frees since this block was freed from:
	free         [p6.o, pc=0x4a68]
	fr_unref     [line 167, ../pvmfrag.c, pc=0x5baa8]
	umbuf_free   [line 193, ../pvmumbuf.c, pc=0x5c3e0]
	pvmmctl      [line 1196, ../lpvm.c, pc=0x60300]
	mxfer        [line 1502, ../lpvm.c, pc=0x623b4]
	mroute       [line 745, ../lpvm.c, pc=0x5eca8]
	msendrecv    [line 1712, ../lpvm.c, pc=0x63680]
	pvm_spawn    [line 1509, ../lpvmgen.c, pc=0x48620]
	start_node   [line 132, branch_and_cut.c, pc=0x33548]
	branch_and_cut [line 61, branch_and_cut.c, pc=0x32e40]

****  End Batch Report  ****

****  Purify'd pure_vrp3  (pid 20990)  ****
Purify: Searching for all memory leaks...

There are 12 leaked bytes (0.253% of the 4748 allocated bytes in the heap)

Purify [mlk]: 12 bytes lost,
       allocated by malloc in 1 chunk
       whose messages were suppressed with a .purify file.
There are 4104 potentially leaked bytes (86.4% of the 4748 allocated bytes in the heap)

Purify (plk): 4104 bytes at 0xb6f90 potentially lost, allocated from:
	malloc       [p6.o, pc=0x485c]
	da_new       [line 69, ../pvmdabuf.c, pc=0x69d58]
	fr_new       [line 84, ../pvmfrag.c, pc=0x5b434]
	enc_raw_init [line 231, ../lpvmpack.c, pc=0x4c288]
	pvm_setsbuf  [line 1863, ../lpvmpack.c, pc=0x51a9c]
	pvm_initsend [line 2005, ../lpvmpack.c, pc=0x527cc]
	start_node   [line 172, branch_and_cut.c, pc=0x33eec]
	branch_and_cut [line 61, branch_and_cut.c, pc=0x32e40]
	main         [line 49, vrp.c, pc=0x1bba4]
	start        [crt0.o, pc=0x2064]


Purify Heap Analysis (combining suppressed and unsuppressed chunks)

                         Chunks      Bytes
              Leaked          1         12
  Potentially Leaked          1       4104
              In-Use         10        632
  ----------------------------------------
     Total Allocated         12       4748

****  Purify'd pure_vrp3  (pid 20990)  ****
  * 10 access errors.
  * Basic memory usage:
      468420 code
      166492 data/bss
      200712 heap
        1800 stack
  * Shared library memory usage:
      647168 libX11_pure_211.so.4.10	(shared code)
       49152 libX11_pure_211.so.4.10	(private data)
      712704 libc_pure_211.so.1.6.2	(shared code)
       19032 libc_pure_211.so.1.6.2	(private data)
        8192 libinternal_stubs.so.1.0	(shared code)
        8192 libinternal_stubs.so.1.0	(private data)


-- 
----------------------------------------------------------------------
| Laci Ladanyi           | God made one mistake when he created man: |
| ladanyi@cs.cornell.edu |     He wrote self-modifying code ...      |
----------------------------------------------------------------------

