[vtkusers] VTK/Java crashes -- WeakGlobalRef or garbage collection problem...solution?
Baliki baliki
balikivtk at gmail.com
Tue Nov 17 04:56:35 EST 2009
I use a vtkVRMLImporter to read a vrml file. All variables (vtkVRMLImporter,
vtkActor, etc) i use are in function scope.
I "solved" the problem using the vtkVRMLImporter as a global variable.
The weird thing is that when i tried a similar thing using vtkSTLReader to
read an stl file, the crash did not occur!
(all variables in function scope).
If you have any possible explanation, please let me know.
Thanks,
Baliki
2009/11/16 Jeff Baumes <jeff.baumes at kitware.com>
> On Mon, Nov 16, 2009 at 8:12 AM, Baliki baliki <balikivtk at gmail.com>
> wrote:
> > I use the latest release of VTK 5.4.2. The crash is not fixed in this
> > release?
> > Should i use the cvs version?
>
> I believe any changes to the Java wrapping are in 5.4.2. Can you
> provide a minimal test case that crashes? I can't promise a quick fix
> to your problem, but this would at least make progress possible.
>
> Thanks,
> Jeff
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091117/5d567b6c/attachment.htm>
More information about the vtkusers
mailing list