Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report for Bug 42451 on
GitHub or Developer Community if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
Created attachment 16622 [details]
Custom Control Class file.
Description of Problem:
Project is a C# mono custom control subclassing UserControl.
project crashes when calling The Refresh method from within the control or from the
application that uses the control.
All code is c#, same bug in MacOS, Linux and Windows 10.
Does not crash when using Invalidate() instead of Refresh(), but performance is degraded.
I have to add tests in the paint event to prevent collisions or crash eventually occurs even with Invalidate().
Steps to reproduce the problem:
1. Call Refresh() from inside the control.
2. Call Refresh() from the application using the control.Refresh();
Actual Results: Crash
Expected Results: no crash
How often does this happen?
Mac OS 10.11
Created attachment 16623 [details]
Main Application File that uses the custom control.
Main application uses 2 instances of EHSI custom control. Crash happens when calling control.Refresh() from main application.
Please include the actual crash log
Created attachment 16638 [details]
This the log of the crash that occurs when using the Refresh() method of the control.