Bug 3397 - Run Again hangs if process did not terminate
Summary: Run Again hangs if process did not terminate
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Project Management ()
Version: Trunk
Hardware: PC Mac OS
: Low normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2012-02-10 17:25 UTC by Mikayla Hutchinson [MSFT]
Modified: 2017-08-22 19:34 UTC (History)
5 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 Mikayla Hutchinson [MSFT] 2012-02-10 17:25:35 UTC
(gdb) mono_backtrace 30
#0  0x9bfde83e in __psynch_cvwait ()
#1  0x958f0e21 in _pthread_cond_wait ()
#2  0x958a142c in pthread_cond_wait$UNIX2003 ()
#3  0x001c7092 in _wapi_handle_timedwait_signal_handle (handle=0x1afa, timeout=0x0, alertable=1, poll=0) at handles.c:1655
1655	handles.c: No such file or directory.
	in handles.c
#4  0x001c70d8 in _wapi_handle_wait_signal_handle (handle=0x1afa, alertable=1) at handles.c:1598
1598	in handles.c
#5  0x001d9d48 in WaitForSingleObjectEx (handle=0x104, timeout=4294967295, alertable=1) at wait.c:203
203	wait.c: No such file or directory.
	in wait.c
#6  0x001a848d in ves_icall_System_Threading_WaitHandle_WaitOne_internal (this=0x230ba078, handle=0x1afa, ms=-1, exitContext=0) at threads.c:1665
1665	threads.c: No such file or directory.
	in threads.c
#7 0x37e2998 in  (wrapper managed-to-native) System.Threading.WaitHandle:WaitOne_internal (System.Threading.WaitHandle,intptr,int,bool) + 0x38 (0x37e2960 0x37e29f2) [0x3cfe00 - MonoDevelop.exe]
#8 0x37e27e0 in  System.Threading.WaitHandle:WaitOne () + 0x60 (0x37e2780 0x37e281d) [0x3cfe00 - MonoDevelop.exe]
#9 0x177734db in  MonoDevelop.Core.ProgressMonitoring.NullProgressMonitor:MonoDevelop.Core.IAsyncOperation.WaitForCompleted () + 0xb3 (0x17773428 0x177734e4) [0x3cfe00 - MonoDevelop.exe]
#10 0x1771ad0f in  MonoDevelop.Ide.Commands.RunHandler:RunMethod (MonoDevelop.Core.Execution.IExecutionHandler) + 0x9f (0x1771ac70 0x1771af74) [0x3cfe00 - MonoDevelop.exe]
#11 0x1771ac5c in  MonoDevelop.Ide.Commands.RunHandler:Run () + 0x1c (0x1771ac40 0x1771ac61) [0x3cfe00 - MonoDevelop.exe]
#12 0x10d1666c in  MonoDevelop.Components.Commands.CommandHandler:Run (object) + 0x14 (0x10d16658 0x10d16671) [0x3cfe00 - MonoDevelop.exe]
#13 0x10d1664f in  MonoDevelop.Components.Commands.CommandHandler:InternalRun (object) + 0x17 (0x10d16638 0x10d16654) [0x3cfe00 - MonoDevelop.exe]
#14 0x10d16414 in  MonoDevelop.Components.Commands.CommandManager:DefaultDispatchCommand (MonoDevelop.Components.Commands.ActionCommand,MonoDevelop.Components.Commands.CommandInfo,object,object,MonoDevelop.Components.Commands.CommandSource) + 0xec (0x10d16328 0x10d16450) [0x3cfe00 - MonoDevelop.exe]
#15 0x10d16168 in  MonoDevelop.Components.Commands.CommandManager:DispatchCommand (object,object,object,MonoDevelop.Components.Commands.CommandSource) + 0x5d8 (0x10d15b90 0x10d162c4) [0x3cfe00 - MonoDevelop.exe]
#16 0x10d15b6c in  MonoDevelop.Components.Commands.CommandManager:DispatchCommand (object,MonoDevelop.Components.Commands.CommandSource) + 0x1c (0x10d15b50 0x10d15b74) [0x3cfe00 - MonoDevelop.exe]
#17 0x10d15b48 in  MonoDevelop.MacIntegration.MacMainMenu/<HandleMenuCommand>c__AnonStoreyF:<>m__15 (object,System.EventArgs) + 0x20 (0x10d15b28 0x10d15b4d) [0x3cfe00 - MonoDevelop.exe]
#18 0xc5ed3a6 in  Gtk.Application/InvokeCB:Invoke () + 0x1e (0xc5ed388 0xc5ed3b0) [0x3cfe00 - MonoDevelop.exe]
#19 0xc5ec84a in  GLib.Timeout/TimeoutProxy:Handler () + 0x32 (0xc5ec818 0xc5ec8ca) [0x3cfe00 - MonoDevelop.exe]
#20 0xc5bf224 in  (wrapper native-to-managed) GLib.Timeout/TimeoutProxy:Handler () + 0x3c (0xc5bf1e8 0xc5bf236) [0x3cfe00 - MonoDevelop.exe]
#21 0x04964186 in g_timeout_dispatch ()
#22 0x0496026e in g_main_dispatch ()
#23 0x04961afb in g_main_context_dispatch ()
#24 0x049620a3 in g_main_context_iterate ()
#25 0x049629ea in g_main_loop_run ()
#26 0x04c08200 in gtk_main ()
#27 0xec54024 in  (wrapper managed-to-native) Gtk.Application:gtk_main () + 0x24 (0xec54000 0xec54052) [0x3cfe00 - MonoDevelop.exe]
#28 0xcad3ffc in  Gtk.Application:Run () + 0xc (0xcad3ff0 0xcad3ffe) [0x3cfe00 - MonoDevelop.exe]
#29 0xcaf9fec in  MonoDevelop.Ide.IdeApp:Run () + 0xc (0xcaf9fe0 0xcaf9fee) [0x3cfe00 - MonoDevelop.exe]
Comment 1 Miguel de Icaza [MSFT] 2012-02-14 11:41:14 UTC
Michael, what kind of target is this?
Comment 2 Mikayla Hutchinson [MSFT] 2012-02-14 15:14:23 UTC
Console project.

The console app was hung with a CFRunloop in a thread.
Comment 3 Mike Krüger 2012-04-24 11:52:16 UTC
Works for me.
Comment 4 Will Smith 2017-08-22 19:34:56 UTC
Thanks so much for taking the time to submit this report! I attempted to reproduce this issue based on the bug description with the latest Visual Studio 2017 for Mac Preview version 7.2, and I was unable to hit the problem. If this issue is still occurring for you, please reopen this report and attach a reproduction, ideally starting with a new template project and then adding just the code necessary to demonstrate the issue.