pfLight troubles

New Message Reply Date view Thread view Subject view Author view

Raoul Becke (rbecke++at++iiic.ethz.ch)
Thu, 8 Oct 1998 18:10:39 +0200 (MET DST)


Hi,
the following few lines of code I've copied (doing some small
modifications (changed C calls to C++ methods)) out of
/usr/share/Performer/src/pguide/libpr/C/benchgs.c:

    pfLight* licht[PF_MAX_LIGHTS];
    for(int z=0;z<PF_MAX_LIGHTS;z++) licht[z]=NULL;
    licht[0]=new pfLight; licht[1]=0;
    licht[0]->on();

but anytime the program invokes licht[0]->on() my program crashes with:

PF Fatal/SysErr: _pfDirtCheck: pfRealloc of 0 bytes returned
NULL.

It doesn't matter where in my program I invoke licht[0]->on() so anybody
got a clue or encountered the same problem? Any help will be appreciated

thanx
Raoul

Raoul Becke
email: rbecke++at++iiic.ethz.ch
email2: rbecke++at++datacomm.ch

PS: does anybody have a running benchgs program?


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Fri Oct 09 1998 - 01:16:11 PDT

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