[Mono-list] The handle daemon didnt start up properly

Iain McCoy iain@mccoy.id.au
Mon, 17 May 2004 00:33:16 +1000


--=-yBLyWydkovbSX9z5vIwI
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

This seems to come up fairly often. Would a patch like the attached be
worth applying?

On Mon, 2004-05-17 at 00:00, bender wrote:
> Hi!
> 
> All of a sudden i get these warnings whenever i try to start a mono
> application:
> 
> ** (test.exe:14610): WARNING **: The handle daemon didnt start up
> properly
>  
> ** (test.exe:14610): WARNING **: Failed to attach shared memory! Falling
> back to non-shared handles
> 
> Everything seems to work, but much slower than expected. Anyone that
> knows how to fix this?
> 
> BR
> .b
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
-- 
Iain McCoy <iain@mccoy.id.au>

--=-yBLyWydkovbSX9z5vIwI
Content-Disposition: attachment; filename=mono-.wapiwarning.patch
Content-Type: text/x-patch; name=mono-.wapiwarning.patch; charset=iso-8859-1
Content-Transfer-Encoding: 7bit

? mono-0.30.99
? mono-0.31
? mono-0.91
Index: mono/io-layer/handles.c
===================================================================
RCS file: /mono/mono/mono/io-layer/handles.c,v
retrieving revision 1.43
diff -u -r1.43 handles.c
--- mono/io-layer/handles.c	22 Apr 2004 14:37:44 -0000	1.43
+++ mono/io-layer/handles.c	16 May 2004 14:27:53 -0000
@@ -105,7 +105,8 @@
 					 &_wapi_shared_scratch);
 		if(shared==FALSE) {
 			g_warning ("Failed to attach shared memory! "
-				   "Falling back to non-shared handles");
+				   "Falling back to non-shared handles\n" 
+				   "Try deleting your ~/.wapi folder to fix this issue.");
 		}
 #endif /* DISABLE_SHARED_HANDLES */
 	}

--=-yBLyWydkovbSX9z5vIwI--