HelloEffects Tutorial Error

Hi, I’m way new to JMonkey- just going through the tutorials (not for a class or anything, for fun - maybe to that end I’m at a disadvantage :))



Anyway, I’ve copy & pasted the HelloEffects tutorial to the letter, and it is causing the following runtime error:



[java]

#

A fatal error has been detected by the Java Runtime Environment:

#

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000074ed2fff, pid=976, tid=6496

#

JRE version: 6.0_22-b04

Java VM: Java HotSpot™ 64-Bit Server VM (17.1-b03 mixed mode windows-amd64 )

Problematic frame:

C [atio6axx.dll+0x4a2fff]

#

An error report file with more information is saved as:

jMonkeyProjects/BasicGame/hs_err_pid976.log

#

If you would like to submit a bug report, please visit:

http://java.sun.com/webapps/bugreport/crash.jsp

The crash happened outside the Java Virtual Machine in native code.

See problematic frame for where to report the bug.

#

Java Result: 1

BUILD SUCCESSFUL (total time: 3 seconds)

[/java]



I’m fairly proficient at java but have no clue how to address this problem. Sorry if this is the total nub question, feel free to yell if this is fairly obvious. Thanks in advance :smiley:

That is java dieing hard, not really JME itself.

Has it done this only once or repeatedly? Does this happen to just that one test case or to others too?

Only has happened to me when I tried the HelloEffects tutorial. The others before and the physics one I’m messing with now works fine.



Here’s the entire log for your perusal.



[java]


T H R E A D

