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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Oct 11 12:40:01 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#c10





--- Comment #10 from Steve Odbc <awunwpa7 at yahoo.com.ph>  2008-10-11 10:40:01 MDT ---
Created an attachment (id=244982)
 --> (https://bugzilla.novell.com/attachment.cgi?id=244982)
MONO crash in TraceListener->Fail()

It seems we are dealing with two bugs at once here. So I want to point that out
first:

There is one bug that has nothing to do with a Timer, but happens when you
invoke a message box from the Fail() method of a TraceListener: MONO quits.
This is a bug, since it does not happen with the MS framework. I confirmed this
bug with the latest MONO 2.0 on Windows. So I urge you to use a Windows
environment to reproduce it. I attached a test case (without a Timer).

The second bug is, that the Tick method of a winform Timer is maybe not always
called by the main thread. I looked in the MONO code, but since I don't know
what XplatUI.SetTimer() does internally, it didn't help me much. The code with
which I wanted to repro this second bug doesn't work currently, since the first
bug prevents it.

However I will try out your code and tell you what I see.


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