Jdk11 dont supported Hardware skinning

skeletonControl.setHardwareSkinningPreferred(false) is oj
skeletonControl.setHardwareSkinningPreferred(true) will get a native error.

the error is : 

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000005f020999, pid=16144, tid=13944
#
# JRE version: Java(TM) SE Runtime Environment (11.0.3+12) (build 11.0.3+12-LTS)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (11.0.3+12-LTS, mixed mode, tiered, compressed oops, g1 gc, windows-amd64)
# Problematic frame:
# C  0x000000005f020999
#
# No core dump will be written. 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.
#

---------------  S U M M A R Y ------------

Command Line: -javaagent:D:\soft\IntelliJ IDEA 2020.1.2\lib\idea_rt.jar=59253:D:\soft\IntelliJ IDEA 2020.1.2\bin -Dfile.encoding=UTF-8 heduim.fastwar.gui.AppMainStart

Host: Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz, 8 cores, 15G,  Windows 10 , 64 bit Build 17763 (10.0.17763.1339)
Time: Mon Sep 14 14:37:21 2020 ?D1��������?����?? elapsed time: 17 seconds (0d 0h 0m 17s)

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

Current thread (0x00000268bc3b2800):  JavaThread "Thread-8" [_thread_in_native, id=13944, stack(0x000000c7c4300000,0x000000c7c4400000)]

