can you help me ?

Started by Dimitry, January 09, 2005, 15:17:04

Previous topic - Next topic

Dimitry

when I runing the test I have:
do you know what it's mean ?
I have MB 810 + WinXP.
Video on board.
Do you know what I can do with it ?
Thank you...

Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x806741A
Function=[Unknown.]
Library=D:\java5\JBuilder2005\jdk1.4\jre\bin\client\jvm.dll

NOTE: We are unable to locate the function name symbol for the error
     just occurred. Please refer to release documentation for possible
     reason and solutions.


Current Java thread:
   at org.lwjgl.opengl.Win32Display.createContext(Native Method)
   at org.lwjgl.opengl.Display.create(Display.java:522)
   at org.lwjgl.opengl.Display.create(Display.java:499)
   at org.lwjgl.examples.spaceinvaders.Game.initialize(Game.java:217)
   at org.lwjgl.examples.spaceinvaders.Game.<init>(Game.java:180)
   at org.lwjgl.examples.spaceinvaders.Game.main(Game.java:584)

Dynamic libraries:
0x00400000 - 0x00407000    C:\WINDOWS\system32\java.exe
0x7C900000 - 0x7C9B0000    C:\WINDOWS\system32\ntdll.dll
0x7C800000 - 0x7C8F4000    C:\WINDOWS\system32\kernel32.dll
0x77DD0000 - 0x77E6B000    C:\WINDOWS\system32\ADVAPI32.dll
0x77E70000 - 0x77F01000    C:\WINDOWS\system32\RPCRT4.dll
0x77C10000 - 0x77C68000    C:\WINDOWS\system32\MSVCRT.dll
0x00280000 - 0x002F3000    C:\WINDOWS\TEMP\gha3.tmp
0x5D090000 - 0x5D127000    C:\WINDOWS\system32\COMCTL32.DLL
0x77F10000 - 0x77F56000    C:\WINDOWS\system32\GDI32.dll
0x77D40000 - 0x77DD0000    C:\WINDOWS\system32\USER32.dll
0x71B20000 - 0x71B32000    C:\WINDOWS\system32\MPR.DLL
0x774E0000 - 0x7761C000    C:\WINDOWS\system32\OLE32.DLL
0x77120000 - 0x771AC000    C:\WINDOWS\system32\OLEAUT32.DLL
0x71AD0000 - 0x71AD9000    C:\WINDOWS\system32\WSOCK32.DLL
0x71AB0000 - 0x71AC7000    C:\WINDOWS\system32\WS2_32.dll
0x71AA0000 - 0x71AA8000    C:\WINDOWS\system32\WS2HELP.dll
0x08000000 - 0x08138000    D:\java5\JBuilder2005\jdk1.4\jre\bin\client\jvm.dll
0x76B40000 - 0x76B6D000    C:\WINDOWS\system32\WINMM.dll
0x10000000 - 0x10007000    D:\java5\JBuilder2005\jdk1.4\jre\bin\hpi.dll
0x00360000 - 0x0036E000    D:\java5\JBuilder2005\jdk1.4\jre\bin\verify.dll
0x00370000 - 0x00389000    D:\java5\JBuilder2005\jdk1.4\jre\bin\java.dll
0x00390000 - 0x0039D000    D:\java5\JBuilder2005\jdk1.4\jre\bin\zip.dll
0x02E00000 - 0x02E55000    D:\java5\JBuilder2005\jdk1.4\jre\bin\lwjgl.dll
0x72280000 - 0x722AA000    C:\WINDOWS\system32\DINPUT.dll
0x5ED00000 - 0x5EDCC000    C:\WINDOWS\system32\OPENGL32.dll
0x68B20000 - 0x68B40000    C:\WINDOWS\system32\GLU32.dll
0x73760000 - 0x737A9000    C:\WINDOWS\system32\DDRAW.dll
0x73BC0000 - 0x73BC6000    C:\WINDOWS\system32\DCIMAN32.dll
0x77C00000 - 0x77C08000    C:\WINDOWS\system32\VERSION.dll
0x5AD70000 - 0x5ADA8000    C:\WINDOWS\system32\uxtheme.dll
0x74720000 - 0x7476B000    C:\WINDOWS\system32\MSCTF.dll
0x07110000 - 0x07183000    C:\WINDOWS\TEMP\fiaA.tmp
0x76C90000 - 0x76CB8000    C:\WINDOWS\system32\imagehlp.dll
0x59A60000 - 0x59B01000    C:\WINDOWS\system32\DBGHELP.dll
0x76BF0000 - 0x76BFB000    C:\WINDOWS\system32\PSAPI.DLL

Heap at VM Abort:
Heap
def new generation   total 576K, used 343K [0x10010000, 0x100b0000, 0x104f0000)
 eden space 512K,  67% used [0x10010000, 0x10065c38, 0x10090000)
 from space 64K,   0% used [0x10090000, 0x10090000, 0x100a0000)
 to   space 64K,   0% used [0x100a0000, 0x100a0000, 0x100b0000)
tenured generation   total 1408K, used 0K [0x104f0000, 0x10650000, 0x14010000)
  the space 1408K,   0% used [0x104f0000, 0x104f0000, 0x104f0200, 0x10650000)
compacting perm gen  total 4096K, used 1240K [0x14010000, 0x14410000, 0x18010000)
  the space 4096K,  30% used [0x14010000, 0x141461b8, 0x14146200, 0x14410000)

