I found issue with opengl crash. It happens when app was working in fullscreen mode and system is going into sleep mode. App was worked for several hours. I catch it on Windows 7.
App crash was reported by system in the module opengl32.dll:
Faulting application name: Client.exe, version: 1.0.0.0, time stamp: 0x56c36bff
Faulting module name: OPENGL32.dll, version: 6.1.7600.16385, time stamp: 0x4a5be02b
Exception code: 0xc0000005
Fault offset: 0x00000000000dd064
Faulting process id: 0x1298
Faulting application start time: 0x01d168fb82708356
Faulting application path: G:\SRC\_binrelease\Client.exe
Faulting module path: C:\Windows\system32\OPENGL32.dll
Report Id: ed8b0910-d558-11e5-8c29-005056c00008
I'm using SFML.NET binding (CSFML 2.3)
Before this crash the following error was happened:
Application: Client.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:
at SFML.Graphics.Context.sfContext_create()
at SFML.Graphics.Context.sfContext_create()
at SFML.Graphics.Context.get_Global()
at SFML.Graphics.Texture.Destroy(Boolean)
at SFML.ObjectBase.Dispose(Boolean)
at SFML.ObjectBase.Finalize()
It seems like invalid finalizer implementation