Jump to content

  • Log In with Google      Sign In   
  • Create Account

We need your feedback on a survey! Each completed response supports our community and gives you a chance to win a $25 Amazon gift card!


[java] Error running J3D projects


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 Adriano   Members   -  Reputation: 122

Like
0Likes
Like

Posted 13 September 2006 - 06:31 AM

Hi. I've just stepped into the world of J3D and I have already stumbled! Problem is Many J3D projects closes with tis error ECLIPSE OUTPUT
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000, pid=756, tid=600
#
# Java VM: Java HotSpot™ Client VM (1.4.2_12-b03 mixed mode)
# Problematic frame:
# C  0x00000000
#
# An error report file with more information is saved as hs_err_pid756.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
Java 3D WARNING: OpenGL 1.3 will be required in the near future (GL_VERSION=1.2)


HS_ERR_PID756.LOG
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000, pid=756, tid=600
#
# Java VM: Java HotSpot™ Client VM (1.4.2_12-b03 mixed mode)
# Problematic frame:
# C  0x00000000
#

---------------  T H R E A D  ---------------

Current thread (0x02e89570):  JavaThread "J3D-Renderer-1" [_thread_in_native, id=600]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000000

Registers:
EAX=0x046aa80c, EBX=0x06967020, ECX=0x0697ef10, EDX=0x0694f9ec
ESP=0x0694f9d8, EBP=0x0694fa1c, ESI=0x0697ef00, EDI=0x046aa7b8
EIP=0x00000000, EFLAGS=0x00010202

Top of Stack: (sp=0x0694f9d8)
0x0694f9d8:   2d044d2d 3dab15db 05fd0278 06967020
0x0694f9e8:   00000000 00000000 00000000 413f87b5
0x0694f9f8:   411fffff 00000020 00000010 00000254
0x0694fa08:   0000021f 00000004 00000000 00000003
0x0694fa18:   0697ef00 0694fb00 2d05a1e4 00000009
0x0694fa28:   0697ef00 00000000 00000009 04664582
0x0694fa38:   00000001 06967020 1003ce10 0800596f
0x0694fa48:   1003ce18 00000001 00000001 080745a4 

Instructions: (pc=0x00000000)
0xfffffff0:   


Stack: [0x06910000,0x06950000),  sp=0x0694f9d8,  free space=254k
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  javax.media.j3d.Canvas3D.syncRender(JZ)V+0
j  javax.media.j3d.Renderer.doWork(J)V+307
j  javax.media.j3d.J3dThread.run()V+19
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x00a0bf88 JavaThread "J3D-InputDeviceScheduler-1" [_thread_blocked, id=1284]
  0x00a0b670 JavaThread "J3D-SoundSchedulerUpdateThread-1" [_thread_blocked, id=944]
  0x00a0ae48 JavaThread "J3D-RenderStructureUpdateThread-1" [_thread_blocked, id=236]
  0x00a0ce60 JavaThread "J3D-BehaviorScheduler-1" [_thread_blocked, id=1372]
  0x00a09828 JavaThread "J3D-TransformStructureUpdateThread-1" [_thread_blocked, id=516]
  0x00a08c38 JavaThread "J3D-RenderingEnvironmentStructureUpdateThread-1" [_thread_blocked, id=320]
  0x00a07fa8 JavaThread "J3D-SoundStructureUpdateThread-1" [_thread_blocked, id=1216]
  0x00a07518 JavaThread "J3D-GeometryStructureUpdateThread-1" [_thread_blocked, id=408]
  0x00a072b0 JavaThread "J3D-BehaviorStructureUpdateThread-1" [_thread_blocked, id=264]
  0x00355e00 JavaThread "DestroyJavaVM" [_thread_blocked, id=372]
  0x03014008 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=272]
  0x02f59488 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=332]
  0x02e51b38 JavaThread "AWT-Shutdown" [_thread_blocked, id=1716]
=>0x02e89570 JavaThread "J3D-Renderer-1" [_thread_in_native, id=600]
  0x02e89408 JavaThread "J3D-MasterControl-1" [_thread_blocked, id=208]
  0x02f7ee28 JavaThread "J3D-NotificationThread" [_thread_blocked, id=1288]
  0x02e4da10 JavaThread "J3D-TimerThread" [_thread_blocked, id=628]
  0x02e385d0 JavaThread "J3D-RenderingAttributesStructureUpdateThread" [_thread_blocked, id=1144]
  0x02e388a8 JavaThread "AWT-Windows" daemon [_thread_in_native, id=256]
  0x00984110 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1684]
  0x009834a0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1492]
  0x00980a58 JavaThread "Finalizer" daemon [_thread_blocked, id=112]
  0x0097f6d0 JavaThread "Reference Handler" daemon [_thread_blocked, id=360]

Other Threads:
  0x009bb6d0 VMThread [id=876]
  0x00985cc8 WatcherThread [id=228]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 576K, used 243K [0x10010000, 0x100b0000, 0x104f0000)
  eden space 512K,  35% used [0x10010000, 0x1003ce28, 0x10090000)
  from space 64K, 100% used [0x100a0000, 0x100b0000, 0x100b0000)
  to   space 64K,   0% used [0x10090000, 0x10090000, 0x100a0000)
 tenured generation   total 1408K, used 311K [0x104f0000, 0x10650000, 0x14010000)
   the space 1408K,  22% used [0x104f0000, 0x1053de10, 0x1053e000, 0x10650000)
 compacting perm gen  total 6400K, used 6199K [0x14010000, 0x14650000, 0x18010000)
   the space 6400K,  96% used [0x14010000, 0x1461dd80, 0x1461de00, 0x14650000)

