I thought it was fixed with this commit:<div><a href="https://github.com/mono/mono/commit/2b487789c8e3dcc3fbbcb16bb0268f88718cf8d0">https://github.com/mono/mono/commit/2b487789c8e3dcc3fbbcb16bb0268f88718cf8d0</a></div><div>
<br></div><div>However, I&#39;m using this code and still seeing the exception.  Just now in _wapi_handle_unref_full.</div><div><br></div><div>Duane<br><br><div class="gmail_quote">On Fri, Jun 24, 2011 at 3:04 PM, Geoff Norton <span dir="ltr">&lt;<a href="mailto:grompf@gmail.com">grompf@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">This is fixed in git by rodrigo iirc.<br>
<br>
-g<br>
<div><div></div><div class="h5"><br>
<br>
On Fri, Jun 24, 2011 at 3:02 PM, Duane Wandless &lt;<a href="mailto:duane@wandless.net">duane@wandless.net</a>&gt; wrote:<br>
&gt; I am getting this exception on exit when using Lion and running the latest<br>
&gt; 2.10.2.  I&#39;ve tried calling Environment.Exit(0) and mono_jit_cleanup during<br>
&gt; app shutdown.  But doing either of those leads to other exceptions.<br>
&gt; Hopefully there is a solution for this situation.  Thanks,<br>
&gt; Duane<br>
&gt;<br>
&gt; 0   libmono-2.0.1.dylib                 0x001da7ab<br>
&gt; mono_handle_native_sigsegv + 376<br>
&gt; 1   libmono-2.0.1.dylib                 0x0023d11d sigabrt_signal_handler +<br>
&gt; 116<br>
&gt; 2   libsystem_c.dylib                   0x9745059b _sigtramp + 43<br>
&gt; 3   ???                                 0xffffffff 0x0 + 4294967295<br>
&gt; 4   libsystem_c.dylib                   0x973ebbdd abort + 167<br>
&gt; 5   libmono-2.0.1.dylib                 0x0038ad29 monoeg_g_logv + 197<br>
&gt; 6   libmono-2.0.1.dylib                 0x0038ad5b monoeg_g_log + 44<br>
&gt; 7   libmono-2.0.1.dylib                 0x00357486 _wapi_handle_unref_full +<br>
&gt; 1114<br>
&gt; 8   libmono-2.0.1.dylib                 0x00355404 handle_cleanup + 199<br>
&gt; 9   libsystem_c.dylib                   0x973eb944 __cxa_finalize + 243<br>
&gt; 10  libsystem_c.dylib                   0x973eb7f2 exit + 25<br>
&gt; 11  AppKit                              0x97d2e38a +[NSMenuItem initialize]<br>
&gt; + 0<br>
&gt; 12  AppKit                              0x97ff832d -[NSApplication<br>
&gt; _terminateFromSender:askIfShouldTerminate:saveWindows:] + 435<br>
&gt; 13  AppKit                              0x9847ef90<br>
&gt; -[NSApplication(NSWindowCache)<br>
&gt; _checkForTerminateAfterLastWindowClosed:saveWindows:] + 167<br>
&gt; 14  AppKit                              0x9847f5c1<br>
&gt; __-[NSApplication(NSWindowCache)<br>
&gt; _scheduleCheckForTerminateAfterLastWindowClosed]_block_invoke_1 + 126<br>
&gt; 15  CoreFoundation                      0x98ba6e96<br>
&gt; _runLoopTimerWithBlockContext + 22<br>
&gt; 16  CoreFoundation                      0x98b6b586<br>
&gt; __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 22<br>
&gt; 17  CoreFoundation                      0x98b6af17 __CFRunLoopDoTimer + 743<br>
&gt; 18  CoreFoundation                      0x98b49f70 __CFRunLoopRun + 1888<br>
&gt; 19  CoreFoundation                      0x98b4947c CFRunLoopRunSpecific +<br>
&gt; 332<br>
&gt; 20  CoreFoundation                      0x98b49328 CFRunLoopRunInMode + 120<br>
&gt; 21  HIToolbox                           0x96ebe4ab RunCurrentEventLoopInMode<br>
&gt; + 318<br>
&gt; 22  HIToolbox                           0x96ec5d12 ReceiveNextEventCommon +<br>
&gt; 168<br>
&gt; 23  HIToolbox                           0x96ec5c56<br>
&gt; BlockUntilNextEventMatchingListInMode + 88<br>
&gt; 24  AppKit                              0x97d27530 _DPSNextEvent + 678<br>
&gt; 25  AppKit                              0x97d26d9c -[NSApplication<br>
&gt; nextEventMatchingMask:untilDate:inMode:dequeue:] + 113<br>
&gt; 26  AppKit                              0x97d231a4 -[NSApplication run] +<br>
&gt; 897<br>
&gt; 27  AppKit                              0x97fb5f55 NSApplicationMain + 1047<br>
&gt; 28  PIX                                 0x0000bbf5 main + 257<br>
&gt; 29  PIX                                 0x000028fa start + 54<br>
</div></div>&gt; _______________________________________________<br>
&gt; Mono-devel-list mailing list<br>
&gt; <a href="mailto:Mono-devel-list@lists.ximian.com">Mono-devel-list@lists.ximian.com</a><br>
&gt; <a href="http://lists.ximian.com/mailman/listinfo/mono-devel-list" target="_blank">http://lists.ximian.com/mailman/listinfo/mono-devel-list</a><br>
&gt;<br>
&gt;<br>
</blockquote></div><br></div>