Bug 53786 - When debugging the debug session randomly crashes - suspend_thread suspended for too long
Summary: When debugging the debug session randomly crashes - suspend_thread suspended ...
Alias: None
Product: Android
Classification: Xamarin
Component: Debugger ()
Version: 6.1.2 (C7SR1)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2017-03-22 13:10 UTC by steven.mark.ford.dev
Modified: 2017-06-27 21:26 UTC (History)
3 users (show)

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:

Description steven.mark.ford.dev 2017-03-22 13:10:37 UTC
This is the exception I get:

STATE CUE CARD: (? means a positive number, usually 1 or 2, * means any number)
	0x0	- starting (GOOD, unless the thread is running managed code)
	0x1	- running (BAD, unless it's the gc thread)
	0x2	- detached (GOOD, unless the thread is running managed code)
	0x?03	- async suspended (GOOD)
	0x?04	- self suspended (GOOD)
	0x?05	- async suspend requested (BAD)
	0x?06	- self suspend requested (BAD)
	0x*07	- blocking (GOOD)
	0x?08	- blocking with pending suspend (GOOD)
--thread 0xaedad800 id 0x94928580 [0x6ce7] state 1  
--thread 0xaedaf000 id 0x94929e80 [0x6cfb] state 1  
--thread 0xaeda9800 id 0x96e9a080 [0x6cd3] state 1  
--thread 0x96d1a400 id 0x96e9b480 [0x6cd9] state 105  
--thread 0xaedb1800 id 0x96ea1b00 [0x6cea] state 1  
--thread 0xaeda7800 id 0x9a2d2900 [0x6cd1] state 1  
--thread 0xaec48400 id 0x9b128300 [0x6ca3] state 1  
--thread 0x9b0a1c00 id 0x9b12da80 [0x6cb1] state 1  
--thread 0xaec4b400 id 0x9b12e980 [0x6cb2] state 1  
--thread 0x9b0a8800 id 0x9b12f100 [0x6cb6] state 1  
--thread 0xaec4d400 i
d 0x9b12f380 [0x6cb7] state 1  
--thread 0x96fdf400 id 0x9b2d5a00 [0x6cf5] state 1  
--thread 0xaeda6800 id 0x9b2d7300 [0x6cc3] state 1  
--thread 0x9a00fc00 id 0x9b2d7d00 [0x6cca] state 1  
--thread 0x9a012c00 id 0x9b2d9600 [0x6ccd] state 1  
--thread 0xaec45400 id 0x9b476180 [0x6c9e] state 1  
--thread 0x9b484000 id 0x9b476e00 [0x6c9f] state 1  
--thread 0x9b488c00 id 0x9b478c00 [0x6ca2] state 1  
--thread 0xaec46400 id 0x9b478e80 [0x6ca1] state 1  
--thread 0x96d1ec00 id 0xaec55480 [0x6ce6] state 1  
--thread 0x96fe3c00 id 0xaee2b100 [0x6cf8] state 1  GC INITIATOR
--thread 0xaec43400 id 0xb491b500 [0x6c83] state 1  
--thread 0xb4a38c00 id 0xb491b780 [0x6c84] state 1  
--thread 0xb4a36c00 id 0xb6f54bec [0x6c6b] state 1  
WAITING for 1 threads, got 0 suspended
03-22 14:59:27.766 F/        (27755): suspend_thread suspend took 200 ms, which is more than the allowed 200 ms
Comment 1 steven.mark.ford.dev 2017-03-22 13:13:43 UTC
Sorry I forgot the last line of the exception:
03-22 14:59:27.766 F/libc    (27755): Fatal signal 6 (SIGABRT), code -6 in tid 27896 (Thread-10421)
Comment 2 Cody Beyer (MSFT) 2017-06-27 21:26:32 UTC
Unfortunately, we’re unable to reproduce this report. If this issue is still occurring for you, please reopen this issue and attach a reproduction to the bug by starting with a clean Xamarin.Android project adding just the code necessary to demonstrate the issue.