Desktop version causes JVM head dump

Anything libgdx related goes here!

Desktop version causes JVM head dump

Postby Landei » Sun May 13, 2018 1:15 pm

Hi!

I was distributing a pre-alpha version of a small game to some friends. For me, it works perfectly fine, but one guy complained about multiple crashes, and send me the following JVM head dump. Unfortunately, he couldn't see any pattern for the crashes. The only difference I could spot is that he uses Windows 7, while I'm on Windows 10.

I'm new to libGDX, maybe one of you would be kind enough to have a look. Of course I can provide my code, if it is helpful.

Libs:
gdx, gdx-backend-lwjgl, gdx-platform-natives-desktop: 1.9.8
lwjgl, lwjgl-platform-natives-windows: 2.9.2

Code: Select all
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x17fd84f7, pid=7748, tid=0x00002324
#
# JRE version: Java(TM) SE Runtime Environment (8.0_171-b11) (build 1.8.0_171-b11)
# Java VM: Java HotSpot(TM) Client VM (25.171-b11 mixed mode, sharing windows-x86 )
# Problematic frame:
# C  [ig7icd32.dll+0x6584f7]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/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 (0x15207800):  JavaThread "LWJGL Application" [_thread_in_native, id=8996, stack(0x154e0000,0x15530000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000000

Registers:
EAX=0x00000000, EBX=0x7db09c90, ECX=0x00000000, EDX=0xffffffff
ESP=0x1552e97c, EBP=0x16587518, ESI=0x7db99e10, EDI=0x7d52fef8
EIP=0x17fd84f7, EFLAGS=0x00010246

Top of Stack: (sp=0x1552e97c)
0x1552e97c:   1552ebb0 3a935190 00000000 16530080
0x1552e98c:   00000534 00000000 00000000 16587844
0x1552e99c:   171775a8 16587518 628b09cd 00000000
0x1552e9ac:   166f01cc 166f0000 00000000 00000000
0x1552e9bc:   7db09c90 7db99e10 7d52fef8 00000001
0x1552e9cc:   166f01cc 00000000 00000000 00000000
0x1552e9dc:   00000000 0006c001 170e5c80 1aef6dd0
0x1552e9ec:   00000040 1aef6f20 00000000 17104c60

Instructions: (pc=0x17fd84f7)
0x17fd84d7:   00 8b 54 24 24 8b 43 08 8b 4b 04 83 c4 0c 52 8b
0x17fd84e7:   93 10 0a 00 00 50 51 8b 0b e8 cb bc ff ff 8b 0b
0x17fd84f7:   83 39 00 74 22 8b 01 66 83 78 08 00 74 19 83 38
0x17fd8507:   00 74 14 8b 54 24 18 8b 83 10 0a 00 00 52 50 8d


Register to memory mapping:

EAX=0x00000000 is an unknown value
EBX=0x7db09c90 is an unknown value
ECX=0x00000000 is an unknown value
EDX=0xffffffff is an unknown value
ESP=0x1552e97c is pointing into the stack for thread: 0x15207800
EBP=0x16587518 is an unknown value
ESI=0x7db99e10 is an unknown value
EDI=0x7d52fef8 is an unknown value


Stack: [0x154e0000,0x15530000],  sp=0x1552e97c,  free space=314k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [ig7icd32.dll+0x6584f7]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 1030  org.lwjgl.opengl.GL20.nglLinkProgram(IJ)V (0 bytes) @ 0x026f6b2b [0x026f6ae0+0x4b]
J 1029 C1 com.badlogic.gdx.graphics.glutils.ShaderProgram.linkProgram(I)I (100 bytes) @ 0x026f4ca4 [0x026f49f0+0x2b4]
J 1026 C1 com.badlogic.gdx.graphics.glutils.ShaderProgram.compileShaders(Ljava/lang/String;Ljava/lang/String;)V (76 bytes) @ 0x026f36e4 [0x026f35f0+0xf4]
J 1025 C1 com.badlogic.gdx.graphics.glutils.ShaderProgram.<init>(Ljava/lang/String;Ljava/lang/String;)V (246 bytes) @ 0x026f27d8 [0x026f2060+0x778]
J 1044 C1 com.badlogic.gdx.graphics.glutils.ShapeRenderer.<init>(ILcom/badlogic/gdx/graphics/glutils/ShaderProgram;)V (146 bytes) @ 0x02700d50 [0x02700a90+0x2c0]
J 1002 C1 org.yeb.game.GameScreen.render(F)V (305 bytes) @ 0x026e8efc [0x026e8a70+0x48c]
J 979 C1 com.badlogic.gdx.Game.render()V (25 bytes) @ 0x026e1f30 [0x026e1ed0+0x60]
j  com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop()V+698
j  com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run()V+27
v  ~StubRoutines::call_stub

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

