[Mono-bugs] [Bug 77856][Cri] Changed - Mono Runtime Is Leaking Semaphores

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Mar 22 09:11:17 EST 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 dick at ximian.com.

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

--- shadow/77856	2006-03-20 11:59:42.000000000 -0500
+++ shadow/77856.tmp.7625	2006-03-22 09:11:17.000000000 -0500
@@ -107,6 +107,16 @@
 <Dick> ankit: evolution-sharp is for talking to evolution-data-server,
 so other tools might be using it for that
 <dave_largo> and I thought semaphores were dynamic in 2.6 kernel, and
 were allocated as it needed them.
 <dave_largo> or is an issue of bumping up that /dev/shm file system?
 <Dick> dave_largo: i'll need to have a think about how to proceed
+
+------- Additional Comments From dick at ximian.com  2006-03-22 09:11 -------
+Try this patch against 1.1.13 (should apply cleanly to svn head too.)
+
+With this, a mono process will delete the semaphore and shared files
+if it is the last one using them.  It will also cope with X servers
+disconnecting unexpectedly and Xlib calling exit().
+
+If the last mono process crashes it will still "leak" the semaphore
+and shared files, and the next mono process will reuse them as before.


More information about the mono-bugs mailing list