[info-performer] Re: Segmentation fault while using pfVolume

Date view Thread view Subject view Author view

From: Praveen Bhaniramka (praveenb++at++mrcoffee.engr.sgi.com)
Date: 05/29/2003 11:49:50


Hi Simone,

The static pfVolume::init method is used to initialize the pfVolume
'class'. It sets up the memory allocation/de-allocation routines for
Volumizer to use the Performer shared memory arenas.

Try calling pfVolume::init first and then create the pfVolume node and
call any methods on the node. Alternatively, you could call
pfdInitConverter_vz before calling pfConfig and then call pfdLoadFile_vz
to load the data. This is the order used by libpfdu when dynamically
loading data loaders. (See man pfdLoadFile and man pfdInitConverter).

Cheers,
Praveen

On Tue, 27 May 2003, Simone Herrmann wrote:

> Hi,
>
> I want to use Volumizer 2 in a Performer application.
> The following lines cause a segmentatio fault:
>
> pfVolume *volume = new pfVolume;
> volume->init();
> volume->loadFile(volumeFileName);
>
> It occures in the function loadFile in setTravData.
>
> Do I need to add some commands?
>
> Thank you
> ______________________________________________________________________________
> UNICEF bittet um Spenden fur die Kinder im Irak! Hier online an
> UNICEF spenden: https://spenden.web.de/unicef/special/?mc=021101
>
> -----------------------------------------------------------------------
> 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
> -----------------------------------------------------------------------
>
>

-- 
-----------------------------------------------------------------
Praveen Bhaniramka               Member of Technical Staff (MTS)
praveenb++at++sgi.com                 Advanced Graphics Division
(650)933-1785                    Silicon Graphics, Inc.
-----------------------------------------------------------------


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu May 29 2003 - 11:52:24 PDT