Java Threads: ( => current thread )
  0x15268c00 JavaThread "LWJGL Timer" daemon [_thread_blocked, id=6952, stack(0x16b00000,0x16b50000)]
  0x0028e400 JavaThread "DestroyJavaVM" [_thread_blocked, id=6104, stack(0x00990000,0x009e0000)]
=>0x15207800 JavaThread "LWJGL Application" [_thread_in_native, id=8996, stack(0x154e0000,0x15530000)]
  0x00bd8800 JavaThread "Service Thread" daemon [_thread_blocked, id=11476, stack(0x14fc0000,0x15010000)]
  0x00bb8c00 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=12256, stack(0x14ee0000,0x14f30000)]
  0x00bb7c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=6364, stack(0x14c60000,0x14cb0000)]
  0x00bb4c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5748, stack(0x14d90000,0x14de0000)]
  0x00ba4000 JavaThread "Finalizer" daemon [_thread_blocked, id=4864, stack(0x14bf0000,0x14c40000)]
  0x00b45000 JavaThread "Reference Handler" daemon [_thread_blocked, id=5800, stack(0x14b40000,0x14b90000)]

Other Threads:
  0x00b42c00 VMThread [stack: 0x14aa0000,0x14af0000] [id=10812]
  0x00bea400 WatcherThread [stack: 0x15070000,0x150c0000] [id=9880]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap:
 def new generation   total 38720K, used 17586K [0x04600000, 0x07000000, 0x09b50000)
  eden space 34432K,  44% used [0x04600000, 0x0551aa10, 0x067a0000)
  from space 4288K,  49% used [0x067a0000, 0x069b2020, 0x06bd0000)
  to   space 4288K,   0% used [0x06bd0000, 0x06bd0000, 0x07000000)
 tenured generation   total 85976K, used 57913K [0x09b50000, 0x0ef46000, 0x14600000)
   the space 85976K,  67% used [0x09b50000, 0x0d3de680, 0x0d3de800, 0x0ef46000)
 Metaspace       used 2877K, capacity 4646K, committed 4736K, reserved 5504K

Card table byte_map: [0x00a30000,0x00ac0000] byte_map_base: 0x00a0d000

Polling page: 0x00150000

CodeCache: size=32768Kb used=2056Kb max_used=2056Kb free=30711Kb
 bounds [0x02510000, 0x02718000, 0x04510000]
 total_blobs=1398 nmethods=1106 adapters=222
 compilation: enabled

Compilation events (10 events):
Event: 91.998 Thread 0x00bb8c00 1104             com.badlogic.gdx.backends.lwjgl.LwjglInput::toGdxButton (36 bytes)
Event: 91.998 Thread 0x00bb8c00 nmethod 1104 0x0270ed88 code [0x0270ee80, 0x0270ef80]
Event: 92.452 Thread 0x00bb8c00 1105             org.yeb.game.Joint$1::asNode (20 bytes)
Event: 92.452 Thread 0x00bb8c00 nmethod 1105 0x0270efc8 code [0x0270f0d0, 0x0270f1bc]
Event: 112.565 Thread 0x00bb8c00 1106             com.badlogic.gdx.graphics.g2d.SpriteBatch::<init> (432 bytes)
Event: 112.568 Thread 0x00bb8c00 nmethod 1106 0x0270f288 code [0x0270f580, 0x0271047c]
Event: 116.524 Thread 0x00bb8c00 1107             com.badlogic.gdx.graphics.g2d.BitmapFontCache::translate (129 bytes)
Event: 116.524 Thread 0x00bb8c00 nmethod 1107 0x027113c8 code [0x027114f0, 0x027116d8]
Event: 145.962 Thread 0x00bb8c00 1108             java.util.Arrays::rangeCheck (74 bytes)
Event: 145.964 Thread 0x00bb8c00 nmethod 1108 0x02711948 code [0x02711ac0, 0x02711e7c]

