[Mono-bugs] [Bug 430483] Timer.OnTimer() function got called with non-gui thread

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Sep 29 12:38:48 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=430483

User awunwpa7 at yahoo.com.ph added comment
https://bugzilla.novell.com/show_bug.cgi?id=430483#c5





--- Comment #5 from Steve Odbc <awunwpa7 at yahoo.com.ph>  2008-09-29 10:38:47 MDT ---
About my test case:

Have you used the MS framework (I used 2.0)? I tested with a binary from the MS
compiler. Do you want my binary?

Or is this exception just a debugger feature, since I tested under the MS
debugger? I will check this...

About your test case:

You are correct: the Tick event gets usually processed by the gui thread in
MONO. But in very rare cases (I found this bug when I displayed this
Debug.Assert() message box, you remember) it is not the gui thread. So this bug
is not stable enough to find it with your test case. Maybe I can rewrite it so
that the bug shows up.

It would be intresting to check the MONO code on how the Tick event is
internally processed and see if it is possible in theory that under strange
circumstances (perhaps when the gui thread is busy) a different thread is
processing the event.


-- 
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.


More information about the mono-bugs mailing list