[Mono-bugs] [Bug 79125][Nor] Changed - Crash related to interface setup.
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon Aug 21 21:12:33 EDT 2006
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by miguel at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=79125
--- shadow/79125 2006-08-21 19:44:14.000000000 -0400
+++ shadow/79125.tmp.24599 2006-08-21 21:12:33.000000000 -0400
@@ -153,6 +153,63 @@
/mono/bin/mono(mono_main+0xe46) [0x805e706]
/mono/bin/mono [0x805d3b2]
/lib/libc.so.6(__libc_start_main+0xdc) [0xb7d5887c]
/mono/bin/mono [0x805d301]
Aborted
+
+------- Additional Comments From miguel at ximian.com 2006-08-21 21:12 -------
+Ok, this is a much simpler test case, the problem can not be
+reproduced with C#, it can only be done with VB.NET.
+
+Compile this program with VB, then run monop2 like this:
+
+vbc test.vb (on Windows)
+monop2 -r:test.exe (on Linux)
+
+Sample code follows:
+-------------------------------------------------------
+Public Interface IBaseObject
+ ReadOnly Property Parent() As IBaseObject
+End Interface
+Public MustInherit Class BaseObject
+ Implements IBaseObject
+
+ Private ReadOnly Property pParent() As IBaseObject Implements
+IBaseObject.Parent
+ Get
+ Return Nothing
+ End Get
+ End Property
+End Class
+Public Interface INameable
+ Inherits IBaseObject
+ ReadOnly Property Name() As String
+End Interface
+
+Public MustInherit Class MemberDeclaration
+ Inherits BaseObject
+ Implements INameable
+
+ Public ReadOnly Property Name() As String Implements INameable.Name
+ Get
+ Return ""
+ End Get
+ End Property
+End Class
+
+
+
+Public Class ConstantDeclaration
+ Inherits MemberDeclaration
+End Class
+
+Module Module1
+ Sub Main()
+ End Sub
+End Module
+
+----
+Binary is available here:
+
+http://primates.ximian.com/~miguel/tmp/test2.exe
+
More information about the mono-bugs
mailing list