JVM Crash in jmetest.TutorialGuide.HelloSimpleGame


Hi,

I'm a complete newbie to JME.  Trying to run a "Hello World" test, the JVM
crashes.  I'm running BEA JRockit 1.5.0_04 (under Eclipse) on Win XP SP2.

Dump follows.  Last call on the stack (below) is

at _Java_org_lwjgl_opengl_WindowsDisplay_nReshape@32+324()@0x31F96154

I scanned the forum a bit and saw some suggestions to
upgrade my video driver, so I did that; it's up to date but the crash still
occurs.  My video is nothing exciting or exotic: 
Intel 82915G/GV/910GL.  Driver version 6.14.10.4410.

Any ideas?

Thanks!

Jul 29, 2007 7:46:31 PM com.jme.app.BaseGame start
INFO: Application started.
Jul 29, 2007 7:46:31 PM com.jme.system.PropertiesIO <init>
INFO: PropertiesIO created
Jul 29, 2007 7:46:31 PM com.jme.system.PropertiesIO load
INFO: Read properties
Jul 29, 2007 7:46:46 PM com.jme.input.joystick.DummyJoystickInput <init>
INFO: Joystick support is disabled
Jul 29, 2007 7:46:46 PM com.jme.system.lwjgl.LWJGLDisplaySystem <init>
INFO: LWJGL Display System created.
Jul 29, 2007 7:46:46 PM com.jme.system.lwjgl.LWJGLDisplaySystem getValidDisplayMode
INFO: Selected DisplayMode: 1024 x 768 x 16 @75Hz
Jul 29, 2007 7:46:46 PM com.jme.system.PropertiesIO save
INFO: Saved properties
===== BEGIN DUMP =============================================================
JRockit dump produced after 0 days, 00:00:57 on Sun Jul 29 19:47:25 2007

Additional information is available in:
  C:Documents and SettingsJimeclipseWorkspacejmetestjrockit.9304.dump
  C:Documents and SettingsJimeclipseWorkspacejmetestjrockit.9304.mdmp
If you see this dump, please open a support case with BEA and
supply as much information as you can on your system setup and
the program you were running. You can also search for solutions
to your problem at http://forums.bea.com in
the forum jrockit.developer.interest.general.

Error Message: Illegal memory access. [54]
Exception Rec: EXCEPTION_ACCESS_VIOLATION (c0000005) at 0x31F96154 - memory at 0x00000000 could not be read.
Minidump    : Wrote mdmp. Size is 446MB
Version      : BEA JRockit(R) R26.0.0-189-53463-1.5.0_04-20051122-2041-win-ia32
GC          : System optimized over throughput (initial strategy singleparpar)
            : mmHeap->data = 0x00B00000, mmHeap->top = 0x029C5000
            : Heap is not included in dumps.
CPU          : Intel Pentium 4 (HT) SSE SSE2 NetBurst EM64T
Number CPUs  : 2
Tot Phys Mem : 1063333888 (1014 MB)
OS version  : Microsoft Windows XP version 5.1 Service Pack 2 (Build 2600)
Thread System: Windows Threads
State        : JVM is running
Command Line : -Djrockit.launcher.type=jrockit.shipment -Djava.library.path=C:Documents and SettingsJimjMElib HelloSimpleGame
JAVA_HOME    : <not set>
java.home    : C:Program FilesJavajrockit-R26.0.0-jdk1.5.0_04jre
j.class.path : C:Documents and SettingsJimeclipseWorkspacejmetestbin;C:Documents and SettingsJimjMEjme-ui.jar;C:Documents and SettingsJimjMEjme.jar;C:Documents and SettingsJimjMEjme-awt.jar;C:Documents and SettingsJimjMEjme-collada.jar;C:Documents and SettingsJimjMEjme-editors.jar;C:Documents and SettingsJimjMEjme-effects.jar;C:Documents and SettingsJimjMEjme-font.jar;C:Documents and SettingsJimjMEjme-gamestates.jar;C:Documents and SettingsJimjMEjme-model.jar;C:Documents and SettingsJimjMEjme-scene.jar;C:Documents and SettingsJimjMEjme-sound.jar;C:Documents and SettingsJimjMEjme-terrain.jar;C:Documents and SettingsJimjMEjmetest.jar;C:Documents and SettingsJimjMEjmetest-data.jar;C:Documents and SettingsJimjMEliblwjgl_util_applet.jar;C:Documents and SettingsJimjMElibjinput.jar;C:Documents and SettingsJimjMElibjogg-0.0.7.jar;C:Documents and SettingsJimjMElibjorbis-0.0.15.jar;C:Documents and SettingsJimjMElibjunit-4.1.jar;C:Documents and SettingsJimjMEliblwjgl.jar;C:Documents and SettingsJimjMEliblwjgl_fmod3.jar
j.lib.path  : C:Documents and SettingsJimjMElib
C Heap      : Good; no memory allocations have failed
StackOverFlow: 0 StackOverFlowErrors have occured

