Some problems with LWJGL

Started by ChuhChuh, June 03, 2010, 12:32:11

Previous topic - Next topic

ChuhChuh

Hi all !

Trying to run jmonkey with latest version of lwjgl (2.4.2) on ATI Xpress 1250 chipset with drivers  8.403.0.0 and recieving this error


I knew to this forum so if there is a special place to post information about bugs please let me know.


#
# An unexpected error has been detected by Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c90100b, pid=3912, tid=420
#
# Java VM: Java HotSpot(TM) Client VM (11.3-b02 mixed mode, sharing windows-x86)
# Problematic frame:
# C  [ntdll.dll+0x100b]
#
# 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.
#

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

Current thread (0x00387c00):  JavaThread "main" [_thread_in_native, id=420, stack(0x008c0000,0x00910000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000034

Registers:
EAX=0x00000020, EBX=0x00000045, ECX=0x7ffde000, EDX=0x00000020
ESP=0x0090efcc, EBP=0x0090efd4, ESI=0x00000000, EDI=0x0090f467
EIP=0x7c90100b, EFLAGS=0x00010202

Top of Stack: (sp=0x0090efcc)
0x0090efcc:   6948e3f7 00000020 0090f010 6948e2af
0x0090efdc:   00000000 0090f467 00000000 00000045
0x0090efec:   00000000 00000000 0090efe0 0090efe0
0x0090effc:   0090ebf0 0090fdc8 694943a4 694be9e8
0x0090f00c:   ffffffff 0090f84c 69331647 00000000
0x0090f01c:   694cf36c 0090f048 0090f467 694cf378
0x0090f02c:   694ca014 03f6b310 03f6b3f8 00000000
0x0090f03c:   0090f08a 00000000 0190f1a4 00000000

Instructions: (pc=0x7c90100b)
0x7c900ffb:   00 00 00 00 00 64 8b 0d 18 00 00 00 8b 54 24 04
0x7c90100b:   83 7a 14 00 75 4f f0 ff 42 04 75 19 8b 41 24 89


Stack: [0x008c0000,0x00910000],  sp=0x0090efcc,  free space=315k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [ntdll.dll+0x100b]
C  [atioglxx.dll+0x48e2af]
C  [atioglxx.dll+0x331647]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.lwjgl.opengl.WindowsPeerInfo.setPixelFormat(JI)V+0
j  org.lwjgl.opengl.WindowsDisplay.createWindow(Lorg/lwjgl/opengl/DisplayMode;Ljava/awt/Canvas;II)V+175
j  org.lwjgl.opengl.Display.createWindow()V+68
j  org.lwjgl.opengl.Display.create(Lorg/lwjgl/opengl/PixelFormat;Lorg/lwjgl/opengl/Drawable;Lorg/lwjgl/opengl/ContextAttribs;)V+63
j  org.lwjgl.opengl.Display.create(Lorg/lwjgl/opengl/PixelFormat;)V+9
j  com.jme.system.lwjgl.LWJGLDisplaySystem.initDisplay()V+85
j  com.jme.system.lwjgl.LWJGLDisplaySystem.createWindow(IIIIZ)V+111
j  com.jme.app.BaseSimpleGame.initSystem()V+119
j  com.jme.app.BaseGame.start()V+20
j  jmetest.terrain.TestHillHeightmap.main([Ljava/lang/String;)V+16
v  ~StubRoutines::call_stub

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

Java Threads: ( => current thread )
  0x03562400 JavaThread "D3D Screen Updater" daemon [_thread_blocked, id=524, stack(0x038e0000,0x03930000)]
  0x02f6a400 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=1332, stack(0x03320000,0x03370000)]
  0x02e58400 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=2508, stack(0x031a0000,0x031f0000)]
  0x02e44c00 JavaThread "AWT-Windows" daemon [_thread_in_native, id=268, stack(0x03110000,0x03160000)]
  0x02f31400 JavaThread "AWT-Shutdown" [_thread_blocked, id=2212, stack(0x030c0000,0x03110000)]
  0x02f30400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=2616, stack(0x03070000,0x030c0000)]
  0x02aacc00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3276, stack(0x02d20000,0x02d70000)]
  0x02aa6400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2976, stack(0x02cd0000,0x02d20000)]
  0x02aa5000 JavaThread "Attach Listener" daemon [_thread_blocked, id=2324, stack(0x02c80000,0x02cd0000)]
  0x02aa3c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3696, stack(0x02c30000,0x02c80000)]
  0x02a61800 JavaThread "Finalizer" daemon [_thread_blocked, id=3600, stack(0x02be0000,0x02c30000)]
  0x02a60000 JavaThread "Reference Handler" daemon [_thread_blocked, id=3544, stack(0x02b90000,0x02be0000)]
