Newsgroups: comp.parallel.pvm
From: enno@uni-paderborn.de (Enno Rehling)
Subject: Re: [HELP}: Bus Error doing PVM_SPAWN()
Organization: University of Paderborn, Germany
Date: 24 Nov 1995 13:04:42 GMT
Message-ID: <494fta$8sm@news.uni-paderborn.de>

In article <48qdhh$agl@diable.upc.es>, Antonio Scotti <scotti@centauro.upc.es> writes:
>Hi,
>does anyone know what may cause a program to crash while executing
>pvm_spawn()?
>This seemed to happen suddenly, that is the program was perfectly working
>just a few seconds before, and I didn't make any change, especially
>to the line that do the spawning.
>I checked all of pvm_spawn() parameters but everything looks ok
	-- Antonio

Had that prob, too. Thing is, PVM allocates memory during pvm_spawn. if your memory is corrupted,
malloc will terminate with that BUS ERROR. you have probably writeen into memory that was no longer
yours. I'd say you should include a malloc debugging library and see if that finds a memory error
before the spawn. like cvmalloc on SGI for example, in combination with the
malloc error detection of cvd (the Case Vision debugger) that's what fixed my problem.

Enno


-- 
Bacchus, n.:
        A convenient deity invented by the ancients as an excuse for
        getting drunk.
                -- Ambrose Bierce, "The Devil's Dictionary"

Enno Rehling                  -- email: enno@pbinfo.uni-paderborn.de
phone: Int+ 49 (0) 5251-72487 -- smail: Kilianstr. 129a, 33098 Paderborn



