pfHighlight crash

New Message Reply Date view Thread view Subject view Author view

Kaylor Brett (Brett.Kaylor++at++GSC.GTE.Com)
Mon, 16 Dec 1996 15:05:00 -0800


Last week I sent out a message about a pfHighlight crash. Rob Jenkins
responed asking about a code snip. The following is a change to
perfly's
main loop that duplicates the error. Adjusting the kFrameSkip from 2 to
200
makes no difference. Following the code snip is the callstack. This
only
occurrs in MultiPipe mode. I am running 2 RE2 pipes, 2 4400 processors,
Performer 2.0 with patch 1414 (using IRISGL), IRIX 5.3. If anyone has
any
idea or perhaps a similiar configuration and can test this, it would be
greatly
appreciated. I just use a simple (50 polygon) textured model for
perfly.

 -----------------------------------------------------------------------
----- --------------------------------

    /* Set the MP synchronization phase. */
    pfPhase(ViewState->phase);

pfHighlight* hl = new(pfGetSharedArena()) pfHighlight;
hl->setMode(PFHL_FILL);
hl->setColor(PFHL_FGCOLOR, 255.0f, 0.0f, 0.0f);
hl->setAlpha(0.8f);

int frameCnt = 0;
int hlOn = 0;

const int kFrameSkip = 10;

    /* Application main loop */
    while (!SimDone())
    {

frameCnt++;
if (frameCnt % kFrameSkip == 0)
{
   if (hlOn)
   {
     hlOn = 0;
     pfuTravNodeHlight(ViewState->sceneGroup, PFHL_OFF);
   } else
   {
     hlOn = 1;
     pfuTravNodeHlight(ViewState->sceneGroup, hl);
   }
}

      ... rest of regular perfly loop code.

   }

 -----------------------------------------------------------------------
----- --------------------------------

drawX_FLAT_TRISTRIPS_NvVv(<stripped>) ["gststrip.C":732]
pfHighlight::pr_hlFill(<stripped>) ["pfHighlight.C":943]
pfHighlight::pr_draw(<stripped>) ["pfHighlight.C":784]
pfGeoSet::pr_drawHlightOnly(<stripped>) ["gsdraw.C":4402]
pfGeoSet::pr_drawHlighted(<stripped>) ["gsdraw.C":4348]
genDrawGSet(<stripped>) ["gsdraw.C":4501]
pfGeoSet::draw(<stripped>) ["pfGeoSet.C":1671]
_pfCuller::popQuick(<stripped>) ["pfCuller.C":766]
pfLayer::nb_cull(<stripped>) ["pfLayer.C":192]
pfGroup::nb_cull(<stripped>) ["pfGroup.C":247]
pfGroup::nb_cull(<stripped>) ["pfGroup.C":247]
pfGroup::nb_cull(<stripped>) ["pfGroup.C":247]
pfGroup::nb_cull(<stripped>) ["pfGroup.C":247]
pfSCS::nb_cull(<stripped>) ["pfSCS.C":308]
pfScene::nb_cull(<stripped>) ["pfScene.C":269]
_pfCuller::nb_cull(<stripped>) ["pfCuller.C":197]
beginDraw(<stripped>) ["pfProcess.C":3865]
pfDraw(<stripped>) ["pfProcess.C":3897]
DrawFunc(<stripped>) ["main.C":261]
pfChannel::pf_callDrawFunc(<stripped>) ["pfChannel.C":1808]
doDraw(<stripped>) ["pfProcess.C":3792]
mpCullDraw() ["pfProcess.C":4278]
pfConfig(<stripped>) ["pfProcess.C":1539]
main(<stripped>) ["main.C":102]
__start() ["crt1text.s":133]
=======================================================================
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:54:10 PDT

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