Dynamic libraries:
0x00400000 - 0x0040b000 	C:\Programmi\Java\j2re1.4.2_12\bin\javaw.exe
0x77f40000 - 0x77fef000 	C:\WINDOWS\System32\ntdll.dll
0x77e40000 - 0x77f30000 	C:\WINDOWS\system32\kernel32.dll
0x77da0000 - 0x77e3b000 	C:\WINDOWS\system32\ADVAPI32.dll
0x77c90000 - 0x77d05000 	C:\WINDOWS\system32\RPCRT4.dll
0x77d10000 - 0x77d9d000 	C:\WINDOWS\system32\USER32.dll
0x77c40000 - 0x77c80000 	C:\WINDOWS\system32\GDI32.dll
0x77be0000 - 0x77c33000 	C:\WINDOWS\system32\MSVCRT.dll
0x08000000 - 0x08140000 	C:\Programmi\Java\j2re1.4.2_12\bin\client\jvm.dll
0x76b00000 - 0x76b2d000 	C:\WINDOWS\System32\WINMM.dll
0x10000000 - 0x10007000 	C:\Programmi\Java\j2re1.4.2_12\bin\hpi.dll
0x76bb0000 - 0x76bbb000 	C:\WINDOWS\System32\PSAPI.DLL
0x00820000 - 0x0082e000 	C:\Programmi\Java\j2re1.4.2_12\bin\verify.dll
0x00830000 - 0x00849000 	C:\Programmi\Java\j2re1.4.2_12\bin\java.dll
0x00850000 - 0x0085e000 	C:\Programmi\Java\j2re1.4.2_12\bin\zip.dll
0x02c40000 - 0x02d54000 	C:\Programmi\Java\j2re1.4.2_12\bin\awt.dll
0x72f70000 - 0x72f93000 	C:\WINDOWS\System32\WINSPOOL.DRV
0x76340000 - 0x7635a000 	C:\WINDOWS\System32\IMM32.dll
0x77180000 - 0x7729a000 	C:\WINDOWS\system32\ole32.dll
0x5b180000 - 0x5b1b4000 	C:\WINDOWS\system32\uxtheme.dll
0x02dd0000 - 0x02e21000 	C:\Programmi\Java\j2re1.4.2_12\bin\fontmanager.dll
0x51000000 - 0x51050000 	C:\WINDOWS\System32\ddraw.dll
0x73b30000 - 0x73b36000 	C:\WINDOWS\System32\DCIMAN32.dll
0x5c000000 - 0x5c0c8000 	C:\WINDOWS\System32\D3DIM700.DLL
0x746b0000 - 0x746fb000 	C:\WINDOWS\System32\MSCTF.dll
0x04650000 - 0x04655000 	C:\Programmi\Java\j2re1.4.2_12\bin\jawt.dll
0x04660000 - 0x04690000 	C:\Programmi\Java\j2re1.4.2_12\bin\j3dcore-ogl.dll
0x5f140000 - 0x5f206000 	C:\WINDOWS\System32\OPENGL32.dll
0x69000000 - 0x6901f000 	C:\WINDOWS\System32\GLU32.dll
0x2d000000 - 0x2d12a000 	C:\WINDOWS\System32\pmx2ogl.dll
0x2d200000 - 0x2d214000 	C:\WINDOWS\sgl2.dll
0x2d300000 - 0x2d327000 	C:\WINDOWS\PVR2OS.DLL
0x2d400000 - 0x2d460000 	C:\WINDOWS\sglmid7b.dll
0x77bd0000 - 0x77bd7000 	C:\WINDOWS\system32\VERSION.dll

VM Arguments:
java_command: J3dSwingFrame
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\programmi\matlab13\bin\win32;C:\3dsmax5\backburner2\;C:\Programmi\File comuni\Autodesk SharedUSERNAME=Adriano
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 6 Stepping 2, AuthenticAMD


---------------  S Y S T E M  ---------------

OS: Windows XP Build 2600 

CPU:total 1 family 6, cmov, cx8, fxsr, mmx, sse

Memory: 4k page, physical 261616k(24268k free), swap 633544k(311784k free)

vm_info: Java HotSpot™ Client VM (1.4.2_12-b03) for windows-x86, built on May  9 2006 12:30:51 by "java_re" with MS VC++ 6.0


Current thread (0x02e89570): JavaThread "J3D-Renderer-1" [_thread_in_native, id=600] Seems to me J3D renderer is failing. Do I have to use OpenGL1.3 (GL_VERSION=1.2)? If yes how do I get OpenGL 1.3 for a 3D Prophet 4500 (ATI Radeon 4500 branch) from? Or is there something else I ignore? Thank you in advance... EDIT: Oh, and I have eclipse3.2, JSDK1.4.2_12, J3D 1.4.0_01

Sponsor:

#2 Dom_152   Members   -  Reputation: 464

Like
0Likes
Like

Posted 13 September 2006 - 09:24 AM

You should be able to get most drivers for ATi cards on the ATI website:
https://support.ati.com/ics/support/default.asp?deptID=894&task=knowledge&folderID=27




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS