[vtkusers] unexpected signal in libX11.so (vtk+java)

Jeff Lee jeff at cdnorthamerica.com
Fri Sep 20 11:38:25 EDT 2002


you forgot the attachment?

Simon Chatelain wrote:

>Hello,
>
>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
>Function=XQueryExtension+0x17
>Library=/usr/X11R6/lib/libX11.so.6
>
>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)
>
>Dynamic libraries:
>08048000-0804e000 r-xp 00000000 03:03 2126672
>/usr/java/j2sdk1.4.1/bin/java
>....
>
>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
>(1.3,1.4,1.4.1,...);
>
>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 ?
>
>Simon Chatelain
>
>
>_______________________________________________
>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