Our clients recently started complaining about crashes when exiting our program. When it is set to use OpenGL mode, it crashes when it's calling wglDeleteContext. It is happening only on Intel graphics cards, and I can successfully reproduce the crash. It worked before and seems to appear with one of the latest drivers update.
Call stack at the moment of the crash:
[Frames below may be incorrect and/or missing, no symbols loaded for ig4icd32.dll]
opengl32.dll!_vUnlockHandle@4() + 0x41 bytes
opengl32.dll!_cLockHandle@4() + 0x97 bytes
What's interesting, exception handler around that call does not help and application crashes anyway. Tried to resolve the problem but it seems it is the graphics card driver issue.
I can send a crash dump file to Intel developers if it is necessary.
Information from the diagnostics tool: