[vtkusers] crash: EXCEPTION_ACCESS_VIOLATION error in native code outside th e Java VM

Lichan.Hong at parc.com Lichan.Hong at parc.com
Thu Sep 19 19:01:28 EDT 2002


Sorry.

I forgot to mention that I am using VTK 4.0 and JDK 1.4.0 on Windows 2000. 
Thanks, John.

Lichan
 
-----Original Message-----
From: John [mailto:jss at au.mensa.org]
Sent: Thursday, September 19, 2002 3:46 PM
To: Lichan.Hong at parc.com
Subject: Re: [vtkusers] crash: EXCEPTION_ACCESS_VIOLATION error in
native code outside th e Java VM


Hi Lichan,

it looks like you have a problem but noone will be able to help you unless 
you give more info.

at least tell people what version of VTK you are using.

It would also be nice to know what OS and what Java you are using, although 
the problem does look like it is in VTK code, not java or OS code. 

good luck!

john

On Friday 20 September 2002 08:03 am, you wrote:
> I have been building my application using the VTK Java interface. Recently,
> my system crashes frequently, resulting in the following error message:
>
> An unexpected exception has been detected in native code outside the VM.
> Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x23A73EFD
> Function=[Unknown.]
> Library=C:\Lichan\com\kitware\vtkCommonJava.dll
>
> NOTE: We are unable to locate the function name symbol for the error
>       just occurred. Please refer to release documentation for possible
>       reason and solutions.
>
> Current Java thread:
> 	at vtk.vtkPointSet.GetPoints_13(Native Method)
> 	at vtk.vtkPointSet.GetPoints(vtkPointSet.java:64)
> 	at MyFilter.executeMethod(MyFilter.java:81)
> 	at vtkPanel.RenderInternal(Native Method)
> 	at vtkPanel.render(vtkPanel.java:157)
> 	- locked <02F4E1D0> (a vtkPanel)
> 	......
> 	at java.awt.Button.processActionEvent(Button.java:381)
> 	......
>
> Essentially, what I try to do is: when a certain button is pressed, it
> triggers an animation. During this animation, class "MyFilter" deforms a
> piece of geometry and then I call render() of vtkPanel to generate a new
> frame. "MyFilter", a subclass of vtkPragrammableFilter, is a simple class
> that I wrote. Its method "executeMethod()" preforms the geometry
> deformation.
>
> Since my animation is running in a sequential manner:
> 				render
> 				geometry update
> 				render
> 				geometry update
> 				......
> I am deeply puzzled by the above error message.
>
> Any helps will be greatly appreciated.
>
> Lichan
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> <http://public.kitware.com/cgi-bin/vtkfaq> Follow this link to
> subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers



More information about the vtkusers mailing list