[Mono-bugs] [Bug 75923][Nor] New - Mono compilation leaks semaphores
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sun Aug 28 04:00:34 EDT 2005
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 tmclaugh at sdf.lonestar.org.
http://bugzilla.ximian.com/show_bug.cgi?id=75923
--- shadow/75923 2005-08-28 04:00:34.000000000 -0400
+++ shadow/75923.tmp.11820 2005-08-28 04:00:34.000000000 -0400
@@ -0,0 +1,81 @@
+Bug#: 75923
+Product: Mono: Runtime
+Version: 1.1
+OS: other
+OS Details: FreeBSD 5.4-RELEASE-p6
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: io-layer
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: tmclaugh at sdf.lonestar.org
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Mono compilation leaks semaphores
+
+Description of Problem:
+This bug is a continuation of the problem in bug 75397. The Mono
+compilation process was leaving semaphores after the build process was
+finished. The semdel commit that was reported to fix the bug removes one
+of the semaphores but not all. During the Mono compilation three
+semaphores are created. The semdel program removes the second and third
+semaphores but the first one created during the process remains. This has
+the effect of causing runtime errors and hangs over time and the number of
+leaked semaphores rack up.
+
+Steps to reproduce the problem:
+1. Build Mono
+2. Check system semaphores with ipcs
+
+
+Actual Results:
+The first semephore created during the build process is still left over
+after the process is finished.
+
+
+Expected Results:
+No semephores created by the building should remain.
+
+
+How often does this happen?
+Everytime Mono is compiled.
+
+
+Additional Information:
+ipcs output below.
+
+before build:
+------------------------------------------------------------------------
+[tom at compass tom]$ ipcs -bst
+Semaphores:
+T ID KEY MODE OWNER GROUP NSEMS OTIME CTIME
+------------------------------------------------------------------------
+
+during build:
+------------------------------------------------------------------------
+[tom at compass tom]$ ipcs -bst
+Semaphores:
+T ID KEY MODE OWNER GROUP NSEMS OTIME CTIME
+s 196608 1294723677 --rw------- root wheel 8 3:01:43 3:01:23
+
+T ID KEY MODE OWNER GROUP NSEMS OTIME CTIME
+s 196608 1294723677 --rw------- root wheel 8 3:02:58 3:01:23
+s 196609 1294710607 --rw------- root wheel 8 3:12:56 3:03:01
+
+[tom at compass tom]$ ipcs -bst
+Semaphores:
+T ID KEY MODE OWNER GROUP NSEMS OTIME CTIME
+s 196608 1294723677 --rw------- root wheel 8 3:02:58 3:01:23
+s 262145 1294710607 --rw------- root wheel 8 3:18:31 3:17:47
+------------------------------------------------------------------------
+
+after build:
+------------------------------------------------------------------------
+[tom at compass tom]$ ipcs -bst
+Semaphores:
+T ID KEY MODE OWNER GROUP NSEMS OTIME CTIME
+s 196608 1294723677 --rw------- root wheel 8 3:02:58 3:01:23
+------------------------------------------------------------------------
More information about the mono-bugs
mailing list