[vtkusers] vtk java bus error

clyne at ncar.ucar.edu clyne at ncar.ucar.edu
Thu Nov 6 13:22:01 EST 2003


Hi,

I'm having trouble getting the java wrappers to work. Java is generating a
bus error deep down inside (see below). All of the java "cone"  examples
produce the same result (as does my own code). 

I'm running under IRIX 6.5.19 with java 1.4.1, using vtk4.2.3. 

Any thoughts?

thanks - jc

 
% /usr/java2/bin/java -classic -classpath /usr/local/apps/vtk4.2.3/bin/vtk.jar:/usr/local/apps/vtk4.2.3/Wrapping/Java:. Cone 

SIGBUS    10*  bus error
    si_signo [10]: SIGBUS    10*  bus error
    si_errno [0]: Error 0
    si_code [1]: BUS_ADRALN [addr: 0xD303C038]

    User context info:
	pc = 0x8e0da3c (SignalError = 0x9f8f4d0)
	sp = 0x7ffe2170, ra = 0x9302328
	stackpointer=7ffe1ca0

Full thread dump Classic VM (1.4.1, native threads):
    "Finalizer" (TID:0x4d504e8, sys_thread_t:0x10130618, state:CW, native ID:0x10003) prio=8
	at java.lang.Object.wait(Native Method)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:162)
    "Reference Handler" (TID:0x4d50548, sys_thread_t:0x100e99e0, state:CW, native ID:0x10002) prio=10
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:427)
	at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:120)
    "Signal dispatcher" (TID:0x4d50580, sys_thread_t:0x10034ca8, state:CW, native ID:0x10001) prio=5
    "main" (TID:0x4d50468, sys_thread_t:0x10029450, state:R, native ID:0x10000) prio=5
	at vtk.vtkRenderWindow.Render_6(Native Method)
	at vtk.vtkRenderWindow.Render(vtkRenderWindow.java:36)
	at Cone.main(Cone.java:89)
Monitor Cache Dump:
    java.lang.ref.Reference$Lock at 4D50558/4D87550: <unowned>
	Waiting to be notified:
	    "Reference Handler" (0x100e99e0)
    java.lang.ref.ReferenceQueue$Lock at 4D50500/4D87A18: <unowned>
	Waiting to be notified:
	    "Finalizer" (0x10130618)
Registered Monitor Dump:
    utf8 hash table: <unowned>
    Class lock: <unowned>
    JNI pinning lock #150: <unowned>
    JNI pinning lock #0: <unowned>
    JNI global reference lock: <unowned>
    BinClass lock: <unowned>
    Class linking lock: <unowned>
    System class loader lock: <unowned>
    Code rewrite lock: <unowned>
    Heap lock: <unowned>
    Monitor cache lock: owner "main" (0x10029450) 1 entry
    Thread queue lock: owner "main" (0x10029450) 2 entries
    Monitor registry: owner "main" (0x10029450) 1 entry

-- 
John Clyne 	(clyne at ncar.ucar.edu)	
National Center for Atmospheric Research
1850 Table Mesa Dr. Boulder, CO 80303 USA
1.303.497.1236 (v), 1.303.497.1239 (fax)




More information about the vtkusers mailing list