Registers (from ThreadContext: 0x0006EE3C / OS context: 0x0006F68C):
  eax = 31f40000    ecx = 00000000    edx = 31f40000    ebx = 00000020
  esp = 0006f958    ebp = 00000000    esi = 00000020    edi = 00000000
    es = 00000023    cs = 0000001b    ss = 00000023    ds = 00000023
    fs = 0000003b    gs = 00000000
  eip = 31f96154 eflags = 00010202

Stack:
(* marks the word pointed to by the stack pointer)
0006f958: 00000000* 00a94e84  01b55330  0006fa04  31f40000  00000020 
0006f970: 00000060  7c66b170  7d7c4333  3d050b45  00000002  3a56d598 
0006f988: 3a56d2d8  3a56d310  3a56d4a0  00000021  00000028  00000020 
0006f9a0: ffffffe0  00180001  00000000  00000000  00000000  00000000 
0006f9b8: 00000000  00000000  00000000  31f963c0  00a94e84  00000000 
0006f9d0: 00000020  00a94d38  0006f9e0  7d7c441b  00a94e84  0006fa00 
0006f9e8: 0006fa04  00a94d38  3a56d598  7d7c4416  305c764c  0006f9e0 
0006fa00: 0139ce78  01b553f8  00a94d38  01b55330  00000000  7d7c4333 
0006fa18: 7d6002a7  305c764c  01b55330  00000000  00000000  01b553a0 
0006fa30: 00000000  00000400  00000000  40400000  013b5988  01b553a0 
0006fa48: 00000002  7d7c4019  00000001  01b55318  00000002  01b55330 
0006fa60: 01b55318  00000000  01580c38  7d7bf5c6  00000001  00a94d38 
0006fa78: 00000080  7d7beeac  00000080  01b21208  00000000  00000300 
0006fa90: 00000080  7d7bee2a  00000080  7d7be8ff  01bade98  7d600dfb 
0006faa8: 00000000  01bade98  01b21208  00000300  01bade98  7d7bce2a 
0006fac0: 00000400  00000400  01bade98  00000400  00000000  7d7bc9fd 
0006fad8: 00000010  0000004b  00000000  305c764c  00c7fb10  00a94d38 
0006faf0: 0141ef90  00a94d38  00f71360  7d600dfb  00000010  00000300 
0006fb08: 0000004b  00a94d38  00f71360  7d66a012  00f6dd20  00c7fb10 
0006fb20: 00c7fb10  00a94d38  00c7fb10  7d668279  fffffffc  7d61af01 
0006fb38: fffffffc  00000000  0006fbe0  7d668250  00000000  00a94e84 
0006fb50: 00a94d38  0006fb78  0006fbe0  009785a4  00a94d38  7d668250 
0006fb68: 0006fbe0  0006fc78  00000000  00000000  30b40810  0094558c 
0006fb80: 7d61aec0  00a94d38  7d668250  0006fbe0  0006fc78  00a94e84 
0006fb98: 00000000  77804118  0006fc78  00000001  00000000  00000000 
0006fbb0: 30577974  00000000  0006fc50  00000001  30577974  00000006 
0006fbc8: 00000003  00000001  00000001  00000000  00000001  00000000 
0006fbe0: 305c7648  30c96aa0  0006fc50  00000000  00000000  00000001 
0006fbf8: 00000001  00000001  00906d77  76bd5100  77804118  008ac02c 
0006fc10: 00a94e84  76bd5100  77804118  0006fc50  008ac172  00a94e84 
0006fc28: 77804118  30c96aa0  00000000  00000000  0006fcd0  00945290 
0006fc40: 0006fc78  00a94e84  0006fcbc  77b90130  30c96aa0  00000000 
0006fc58: 00000000  008ad399  00000000  0006fcd0  00945290  00000001 
0006fc70: 0006fc78  305c7638  00000000  00000000  0089e013  00a94e84 
0006fc88: 305c7638  77804118  0006fcd0  305c7638  00a94e84  77b90130 
0006fca0: 00000000  0006fc94  0006f57c  0006ffb0  0099d182  009a9348 
0006fcb8: 00000000  77804118  0040350d  00a94e84  305c7638  77804118 
0006fcd0: 305c7648  6d6d5d31  77c61a2c  0006ffc0  00000000  00a94e84 
0006fce8: 0040a500  00000001  00353f00  009a9ea4  00000000  00353f28 
0006fd00: 00000000  00353e9b  008b3100  008b2c80  505c3a43  72676f72 
0006fd18: 46206d61  73656c69  76614a5c  726a5c61  696b636f  32522d74 
0006fd30: 2e302e36  646a2d30  352e316b  305f302e  726a5c34  69625c65 
0006fd48: 726a5c6e  696b636f  766a5c74  6c642e6d  0000006c  865bec00 
0006fd60: 8054a6ed  00000008  0000000d  85713888  00080178  e18ad5a0 
0006fd78: 00352430  857138e8  00000004  00000000  00350288  00000001 
0006fd90: 00000000  00350278  a68b8ae0  00084010  00350278  00000004 
0006fda8: a68b8b9c  00350258  00000004  00000000  00000000  00350000 
0006fdc0: 00353ef0  00000000  0006fe9c  7c910d5c  00350000  7c910e91 
0006fdd8: 00350608  7c91056d  00000000  00353ef8  000823b8  00000000 
0006fdf0: 00000000  00353ef0  00000023  00080178  80574f81  805757ae 
0006fe08: 00353ef8  80100000  a68b8c50  505c3a43  72676f72  46206d61 
0006fe20: 73656c69  76614a5c  726a5c61  696b636f  32522d74  2e302e36 
0006fe38: 646a2d30  352e316b  305f302e  726a5c34  616a0065  2e776176 
0006fe50: 00657865  00000020  00353f08  000039a8  00350278  00350000 
0006fe68: 00000510  00350000  0006fc68  00000000  00000000  0101ee18 
0006fe80: 00000002  0006fde0  7c9106eb  0006fed4  7c90ee18  7c910570 
0006fe98: ffffffff  7c91056d  77c2c2de  00350000  00000000  77c2c2e3 
0006feb0: 00000000  00353e9b  7c910945  7c91094e  6d6d5d31  00020000 
0006fec8: 00000000  0006feb0  00000018  7ffdf000  7c901005  0006fec0 
0006fee0: ffffffff  0006ff20  7c90ee18  7c910970  7c97e4c0  7c8021b5 
0006fef8: 7c802011  6d6d5d31  000823fa  00000000  000004eb  0000038f 
0006ff10: 0006ffc0  004084ea  0040457a  00000000  00352504  000823fa 
0006ff28: 00408554  00400000  00000000  000823fa  0000000a  6d6d5d31 
0006ff40: 0000038f  7ffdf000  c0000005  000823fa  00353f08  00000000 
0006ff58: ff676980  00352ac0  00000005  00000044  00083eb8  00083f18 
0006ff70: 00083f30  00000000  00000000  00000000  00000000  00000000 
0006ff88: 00000000  00000000  00000100  00000000  00000000  000013ec 
0006ffa0: 000013f8  00001400  0006ff3c  0006f57c  0006ffe0  00408610 
0006ffb8: 0040d6e0  00000000  0006fff0  7c816fd7  6d6d5d31  0000038f 
0006ffd0: 7ffdf000  8054a6ed  0006ffc8  8531a020  ffffffff  7c839aa8 
0006ffe8: 7c816fe0  00000000  00000000  00000000  00408420  00000000 
00070000: 78746341  00000020  00000001  00002498  000000c4  00000000 
00070018: 00000020  00000000  00000014  00000001  00000006  00000034 
00070030: 00000114  00000001  00000000  00000000  00000000  00000000 
00070048: 00000000  00000002  00000000  00000000  00000000  00000214 
00070060: 0000019c  00000000  2d59495b  000003b0  00000032  000003e4 
00070078: 000002d2  00000000  830202e4  000006b8  00000046  00000700 
00070090: 000002ea  00000000  d18cd5d2  000009ec  00000046  00000a34 
000700a8: 000002ea  00000000  d86aad2e  00000d20  00000046  00000d68 
000700c0: 00000304  00000010  00000004  000000d4  00000002  00000001 
000700d8: 00000114  00000f8c  00000001  00000002  000010a0  0000032c 
000700f0: 00000001  00000004  000013cc  00001050  00000002  00000006 
00070108: 0000241c  0000007c  00000002  64487353  0000002c  00000001 
00070120: 00000001  00000001  00000005  00000088  00000001  00000f58 
00070138: 0000002c  0000005a  0000005a  00000000  00000000  00000000 
00070150: 00000000  00000000  00000000  00000000  00000000  00000000 

