[Mono-bugs] [Bug 79130][Min] New - signal handlers are not cleaned up

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Aug 21 10:37:13 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 joe at otee.dk.

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

--- shadow/79130	2006-08-21 10:37:13.000000000 -0400
+++ shadow/79130.tmp.17889	2006-08-21 10:37:13.000000000 -0400
@@ -0,0 +1,28 @@
+Bug#: 79130
+Product: Mono: Runtime
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: JIT
+AssignedTo: lupus at ximian.com                            
+ReportedBy: joe at otee.dk               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: signal handlers are not cleaned up
+
+mono_jit_cleanup does not cleanup signal handlers.
+
+Thus if an application that embeds mono and causes a sigabort signal after mono_jit_cleanup is 
+called, mono will crash with the following stacktrace.
+
+0   libmono.0.dylib                	0x240b4f84 mono_jit_info_table_find + 32 (domain.c:173)
+1   libmono.0.dylib                	0x24019e4c sigabrt_signal_handler + 48 (mini.c:10571)
+2   libSystem.B.dylib              	0x90131768 _sigtramp + 124
+
+This can be solved by simply resetting the signal handlers inside of mono_jit_cleanup.


More information about the mono-bugs mailing list