Newsgroups: comp.parallel.pvm
From: adilger@enel.ucalgary.ca (Andreas Dilger)
Subject: Re: [HELP}: Bus Error doing PVM_SPAWN()
Organization: ECE Department, U. of Calgary, Calgary, Alberta, Canada
Date: 20 Nov 1995 21:27:13 GMT
Message-ID: <48qrrh$cdi@ds2.acs.ucalgary.ca>

In article <48qdhh$agl@diable.upc.es>,
Antonio Scotti  <scotti@centauro.upc.es> wrote:
>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.

Chances are that with an error of this sort you have a memory leak somewhere
else in your code, and it is overwriting important parts of the PVM code or
something.  This will only show up when the pvm function is called, but the
error is most likely not the problem of pvm_spawn.  Is there a memory debug
tool you can use to verify this?  I have heard of a public-domain tool
called fortify, which you can use in C and C++ programs to do memory checking.

Cheers, Andreas.
-- 
Andreas Dilger   University of Calgary  \"If a man ate a pound of pasta and
(403) 220-8792   Micronet Research Group \ a pound of antipasto, would they
Dept of Electrical & Computer Engineering \   cancel out, leaving him still
http://www-mddsp.enel.ucalgary.ca/People/adilger/       hungry?" -- Dogbert