Current thread (0x0000000073aee000): JavaThread "LWJGL Renderer Thread" [_thread_in_native, id=6496, stack(0x0000000074830000,0x0000000074930000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x0000000076c42558

Registers:
EAX=0x000000000093ff6c, EBX=0x0000000076301b30, ECX=0x0000000000000001, EDX=0x000000000000005d
ESP=0x000000007492eee0, EBP=0x0000000076301b30, ESI=0x0000000000000001, EDI=0x0000000076301b98
EIP=0x0000000074ed2fff, EFLAGS=0x0000000000010246

Top of Stack: (sp=0x000000007492eee0)
0x000000007492eee0: 0000000076301b30 0000000076301b30
0x000000007492eef0: 0000000076301b30 0000000000000001
0x000000007492ef00: 0000000000000000 00000000758be50b
0x000000007492ef10: 0000000000000002 0000000000000040
0x000000007492ef20: 000000007492f0f0 000000007492f0a0
0x000000007492ef30: 0000000000000040 00000000758be93b
0x000000007492ef40: 0000000000000000 0000000000000000
0x000000007492ef50: 0000000000000000 0000000074a30000
0x000000007492ef60: 0000000000000020 0000000000000000
0x000000007492ef70: 0000000076301b98 0000000074ed28fb
0x000000007492ef80: 000000003f800000 000000003f800000
0x000000007492ef90: 0000000046000000 0000000076301b30
0x000000007492efa0: 000000007690ac00 0000000000000001
0x000000007492efb0: 0000000074a30000 0000000074ed2174
0x000000007492efc0: 0000000076301b98 000000007690a3f0
0x000000007492efd0: 0000000000000004 0000000000000000

Instructions: (pc=0x0000000074ed2fff)
0x0000000074ed2fef: 0f 85 b9 00 00 00 8b 47 4c 48 69 c0 94 00 00 00
0x0000000074ed2fff: 80 bc 18 bc 0a 00 00 00 0f 84 a1 00 00 00 0f 57


Stack: [0x0000000074830000,0x0000000074930000], sp=0x000000007492eee0, free space=3fb0000000000000000k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [atio6axx.dll+0x4a2fff]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j org.lwjgl.opengl.GL11.nglBindTexture(IIJ)V+0
j org.lwjgl.opengl.GL11.glBindTexture(II)V+16
j com.jme3.renderer.lwjgl.LwjglRenderer.updateTexImageData(Lcom/jme3/texture/Image;Lcom/jme3/texture/Texture$Type;ZI)V+109
j com.jme3.renderer.lwjgl.LwjglRenderer.setTexture(ILcom/jme3/texture/Texture;)V+26
j com.jme3.material.Material$MatParamTexture.apply(Lcom/jme3/renderer/Renderer;Lcom/jme3/material/Technique;)V+14
j com.jme3.material.Material.render(Lcom/jme3/scene/Geometry;Lcom/jme3/renderer/RenderManager;)V+180
j com.jme3.renderer.RenderManager.renderGeometry(Lcom/jme3/scene/Geometry;)V+161
j com.jme3.renderer.queue.RenderQueue.renderGeometryList(Lcom/jme3/renderer/queue/GeometryList;Lcom/jme3/renderer/RenderManager;Lcom/jme3/renderer/Camera;Z)V+66
j com.jme3.renderer.queue.RenderQueue.renderQueue(Lcom/jme3/renderer/queue/RenderQueue$Bucket;Lcom/jme3/renderer/RenderManager;Lcom/jme3/renderer/Camera;Z)V+94
j com.jme3.renderer.RenderManager.renderViewPortQueues(Lcom/jme3/renderer/ViewPort;Z)V+97
j com.jme3.renderer.RenderManager.flushQueue(Lcom/jme3/renderer/ViewPort;)V+3
j com.jme3.renderer.RenderManager.renderViewPort(Lcom/jme3/renderer/ViewPort;F)V+246
j com.jme3.renderer.RenderManager.render(F)V+72
j com.jme3.app.SimpleApplication.update()V+158
j com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop()V+22
j com.jme3.system.lwjgl.LwjglDisplay.runLoop()V+67
j com.jme3.system.lwjgl.LwjglAbstractDisplay.run()V+100
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub

P R O C E S S

Java Threads: ( => current thread )
0x0000000073aef000 JavaThread "jME3 Audio Thread" daemon [_thread_blocked, id=5200, stack(0x0000000076b50000,0x0000000076c50000)]
0x0000000073aee800 JavaThread "DestroyJavaVM" [_thread_blocked, id=680, stack(0x0000000002420000,0x0000000002520000)]
=>0x0000000073aee000 JavaThread "LWJGL Renderer Thread" [_thread_in_native, id=6496, stack(0x0000000074830000,0x0000000074930000)]
0x000000006d10e800 JavaThread "D3D Screen Updater" daemon [_thread_blocked, id=7024, stack(0x0000000072c40000,0x0000000072d40000)]
0x000000006cffa000 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=3180, stack(0x0000000072240000,0x0000000072340000)]
0x000000006cee8800 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=5444, stack(0x000000006e170000,0x000000006e270000)]
0x000000006cee8000 JavaThread "AWT-Windows" daemon [_thread_in_native, id=6652, stack(0x000000006e070000,0x000000006e170000)]
0x000000006ba88800 JavaThread "AWT-Shutdown" [_thread_blocked, id=6964, stack(0x000000006df70000,0x000000006e070000)]
0x000000006ba88000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=6096, stack(0x000000006d650000,0x000000006d750000)]
0x000000006b97f000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=4596, stack(0x000000006cc40000,0x000000006cd40000)]
0x000000006b97a800 JavaThread "CompilerThread1" daemon [_thread_blocked, id=5384, stack(0x000000006cb40000,0x000000006cc40000)]
0x000000006b961000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=5252, stack(0x000000006ca40000,0x000000006cb40000)]
0x000000006b95c000 JavaThread "Attach Listener" daemon [_thread_blocked, id=6372, stack(0x000000006c940000,0x000000006ca40000)]
0x000000006b958800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=6908, stack(0x000000006c840000,0x000000006c940000)]
0x000000006b907000 JavaThread "Finalizer" daemon [_thread_blocked, id=1064, stack(0x000000006c740000,0x000000006c840000)]
0x000000006b900800 JavaThread "Reference Handler" daemon [_thread_blocked, id=1436, stack(0x000000006c640000,0x000000006c740000)]

Other Threads:
0x000000006b8fd000 VMThread [stack: 0x000000006c540000,0x000000006c640000] [id=6244]
0x000000006b992800 WatcherThread [stack: 0x000000006cd40000,0x000000006ce40000] [id=6768]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
PSYoungGen total 28672K, used 24317K [0x000000004a890000, 0x000000004c880000, 0x000000006a7e0000)
eden space 24640K, 98% used [0x000000004a890000,0x000000004c04f520,0x000000004c0a0000)
from space 4032K, 0% used [0x000000004c490000,0x000000004c490000,0x000000004c880000)
to space 4032K, 0% used [0x000000004c0a0000,0x000000004c0a0000,0x000000004c490000)
PSOldGen total 65472K, used 0K [0x000000000a9e0000, 0x000000000e9d0000, 0x000000004a890000)
object space 65472K, 0% used [0x000000000a9e0000,0x000000000a9e0000,0x000000000e9d0000)
PSPermGen total 21248K, used 18033K [0x00000000055e0000, 0x0000000006aa0000, 0x000000000a9e0000)
object space 21248K, 84% used [0x00000000055e0000,0x000000000677c6d8,0x0000000006aa0000)

