-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Description
Description
Previously, running WinForms with Ribbon apps worked properly in both .NET Core 3.1 and .NET 5 5.0.6, but after updating to 5.0.7, the application crashes as soon as you attempt to choose a combobox option. I have attached a repo project based off of the sample project from https://github.com/harborsiem/WindowsRibbon/tree/master/Samples/CS/06-ComboBox. Other than the conversion from .NET Framework, it is the same as the code at that URL.
In order to reproduce, launch the project, then select any option in the comboboxes - as soon as the mouse hovers over an option, the AccessViolationException occurs.
Configuration
.NET 5.0.7
Windows 10 21H1
x64
Regression?
This previously worked in .NET 5.0.6 and .NET Core 3.1 (still works in both of these on machines that do not have 5.0.7 installed).
06-ComboBox.zip
I also have tried this against .NET 6.0 preview 4, which experiences the same issue as .NET 5.0.7.
Other information?
System.AccessViolationException
HResult=0x80004003
Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Source=
StackTrace: