[Mono-bugs] [Bug 669210] New: Thread.Abort() and Thread.Join() don't work properly.
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Feb 3 09:48:34 EST 2011
https://bugzilla.novell.com/show_bug.cgi?id=669210
https://bugzilla.novell.com/show_bug.cgi?id=669210#c0
Summary: Thread.Abort() and Thread.Join() don't work properly.
Classification: Mono
Product: Mono: Compilers
Version: 2.6.x
Platform: x86
OS/Version: Windows XP
Status: NEW
Severity: Normal
Priority: P5 - None
Component: C#
AssignedTo: msafar at novell.com
ReportedBy: kobi2187 at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Opera/9.80 (Windows NT 5.1; U; en) Presto/2.7.62
Version/11.01
a thread receiving Abort request seems to ignore it under Mono.
Even though the thread state changes, it doesn't exit.
However, under .net compiler, it exits after a short while.
maybe it isn't implemented yet?
This is in windows xp, mono 2.6 beta
Reproducible: Always
Steps to Reproduce:
generate an RSA key, with something large, for example 6000 bits.
run it from thread (renderjob).
>From the calling function, set a timeout of 5 seconds - renderjob.Join(5000);
after that statement, add renderjob.Abort()
Actual Results:
thread should exit.
Expected Results:
thread ignores(?) the requested abort.
I compared .net compilation with mono.
Microsoft's compiler indeed stopped a short while later, while mono didn't,
the thread was stuck in "Background, AbortRequested" thread state.
found in mono 2.6 beta 1.
This happens in WindowsXP.
I can reproduce it. if the example isn't clear enough, I'll send short code.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list