Any program with using wglCreateContext which is a win32 api, will lead to program crash and there is no exception. the driver information is including Card name: Intel(R) Iris(R) Plus Graphics 640;Driver File Version: 25.20.0100.6373 (English); other information is included in the attachment in great details.
here the most important question is there any way to check or avoid the program crash? of course, if to upgrade the driver first will solve the problem. BUT this is not the optimum strategy.
error information is "exception at 0x653DCB95 (ig9icd32.dll) in XXX.exe: 0xC0000005: Access violation reading location 0x00000000."
Another question is if this version of graphics driver will absolutely crash program with using wglCreateContex or other win32 api in any Operation system( windows, Mac, and so on). Is it a best strategy that block the wglCreateContex using when the version of graphics matched to the problem one?
It may seem like the optimum strategy to you, but it simply isn't and it will never happen this way. Intel will not go back and update previous versions of the driver. Any changes will occur in the latest version and be included in a new version being released. In order for a problem to be reported to the driver team, ICS must show that the issue (still) exists in the latest version available. Bottom line, you need to be testing with the latest version and reporting issues against only the latest version.
This isn't open for debate, so don't respond that way. Test with the latest version and, if the issue remains, open a new question reporting the issue.