[Mono-list] [Fwd: Re: [Mono-devel-list] Threading Problem (Bug?):]
21 Mar 2003 16:30:05 +0100
Content-Description: Message suivi - Re: [Mono-devel-list] Threading
Subject: Re: [Mono-devel-list] Threading Problem (Bug?):
From: Charles-Louis <firstname.lastname@example.org>
To: Dick Porter <email@example.com>
Content-Type: text/plain; charset=UTF-8
X-Mailer: Ximian Evolution 1.2.3
Date: 21 Mar 2003 15:17:16 +0100
Le ven 21/03/2003 à 12:37, Dick Porter a écrit :
> On Fri, 2003-03-21 at 11:15, Charles-Louis wrote:
> > Hi,
> > I'm having a Thread related problem in my program.I get different Errors
> > when I run it with mono on Linux (RedHat 8.0) and Windows,and wanted to
> > know if anyone knows of some issues.
> > I have to say that, when I ./configure mono, I have to set the
> > SIZEOF_SUNPATH to 108, because it defaults to 0.
> If you could figure out why configure gets this wrong for you, it would
> be appreciated.
> > Basically, my application starts a Thread when I cklick on a Button in a
> > GTK# window. (after running the program with /WINDOW option)
> > So, when I start the Thread for the first time, I get a
> > NullReferenceException (actually, I get two, because I start two
> > threads) when I call 'Thread.Start()', and the first instruction of my
> > Thread function (WorkerThread) is never executed
> > (Console.WriteLine("**WorkerThread**");)... the Thread is not started.
> > When I stop the Thread and restart it, everything runs ok: Thread runs
> > correctly and performs the correct actions.
> > Same thing when I run the Thread from the Console...
> > NullReferenceException for the first time, and then everything runs OK.
> No idea what's wrong, and theres no chance of me being able to debug it
> without a test case.
> Please add a bugzilla entry, include the version of mono you are using
> and the smallest possible test sample that shows the problem.
> > On mono Windows (Console), I can start the Thread normally. But when I
> > stop the Thread, I get this message (on a MessageBox):
> > ** ERROR **: file threads.c: line 817
> > (ves_icall_System_Threading_Thread_Abort): should not be reached
> > aborting...
> > followed by an 'abnormal program termination'
> Thread.Abort() isn't implemented on windows.
--> So the error seems to come from RedHat... maybe there was an issue
I'll try to run this on another Linux Flavor (SuSE) this WeekEnd...
But I don't think I'll be able to write a small TestCase (I already
stripped down everything...). I'll see with my Boss if I can send the
> - Dick
> Mono-devel-list mailing list