GC Heap History (10 events):
Event: 141.549 GC heap before
{Heap before GC invocations=95 (full 3):
 def new generation   total 22848K, used 21638K [0x04600000, 0x05ec0000, 0x09b50000)
  eden space 20352K, 100% used [0x04600000, 0x059e0000, 0x059e0000)
  from space 2496K,  51% used [0x05c50000, 0x05d919b8, 0x05ec0000)
  to   space 2496K,   0% used [0x059e0000, 0x059e0000, 0x05c50000)
 tenured generation   total 50560K, used 50340K [0x09b50000, 0x0ccb0000, 0x14600000)
   the space 50560K,  99% used [0x09b50000, 0x0cc792e8, 0x0cc79400, 0x0ccb0000)
 Metaspace       used 2877K, capacity 4646K, committed 4736K, reserved 5504K
Event: 141.633 GC heap after
Heap after GC invocations=96 (full 4):
 def new generation   total 38720K, used 92K [0x04600000, 0x07000000, 0x09b50000)
  eden space 34432K,   0% used [0x04600000, 0x04617210, 0x067a0000)
  from space 4288K,   0% used [0x067a0000, 0x067a0000, 0x06bd0000)
  to   space 4288K,   0% used [0x06bd0000, 0x06bd0000, 0x07000000)
 tenured generation   total 85976K, used 51583K [0x09b50000, 0x0ef46000, 0x14600000)
   the space 85976K,  59% used [0x09b50000, 0x0cdafff8, 0x0cdb0000, 0x0ef46000)
 Metaspace       used 2877K, capacity 4646K, committed 4736K, reserved 5504K
}
Event: 147.433 GC heap before
{Heap before GC invocations=96 (full 4):
 def new generation   total 38720K, used 34432K [0x04600000, 0x07000000, 0x09b50000)
  eden space 34432K, 100% used [0x04600000, 0x067a0000, 0x067a0000)
  from space 4288K,   0% used [0x067a0000, 0x067a0000, 0x06bd0000)
  to   space 4288K,   0% used [0x06bd0000, 0x06bd0000, 0x07000000)
 tenured generation   total 85976K, used 51583K [0x09b50000, 0x0ef46000, 0x14600000)
   the space 85976K,  59% used [0x09b50000, 0x0cdafff8, 0x0cdb0000, 0x0ef46000)
 Metaspace       used 2877K, capacity 4646K, committed 4736K, reserved 5504K
Event: 147.464 GC heap after
Heap after GC invocations=97 (full 4):
 def new generation   total 38720K, used 2357K [0x04600000, 0x07000000, 0x09b50000)
  eden space 34432K,   0% used [0x04600000, 0x04600000, 0x067a0000)
  from space 4288K,  54% used [0x06bd0000, 0x06e1d730, 0x07000000)
  to   space 4288K,   0% used [0x067a0000, 0x067a0000, 0x06bd0000)
 tenured generation   total 85976K, used 51583K [0x09b50000, 0x0ef46000, 0x14600000)
   the space 85976K,  59% used [0x09b50000, 0x0cdafff8, 0x0cdb0000, 0x0ef46000)
 Metaspace       used 2877K, capacity 4646K, committed 4736K, reserved 5504K
}
Event: 153.266 GC heap before
{Heap before GC invocations=97 (full 4):
 def new generation   total 38720K, used 36789K [0x04600000, 0x07000000, 0x09b50000)
  eden space 34432K, 100% used [0x04600000, 0x067a0000, 0x067a0000)
  from space 4288K,  54% used [0x06bd0000, 0x06e1d730, 0x07000000)
  to   space 4288K,   0% used [0x067a0000, 0x067a0000, 0x06bd0000)
 tenured generation   total 85976K, used 51583K [0x09b50000, 0x0ef46000, 0x14600000)
   the space 85976K,  59% used [0x09b50000, 0x0cdafff8, 0x0cdb0000, 0x0ef46000)
 Metaspace       used 2877K, capacity 4646K, committed 4736K, reserved 5504K
Event: 153.276 GC heap after
Heap after GC invocations=98 (full 4):
 def new generation   total 38720K, used 2249K [0x04600000, 0x07000000, 0x09b50000)
  eden space 34432K,   0% used [0x04600000, 0x04600000, 0x067a0000)
  from space 4288K,  52% used [0x067a0000, 0x069d2508, 0x06bd0000)
  to   space 4288K,   0% used [0x06bd0000, 0x06bd0000, 0x07000000)
 tenured generation   total 85976K, used 53794K [0x09b50000, 0x0ef46000, 0x14600000)
   the space 85976K,  62% used [0x09b50000, 0x0cfd88d0, 0x0cfd8a00, 0x0ef46000)
 Metaspace       used 2877K, capacity 4646K, committed 4736K, reserved 5504K
}
Event: 158.833 GC heap before
{Heap before GC invocations=98 (full 4):
 def new generation   total 38720K, used 36656K [0x04600000, 0x07000000, 0x09b50000)
  eden space 34432K,  99% used [0x04600000, 0x06799b10, 0x067a0000)
  from space 4288K,  52% used [0x067a0000, 0x069d2508, 0x06bd0000)
  to   space 4288K,   0% used [0x06bd0000, 0x06bd0000, 0x07000000)
 tenured generation   total 85976K, used 53794K [0x09b50000, 0x0ef46000, 0x14600000)
   the space 85976K,  62% used [0x09b50000, 0x0cfd88d0, 0x0cfd8a00, 0x0ef46000)
 Metaspace       used 2877K, capacity 4646K, committed 4736K, reserved 5504K
Event: 158.840 GC heap after
Heap after GC invocations=99 (full 4):
 def new generation   total 38720K, used 2158K [0x04600000, 0x07000000, 0x09b50000)
  eden space 34432K,   0% used [0x04600000, 0x04600000, 0x067a0000)
  from space 4288K,  50% used [0x06bd0000, 0x06debbe8, 0x07000000)
  to   space 4288K,   0% used [0x067a0000, 0x067a0000, 0x06bd0000)
 tenured generation   total 85976K, used 55896K [0x09b50000, 0x0ef46000, 0x14600000)
   the space 85976K,  65% used [0x09b50000, 0x0d1e6058, 0x0d1e6200, 0x0ef46000)
 Metaspace       used 2877K, capacity 4646K, committed 4736K, reserved 5504K
}
Event: 164.301 GC heap before
{Heap before GC invocations=99 (full 4):
 def new generation   total 38720K, used 36560K [0x04600000, 0x07000000, 0x09b50000)
  eden space 34432K,  99% used [0x04600000, 0x06798800, 0x067a0000)
  from space 4288K,  50% used [0x06bd0000, 0x06debbe8, 0x07000000)
  to   space 4288K,   0% used [0x067a0000, 0x067a0000, 0x06bd0000)
 tenured generation   total 85976K, used 55896K [0x09b50000, 0x0ef46000, 0x14600000)
   the space 85976K,  65% used [0x09b50000, 0x0d1e6058, 0x0d1e6200, 0x0ef46000)
 Metaspace       used 2877K, capacity 4646K, committed 4736K, reserved 5504K
Event: 164.310 GC heap after
Heap after GC invocations=100 (full 4):
 def new generation   total 38720K, used 2120K [0x04600000, 0x07000000, 0x09b50000)
  eden space 34432K,   0% used [0x04600000, 0x04600000, 0x067a0000)
  from space 4288K,  49% used [0x067a0000, 0x069b2020, 0x06bd0000)
  to   space 4288K,   0% used [0x06bd0000, 0x06bd0000, 0x07000000)
 tenured generation   total 85976K, used 57913K [0x09b50000, 0x0ef46000, 0x14600000)
   the space 85976K,  67% used [0x09b50000, 0x0d3de680, 0x0d3de800, 0x0ef46000)
 Metaspace       used 2877K, capacity 4646K, committed 4736K, reserved 5504K
}