=>0x00387c00 JavaThread "main" [_thread_in_native, id=420, stack(0x008c0000,0x00910000)]

Other Threads:
  0x02a5e800 VMThread [stack: 0x02b40000,0x02b90000] [id=2116]
  0x02ac0400 WatcherThread [stack: 0x02d70000,0x02dc0000] [id=3924]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
def new generation   total 960K, used 250K [0x22990000, 0x22a90000, 0x22e70000)
  eden space 896K,  20% used [0x22990000, 0x229be880, 0x22a70000)
  from space 64K, 100% used [0x22a80000, 0x22a90000, 0x22a90000)
  to   space 64K,   0% used [0x22a70000, 0x22a70000, 0x22a80000)
tenured generation   total 4096K, used 2111K [0x22e70000, 0x23270000, 0x26990000)
   the space 4096K,  51% used [0x22e70000, 0x2307ff78, 0x23080000, 0x23270000)
compacting perm gen  total 12288K, used 1093K [0x26990000, 0x27590000, 0x2a990000)
   the space 12288K,   8% used [0x26990000, 0x26aa1748, 0x26aa1800, 0x27590000)
    ro space 8192K,  63% used [0x2a990000, 0x2aea8810, 0x2aea8a00, 0x2b190000)
    rw space 12288K,  53% used [0x2b190000, 0x2b7fd300, 0x2b7fd400, 0x2bd90000)

Dynamic libraries:
0x00400000 - 0x00424000    E:\Program Files\Java\jre6\bin\javaw.exe
0x7c900000 - 0x7c9b3000    E:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f8000    E:\WINDOWS\system32\kernel32.dll
0x77dc0000 - 0x77e6c000    E:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f02000    E:\WINDOWS\system32\RPCRT4.dll
0x77fe0000 - 0x77ff1000    E:\WINDOWS\system32\Secur32.dll
0x7e360000 - 0x7e3fe000    E:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f59000    E:\WINDOWS\system32\GDI32.dll
0x7c340000 - 0x7c396000    E:\Program Files\Java\jre6\bin\msvcr71.dll
0x6d800000 - 0x6da56000    E:\Program Files\Java\jre6\bin\client\jvm.dll
0x76b20000 - 0x76b4e000    E:\WINDOWS\system32\WINMM.dll
0x6d290000 - 0x6d298000    E:\Program Files\Java\jre6\bin\hpi.dll
0x76be0000 - 0x76beb000    E:\WINDOWS\system32\PSAPI.DLL
0x6d7b0000 - 0x6d7bc000    E:\Program Files\Java\jre6\bin\verify.dll
0x6d330000 - 0x6d34f000    E:\Program Files\Java\jre6\bin\java.dll
0x6d7f0000 - 0x6d7ff000    E:\Program Files\Java\jre6\bin\zip.dll
0x6d000000 - 0x6d14a000    E:\Program Files\Java\jre6\bin\awt.dll
0x72fc0000 - 0x72fe6000    E:\WINDOWS\system32\WINSPOOL.DRV
0x77c00000 - 0x77c58000    E:\WINDOWS\system32\msvcrt.dll
0x76360000 - 0x7637d000    E:\WINDOWS\system32\IMM32.dll
0x774d0000 - 0x7760d000    E:\WINDOWS\system32\ole32.dll
0x773c0000 - 0x774c3000    E:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll
0x77f60000 - 0x77fd8000    E:\WINDOWS\system32\SHLWAPI.dll
0x5b260000 - 0x5b298000    E:\WINDOWS\system32\uxtheme.dll
0x746e0000 - 0x7472c000    E:\WINDOWS\system32\MSCTF.dll
0x6d230000 - 0x6d284000    E:\Program Files\Java\jre6\bin\fontmanager.dll
0x4fd70000 - 0x4ff16000    E:\WINDOWS\system32\d3d9.dll
0x6df20000 - 0x6df26000    E:\WINDOWS\system32\d3d8thk.dll
0x77bf0000 - 0x77bf8000    E:\WINDOWS\system32\VERSION.dll
0x7c9c0000 - 0x7dfd6000    E:\WINDOWS\system32\shell32.dll
0x10000000 - 0x10057000    E:\Documents and Settings\Admin\Мои документы\eclipse\jME2_0_1-Stable\lib\lib\lwjgl\native\windows\lwjgl.dll
0x5f220000 - 0x5f2ec000    E:\WINDOWS\system32\OPENGL32.dll
0x5ff90000 - 0x5ffb1000    E:\WINDOWS\system32\GLU32.dll
0x73720000 - 0x7376b000    E:\WINDOWS\system32\DDRAW.dll
0x73b80000 - 0x73b86000    E:\WINDOWS\system32\DCIMAN32.dll
0x6d610000 - 0x6d623000    E:\Program Files\Java\jre6\bin\net.dll
0x71a90000 - 0x71aa7000    E:\WINDOWS\system32\WS2_32.dll
0x71a80000 - 0x71a88000    E:\WINDOWS\system32\WS2HELP.dll
0x6d630000 - 0x6d639000    E:\Program Files\Java\jre6\bin\nio.dll
0x69000000 - 0x6953d000    E:\WINDOWS\system32\atioglxx.dll