Code:
(* marks the word pointed to by the instruction pointer)
31f96054: 5110244c  142444c7  00000000  182444c7  00000000  721415ff 
31f9606c: 548b31fa  542b1024  448b0824  442b0c24  4c8b0424  046a2c24 
31f96084: 24548b52  448b5030  52512c24  ff50006a  fa71bc15  14c48331 
31f9609c: cc0020c2  535cec83  6a575655  33d88b2c  24448ded  e8505544 
31f960b4: 00004548  8424b48b  83000000  55550cc4  1824548d  448d5552 
31f960cc: ce8b5024  55d9f750  582444c7  00000028  5c245c89  60244c89 
31f960e4: 2444c766  66000164  662444c7  6c890018  15ff6824  31fa7210 
31f960fc: 1c15ff50  3931fa70  8910246c  75242444  244c8b12  f9106870 
31f96114: e85131fb  ffffb0f4  8d08c483  c1f65b0c  244c8903  c10e7418 
31f9612c: 0c8d02e9  0000048d  244c8900  7ef53b18  247c8b61  24748974 
31f96144: 8bdb8514  8d102454  3c7e2a04  f38bcf8b  000001f7* 1674ff00 
31f9615c: 0251b60f  118b1088  8808fac1  b60f0150  02508811  00c60beb 
31f96174: 0140c600  0240c600  03c08300  8304c183  cc7501ee  18244c8b 
31f9618c: 009d048d  03000000  83f803e9  0114246c  4c8ba775  006a1024 
31f961a4: 4424448d  046a5150  6a52d08b  1015ff00  5031fa72  703015ff 
31f961bc: 448931fa  448b2824  ff502424  fa701815  c1c38b31  c3f603f8 
31f961d4: 83037407  01a801c0  14244489  e8d10a74  02004c8d  14244c89 
31f961ec: 1424748b  78247c8b  56f7af0f  004096e8  e88b5600  e855006a 
31f96204: 000043f8  8510c483  8b7f7eff  33742454  247489f6  24548920 
31f9621c: 247c8918  85c03224  0007b9db  407e0000  18247c8b  1c245c89 
31f96234: 000007f7  950fff00  83e2d2c2  c20a01e9  75fff983  88d0f60f 
31f9624c: c6832e04  0007b901  c0320000  8304c783  011c246c  f983d275 