Deoptimization events (0 events):
No events

Classes redefined (0 events):
No events

Internal exceptions (10 events):
Event: 0.466 Thread 0x0028e400 Exception <a 'java/security/PrivilegedActionException'> (0x04937588) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u171\10807\hotspot\src\share\vm\prims\jvm.cpp, line 1435]
Event: 0.466 Thread 0x0028e400 Exception <a 'java/security/PrivilegedActionException'> (0x04939010) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u171\10807\hotspot\src\share\vm\prims\jvm.cpp, line 1435]
Event: 0.466 Thread 0x0028e400 Exception <a 'java/security/PrivilegedActionException'> (0x0493a0b0) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u171\10807\hotspot\src\share\vm\prims\jvm.cpp, line 1435]
Event: 0.466 Thread 0x0028e400 Exception <a 'java/security/PrivilegedActionException'> (0x0493eba8) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u171\10807\hotspot\src\share\vm\prims\jvm.cpp, line 1435]
Event: 0.466 Thread 0x0028e400 Exception <a 'java/security/PrivilegedActionException'> (0x0493f768) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u171\10807\hotspot\src\share\vm\prims\jvm.cpp, line 1435]
Event: 0.466 Thread 0x0028e400 Exception <a 'java/security/PrivilegedActionException'> (0x049402e8) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u171\10807\hotspot\src\share\vm\prims\jvm.cpp, line 1435]
Event: 1.054 Thread 0x15207800 Exception <a 'java/lang/NoSuchFieldError': method resolution failed> (0x047c3bf8) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u171\10807\hotspot\src\share\vm\prims\methodHandles.cpp, line 1167]
Event: 1.055 Thread 0x15207800 Exception <a 'java/lang/NoSuchFieldError': method resolution failed> (0x047cfd40) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u171\10807\hotspot\src\share\vm\prims\methodHandles.cpp, line 1167]
Event: 5.767 Thread 0x15207800 Exception <a 'java/lang/NoSuchMethodError': java.lang.Object.ofEdge(Lorg/yeb/model/Edge;)Lorg/yeb/game/Joint;> (0x04944b68) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u171\10807\hotspot\src\share\vm\interpreter\linkResolver.cpp, line 620
Event: 14.667 Thread 0x15207800 Implicit null exception at 0x026a1d61 to 0x026a1db7

