Bug 21376 - Sporadic crashes on OS X, possibly related to threading
Summary: Sporadic crashes on OS X, possibly related to threading
Status: RESOLVED FIXED
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: Library (Xamarin.Mac.dll) ()
Version: 1.8.1
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Chris Hamons
URL:
Depends on:
Blocks:
 
Reported: 2014-07-16 14:28 UTC by Michael Teper
Modified: 2014-07-18 14:47 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Comment 1 Chris Hamons 2014-07-16 15:02:06 UTC
The runtime team has tracked down a thread corruption bug which produces inconsistent crashes in some cases with a large number of small thread. Some uses of the Xamarin.Mac seem to trigger that more often.

I have uploaded a pre-alpha version of the mono runtime you are welcome to try out:

http://files.xamarin.com/~chamons/MonoFramework-PreAlpha-ThreadFix.pkg

Be warned however, that this is pre-release software, so expect the possibility of it breaking other things. You can always reinstall the release mono if problems arise.

Please let me know if that fixes your issues. The current plan is to release this fix near the end of the month.
Comment 2 Michael Teper 2014-07-16 16:15:46 UTC
Thanks, Chris, I will install and attempt to reproduce crash.
Comment 3 Michael Teper 2014-07-16 19:23:36 UTC
So far so good. I've been hitting at our UI and haven't yet been able to make it crash. Doesn't mean all is well, but certainly very encouraging. I will update this bug again in a few days if all is still quiet.

Thanks!!
Comment 4 Michael Teper 2014-07-16 19:24:23 UTC
I should ask, of course, is there an ETA for moving these changes out of pre-alpha?
Comment 5 Chris Hamons 2014-07-18 14:47:48 UTC
The current plan is sometime around the end of the month.