Bug 45830 - App crash when pressing pause in visual studio with failed assertion in debugger-agent.c
Summary: App crash when pressing pause in visual studio with failed assertion in debug...
Alias: None
Product: Android
Classification: Xamarin
Component: Debugger ()
Version: 7.0 (C8)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-10-24 12:30 UTC by Joris Vergeer
Modified: 2017-06-28 22:25 UTC (History)
3 users (show)

Tags: BZCU, bb
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 Joris Vergeer 2016-10-24 12:30:13 UTC
When debugging my app in visual studio 2015 with Xamarin and Xamarin.Android, often when I press the pause button during execution when the UI is slow during a long operation, then the app crashes with these lines in the debug output:

10-24 14:19:22.547 F/        ( 7927): * Assertion at /Users/builder/data/lanes/3511/f4db8a57/source/mono/mono/mini/debugger-agent.c:8650, condition `locals->locals [i].index < header->num_locals' not met
10-24 14:19:22.547 F/libc    ( 7927): Fatal signal 6 (SIGABRT), code -6 in tid 7955 (Thread-8524)

I do have "Use Shared Runtime" and "Use Fast Deployment" enabled.
Comment 1 Joris Vergeer 2016-10-24 12:52:19 UTC
I Updated to the latest beta of xamarin + xamarin.android and the issue still exists on the exact same line in debugger-agent.c
Comment 4 Al Clark [MSFT] 2017-06-28 22:25:17 UTC
Because we have not received a reply to our request for more information we are closing this issue. If you are still encountering this issue, please reopen the ticket with the requested information. Thanks!