Events (10 events):
Event: 141.549 Executing VM operation: GenCollectForAllocation
Event: 141.633 Executing VM operation: GenCollectForAllocation done
Event: 147.433 Executing VM operation: GenCollectForAllocation
Event: 147.464 Executing VM operation: GenCollectForAllocation done
Event: 153.266 Executing VM operation: GenCollectForAllocation
Event: 153.276 Executing VM operation: GenCollectForAllocation done
Event: 158.832 Executing VM operation: GenCollectForAllocation
Event: 158.840 Executing VM operation: GenCollectForAllocation done
Event: 164.300 Executing VM operation: GenCollectForAllocation
Event: 164.310 Executing VM operation: GenCollectForAllocation done


Dynamic libraries:
0x00e00000 - 0x00e33000    C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exe
0x77bc0000 - 0x77d40000    C:\Windows\SysWOW64\ntdll.dll
0x76bc0000 - 0x76cd0000    C:\Windows\syswow64\kernel32.dll
0x756a0000 - 0x756e7000    C:\Windows\syswow64\KERNELBASE.dll
0x76d70000 - 0x76e11000    C:\Windows\syswow64\ADVAPI32.dll
0x77730000 - 0x777dc000    C:\Windows\syswow64\msvcrt.dll
0x75ee0000 - 0x75ef9000    C:\Windows\SysWOW64\sechost.dll
0x775c0000 - 0x776b0000    C:\Windows\syswow64\RPCRT4.dll
0x75470000 - 0x754d0000    C:\Windows\syswow64\SspiCli.dll
0x75460000 - 0x7546c000    C:\Windows\syswow64\CRYPTBASE.dll
0x75970000 - 0x75a70000    C:\Windows\syswow64\USER32.dll
0x76ea0000 - 0x76f30000    C:\Windows\syswow64\GDI32.dll
0x75790000 - 0x7579a000    C:\Windows\syswow64\LPK.dll
0x756f0000 - 0x7578d000    C:\Windows\syswow64\USP10.dll
0x73cb0000 - 0x73e4e000    C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.18837_none_41e855142bd5705d\COMCTL32.dll
0x776d0000 - 0x77727000    C:\Windows\syswow64\SHLWAPI.dll
0x76e20000 - 0x76e80000    C:\Windows\system32\IMM32.DLL
0x754d0000 - 0x7559d000    C:\Windows\syswow64\MSCTF.dll
0x60ff0000 - 0x610af000    C:\Program Files (x86)\Java\jre1.8.0_171\bin\msvcr100.dll
0x54fc0000 - 0x55391000    C:\Program Files (x86)\Java\jre1.8.0_171\bin\client\jvm.dll
0x74900000 - 0x74907000    C:\Windows\system32\WSOCK32.dll
0x75f00000 - 0x75f35000    C:\Windows\syswow64\WS2_32.dll
0x76e90000 - 0x76e96000    C:\Windows\syswow64\NSI.dll
0x73bf0000 - 0x73c22000    C:\Windows\system32\WINMM.dll
0x74940000 - 0x74949000    C:\Windows\system32\VERSION.dll
0x755c0000 - 0x755c5000    C:\Windows\syswow64\PSAPI.DLL
0x73010000 - 0x7301c000    C:\Program Files (x86)\Java\jre1.8.0_171\bin\verify.dll
0x72dc0000 - 0x72de2000    C:\Program Files (x86)\Java\jre1.8.0_171\bin\java.dll
0x72da0000 - 0x72db4000    C:\Program Files (x86)\Java\jre1.8.0_171\bin\zip.dll
0x75f40000 - 0x76b8c000    C:\Windows\syswow64\SHELL32.dll
0x75810000 - 0x7596d000    C:\Windows\syswow64\ole32.dll
0x76cd0000 - 0x76cdb000    C:\Windows\syswow64\profapi.dll
0x6cec0000 - 0x6cf33000    C:\Users\a538578\AppData\Local\Temp\libgdxa538578\44aa4fa6\gdx.dll
0x736b0000 - 0x736c7000    C:\Windows\system32\CRYPTSP.dll
0x73670000 - 0x736ab000    C:\Windows\system32\rsaenh.dll
0x755a0000 - 0x755b7000    C:\Windows\syswow64\USERENV.dll
0x68f00000 - 0x68f15000    C:\Program Files (x86)\Java\jre1.8.0_171\bin\net.dll
0x74820000 - 0x7485c000    C:\Windows\system32\mswsock.dll
0x736f0000 - 0x736f6000    C:\Windows\System32\wship6.dll
0x74920000 - 0x7493c000    C:\Windows\system32\IPHLPAPI.DLL
0x74910000 - 0x74917000    C:\Windows\system32\WINNSI.DLL
0x74510000 - 0x74522000    C:\Windows\system32\dhcpcsvc.DLL
0x74500000 - 0x7450d000    C:\Windows\system32\dhcpcsvc6.DLL
0x73030000 - 0x7303f000    C:\Program Files (x86)\Java\jre1.8.0_171\bin\nio.dll
0x00230000 - 0x0027f000    C:\Users\a538578\AppData\Local\Temp\libgdxa538578\68069333\lwjgl.dll
0x71ee0000 - 0x71fa8000    C:\Windows\system32\OPENGL32.dll
0x71eb0000 - 0x71ed2000    C:\Windows\system32\GLU32.dll
0x71dc0000 - 0x71ea7000    C:\Windows\system32\DDRAW.dll
0x71db0000 - 0x71db6000    C:\Windows\system32\DCIMAN32.dll
0x76fa0000 - 0x7713d000    C:\Windows\syswow64\SETUPAPI.dll
0x77590000 - 0x775b7000    C:\Windows\syswow64\CFGMGR32.dll
0x755d0000 - 0x75661000    C:\Windows\syswow64\OLEAUT32.dll
0x757a0000 - 0x757b2000    C:\Windows\syswow64\DEVOBJ.dll
0x720a0000 - 0x720b3000    C:\Windows\system32\dwmapi.dll
0x14e50000 - 0x14eb5000    C:\Users\a538578\AppData\Local\Temp\libgdxa538578\68069333\OpenAL32.dll
0x70830000 - 0x708b0000    C:\Windows\system32\uxtheme.dll
0x77390000 - 0x77413000    C:\Windows\syswow64\CLBCatQ.DLL
0x73e50000 - 0x73f45000    C:\Windows\System32\PROPSYS.dll
0x75670000 - 0x7569f000    C:\Windows\syswow64\WINTRUST.dll
0x75db0000 - 0x75ed2000    C:\Windows\syswow64\CRYPT32.dll
0x77420000 - 0x7742c000    C:\Windows\syswow64\MSASN1.dll
0x626b0000 - 0x62722000    C:\Windows\system32\dsound.dll
0x72870000 - 0x72895000    C:\Windows\system32\POWRPROF.dll
0x6f6d0000 - 0x6f709000    C:\Windows\System32\MMDevApi.dll
0x68fd0000 - 0x69006000    C:\Windows\system32\AUDIOSES.DLL
0x17980000 - 0x185fa000    C:\Windows\system32\ig7icd32.dll
0x67ee0000 - 0x67f16000    C:\Program Files\WIDCOMM\Bluetooth Software\SysWOW64\BtMmHook.dll
0x62630000 - 0x626a9000    C:\Windows\system32\mscms.dll
0x62770000 - 0x627a8000    C:\Windows\system32\icm32.dll
0x74300000 - 0x743eb000    C:\Windows\system32\dbghelp.dll

