[Mono-list] Bug Report and Test ;-) for mcs

Paolo Molaro lupus@ximian.com
Mon, 18 Feb 2002 13:22:49 +0100


On 02/18/02 Adam Treat wrote:
> Came across another bug.  mcs is compiling this when csc balks and throws a 
> [Operator '' cannot be applied to operands of type '' and '']...  Note: when 
> mono or mint are used to run the resultant executable, mint segfaults and the 
> jit throws a [file jit.c: line 379 (map_stind_type): should not be reached]

Ok, I guess miguel or ravi will look into the compiler bug.
As for the interp and the jit, they do few checks on the consistency of
the code right now: in the end we'll run the verifier before
running/compiling the code. So, since the resulting code is bogus, you
get the asserts/segv.

If anyone feels brave, he could help finish the verifier I started in
mono/metadata/verifier.c :-)
Note: this requires lots of spec reading, but you're not afraid of that,
are you? :-)

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better