Hi Zoltan,

  Could you create a testcase which doesn't depend on System.Data+Oracle
etc ?

It seems that the stack frame gets corrupted.

Rob
using System;
using System.Collections;

public class CustomException : ApplicationException
{
}

class Foo {
    static void Main(string[] args) {
        try {
            throw new CustomException();
        }
        catch (CustomException ex) {
            Bad (ex, new Object());
            // Good (ex);
        }
    }

    static void Bad (Exception ex, object o)
    {
        try {
            throw ex;
        }
        catch (CustomException e)
        {
            Console.WriteLine (e);
            Console.WriteLine (o);
        }
    }

    static void Good (Exception ex)
    {
        try {
            throw ex;
        }
        catch (CustomException e)
        {
            Console.WriteLine (e);
        }
    }
}
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to