VM Arguments:
java_command: org.yeb.desktop.DesktopLauncher
java_class_path (initial): desktop-1.0.jar;core-1.0.jar;gdx-1.9.8.jar;gdx-backend-lwjgl-1.9.8.jar;lwjgl-2.9.2.jar;gdx-platform-1.9.8-natives-desktop.jar;lwjgl-platform-2.9.2-natives-windows.jar
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_131
PATH=C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files\Java\jdk1.8.0_131\bin;C:\Program Files (x86)\Ant\bin;D:\Programme\scala\bin;C:\Program Files (x86)\maven\bin;C:\Program Files (x86)\sbt\\bin;D:\Programming\smlnj\bin;D:\Programme\Console2;C:\AliasCommands;C:\Program Files (x86)\sbt\\bin;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:\Program Files\TortoiseGit\bin;D:\Programming\wjax\Graphviz\graphviz-2.38\release\bin;C:\Program Files\TortoiseSVN\bin;D:\Programme\SysinternalsSuite;C:\Program Files (x86)\HP\Unified Functional Testing\bin;;D:\Programme\Microsoft VS Code\bin;C:\Users\a538578\AppData\Roaming\npm
USERNAME=a538578
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel



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

OS: Windows 7 , 64 bit Build 7601 (6.1.7601.24094)

