[Mono-bugs] [Bug 80616][Wis] New - mcs goes into infinite loop when no sysv semaphore is available

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jan 25 12:35: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 wmoran at collaborativefusion.com.

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

--- shadow/80616	2007-01-25 12:35:32.000000000 -0500
+++ shadow/80616.tmp.26767	2007-01-25 12:35:32.000000000 -0500
@@ -0,0 +1,41 @@
+Bug#: 80616
+Product: Mono: Compilers
+Version: 1.1
+OS: other
+OS Details: FreeBSD vanquish.pgh.priv.collaborativefusion.com 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #8: Tue Oct  3 10:55:07 EDT 2006     root at vanquish.pgh.priv.collaborativefusion.com:/usr/obj/usr/src/sys/VANQUISH  i386
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: wmoran at collaborativefusion.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mcs goes into infinite loop when no sysv semaphore is available
+
+Description of Problem:
+When no sysv semaphores are available, mcs goes into an infinite loop.  It
+should exit with error.
+
+Steps to reproduce the problem:
+1. Use some method to tie up all sysv semaphores on a system
+2. start mcs
+
+Actual Results:
+mcs goes into an infinite loop (ran for over 14 hours before I discovered
+the problem) eating up 100% CPU and constantly outputting the error "**
+(/usr/local/lib/mono/1.0/mcs.exe:56776): CRITICAL **:
+_wapi_shm_semaphores_init: semget error: No space left on device.  Try
+deleting some semaphores with ipcs and ipcrm"
+
+Expected Results:
+The error is OK, but mcs should exit nonzero instead of looping indefinitely.
+
+How often does this happen? 
+Every time I've tried it.
+
+Additional Information:
+mono-1.1.13.8.1 installed from FreeBSD ports.


More information about the mono-bugs mailing list