System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.66
Blender Version
Broken: version: 2.83 (sub 4), branch: master, commit date: 2020-02-21 01:21, hash: rBb56957f0af0e
Broken: 2.82
Broken: 2.81
Short description of error
Read Access Violation when toggling custom UI button and repeatedly undoing. Crash unlikely to happen first time but will happen eventually. In the video, I toggle a few times, then hold Undo while toggling. (Video shows exact steps)
Sometimes it can take a bit of time before the crash happens. It might happen faster if you reload the file then repeat the toggling process.
Exact steps for others to reproduce the error
Open attached .blend File
Run Script
Go to 3DView -> N -> Panel "Crash"
Toggle the button a few times
Hold Undo while continuing to toggle the button.
Crash occurs eventually.
Below is a pic of where the exception is thrown (Blender version for source pic attached)
Thank you for your time and hard work.


