[vtkusers] Suspected Bug in vtkDataSetReader

andypotts andypotts at ntlworld.com
Fri Dec 1 19:46:32 EST 2000


Hi All VTK Users,

I am curious about the vtkDataSetReader as used in the MFC sample. The
following debug dump reports the
following memory leaks when running in Debug mode:

Detected memory leaks!
Dumping objects ->
{131} normal block at 0x00A52B20, 40 bytes long.
 Data: <C:\Program Files> 43 3A 5C 50 72 6F 67 72 61 6D 20 46 69 6C 65 73
Object dump complete.
The thread 0xFFF8588D has exited with code 0 (0x0).

This debug dump only occurs if the *.vtk file has been opened.
The output of the reader is passed to the vtkDataSetMapper as input, and the
mapper is set to the actor
from a previous call.

The application appears to run OK, however I have traced through the reader
code to see if I can spot any obvious
places where the memory is obviously not being de-allocated. Nothing seems
to stand out. Has anyone else observed
any problems when using the vtkDataSetReader?

Andy Potts.

andypotts at ntlworld.com





More information about the vtkusers mailing list