CPU:total 4 (initial active 4) (2 cores per cpu, 2 threads per core) family 6 model 58 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, aes, clmul, erms, ht, tsc, tscinvbit, tscinv

Memory: 4k page, physical 16648032k(9030796k free), swap 17694732k(9502004k free)

vm_info: Java HotSpot(TM) Client VM (25.171-b11) for windows-x86 JRE (1.8.0_171-b11), built on Mar 28 2018 14:51:22 by "java_re" with MS VC++ 10.0 (VS2010)

time: Tue May 08 08:02:14 2018
elapsed time: 166 seconds (0d 0h 2m 46s)
Landei
 
Posts: 8
Joined: Tue May 08, 2018 5:05 pm

Re: Desktop version causes JVM head dump

Postby tomski » Sun May 13, 2018 1:26 pm

Looks like an incompatible shader with their hardware. What GPU do they have? When are you creating the shape renderer in your game screen?
tomski
 
Posts: 808
Joined: Wed Jun 26, 2013 6:06 pm

Re: Desktop version causes JVM head dump

Postby Landei » Sun May 13, 2018 4:27 pm

Thanks for your help!

I create the ShapeRenderer every time new in render(). My code looks like this (irrelevant stuff removed):

Code: Select all
public class GameScreen extends ScreenAdapter {

