[info-performer] pfVec3 / allocation problems

New Message Reply Date view Thread view Subject view Author view

From: Henrik Hartz (henrik++at++hartz.no)
Date: 04/18/2003 02:46:51


Hi!

I have problems with a C application I'm writing for a CAVE system. I'm
using pfCAVElib

I'm parsing a file with coordinates and creating quadliterals from
them. Each line has coordinates for one quad. I can parse as much as
2500 lines, but when I exceed this, my application crashes with "Caught
SIGCHLD, exiting due to death of child with PID ...". Increasing arena
size didn't help, neither does deallocation with pfDelete(). My file
has in excess of 40.000 lines of coordinates, and all coordinates read
in are added to a geoSet.

The pfVec3 array of coordinates is allocated using pfMalloc( NUM_LINES
* sizeof(pfVec3) ).

My environment for this application is an IRIX system.

Since I'm a novice in both Performer and CAVE, any help would be
greatly appreciated!

Kind regards
Henrik Hartz

___________________________________________________
MindlŠker: +47 41 23 17 03, henrik++at++hartz.no, www.mindlocker.no


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Apr 18 2003 - 02:46:14 PDT

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