Dynamic libraries:
0x0000000000400000 - 0x000000000042e000 C:Program FilesJavajdk1.6.0_22jrebinjava.exe
0x00000000778c0000 - 0x0000000077a6c000 C:WindowsSYSTEM32ntdll.dll
0x00000000771e0000 - 0x00000000772ff000 C:Windowssystem32kernel32.dll
0x000007fefde20000 - 0x000007fefde8c000 C:Windowssystem32KERNELBASE.dll
0x000007fefe6f0000 - 0x000007fefe7cb000 C:Windowssystem32ADVAPI32.dll
0x000007fefe340000 - 0x000007fefe3df000 C:Windowssystem32msvcrt.dll
0x000007fefe230000 - 0x000007fefe24f000 C:WindowsSYSTEM32sechost.dll
0x000007fefe100000 - 0x000007fefe22e000 C:Windowssystem32RPCRT4.dll
0x000000006d890000 - 0x000000006df61000 C:Program FilesJavajdk1.6.0_22jrebinserverjvm.dll
0x0000000077660000 - 0x000000007775a000 C:Windowssystem32USER32.dll
0x000007feffb50000 - 0x000007feffbb7000 C:Windowssystem32GDI32.dll
0x000007feffbc0000 - 0x000007feffbce000 C:Windowssystem32LPK.dll
0x000007fefe620000 - 0x000007fefe6ea000 C:Windowssystem32USP10.dll
0x000007fefb4f0000 - 0x000007fefb52b000 C:Windowssystem32WINMM.dll
0x000007fefe3e0000 - 0x000007fefe40e000 C:Windowssystem32IMM32.DLL
0x000007feff960000 - 0x000007feffa69000 C:Windowssystem32MSCTF.dll
0x000000006d800000 - 0x000000006d80e000 C:Program FilesJavajdk1.6.0_22jrebinverify.dll
0x000000006d450000 - 0x000000006d477000 C:Program FilesJavajdk1.6.0_22jrebinjava.dll
0x000000006d3b0000 - 0x000000006d3ba000 C:Program FilesJavajdk1.6.0_22jrebinhpi.dll
0x0000000077a80000 - 0x0000000077a87000 C:Windowssystem32PSAPI.DLL
0x000000006d850000 - 0x000000006d862000 C:Program FilesJavajdk1.6.0_22jrebinzip.dll
0x000000006d480000 - 0x000000006d643000 C:Program FilesJavajdk1.6.0_22jrebinawt.dll
0x000007fefcb90000 - 0x000007fefcc00000 C:Windowssystem32WINSPOOL.DRV
0x000007fefe410000 - 0x000007fefe612000 C:Windowssystem32ole32.dll
0x000007fefe7e0000 - 0x000007feff566000 C:Windowssystem32SHELL32.dll
0x000007feff660000 - 0x000007feff6d1000 C:Windowssystem32SHLWAPI.dll
0x000007fefd620000 - 0x000007fefd814000 C:WindowsWinSxSamd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7600.16661_none_fa62ad231704eab7COMCTL32.dll
0x000007fefbba0000 - 0x000007fefbbb8000 C:Windowssystem32DWMAPI.DLL
0x000007fefdc60000 - 0x000007fefdc6f000 C:Windowssystem32CRYPTBASE.dll
0x000000006d340000 - 0x000000006d3a6000 C:Program FilesJavajdk1.6.0_22jrebinfontmanager.dll
0x000007feeb240000 - 0x000007feeb43f000 C:Windowssystem32d3d9.dll
0x000007fefc930000 - 0x000007fefc93c000 C:Windowssystem32VERSION.dll
0x000007fefba80000 - 0x000007fefba87000 C:Windowssystem32d3d8thk.dll
0x000000006d750000 - 0x000000006d7ec000 C:Windowssystem32aticfx64.dll
0x000007fefba90000 - 0x000007fefba9d000 C:Windowssystem32atiu9p64.dll
0x000000006e600000 - 0x000000006eaff000 C:Windowssystem32atiumd64.dll
0x000000006edc0000 - 0x000000006f0db000 C:Windowssystem32atiumd6a.dll
0x00000000005b0000 - 0x00000000005c7000 C:Program FilesJavajdk1.6.0_22jrebinnet.dll
0x000007feff610000 - 0x000007feff65d000 C:Windowssystem32WS2_32.dll
0x000007fefe7d0000 - 0x000007fefe7d8000 C:Windowssystem32NSI.dll
0x000007fefd2a0000 - 0x000007fefd2f4000 C:Windowssystem32mswsock.dll
0x000007fefd290000 - 0x000007fefd297000 C:WindowsSystem32wship6.dll
0x0000000000590000 - 0x000000000059b000 C:Program FilesJavajdk1.6.0_22jrebinnio.dll
0x000007feffa70000 - 0x000007feffb47000 C:Windowssystem32OLEAUT32.DLL
0x0000000180000000 - 0x0000000180050000 C:UsersanydayDocumentsjMonkeyProjectsBasicGamelwjgl64.dll
0x000007fef7100000 - 0x000007fef721d000 C:Windowssystem32OPENGL32.dll
0x000007fef70d0000 - 0x000007fef70fd000 C:Windowssystem32GLU32.dll
0x000007fef6fd0000 - 0x000007fef70c1000 C:Windowssystem32DDRAW.dll
0x000007fef6fc0000 - 0x000007fef6fc8000 C:Windowssystem32DCIMAN32.dll
0x000007feff780000 - 0x000007feff957000 C:Windowssystem32SETUPAPI.dll
0x000007fefdde0000 - 0x000007fefde16000 C:Windowssystem32CFGMGR32.dll
0x000007fefe000000 - 0x000007fefe01a000 C:Windowssystem32DEVOBJ.dll
0x000007fef8240000 - 0x000007fef8248000 C:Windowssystem32atig6pxx.dll
0x0000000074a30000 - 0x0000000075e44000 C:Windowssystem32atio6axx.dll
0x000007fef8da0000 - 0x000007fef8daa000 C:Windowssystem32atig6txx.dll
0x000000006d3c0000 - 0x000000006d417000 C:Windowssystem32atiadlxx.dll
0x000007fefe020000 - 0x000007fefe05a000 C:Windowssystem32WINTRUST.dll
0x000007fefde90000 - 0x000007fefdff6000 C:Windowssystem32CRYPT32.dll
0x000007fefddd0000 - 0x000007fefdddf000 C:Windowssystem32MSASN1.dll
0x000007feef8f0000 - 0x000007feef98c000 C:Windowssystem32mscms.dll
0x000007fefc860000 - 0x000007fefc87e000 C:Windowssystem32USERENV.dll
0x000007fefdd30000 - 0x000007fefdd3f000 C:Windowssystem32profapi.dll
0x000007feec6b0000 - 0x000007feec6f2000 C:Windowssystem32icm32.dll
0x0000000075e50000 - 0x0000000075ea3000 C:UsersanydayDocumentsjMonkeyProjectsBasicGameOpenAL64.dll
0x0000000076ef0000 - 0x0000000076f78000 C:Windowssystem32dsound.dll
0x000007fefc640000 - 0x000007fefc66c000 C:Windowssystem32POWRPROF.dll
0x000007feff6e0000 - 0x000007feff779000 C:Windowssystem32CLBCatQ.DLL
0x000007fefbbc0000 - 0x000007fefbc0b000 C:WindowsSystem32MMDevApi.dll
0x000007fefc030000 - 0x000007fefc15c000 C:WindowsSystem32PROPSYS.dll
0x000007fefb340000 - 0x000007fefb38f000 C:Windowssystem32AUDIOSES.DLL
0x000007fefbaa0000 - 0x000007fefbaa9000 C:Windowssystem32avrt.dll

