Re: [info-performer] problems loading models in performer windows

New Message Reply Date view Thread view Subject view Author view

From: John Breedlove (jbreedlo++at++cs.ucf.edu)
Date: 01/21/2003 11:11:49


Allan,

I made a very simple program that repeatedly loads models with pfdLoadFile,
and when more than 64 models are loaded, Performer crashes. So it does
appear to be just based on the number of models loaded.

John
----- Original Message -----
From: "Allan Schaffer" <allan++at++sgi.com>
To: <info-performer++at++sgi.com>
Sent: Thursday, January 16, 2003 12:44 PM
Subject: Re: [info-performer] problems loading models in performer windows

> Hi John,
>
> John Breedlove wrote:
> > I have a program that load a large number of models and I can't get it
to
> > work in performer windows unless I reduce the number of models that it
> > loads. To get the program to run in Linux I used to increase the
> > PFSHAREDARENASIZE environment variable and it would work fine. Is there
a
> > similar variable that must be increased in windows? I created an
> > environment variable of that name but it hasn't helped.
>
> Interesting. I'm seeing something that could be this same problem; if I
> load ~50 copies of esprit.pfb into perfly via the command line, e.g.:
>
> % perfly -W 600 esprit.pfb esprit.pfb esprit.pfb [... (47 more)]
>
> ..then I get a crash. Probably a string copy overflow somewhere, we'll
> check it out. But if I run those files through "pfconv" to make just
> one file or a few files for the command line, it is fine. e.g.:
>
> % pfconv esprit.pfb esprit.pfb [... 8 more] 10-esprit.pfb
> % perfly -W 600 10-esprit.pfb
> ..worked fine
>
> % pfconv 10-esprit.pfb 10-esprit.pfb [... 8 more] 100-esprit.pfb
> % perfly -W 600 100-esprit.pfb
> ..worked fine
>
> And so on. 1000 was fine also, the machine started swapping a lot so I
> stopped there.
>
> So, if you think this is the same problem, run the files through
> "pfconv" first to make just one expanded model, as a workaround. And
> we'll check out what's going on with perfly. This will be ..SCR 878680.
>
> Allan
> --
> Allan Schaffer allan++at++sgi.com
> Engr. Manager, Core Rendering 1-650-933-2160
> Silicon Graphics http://www.sgi.com
>
> -----------------------------------------------------------------------
> List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/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 2b29 : Tue Jan 21 2003 - 11:14:19 PST

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