[vtkusers] unexpected signal in libX11.so (vtk+java)
jeff at cdnorthamerica.com
Fri Sep 20 11:38:25 EDT 2002
you forgot the attachment?
Simon Chatelain wrote:
>I try to add a vtkRenderer in the vtkRenderWindow of a vtkPanel when the
>JFrame is visible.
>(after the instruction JFrame.pack(); and JFrame.show())
>With windows there is no problem, but with linux i have the following error
>An unexpected exception has been detected in native code outside the VM.
>Unexpected Signal : 11 occurred at PC=0x4CAF066B
>Current Java thread:
> at vtk.vtkRenderWindow.AddRenderer_2(Native Method)
> at vtk.vtkRenderWindow.AddRenderer(vtkRenderWindow.java:20)
> at vtk.vtkPanel.addRenderer(vtkPanel.java:44)
> at SimplePanel.addView(SimplePanel.java:37)
> at MySimpleVTK.<init>(MySimpleVTK.java:35)
> at MySimpleVTK.main(MySimpleVTK.java:42)
>08048000-0804e000 r-xp 00000000 03:03 2126672
>I try this with various linux distribution (Suse 8.0, RedHat7.3)and some
>nightly release of vtk. The lastone from today, and some java VM
>In attachement: the class that illustrate the problem.
>Another problem is that with windows i can put the static bloc to load the
>vtk libraries anywhere, but it seems that in linux, if the class where i
>load the libraries doesn't extend JFrame, there is an error in the libawt.so
>when i call JFrame.pack().
>Someone has an idea ?
>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:
More information about the vtkusers