[Mono-bugs] [Bug 79154][Cri] New - SIGSEGV when using Delegates

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Aug 24 07:01:39 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 martin.fleisz at logico.com.


--- shadow/79154	2006-08-24 07:01:39.000000000 -0400
+++ shadow/79154.tmp.29855	2006-08-24 07:01:39.000000000 -0400
@@ -0,0 +1,65 @@
+Bug#: 79154
+Product: Mono: Runtime
+Version: unspecified
+OS: other
+OS Details: Mandrake 10.1
+Status: NEW   
+Priority: Critical
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: martin.fleisz at logico.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: SIGSEGV when using Delegates
+Description of Problem:
+I wrote a unit-test application that uses delegates to call a collection 
+of registered unit-test routines. After a few tests the mono runtime 
+crashes with a SIGSEGV showing the following stack trace:
+  at (wrapper managed-to-native) System.Delegate.CreateDelegate_internal 
+(System.Type,object,System.Reflection.MethodInfo) <0x00004>
+  at (wrapper managed-to-native) System.Delegate.CreateDelegate_internal 
+(System.Type,object,System.Reflection.MethodInfo) <0xffffffff>
+  at System.Delegate.CreateDelegate (System.Type,object,string,bool) 
+  at System.Delegate.CreateDelegate (System.Type,object,string) <0x00012>
+  at Vasco.Base.CUnitTestFunctor.Call (Vasco.Base.CUnitTestBase) <0x0001c>
+  at Vasco.Base.CUnitTestFramework.Test 
+(Vasco.Base.CUnitTestBase,Vasco.Base.CUnitTestFunctor) <0x0067c>
+  at Vasco.Base.CUnitTestBase.RunTests (string) <0x00709>
+  at BatLibUnitTest.IsoTLVStatic..ctor () <0x0030f>
+  at <Module>.TestMain (string[],int) <0x00375>
+  at (wrapper delegate-invoke) System.MulticastDelegate.invoke_int_string
+[]_int (string[],int) <0xffffffff>
+  at Vasco.Base.CAppInit.AppInitProc (string
+[],int,Vasco.Base.MAIN_PROCEDURE) <0x0022b>
+  at (wrapper delegate-invoke) System.MulticastDelegate.invoke_int_string
+[]_int_MAIN_PROCEDURE (string[],int,Vasco.Base.MAIN_PROCEDURE) 
+  at <Module>.main (string[]) <0x00094>
+  at (wrapper runtime-invoke) System.Object.runtime_invoke_int_string[] 
+(object,intptr,intptr,intptr) <0xffffffff> 
+Steps to reproduce the problem:
+Please send me a mail at martin.fleisz at logico.com so I can forward you 
+the binary that causes the crash and the created core dump.
+Actual Results:
+SIGSEGV on execution
+Expected Results:
+No crash
+How often does this happen? 
+Out of 30 times I ran the application, it worked 2 times
+Additional Information:
+I'm using the latest mono version (
+If you need further information or help to track the bug please drop me a 

More information about the mono-bugs mailing list