[Mono-bugs] [Bug 656262] System.Reflection.Emit.TypeBuilder.create_runtime_class crash as of git rev c66e414be18a5da230a1988ba572d2889f3d5548

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Dec 3 06:28:59 EST 2010



--- Comment #4 from Jonathan Bogdoll <j.bogdoll at gmx.net> 2010-12-03 11:28:58 UTC ---
I'm sorry, I mistakenly posted the first file twice.

The correct second file that is needed is as follows:

----------------- test2.cs --------------------
using System;

namespace Test
    public interface IExplorer: IGraph<ILocation>

    public interface ILocation: IEquatable<ILocation>, INode<ILocation>

I also recompiled mono with -ggdb and -O0 to get a stack trace with line
numbers. Relevant fragment follows:

#4  <signal handler called>
#5  0x000000000058fd68 in mono_class_from_mono_type (type=0x0) at class.c:5807
#6  0x0000000000593ea5 in mono_class_implement_interface_slow
(target=0x2669820, candidate=0x260d7a8) at class.c:7374
#7  0x0000000000594188 in mono_class_is_assignable_from_slow (target=0x2669820,
candidate=0x260d7a8) at class.c:7429
#8  0x00000000005e4865 in is_valid_generic_instantiation (gc=0x23fde40,
context=0x26695f8, ginst=0x2666ab0) at verify.c:618
#9  0x00000000005e4f85 in mono_class_is_valid_generic_instantiation (ctx=0x0,
klass=0x2669620) at verify.c:811
#10 0x00000000005fc498 in mono_verifier_class_is_valid_generic_instantiation
(class=0x2669620) at verify.c:6073
#11 0x000000000058d983 in mono_class_init (class=0x2669620) at class.c:4883
#12 0x0000000000588d86 in setup_interface_offsets (class=0x260d650, cur_slot=0)
at class.c:3118
#13 0x0000000000589ab1 in mono_class_setup_interface_offsets (class=0x260d650)
at class.c:3320
#14 0x000000000061f6f9 in ensure_runtime_vtable (klass=0x260d650) at
#15 0x0000000000620f6e in mono_reflection_create_runtime_class
(tb=0x7fef5929d620) at reflection.c:11374

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list