[Mono-devel-list] Problem with ThreadAbortException handling
dietmar
dietmar at ximian.com
Mon Mar 10 03:56:17 EST 2003
looks like a bug - please can you file a bug report
(bugzilla.ximian.com), maybe adding a small test case showing the bug?
- Dietmar
On Sun, 2003-03-09 at 21:47, Matthias Sessler wrote:
> Hi,
>
> i am currently trying to make a program i wrote with windows run with
> mono/linux. While trying to make it run I had a problem with the
> ThreadAbortException. The Microsoft documentation states that, if a
> ThreadAbortException is thrown, all finally clauses are executed and
> if
> done, the thread will exit. This works fine with mono.
> The problem begins, when during the execution of the finally clauses
> an
> other exception is thrown. The MS CLR throws the new exception and my
> application catches it, the execution goes on, and everything is fine.
> When this happens with mono, a ThreadAbortException occurs instead of
> the new exception. Somehow this prevents the thread from stopping
> correctly (Join method does not return).
>
> I don't know if this is a bug, thats why i did not fill in a bug
> report.
>
> Could somebody please check if this is a bug of the mono exception
> handler or if this is the way it should work.
>
> Regards,
> Matthias Sessler
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
More information about the Mono-devel-list
mailing list