Bug 42623 - Deadlock when threads are quickly created & destroyed with the debugger attached
Summary: Deadlock when threads are quickly created & destroyed with the debugger attached
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: iOS
Classification: Xamarin
Component: Debugger ()
Version: master
Hardware: PC Mac OS
: --- normal
Target Milestone: (C9)
Assignee: Ludovic Henry
URL:
Depends on: 50117
Blocks:
  Show dependency tree
 
Reported: 2016-07-18 11:11 UTC by Rolf Bjarne Kvinge [MSFT]
Modified: 2017-02-03 10:35 UTC (History)
8 users (show)

Tags: C8SR1
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 NOT_REPRODUCIBLE

Description Rolf Bjarne Kvinge [MSFT] 2016-07-18 11:11:12 UTC
This happens once in a while when running the watchOS System tests in the simulator with the debugger.

Native backtrace for all threads: https://gist.github.com/rolfbjarne/2d8f42d8f064157673d984aaf542deb0

Application output: https://gist.github.com/rolfbjarne/3b63a2fd3e211a66bae9c5ea64bdb315
Comment 1 Rolf Bjarne Kvinge [MSFT] 2016-07-18 11:14:05 UTC
I can reproduce this fairly easily by opening xamarin-macios/tests/bcl-tests/System-watchos.sln in XS, and running the System-watchos-app project.
Comment 3 Rodrigo Kumpera 2016-11-10 22:24:41 UTC
Ludovic,

Can you look at this suspend bug?
Comment 5 Sebastien Pouliot 2016-12-14 23:40:12 UTC
@Rolf does this still happens ? if so can you reply to Ludovic ? thanks!
Comment 6 Rolf Bjarne Kvinge [MSFT] 2016-12-15 15:24:13 UTC
I run into bug #50117 now.
Comment 7 Timothy Risi 2017-01-17 20:40:57 UTC
The crash from 50117 happens before the deadlock, so we can't test whether this bug is still happening until that one is fixed.
Comment 8 Rolf Bjarne Kvinge [MSFT] 2017-02-03 10:35:20 UTC
I'm not able to reproduce this anymore.