Bug 30378 - program stuck on Control.Invoke
Summary: program stuck on Control.Invoke
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: Windows.Forms ()
Version: 4.0.0
Hardware: PC Mac OS
: --- normal
Target Milestone: Community
Assignee: Bugzilla
Depends on:
Reported: 2015-05-23 02:11 UTC by baseballfan
Modified: 2017-09-01 11:56 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

source code and executable (71.00 KB, application/x-zip-compressed)
2015-05-23 02:11 UTC, baseballfan

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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 30378 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 original description:

  • Export the original title and description: GitHub Markdown or Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description baseballfan 2015-05-23 02:11:22 UTC
Created attachment 11309 [details]
source code and executable

click a button on the form, a thread is started, periodically calling Control.invoke.
On windows, the title of the form is updated every one second.
but on OS X, the title usually remain the same, unless I drag the window around or do something else to the window.

Environment: Windows 7->VMware Workstation 9->OS X 10.9

Comple: Visual Studio 2013 Update 4

Command Line: sudo mono WindowsApplication2.exe


Public Class Form1

    Delegate Sub UpdateTitle()
    Dim k As New UpdateTitle(Sub()
                                 Me.Text = Now.ToString
                             End Sub)

    Private Sub test()
    End Sub

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Dim t As New Threading.Thread(AddressOf test)
    End Sub
End Class
Comment 1 Zoltan Varga 2015-05-26 10:55:37 UTC
-> winforms.