https://bugzilla.novell.com/show_bug.cgi?id=430483
User [EMAIL PROTECTED] added comment https://bugzilla.novell.com/show_bug.cgi?id=430483#c430477 Summary: Timer.OnTimer() function got called with non-gui thread Product: Mono: Class Libraries Version: 2.0 Platform: x86 OS/Version: Windows XP Status: NEW Severity: Normal Priority: P5 - None Component: Windows.Forms AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] QAContact: [email protected] Found By: Beta-Customer Description of Problem: It seems to be possible in MONO that the OnTimer function of a Timer is not called by the gui thread, but by some other thread. As the OnTimer function usually operates on winform controls, a wrong thread might easily lead to threadding trouble. To prevent this, the MS framework normally throws an InvalidOperationException as soon as a wrong thread touches anything. Instead the MONO framework does not seem to care much and lets strange threads operate on the gui controls without any worrying. This is normally not a problem, but can lead to one if a wrong thread appears in a context where you don't assume it (for example in the OnTimer function). I suppose the MONO winform controls are not thread safe for such situations. See second comment of bug #430477 for how I found this one. Found with MONO 2.0 rc1 on WinXP. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