    private final OrthographicCamera camera = new OrthographicCamera();
    private final Stage stage = new Stage();

    public GameScreen(Level level) {
        camera.setToOrtho(false, 1000F, 800F);

        InputMultiplexer inputMultiplexer = new InputMultiplexer();
        inputMultiplexer.addProcessor(gameInput());
        inputMultiplexer.addProcessor(stage);
        Gdx.input.setInputProcessor(inputMultiplexer);

        Skin skin = UiHelper.makeSkin(YebGame.instance().font, Color.GRAY);
        stage.addActor(makeButton(skin, "Resign", 50, 20, this::toMenuScreen));
        stage.addActor(makeButton(skin, "Reset", 200, 20, this::reset));
        stage.addActor(makeButton(skin, "Undo", 350, 20, this::undo));
    }

    @Override
    public void render(float delta) {
        Color background = game.background;
        Gdx.gl.glClearColor(background.r, background.g, background.b, background.a);
        Gdx.gl.glClear(GL30.GL_COLOR_BUFFER_BIT);

        camera.update();

        game.batch.setProjectionMatrix(camera.combined);
        game.batch.begin();
        game.font.setColor(Color.DARK_GRAY);
        game.font.draw(game.batch, distanceFeedback(), 10F, 780F);
        game.batch.end();

        renderLevel();

        if (win) {
            game.batch.begin();
            game.batch.draw(levelSolved, 500 - levelSolved.getWidth() / 2, 400 - levelSolved.getHeight() / 2);
            game.batch.end();
        }
    }

    private void renderLevel() {
        ShapeRenderer sr = new ShapeRenderer();
        sr.setAutoShapeType(true);
        sr.setProjectionMatrix(camera.combined);

        sr.begin(ShapeRenderer.ShapeType.Filled);
        sr.setColor(Color.GRAY);
        level.obstacles.forEach(obstacle -> obstacle.render(sr));
        level.edges.forEach(edge -> {
            Node n1 = level.nodeById(edge.id1);
            Node n2 = level.nodeById(edge.id2);
            sr.setColor(level.edgeIntersectsObstacle(edge) ? Color.ORANGE : Color.BLACK);
            sr.rectLine(n1.pos, n2.pos, 6F);
            Vector2 middle = level.middle(edge);
            sr.setColor(edgeJointColor(edge));
            sr.circle(middle.x, middle.y, JOINT_RADIUS);
        });
        level.nodes.forEach(node -> {
            sr.setColor(nodeJointColor(node));
            sr.circle(node.pos.x, node.pos.y, JOINT_RADIUS);
        });
        sr.end();
    }
}


I asked him regarding the GPU, waiting on his response.
Landei
 
Posts: 8
Joined: Tue May 08, 2018 5:05 pm

Re: Desktop version causes JVM head dump

Postby evilentity » Sun May 13, 2018 5:21 pm

So you create new one each frame and dont dispose old one. Im pretty sure its spammed all over the place to not do that.
Looking for a freelancer? PM me!
evilentity
 
Posts: 4464
Joined: Wed Aug 24, 2011 11:37 am

Re: Desktop version causes JVM head dump

Postby Landei » Sun May 13, 2018 6:08 pm

OK, thanks for the hint!

I hope that disposing also fixes the issue.
Landei
 
Posts: 8
Joined: Tue May 08, 2018 5:05 pm

Re: Desktop version causes JVM head dump

Postby tomski » Sun May 13, 2018 8:16 pm

You shouldn't just dispose it. Keep one around for the entire lifetime of the game, dispose when the game is shutting down. Don't create it every frame.
tomski
 
Posts: 808
Joined: Wed Jun 26, 2013 6:06 pm

Re: Desktop version causes JVM head dump

Postby Landei » Sun May 13, 2018 9:27 pm

When I fixed it, I create it with its screen, and dispose it with the screen't dispose method.

I also found some other stuff I forgot to dispose :roll:
Landei
 
Posts: 8
Joined: Tue May 08, 2018 5:05 pm


Return to Libgdx

Who is online

Users browsing this forum: Google [Bot] and 1 guest