[Mono-bugs] [Bug 81673][Nor] New - Runtime crash when the implementation of an interface method can't be found
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri May 18 10:03:22 EDT 2007
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 lluis at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=81673
--- shadow/81673 2007-05-18 10:03:22.000000000 -0400
+++ shadow/81673.tmp.20237 2007-05-18 10:03:22.000000000 -0400
@@ -0,0 +1,30 @@
+Bug#: 81673
+Product: Mono: Runtime
+Version: 1.2
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: lluis at ximian.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Runtime crash when the implementation of an interface method can't be found
+
+The runtime crashes when trying to load a class which is incorrect: it
+implements an interface but it does not implement one of the interface
+methods (it was compiled with an old version of the interface which did not
+have that method). The runtime should throw an exception in this case, not
+crash.
+
+I'm going to attach a test case. It contains an interface named
+IMyInterface with two methods, which is compiled into IMyInterface.dll.
+Then there is an application App.cs, which implements IMyInterface but only
+one of the methods is implemented (I added one method to IMyInterface.cs
+and recompiled it after compiling App.cs). Running "mono App.exe" results
+in a SIGSEV.
More information about the mono-bugs
mailing list