VM Arguments:
jvm_args: -Djava.library.path=E:\Documents and Settings\Admin\Мои документы\eclipse\jME2_0_1-Stable\lib\lib\lwjgl\native\windows -Dfile.encoding=Cp1251
java_command: jmetest.terrain.TestHillHeightmap
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=E:/Program Files/Java/jre6/bin/client;E:/Program Files/Java/jre6/bin;E:\WINDOWS\system32;E:\WINDOWS;E:\WINDOWS\System32\Wbem;E:\Program Files\Autodesk\Backburner\;E:\Program Files\Common Files\Autodesk Shared\;E:\Program Files\ATI Technologies\ATI.ACE\Core-Static
USERNAME=Admin
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel



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

OS: Windows XP Build 2600 Service Pack 3

CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 13, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3

Memory: 4k page, physical 1833060k(983304k free), swap 3775784k(3012808k free)

vm_info: Java HotSpot(TM) Client VM (11.3-b02) for windows-x86 JRE (1.6.0_13-b03), built on Mar  9 2009 01:15:24 by "java_re" with MS VC++ 7.1

time: Thu Jun 03 16:08:37 2010
elapsed time: 2 seconds

What may be the cause of this error? Any advaice on how fix it?

Fool Running

Might be similar to the crashes in http://lwjgl.org/forum/index.php/topic,3355.0.html. They look very similar but have slightly different stack traces.
If not, its possible its a problem in the JMonkey engine.
Programmers will, one day, rule the world... and the world won't notice until its too late.Just testing the marquee option ;D

ChuhChuh

It's definitely not the JME problem because i tryed to run examples from your site for example FullScreenWindowedTest  recived same error


Stack: [0x008c0000,0x00910000],  sp=0x0090f02c,  free space=316k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [ntdll.dll+0x100b]
C  [atioglxx.dll+0x48e2af]
C  [atioglxx.dll+0x331647]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.lwjgl.opengl.WindowsPeerInfo.setPixelFormat(JI)V+0
j  org.lwjgl.opengl.WindowsDisplay.createWindow(Lorg/lwjgl/opengl/DisplayMode;Ljava/awt/Canvas;II)V+187
j  org.lwjgl.opengl.Display.createWindow()V+68
j  org.lwjgl.opengl.Display.create(Lorg/lwjgl/opengl/PixelFormat;Lorg/lwjgl/opengl/Drawable;Lorg/lwjgl/opengl/ContextAttribs;)V+63
j  org.lwjgl.opengl.Display.create(Lorg/lwjgl/opengl/PixelFormat;)V+9
j  org.lwjgl.opengl.Display.create()V+13
j  test.Full.initialize()V+4
j  test.Full.execute()V+1
j  test.Full.main([Ljava/lang/String;)V+25
v  ~StubRoutines::call_stub

Is there a way i can help you test this issue?