Re: [info-performer] segm violation on node deletion

Date view Thread view Subject view Author view

From: Jorrit Adriaanse (jorrit++at++sara.nl)
Date: 12/03/2003 06:05:14


Yair,
Thank you for that, we indeed missed that part of the manual pages...

There is, however, one more problem we stumble upon:

if we do the following in the main loop:

for (int i=0; i<100000; i++)
{
  pfDCS* dcs = new pfDCS;
  int rv = dcs->checkDelete()
  //pfFrame()
}

dcs does not actually get deleted, and memory quickly fills up.
If we uncomment the pfFrame(), the dcs gets deleted properly.
Note that the same behaviour can be observed when using the
C function pfDelete on the dcs.

Is there something we are missing?

thanks,
Jorrit Adriaanse

On Mon, 1 Dec 2003 14:02:35 -0800 (PST)
"Yair Kurzion" <yair++at++polygon.engr.sgi.com> wrote:

>
>
> Bram,
>
>
> Try pfDelete instead of delete.
>
>
> -yair


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Dec 03 2003 - 06:31:36 PST