Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
Created attachment 22728 [details]
When I stop debugging the attached sample, the app crashes and the OS gives me an error asking if I want to ignore or reopen.
Also when I run the gMusic for mac, and stop debugging. The app locks up and never closes:
Here are 2 problems reported...
I was not able to reproduce crash with attached project... Can you copy paste About information in Visual Studio for Mac?(probably I need specific version of XM)
I was able to reproduce Hanging by gMusic and "fixed" in in IDE by ForceTerminating process: https://github.com/mono/monodevelop/pull/2581
Actual fix needs to be done by Xamarin.Mac or Mono to close application when VM_EXIT is called(https://github.com/mono/mono/blob/master/mono/mini/debugger-agent.c#L7422)
We run into this constantly when working on Workbooks & Inspector.
It's possible that the CMD_VM_EXIT path in the debugger is calling managed Environment.Exit (if TRY_MANAGED_SYSTEM_ENVIRONMENT_EXIT is set), in which case, the actual culprit for this bug may be #52604.
I attached a simple repro case to that bug.
For those that speak in URIs: https://bugzilla.xamarin.com/show_bug.cgi?id=52604
I highly suspect that's the root cause of this issue, although I also think the PR in comment #1 is correct (a method called "KillProcess" probably does want to send SIGKILL
(ForceTerminate) and not SIGTERM (Terminate)).
Fixed in version 22.214.171.124 (master)
Author: David Karla??
Commit: 42646517660a5a6ebb04086bf271cbb6197b7a70 (mono/monodevelop)
Fixed in version 126.96.36.1994 (d15-3)
Author: Lluis Sanchez
Commit: dac776e0d941c9a00c711e82eaa2a390155db885 (mono/monodevelop)
This bug reported 2 bugs.
Crashing is bug in runtime and is reported as https://bugzilla.xamarin.com/show_bug.cgi?id=52604 other bug Hanging is fixed with this bug. So test if applications are closed after debugging is stopped, crashing and report windows are not fixed with this bug since it's runtime bug.
As per above comment I have checked this with d15.3 build and debugger is able to disconnect from Mac application. Hence marking this as verified.
Build info: https://gist.github.com/raghorteprasad/d1bd993f287b2b06e49be1263e97a74a