System Information
Operating system: Windows-10-10.0.17134-SP0 64 Bits
Graphics card: Intel(R) HD Graphics Intel 4.0.0 - Build 10.18.10.5146
Blender Version
Broken: version: 2.90.1, branch: master, commit date: 2020-09-23 06:43, hash: rB3e85bb34d0d7
Worked: (newest version of Blender that worked as expected)
Short description of error
When excluding collection from view layer, if some objects from that collection are selected they remain selected causing blender to crash while trying to select other objects (visible ones, from other collection that is not hidden or excluded from view layer) by clicking them in viewport.
Error: EXCEPTION_ACCESS_VIOLATION
Module: ig7icd64.dll
Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]
I couldn't found out exact steps to reproduce the error since doesn't happen every time. But when it starts happening it is consistent. No matter how many times I open autosave file (saved just before crash) just by right clicking on any object in viewport blender crashes. However if I select object by clicking on its name in outliner first then I am free to select objects in viewport without crash, but as soon as I enter edit mode and get back to object mode selecting objects in viewport causes crash (unless I click on some object in outliner first). I figured out that some objects in excluded collection were selected, and as soon as I deselected them before excluding collection from view layer error stopped happening.
This was happening to me earlier versions of blender as well. I know that Intel(R) HD Graphics Intel 4.0.0 doesn't meet minimum system requirements, but to me it doesn't look like that is the issue. If I was wrong and this is graphics card related I apologize for wasting your time.