[Mono-devel-list] SRE generated assembly aborts the mono runtime

Michal Moskal malekith at pld-linux.org
Tue Jan 20 17:50:06 EST 2004


On Tue, Jan 20, 2004 at 08:09:55PM -0200, Rodrigo B. de Oliveira wrote:
> The attached testcase aborts the mono runtime but works fine on the clr:
> 
> <snip src='stdout'>
> ** (/home/rodrigob/dotnet/nunit/src/build/nunit-console.exe:4671): CRITICAL
> **:
> file metadata.c: line 825 (mono_metadata_blob_heap): assertion `index <
> meta->he
> ap_blob.size' failed
> 
> ** ERROR **: file metadata.c: line 871 (mono_metadata_decode_row): assertion
> fai
> led: (res_size == count)
> aborting...
> </snip>
> 
> I'm running Mono 0.29 on a mandrake 9.1 system.
> 
> Should I post it to bugzilla?

Try it with *current* CVS. I posted very similar report today, and it
was fixed. For now just try replacing:

                Type app = type.CreateType();
                _asmBuilder.SetEntryPoint(app.GetMethod("Main"));

with:
		
                type.CreateType();
                _asmBuilder.SetEntryPoint(type.GetMethod("Main"));

-- 
: Michal Moskal :: http://www.kernel.pl/~malekith : GCS {C,UL}++++$ a? !tv
: When in doubt, use brute force. -- Ken Thompson : {E-,w}-- {b++,e}>+++ h



More information about the Mono-devel-list mailing list