Stack: [0x000000c7c4300000,0x000000c7c4400000],  sp=0x000000c7c43fe118,  free space=1016k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  0x000000005f020999

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.lwjgl.opengl.GL15C.nglBufferData(IJJI)V+0
j  org.lwjgl.opengl.GL15C.glBufferData(ILjava/nio/FloatBuffer;I)V+15
j  org.lwjgl.opengl.GL15.glBufferData(ILjava/nio/FloatBuffer;I)V+3
j  com.jme3.renderer.lwjgl.LwjglGL.glBufferData(ILjava/nio/FloatBuffer;I)V+7
j  com.jme3.renderer.opengl.GLRenderer.updateBufferData(Lcom/jme3/scene/VertexBuffer;)V+288
j  com.jme3.renderer.RenderManager.preloadScene(Lcom/jme3/scene/Spatial;)V+195
j  com.jme3.renderer.RenderManager.preloadScene(Lcom/jme3/scene/Spatial;)V+43
j  com.jme3.animation.SkeletonControl.testHardwareSupported(Lcom/jme3/renderer/RenderManager;)Z+24
j  com.jme3.animation.SkeletonControl.controlRender(Lcom/jme3/renderer/RenderManager;Lcom/jme3/renderer/ViewPort;)V+121
j  com.jme3.scene.control.AbstractControl.render(Lcom/jme3/renderer/RenderManager;Lcom/jme3/renderer/ViewPort;)V+11
j  com.jme3.scene.Spatial.runControlRender(Lcom/jme3/renderer/RenderManager;Lcom/jme3/renderer/ViewPort;)V+46
j  com.jme3.renderer.RenderManager.renderSubScene(Lcom/jme3/scene/Spatial;Lcom/jme3/renderer/ViewPort;)V+15
j  com.jme3.renderer.RenderManager.renderSubScene(Lcom/jme3/scene/Spatial;Lcom/jme3/renderer/ViewPort;)V+83
j  com.jme3.renderer.RenderManager.renderSubScene(Lcom/jme3/scene/Spatial;Lcom/jme3/renderer/ViewPort;)V+83
j  com.jme3.renderer.RenderManager.renderScene(Lcom/jme3/scene/Spatial;Lcom/jme3/renderer/ViewPort;)V+11
j  com.jme3.renderer.RenderManager.renderViewPort(Lcom/jme3/renderer/ViewPort;F)V+318
j  com.jme3.renderer.RenderManager.render(FZ)V+219
j  org.solar.solar3d.app.SolarDebugApplication.update()V+383
j  heduim.fastwar.core.jme.jfx.injfx.SolarJmeToJfxApplication.update()V+7
j  heduim.fastwar.core.jme.hgame.app.Jme3AppTerrainEditor.update()V+1
j  com.jme3.system.lwjgl.LwjglWindow.runLoop()V+37
j  com.jme3.system.lwjgl.LwjglWindow.run()V+51
j  com.jme3.system.lwjgl.LwjglWindow.create(Z)V+27
j  heduim.fastwar.core.jme.jfx.injfx.JmeOffscreenSurfaceContext.create(Z)V+31
j  com.jme3.app.LegacyApplication.start(Lcom/jme3/system/JmeContext$Type;Z)V+92
j  com.jme3.app.LegacyApplication.start()V+5
j  com.jme3.app.SimpleApplication.start()V+51
j  com.jme3.app.Application$start$0.call(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+13
J 4440 c1 org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (7 bytes) @ 0x0000026892f5766c [0x0000026892f575e0+0x000000000000008c]
j  org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(Ljava/lang/Object;)Ljava/lang/Object;+5
j  heduim.fastwar.gui.module.terrain_editor.TerrainEditorCenterPanel$1.run()V+15
j  java.lang.Thread.run()V+11 java.base@11.0.3
v  ~StubRoutines::call_stub

siginfo: EXCEPTION_ACCESS_VIOLATION (0xc0000005), reading address 0x0000000000000010


Register to memory mapping:

RIP=0x000000005f020999 points into unknown readable memory: f3 a4 5e 5f 49 8b c3
RAX=0x0000000000000090 is an unknown value
RBX=0x0000000000000010 is an unknown value
RCX=0x0000000000000080 is an unknown value
RDX=0xfffffd96e224fef8 is an unknown value
RSP=0x000000c7c43fe118 is pointing into the stack for thread: 0x00000268bc3b2800
 
0x00000000602b0000 - 0x0000000060d5a000 	C:\WINDOWS\System32\DriverStore\FileRepository\c0307252.inf_amd64_6dffefbd48fb9e15\atiumd6a.dll
0x00007ff8100f0000 - 0x00007ff810135000 	C:\Users\wxc\.openjfx\cache\11.0.2\glass.dll
0x00007ff8256a0000 - 0x00007ff8257c7000 	C:\WINDOWS\System32\COMDLG32.dll
0x00007ff826430000 - 0x00007ff826585000 	C:\WINDOWS\System32\ole32.dll
0x00007ff828300000 - 0x00007ff8283c4000 	C:\WINDOWS\System32\OLEAUT32.dll
0x00007ff825a90000 - 0x00007ff825bfd000 	C:\WINDOWS\System32\MSCTF.dll
0x00007ff810790000 - 0x00007ff8107a4000 	C:\Users\wxc\.openjfx\cache\11.0.2\javafx_font.dll
0x00007ff814370000 - 0x00007ff81466c000 	C:\WINDOWS\SYSTEM32\dwrite.dll
0x00007ff823760000 - 0x00007ff823793000 	C:\WINDOWS\system32\rsaenh.dll
0x00007ff825480000 - 0x00007ff8254a6000 	C:\WINDOWS\System32\bcrypt.dll
0x00007ff8242e0000 - 0x00007ff824308000 	C:\WINDOWS\SYSTEM32\USERENV.dll
0x00007ff823900000 - 0x00007ff82393d000 	C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
0x00007ff827b00000 - 0x00007ff827b08000 	C:\WINDOWS\System32\NSI.dll
0x00007ff81bf30000 - 0x00007ff81bf46000 	C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL
0x00007ff81c000000 - 0x00007ff81c01c000 	C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL
0x00007ff823940000 - 0x00007ff823a07000 	C:\WINDOWS\SYSTEM32\DNSAPI.dll
0x00007ff826380000 - 0x00007ff826422000 	C:\WINDOWS\System32\clbcatq.dll
0x00007ff819ed0000 - 0x00007ff81a088000 	C:\WINDOWS\SYSTEM32\WindowsCodecs.dll
0x00007ff818590000 - 0x00007ff8185e6000 	C:\WINDOWS\system32\dataexchange.dll
0x00007ff820f80000 - 0x00007ff8211fe000 	C:\WINDOWS\system32\d3d11.dll
0x00007ff8217c0000 - 0x00007ff821984000 	C:\WINDOWS\system32\dcomp.dll
0x00007ff823090000 - 0x00007ff823152000 	C:\WINDOWS\system32\dxgi.dll
0x00007ff822a20000 - 0x00007ff822c34000 	C:\WINDOWS\system32\twinapi.appcore.dll
0x00007ff822c40000 - 0x00007ff822c68000 	C:\WINDOWS\system32\RMCLIENT.dll
0x00007ff8103b0000 - 0x00007ff8103e3000 	C:\Program Files\Common Files\Microsoft Shared\Ink\rtscom.dll

dbghelp: loaded successfully - version: 4.0.5 - missing functions: none
symbol engine: initialized successfully - sym options: 0x614 - pdb path: .;D:\soft\jdk11\bin;C:\WINDOWS\SYSTEM32;C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.17763.1339_none_de7015e4534c7114;D:\soft\jdk11\bin\server;D:\soft\IntelliJ IDEA 2020.1.2\bin;C:\Users\wxc\.openjfx\cache\11.0.2;C:\WINDOWS\System32\DriverStore\FileRepository\c0307252.inf_amd64_6dffefbd48fb9e15;C:\Program Files\Common Files\Microsoft Shared\Ink;D:\soft\SogouInput\9.5.0.3517;D:\soft\SogouInput\Components\PicFace\1.1.0.1867;D:\sc\code\fastwar;C:\Users\wxc\AppData\Local\Temp\lwjglwxc\3.2.3-build-13

VM Arguments:
jvm_args: -javaagent:D:\soft\IntelliJ IDEA 2020.1.2\lib\idea_rt.jar=59253:D:\soft\IntelliJ IDEA 2020.1.2\bin -Dfile.encoding=UTF-8 
java_command: heduim.fastwar.gui.AppMainStart
java_class_path (initial): D:\sc\code\fastwar\out\production\fastwar.main;D:\sc\code\fastwar\src\main\resources\lib\BLPIIOPlugins.jar;D:\sc\code\fastwar\src\main\resources\lib\jimi-1.0.jar;D:\sc\code\fastwar\src\main\resources\lib\jmpq3.jar;D:\sc\code\fastwar\src\main\resources\lib\Wc3MdxLib.jar;C:\Users\wxc\.m2\repository\org\solar\solar-3d\1.0\solar-3d-1.0.jar;C:\Users\wxc\.gradle\caches\modules-2\files-2.1\com.spaceshift\rlib.fx\5.0.2\2f34a6dfd1b0d58e919f5d22ca752c5990c1bf14\rlib.fx-5.0.2.jar;C:\Users\wxc\.gradle\caches\modules-2\files-2.1\org.jetbrains\annotations\18.0.0\7e53956bd57f23498f021e5ddbd11111f7a3af54\annotations-18.0.0.jar;C:\Users\wxc\.gradle\caches\modules-2\files-2.1\com.spaceshift\rlib.common\7.1.2\47a0ab6675d20ddf92257c9cd10a94844cbbdff9\rlib.common-7.1.2.jar;C:\Users\wxc\.m2\repository\org\solar\solar-jfx\1.0\solar-jfx-1.0.jar;C:\Users\wxc\.m2\repository\org\solar\solar-core\1.2\solar-core-1.2.jar;C:\Users\wxc\.m2\repository\com\alibaba\nls\nls-sdk-tts\2.1.0\nls-sdk-tts-2.1.0.jar;C:\Users\wxc\.m2\repository\com\alibaba\fastjson\1.2.41\fastjson-1.2.41.jar;C:\Users\wxc\.m2\repository\org\freemarker\freemarker\2.3.28\freemarker-2.3.28.jar;C:\Users\wxc\.m2\repository\ninja\eivind\hots\mpq-exploder\0.4.0.RELEASE\mpq-exploder-0.4.0.RELEASE.jar;C:\Users\wxc\.m2\repository\org\jsoup\jsoup\1.10.3\jsoup-1.10.3.jar;C:\Users\wxc\.m2\repository\net\sourceforge\htmlunit\htmlunit\2.27\htmlunit-2.27.jar;C:\Users\wxc\.m2\repository\org\apache\httpcomponents\httpclient\4.5.3\httpclient-4.5.3.jar;C:\Users\wxc\.m2\repository\org\dom4j\dom4j\2.1.0\dom4j-2.1.0.jar;C:\Users\wxc\.m2\repository\net\sourceforge\tess4j\tess4j\4.4.0\tess4j-4.4.0.jar;C:\Users\wxc\.m2\repository\commons-io\commons-io\2.6\commons-io-2.6.jar;C:\Users\wxc\.m2\repository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;C:\Users\wxc\.m2\repository\net\coobird\thumbnailator\0.4.8\thumbnailator-0.4.8.jar;C:\Users\wxc\.m2\repository\ant\ant\1.6.5\ant-1.6.5.jar;C:\Users\wxc\.m2\repository\com\git
Launcher Type: SUN_STANDARD

[Global flags]
     intx CICompilerCount                          = 4                                         {product} {ergonomic}
     uint ConcGCThreads                            = 2                                         {product} {ergonomic}
     uint G1ConcRefinementThreads                  = 8                                         {product} {ergonomic}
   size_t G1HeapRegionSize                         = 1048576                                   {product} {ergonomic}
    uintx GCDrainStackTargetSize                   = 64                                        {product} {ergonomic}
   size_t InitialHeapSize                          = 268435456                                 {product} {ergonomic}
   size_t MarkStackSize                            = 4194304                                   {product} {ergonomic}
   size_t MaxHeapSize                              = 4269801472                                {product} {ergonomic}
   size_t MaxNewSize                               = 2561671168                                {product} {ergonomic}
   size_t MinHeapDeltaBytes                        = 1048576                                   {product} {ergonomic}
    uintx NonNMethodCodeHeapSize                   = 5835340                                {pd product} {ergonomic}
    uintx NonProfiledCodeHeapSize                  = 122911450                              {pd product} {ergonomic}
    uintx ProfiledCodeHeapSize                     = 122911450                              {pd product} {ergonomic}
    uintx ReservedCodeCacheSize                    = 251658240                              {pd product} {ergonomic}
     bool SegmentedCodeCache                       = true                                      {product} {ergonomic}
     bool UseCompressedClassPointers               = true                                 {lp64_product} {ergonomic}
     bool UseCompressedOops                        = true                                 {lp64_product} {ergonomic}
     bool UseG1GC                                  = true                                      {product} {ergonomic}
     bool UseLargePagesIndividualAllocation        = false                                  {pd product} {ergonomic}

Logging:
Log output configuration:
 #0: stdout all=warning uptime,level,tags
 #1: stderr all=off uptime,level,tags

Environment Variables:
JAVA_HOME=D:\soft\jdk11
PATH=;C:\Program Files (x86)\NetSarang\Xftp 6\;C:\Program Files (x86)\NetSarang\Xshell 6\;C:\Program Files (x86)\Parallels\Parallels Tools\Applications;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\WINDOWS\System32\OpenSSH\;D:\map_edit\w3x2lni-2.4.7;D:\soft\php7;D:\soft\IntelliJ IDEA 2018.3.5\plugins\maven\lib\maven3\bin;D:\soft\jdk11\bin;C:\Program Files (x86)\Livestreamer;C:\Program Files\PuTTY\;C:\Users\wxc\AppData\Local\Microsoft\WindowsApps;;D:\soft\Microsoft VS Code\bin
USERNAME=wxc
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 94 Stepping 3, GenuineIntel



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

OS: Windows 10 , 64 bit Build 17763 (10.0.17763.1339)

CPU:total 8 (initial active 8) (4 cores per cpu, 2 threads per core) family 6 model 94 stepping 3, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, rtm, 3dnowpref, lzcnt, ht, tsc, tscinvbit, bmi1, bmi2, adx, fma

Memory: 4k page, system-wide physical 16280M (5595M free)
TotalPageFile size 17496M (AvailPageFile size 4442M)
current process WorkingSet (physical memory assigned to process): 1088M, peak: 1089M
current process commit charge ("private bytes"): 1280M, peak: 1281M

vm_info: Java HotSpot(TM) 64-Bit Server VM (11.0.3+12-LTS) for windows-amd64 JRE (11.0.3+12-LTS), built on Apr  2 2019 12:43:09 by "mach5one" with MS VC++ 15.5 (VS2017)

END.

I don’t know if this will solve your problem, but the preferred JDK is AdoptOpenJDK.

And if you could provide a bare-bones test case so the problem can be re-created, it will greatly help.

1 Like

Also is this only with lwjgl2?
If so, try lwjgl3 and maybe https://github.com/MeFisto94/lwjgl (The jar download expired already unfortunately)

1 Like