ISECT process just terminates

New Message Reply Date view Thread view Subject view Author view

Mario Veraart (rioj7++at++fel.tno.nl)
Fri, 5 Dec 1997 23:06:23 +0100 (MET)


Hello pfUsers,

Another question regarding intersection.
In my application I have a separate ISECT process that does the
intersection calculations. I want to use more than CPU to divide the
workload. In that case I have to fork of a separate process for each
CPU I want use inside the isectCallBack function.
Now a strange things happen.
In the beginning all goes well. But after some time the child
intersection processes just terminate without any reason. I have
inserted a couple of printf() calls to get some debug data. And it
seems that the process terminates inbetween two consecutive printf()
statements. It happens when the isectCallBack is called for the 173th
time. After that it terminates for every new call in the child
intersection process.
If I change the code so the function that is executed in the child
intersection process is called by the isectCallBack function, NO
forking of processes, all goes well, all intersections are calculated as
expected.

Could there be some reason for this to happen?

Mario Veraart
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:20 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.