[vtkusers] TR: unexpected signal in libX11.so (vtk+java)
Simon Chatelain
simon.chatelain at epfl.ch
Mon Sep 23 05:03:47 EDT 2002
Humhum, very strange.. the mail in my sent box contains the attachement. Do
know what happened.
So i retry.
Regards
-----Message d'origine-----
De : Simon Chatelain [mailto:simon.chatelain at epfl.ch]
Envoyé : vendredi, 20. septembre 2002 17:31
À : vtkmailinlist
Objet : unexpected signal in libX11.so (vtk+java)
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 WindowsXP 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 WindowsXP 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MySimpleVTK.java
Type: application/octet-stream
Size: 1007 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020923/239d2b4e/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: View.java
Type: application/octet-stream
Size: 662 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020923/239d2b4e/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SimplePanel.java
Type: application/octet-stream
Size: 940 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020923/239d2b4e/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtkPanel.java
Type: application/octet-stream
Size: 9571 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020923/239d2b4e/attachment-0003.obj>
More information about the vtkusers
mailing list