Sorry huge error (OPENGL 4.2):
(I dont know what you are doing with drawarrays, but with my own and other games this just works.)
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000068f64bf0, pid=2892, tid=2424
#
# JRE version: 7.0-b147
# Java VM: Java HotSpot(TM) 64-Bit Server VM (21.0-b17 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [nvoglv64.DLL+0x7f4bf0]
#
# 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.sun.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 (0x000000000287b000): JavaThread "main" [_thread_in_native, id=2424, stack(0x0000000002930000,0x0000000002a30000)]
siginfo: ExceptionCode=0xc0000005, reading address 0x0000000000000000
Registers:
RAX=0x0000000000000006, RBX=0x0000000002a2eb90, RCX=0x0000000000000000, RDX=0x0000000000376a28
RSP=0x0000000002a2eb28, RBP=0x0000000000000000, RSI=0x000000000c267d3c, RDI=0x0000000002a2ec38
R8 =0xfffffffff3d982b4, R9 =0x000000000c267d4c, R10=0x0000000068770000, R11=0x0000000000000000
R12=0x0000000000376980, R13=0xfffffffffd947df0, R14=0x0000000002a2efa0, R15=0x000000000287b000
RIP=0x0000000068f64bf0, EFLAGS=0x0000000000010297
Top of Stack: (sp=0x0000000002a2eb28)
0x0000000002a2eb28: 0000000068f64d02 0000000002a2ecd8
0x0000000002a2eb38: 0000000068f64dc5 00000000801dac01
0x0000000002a2eb48: 0000000002a2ecd8 0000000000000004
0x0000000002a2eb58: 0000000000000000 0000000000000000
0x0000000002a2eb68: 0000000068f6573c 0000000000376840
0x0000000002a2eb78: 0000000000000028 0000000000000006
0x0000000002a2eb88: 00000000086ec600 0000000000000000
0x0000000002a2eb98: 0000000000000000 0000010900000000
0x0000000002a2eba8: 0000000000000000 0000000000000000
0x0000000002a2ebb8: 0000000000000000 0000000000000020
0x0000000002a2ebc8: 0000140600000002 0000000000000028
0x0000000002a2ebd8: 0000000000000000 0000140600000003
0x0000000002a2ebe8: 0000000100000028 0000000000000000
0x0000000002a2ebf8: 0000140600000004 0000000100000028
0x0000000002a2ec08: 0000000000000000 0000140600000003
0x0000000002a2ec18: 0000000100000028 0000000000000000
Instructions: (pc=0x0000000068f64bf0)
0x0000000068f64bd0: 4b 8b 04 01 ff c1 49 83 c1 08 49 89 41 f8 3b 4a
0x0000000068f64be0: 08 7c ed f3 c3 33 c9 39 4a 08 7e 17 4d 2b c1 90
0x0000000068f64bf0: 43 8b 04 01 ff c1 49 83 c1 04 41 89 41 fc 3b 4a
0x0000000068f64c00: 08 7c ed f3 c3 0f 1f 00 3d 4b 7f 00 3d 4b 7f 00
Register to memory mapping:
RAX=0x0000000000000006 is an unknown value
RBX=0x0000000002a2eb90 is pointing into the stack for thread: 0x000000000287b000
RCX=0x0000000000000000 is an unknown value
RDX=0x0000000000376a28 is an unknown value
RSP=0x0000000002a2eb28 is pointing into the stack for thread: 0x000000000287b000
RBP=0x0000000000000000 is an unknown value
RSI=0x000000000c267d3c is an unknown value
RDI=0x0000000002a2ec38 is pointing into the stack for thread: 0x000000000287b000
R8 =0xfffffffff3d982b4 is an unknown value
R9 =0x000000000c267d4c is an unknown value
R10=0x0000000068770000 is an unknown value
R11=0x0000000000000000 is an unknown value
R12=0x0000000000376980 is an unknown value
R13=0xfffffffffd947df0 is an unknown value
R14=0x0000000002a2efa0 is pointing into the stack for thread: 0x000000000287b000
R15=0x000000000287b000 is a thread
Stack: [0x0000000002930000,0x0000000002a30000], sp=0x0000000002a2eb28, free space=1018k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [nvoglv64.DLL+0x7f4bf0]
[error occurred during error reporting (printing native stack), id 0xc0000005]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j org.lwjgl.opengl.GL11.nglDrawArrays(IIIJ)V+0
j org.lwjgl.opengl.GL11.glDrawArrays(III)V+20
j heroesgrave.guardian.world.Sky.render()V+334
j heroesgrave.guardian.main.Main.render()V+31
j heroesgrave.guardian.main.Main.start()V+110
j heroesgrave.guardian.main.Main.main([Ljava/lang/String;)V+87
v ~StubRoutines::call_stub