Loaded modules:
(* denotes the module causing the exception)
00400000-0040ffff  C:Program FilesJavajrockit-R26.0.0-jdk1.5.0_04binjavaw.exe
7c900000-7c9affff  C:WINDOWSsystem32ntdll.dll
7c800000-7c8f3fff  C:WINDOWSsystem32kernel32.dll
77d40000-77dcffff  C:WINDOWSsystem32USER32.dll
77f10000-77f56fff  C:WINDOWSsystem32GDI32.dll
77dd0000-77e6afff  C:WINDOWSsystem32ADVAPI32.dll
77e70000-77f00fff  C:WINDOWSsystem32RPCRT4.dll
77c10000-77c67fff  C:WINDOWSsystem32MSVCRT.dll
00820000-00a44fff  C:Program FilesJavajrockit-R26.0.0-jdk1.5.0_04jrebinjrockitjvm.dll
76b40000-76b6cfff  C:WINDOWSsystem32WINMM.dll
71ab0000-71ac6fff  C:WINDOWSsystem32WS2_32.dll
71aa0000-71aa7fff  C:WINDOWSsystem32WS2HELP.dll
7c340000-7c395fff  C:Program FilesJavajrockit-R26.0.0-jdk1.5.0_04binMSVCR71.dll
77fe0000-77ff0fff  C:WINDOWSsystem32Secur32.dll
00aa0000-00ac0fff  C:WINDOWSsystem32NTMARTA.DLL
00ad0000-00afbfff  C:WINDOWSsystem32WLDAP32.dll
30390000-304ccfff  C:WINDOWSsystem32ole32.dll
71bf0000-71c02fff  C:WINDOWSsystem32SAMLIB.dll
6d370000-6d38cfff  C:Program FilesJavajrockit-R26.0.0-jdk1.5.0_04jrebinjava.dll
6d680000-6d68bfff  C:Program FilesJavajrockit-R26.0.0-jdk1.5.0_04jrebinverify.dll
6d2f0000-6d2f7fff  C:Program FilesJavajrockit-R26.0.0-jdk1.5.0_04jrebinhpi.dll
6d530000-6d542fff  C:Program FilesJavajrockit-R26.0.0-jdk1.5.0_04jrebinnet.dll
71a50000-71a8efff  C:WINDOWSsystem32mswsock.dll
662b0000-66307fff  C:WINDOWSsystem32hnetcfg.dll
71a90000-71a97fff  C:WINDOWSSystem32wshtcpip.dll
6d550000-6d558fff  C:Program FilesJavajrockit-R26.0.0-jdk1.5.0_04jrebinnio.dll
6d070000-6d1d6fff  C:Program FilesJavajrockit-R26.0.0-jdk1.5.0_04jrebinawt.dll
73000000-73025fff  C:WINDOWSsystem32WINSPOOL.DRV
76390000-763acfff  C:WINDOWSsystem32IMM32.dll
5ad70000-5ada7fff  C:WINDOWSsystem32uxtheme.dll
73760000-737a8fff  C:WINDOWSsystem32ddraw.dll
73bc0000-73bc5fff  C:WINDOWSsystem32DCIMAN32.dll
73940000-73a0ffff  C:WINDOWSsystem32D3DIM700.DLL
6d2b0000-6d2ecfff  C:Program FilesJavajrockit-R26.0.0-jdk1.5.0_04jrebinfontmanager.dll
31590000-31da4fff  C:WINDOWSsystem32shell32.dll
77f60000-77fd5fff  C:WINDOWSsystem32SHLWAPI.dll
31db0000-31eb2fff  C:WINDOWSWinSxSx86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03comctl32.dll
5d090000-5d129fff  C:WINDOWSsystem32comctl32.dll
31f90000-31fdafff *C:Documents and SettingsJimjMEliblwjgl.dll
72280000-722a9fff  C:WINDOWSsystem32DINPUT.dll
5ed00000-5edcbfff  C:WINDOWSsystem32OPENGL32.dll
68b20000-68b3ffff  C:WINDOWSsystem32GLU32.dll
77c00000-77c07fff  C:WINDOWSsystem32VERSION.dll
320a0000-322d7fff  C:WINDOWSsystem32iglicd32.dll
3ac10000-3ac91fff  C:WINDOWSsystem32igldev32.dll
4aa00000-4aa7efff  C:WINDOWSsystem32CLBCATQ.DLL
4aa80000-4ab44fff  C:WINDOWSsystem32COMRes.dll
4ab50000-4abdbfff  C:WINDOWSsystem32OLEAUT32.dll
6ce10000-6ce47fff  C:WINDOWSsystem32dinput8.dll
688f0000-688f8fff  C:WINDOWSsystem32HID.DLL
4abe0000-4acd2fff  C:WINDOWSsystem32SETUPAPI.DLL
31fe0000-3200dfff  C:WINDOWSsystem32WINTRUST.dll
4ace0000-4ad73fff  C:WINDOWSsystem32CRYPT32.dll
32370000-32381fff  C:WINDOWSsystem32MSASN1.dll
323c0000-323e7fff  C:WINDOWSsystem32IMAGEHLP.dll
02800000-028c0fff  C:Program FilesJavajrockit-R26.0.0-jdk1.5.0_04jrebindbghelp.dll
76bf0000-76bfafff  C:WINDOWSsystem32psapi.dll


