Bug 5155 - Audit ThreadPool.QueueUserWorkItem functions for exception catch
Summary: Audit ThreadPool.QueueUserWorkItem functions for exception catch
Status: NEEDINFO
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: Trunk
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-05-17 17:59 UTC by Mikayla Hutchinson [MSFT]
Modified: 2017-08-24 21:05 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 for Bug 5155 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
NEEDINFO

Description Mikayla Hutchinson [MSFT] 2012-05-17 17:59:07 UTC
Many of our ThreadPool.QueueUserWorkItem calls do not catch exceptions. This means that any exceptions in them will cause MD to crash. They should be audited to make sure they log the error, and if appropriate, report it to the user in a user friendly way.

For example, MonoDevelop.Refactoring.FindDerivedClassesHandler
Comment 1 Will Smith 2017-08-24 21:05:16 UTC
Thanks so much for taking the time to submit this report! I’m unable to reproduce this issue using the latest Visual Studio 2017 for Mac Preview version 7.2. Please attach the following to help us reproduce this issue: 
-Detailed reproduction steps 
-Version information (Visual Studio → About Visual Studio menu) 
-Logs (Help → Open Log Directory, zip logs for the last 10 days) 
-Optional: project to reproduce your issue