VM Arguments:
jvm_args: -Dfile.encoding=UTF-8
java_command: jme3test.helloworld.HelloEffects
Launcher Type: SUN_STANDARD

Environment Variables:
CLASSPATH=.;C:Program Files (x86)Javajre6libextQTJava.zip
PATH=C:jet7.6-evalbin;C:Program FilesCommon FilesMicrosoft SharedWindows Live;C:Program Files (x86)Common FilesMicrosoft SharedWindows Live;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:WindowsSystem32WindowsPowerShellv1.0;C:Program Files (x86)ATI TechnologiesATI.ACECore-Static;C:Program Files (x86)Windows LiveShared;C:Program Files (x86)QuickTimeQTSystem
USERNAME=anyday
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 44 Stepping 2, GenuineIntel



S Y S T E M

OS: Windows 7 Build 7600

CPU:total 12 (16 cores per cpu, 2 threads per core) family 6 model 44 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht

Memory: 4k page, physical 6282360k(2002544k free), swap 12562820k(7070340k free)

vm_info: Java HotSpot(TM) 64-Bit Server VM (17.1-b03) for windows-amd64 JRE (1.6.0_22-b04), built on Sep 15 2010 00:45:56 by "java_re" with MS VC++ 8.0 (VS2005)

time: Tue Oct 25 00:57:06 2011
elapsed time: 2 seconds


[/java]

it fails when updating a texture…maybe a driver issue, could you make sure you run the last version of your graphic drivers?

“could you make sure you run the last version of your graphic drivers?”



Very helpful, thanks a lot.

Smooth sailing now.

1 Like