"Main Thread" id=1 idx=0x2 tid=7872 lastJavaFrame=0x0006F9F0

Stack 0: start=0x00030000, end=0x00070000, guards=0x00033000 (ok), forbidden=0x00031000
Thread Stack Trace:
    at _Java_org_lwjgl_opengl_WindowsDisplay_nReshape@32+324()@0x31F96154
    -- Java stack --
    at org/lwjgl/opengl/WindowsDisplay.nSetWindowIcon32(Ljava/nio/IntBuffer;)I(Native Method)
    at org/lwjgl/opengl/WindowsDisplay.setIcon([Ljava/nio/ByteBuffer;)I(WindowsDisplay.java:468)
    at org/lwjgl/opengl/Display.setIcon([Ljava/nio/ByteBuffer;)I(Display.java:931)
    at org/lwjgl/opengl/Display.createWindow()V(Display.java:262)
    at org/lwjgl/opengl/Display.create(Lorg/lwjgl/opengl/PixelFormat;Lorg/lwjgl/opengl/Drawable;)V(Display.java:694)
    at org/lwjgl/opengl/Display.create(Lorg/lwjgl/opengl/PixelFormat;)V(Display.java:648)
    at com/jme/system/lwjgl/LWJGLDisplaySystem.initDisplay()V(Unknown Source)
    at com/jme/system/lwjgl/LWJGLDisplaySystem.createWindow(IIIIZ)V(Unknown Source)
    at HelloSimpleGame.initSystem()V(HelloSimpleGame.java:160)
    at com/jme/app/BaseGame.start()V(Unknown Source)
    at HelloSimpleGame.main([Ljava/lang/String;)V(HelloSimpleGame.java:46)
    at jrockit/vm/RNI.c2java(IIII)V(Native Method)
    -- end of trace

Additional information is available in:
  C:Documents and SettingsJimeclipseWorkspacejmetestjrockit.9304.dump
  C:Documents and SettingsJimeclipseWorkspacejmetestjrockit.9304.mdmp
If you see this dump, please open a support case with BEA and
supply as much information as you can on your system setup and
the program you were running. You can also search for solutions
to your problem at http://forums.bea.com in
the forum jrockit.developer.interest.general.
===== END DUMP ===============================================================


looks like a driver issue to me… but I've never tried it with jrockit.  Maybe for kicks try using sun's jvm?


Yep, that did it, using Sun's jre rather than jrockit works fine - thanks!

I now have the same issue as others - Y axis is backwards (up is down) but
I'll read other posts for that...

Thanks again...