NEED HELP: My program dies only on Onyx

New Message Reply Date view Thread view Subject view Author view

TaiSun kang (kangts++at++mbc.co.kr)
Wed, 20 May 1998 10:11:30 +0900


Dear Performers,

I am seeking help to solve a problem that I am trying
to solve for a week.

I developed a program using Performer 2.1.
The program reads in a scene description file and build
a scene graph from time to time. When a new scene description
file is read in, nodes in old scene graph is deleted and
new nodes are added.

The program works well on Onyx2, O2, and Indigo2 Impact. But it dies
only on Onyx with segmenatation fault
error message and core dump. Looked with gr_osview, it dies
when user memory uses around 1/3 of free memory (when user memory
indicates around 15,000 while 512 MB of main memory is installed.)

I suspect that textures are not freed well on Onyx.
Running program with scene descriptions files wit no textures
worked well. I am freeing textures with codes like

   pfDelete( tex );
   if ( tex->getRef() == 0 )
   {
       tex->freeImage();
       tex->apply();
   }

The program works well on Indigo2 Impact wit 4MB texture memory.
while the onyx has 16MB texutre memory.
The spec. of the Onyx is:
    R4400 CPU
    512 MB Main Memory
    Reality Engine II
    12 GE
    4 RM5 boards

I wonder if there is any patch that would solve the problem.
I will appreciate any help I can get.

Thanks in advance,

Byungsung Cho
bryce++at++chollian.net
=======================================================================
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:57:25 PDT

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