Local Time = Sun Jan 09 17:15:54 2005
Elapsed Time = 3
#
# HotSpot Virtual Machine Error : EXCEPTION_ACCESS_VIOLATION
# Error ID : 4F530E43505002EF
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_04-b05 mixed mode)
#

Fool Running

don't know exactly...

What video card do you have?
Have you tried running other OpenGL apps?

This information will help alot. :lol:
Programmers will, one day, rule the world... and the world won't notice until its too late.Just testing the marquee option ;D

princec

Intel 810, he says. Probably you need new video drivers, as the 810 by default ships with no drivers. I think LWJGL shouldn't crash in this case though.

Cas :)

napier

FYI I'm getting a nearly identical error when running version .92 on a lower-end machine (error below).  Unfortunately I don't know the exact details of the machine (a client is running it in Thailand) but it's a laptop, most likely has integrated graphics.  

I'm assuming this is not a case of a missing opengl  dll since opengl32.dll shows in the library list.  And I just noticed it looks like they're running WINNT.  Don't know if that's a factor.  If it is a case of bad or missing drivers then is there a way to check for that in code (for a graceful exit)?

Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x80675E0
Function=[Unknown.]
Library=c:\programmi\java\j2re1.4.2_06\bin\client\jvm.dll

NOTE: We are unable to locate the function name symbol for the error
      just occurred. Please refer to release documentation for possible
      reason and solutions.

Current Java thread:
        at org.lwjgl.opengl.Display.createContext(Native Method)
        at org.lwjgl.opengl.Display.create(Unknown Source)
        at GLApp.initDisplay(GLApp.java:481)
        at GL_psoup_2005.init(GL_psoup_2005.java:45)
        at GLApp.run(GLApp.java:104)
        at GL_psoup_2005.main(GL_psoup_2005.java:682)

Dynamic libraries:
0x00400000 - 0x0043A000         C:\Documents and Settings\Administrator\Desktop\ps2005_test\napier\ps2005\ps2005.exe
0x78460000 - 0x784E0000         C:\WINNT\system32\ntdll.dll
0x79260000 - 0x792C2000         C:\WINNT\system32\ADVAPI32.DLL
0x796B0000 - 0x7976A000         C:\WINNT\system32\KERNEL32.DLL
0x77120000 - 0x7718E000         C:\WINNT\system32\RPCRT4.DLL
0x77F40000 - 0x77F79000         C:\WINNT\system32\GDI32.dll
0x77E10000 - 0x77E6F000         C:\WINNT\system32\USER32.dll
0x78000000 - 0x78045000         C:\WINNT\system32\msvcrt.dll
0x08000000 - 0x08139000         c:\programmi\java\j2re1.4.2_06\bin\client\jvm.dll
0x77550000 - 0x77581000         C:\WINNT\system32\WINMM.dll
0x10000000 - 0x10007000         c:\programmi\java\j2re1.4.2_06\bin\hpi.dll
0x00A40000 - 0x00A4E000         c:\programmi\java\j2re1.4.2_06\bin\verify.dll
0x00A50000 - 0x00A69000         c:\programmi\java\j2re1.4.2_06\bin\java.dll
0x00A70000 - 0x00A7D000         c:\programmi\java\j2re1.4.2_06\bin\zip.dll
0x18EB0000 - 0x18EEB000         C:\Documents and Settings\Administrator\Desktop\ps2005_test\napier\ps2005\lwjgl.dll
0x5F580000 - 0x5F5A8000         C:\WINNT\system32\DINPUT.dll
0x693E0000 - 0x694A7000         C:\WINNT\system32\OPENGL32.dll
0x6FA30000 - 0x6FA50000         C:\WINNT\system32\GLU32.dll
0x51000000 - 0x51047000         C:\WINNT\system32\DDRAW.dll
0x72840000 - 0x72846000         C:\WINNT\system32\DCIMAN32.dll
0x77820000 - 0x77827000         C:\WINNT\system32\VERSION.dll
0x75980000 - 0x75986000         C:\WINNT\system32\LZ32.DLL
0x77920000 - 0x77943000         C:\WINNT\system32\imagehlp.dll
0x729A0000 - 0x729CD000         C:\WINNT\system32\DBGHELP.dll
0x68F70000 - 0x68F7B000         C:\WINNT\system32\PSAPI.DLL
penGL/Java/LWJGL demos and code: http://potatoland.org/code/gl

elias

Not without knowing more, I'm afraid. LWJGL checks every function for failures and throws an exception if something goes wrong. Your client either has bad drivers, or there's some obscure bug in LWJGL that we've missed. Both are hard to track down and fix, without the config at hand. What I usually do when I discover a native bug like is to print debug output before every call in the crashing method (in this case createContext) and make the user run it and send me the output. Tedious, but there's not much we can do about it.

Things like this makes you appreciate stack traces and pointer-free languages.

- elias

princec

Elias, this error invariably occurs now when no GL drivers are actually present on the machine. We should attempt to catch it and throw a sane exception.

Cas :)

elias

Indeed you're right, so I did the only right thing: uninstalled my drivers, tracked down the bug, and fixed it. I wish more people would do that :)

- elias

princec

Sorry, would have had a go tonight but you got there first :) Cheers for that fix.

Cas :)

napier

FYI, I got that error today on a Windows 2000 machine that had the drivers installed and working, but was set to 16 bit color.  My app tried to run in 32 bit color and got the Display.createContext(Native Method) error.  

I fixed it by switching the OS to 32 bit color.  

This may be a moot point but I thought I'd pass it along (also I'm running version .92).

napier
penGL/Java/LWJGL demos and code: http://potatoland.org/code/gl