java & VTK II (The return)

Miguel Angel Martin Fernandez vtk at helios.tel.uva.es
Fri Jun 18 05:28:36 EDT 1999


Hi, I start thinking in burning my PC. 

I'm trying to use vtk with java. It's all compiled and installed, and the
examples compile perfectly, but when I try to run them it implossible.

I'm using RedHat 6 VTK 2.2 and jdk 1.1.3. I think it's all installed
properly. When I try to see the example applet in a browser I have an
error an the browser is closed. If I try to do it in the applet viewer I
also have an error. This time, the output message is this:


SIGSEGV   11*  segmentation violation
	stackbase=0x41487000, stackpointer=0x41485a00

Full thread dump:
    "Thread-4" (TID:0x40667128, sys_thread_t:0x41486f28, state:R) prio=4
*current thread*
	java.lang.Runtime.loadLibrary(Runtime.java)
	java.lang.System.loadLibrary(System.java)
	vtk.vtkPanel.<clinit>(vtkPanel.java:23)
	java.lang.ClassLoader.findSystemClass(ClassLoader.java)
	sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:196)
	java.lang.ClassLoader.loadClassInternal(ClassLoader.java)
	java.lang.ClassLoader.resolveClass(ClassLoader.java)
	sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:280)
	sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:356)
	sun.applet.AppletPanel.createApplet(AppletPanel.java:462)
	sun.applet.AppletPanel.runLoader(AppletPanel.java:398)
	sun.applet.AppletPanel.run(AppletPanel.java:237)
	java.lang.Thread.run(Thread.java)
    "Screen Updater" (TID:0x40667018, sys_thread_t:0x41465f28, state:CW)
prio=4
	java.lang.Object.wait(Object.java)
	sun.awt.ScreenUpdater.nextEntry(ScreenUpdater.java:78)
	sun.awt.ScreenUpdater.run(ScreenUpdater.java:98)
    "AWT-Motif" (TID:0x40664758, sys_thread_t:0x41444f28, state:CW) prio=5
	java.lang.Thread.run(Thread.java)
    "AWT-Input" (TID:0x40664738, sys_thread_t:0x41423f28, state:CW) prio=5
    "AWT-EventQueue-0" (TID:0x40664720, sys_thread_t:0x41402f28, state:CW)
prio=
	java.lang.Object.wait(Object.java)
	java.awt.EventQueue.getNextEvent(EventQueue.java:118)
	java.awt.EventDispatchThread.run(EventDispatchThread.java:55)
    "thread applet-App2.class" (TID:0x406639b0, sys_thread_t:0x413e1f28,
state:CW) prio=4
	java.lang.Thread.join(Thread.java)
	java.lang.Thread.join(Thread.java)
	sun.applet.AppletPanel.run(AppletPanel.java:271)
	java.lang.Thread.run(Thread.java)
    "Finalizer thread" (TID:0x40657220, sys_thread_t:0x413c0f28, state:R)
prio=1    "Async Garbage Collector" (TID:0x406571d8,
sys_thread_t:0x4139ff28, state:R) prio=1
    "Idle thread" (TID:0x40657190, sys_thread_t:0x4137ef28, state:R)
prio=0
    "Clock" (TID:0x406570d0, sys_thread_t:0x4135df28, state:CW) prio=12
    "main" (TID:0x406570a8, sys_thread_t:0x81dd268, state:CW) prio=5
Monitor Cache Dump:
    sun.awt.ScreenUpdater at 1080455192/1081050304: <unowned>
	Waiting to be notified:
	    "Screen Updater"
    sun.awt.motif.MToolkit at 1080444576/1080972496: <unowned>
	Waiting to be notified:
	    "AWT-Motif"
    java.lang.Thread at 1080455464/1081051784: <unowned>
	Waiting to be notified:
	    "thread applet-App2.class"
    java.lang.Runtime at 1080413064/1080802256: owner "Thread-4" (0x41486f28,
1 entry)
    java.lang.Class at 1080456904/1081065144: owner "Thread-4" (0x41486f28, 1
entry
    java.lang.Class at 1080456648/1081064104: owner "Thread-4" (0x41486f28, 1
entry
    sun.applet.AppletClassLoader at 1080440984/1080955312: owner "Thread-4"
(0x41486f28, 1 entry)
    java.awt.EventQueue at 1080444624/1080972736: <unowned>
	Waiting to be notified:
	    "AWT-EventQueue-0"
Registered Monitor Dump:
    Verifier lock: <unowned>
    Thread queue lock: <unowned>
	Waiting to be notified:
	    "main"
    Name and type hash table lock: <unowned>
    String intern lock: <unowned>
    JNI pinning lock: <unowned>
    JNI global reference lock: <unowned>
    BinClass lock: <unowned>
    Class loading lock: <unowned>
    Java stack lock: <unowned>
    Code rewrite lock: <unowned>
    Heap lock: <unowned>
    Has finalization queue lock: <unowned>
    Finalize me queue lock: <unowned>
    Monitor IO lock: <unowned>
    Child death monitor: <unowned>
    Event monitor: <unowned>
    I/O monitor: <unowned>
	Waiting to be notified:
	    "AWT-Input"
    Alarm monitor: <unowned>
	Waiting to be notified:
	    "Clock"
    Monitor cache expansion lock: <unowned>
    Monitor registry: owner "Thread-4" (0x41486f28, 1 entry)
Thread Alarm Q:
    sys_thread_t 0x41423f28   [Timeout in 3 ms]
Abort

------------------------------------------------------------

Bye

		Santiago Aja Fernández



-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------





More information about the vtkusers mailing list