[Mono-bugs] [Bug 80478][Blo] New - Segmentation fault in simple plugin framework

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jan 8 17:16:32 EST 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 kalas at damp.homeip.net.

http://bugzilla.ximian.com/show_bug.cgi?id=80478

--- shadow/80478	2007-01-08 17:16:32.000000000 -0500
+++ shadow/80478.tmp.30739	2007-01-08 17:16:32.000000000 -0500
@@ -0,0 +1,56 @@
+Bug#: 80478
+Product: Mono: Runtime
+Version: 1.2
+OS: Debian Woody
+OS Details: Debian testing
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: remoting
+AssignedTo: lluis at ximian.com                            
+ReportedBy: kalas at damp.homeip.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Segmentation fault in simple plugin framework
+
+Description of Problem:
+I've created a simple plugin framework that works great in .NET (2.x). The
+same application gives me a segfault with mono 1.2.2.1/JIT 0.31.
+
+Steps to reproduce the problem:
+1. extract provided sample.
+2. run "sh build.sh"
+3. run "sh run.sh"
+
+Actual Results:
+[HostApp] Loaded PluginOne (r1)
+[PluginOne] OnMessage(test1)
+[PluginOne] OnMessage(hi there)
+[PluginOne] OnMessage(wassup?)
+[PluginOne] OnMessage(the end :()
+[HostApp] Unloading PluginOne
+[PluginOne] Dispose()
+run.sh: line 2:  2547 Segmentation fault      mono hostapp.exe
+"$PWD/plug.dll" PluginOne.PluginOne
+
+Expected Results:
+[HostApp] Loaded PluginOne (r1)
+[PluginOne] OnMessage(test1)
+[PluginOne] OnMessage(hi there)
+[PluginOne] OnMessage(wassup?)
+[PluginOne] OnMessage(the end :()
+[HostApp] Unloading PluginOne
+[PluginOne] Dispose()
+[HostApp] Loaded PluginOne (r1)
+[PluginOne] OnMessage(test1)
+[PluginOne] OnMessage(hi there)
+.....
+
+How often does this happen? 
+All the time.
+
+Additional Information:
+Feels like MarshalObjectByRef is the cause, but it works like a charm on .NET


More information about the mono-bugs mailing list