[Mono-dev] ERROR:(mini-exceptions.c:760):get_exception_catch_class

Tobi listaccount at e-tobi.net
Wed Oct 1 21:14:13 EDT 2008


Zoltan Varga wrote:

>   Try to create a test case and attach it to a bug report.

Sorry, but I wasn't able to create a small enough test case for a bug
report. The code that produces this error is just too complex and for some
reason, I can reproduce the problem only with NUnit. An exe calling
exactly the same code from the library, works without a problem.

It's definitely a runtime problem. The exact same binaries work fine on
MS.NET.

I'll publish the source soon, if you want to try it yourself.

Because I couldn't create a descent test case, I tried to track the
problem down in the SVN history. The commit that introduces the problem
was r114108 (just a one-liner).

The current SVN trunk (r114643) works fine, If I just reverse this single
commit with:

    svn merge -c -114108 .

Without reverting this commit, the assert from mini-exceptions.c:770 is
triggered:

    g_assert (!class->generic_container && class == method_container_class);

I checked the assert condition and figured out, that
class->generic_container is false and class != method_container_class
resulting in g_assert(1 && 0).

Hope this helps.

Tobias
	


More information about the Mono-devel-list mailing list